diff mbox

pkg: remove packaging in ODP

Message ID 1460642434-1417-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit eaddf623b2032e80962227101a9da46f9ffc8613
Headers show

Commit Message

Anders Roxell April 14, 2016, 2 p.m. UTC
Move the packaging scripts to its own git [1] repository.

[1] http://git.linaro.org/lng/odp-packaging.git

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 pkg/debian/README.Debian                  |  12 -
 pkg/debian/changelog                      | 566 ------------------------------
 pkg/debian/compat                         |   1 -
 pkg/debian/control                        |  70 ----
 pkg/debian/copyright                      |  31 --
 pkg/debian/docs                           |   1 -
 pkg/debian/libodp-linux-dev.dirs          |   2 -
 pkg/debian/libodp-linux-dev.install       |   5 -
 pkg/debian/libodp-linux.dirs              |   1 -
 pkg/debian/libodp-linux.install           |   1 -
 pkg/debian/libodphelper-linux-dev.dirs    |   2 -
 pkg/debian/libodphelper-linux-dev.install |   4 -
 pkg/debian/libodphelper-linux.dirs        |   1 -
 pkg/debian/libodphelper-linux.install     |   1 -
 pkg/debian/odp-linux-bin.dirs             |   1 -
 pkg/debian/odp-linux-bin.install          |   1 -
 pkg/debian/rules                          |  30 --
 pkg/debian/source/format                  |   1 -
 pkg/rpm/odp.spec                          |  80 -----
 scripts/builddeb                          |  38 --
 scripts/buildrpm                          |  30 --
 scripts/common_pkg_build.sh               |  39 --
 22 files changed, 918 deletions(-)
 delete mode 100644 pkg/debian/README.Debian
 delete mode 100644 pkg/debian/changelog
 delete mode 100644 pkg/debian/compat
 delete mode 100644 pkg/debian/control
 delete mode 100644 pkg/debian/copyright
 delete mode 100644 pkg/debian/docs
 delete mode 100644 pkg/debian/libodp-linux-dev.dirs
 delete mode 100644 pkg/debian/libodp-linux-dev.install
 delete mode 100644 pkg/debian/libodp-linux.dirs
 delete mode 100644 pkg/debian/libodp-linux.install
 delete mode 100644 pkg/debian/libodphelper-linux-dev.dirs
 delete mode 100644 pkg/debian/libodphelper-linux-dev.install
 delete mode 100644 pkg/debian/libodphelper-linux.dirs
 delete mode 100644 pkg/debian/libodphelper-linux.install
 delete mode 100644 pkg/debian/odp-linux-bin.dirs
 delete mode 100644 pkg/debian/odp-linux-bin.install
 delete mode 100755 pkg/debian/rules
 delete mode 100644 pkg/debian/source/format
 delete mode 100644 pkg/rpm/odp.spec
 delete mode 100755 scripts/builddeb
 delete mode 100755 scripts/buildrpm
 delete mode 100644 scripts/common_pkg_build.sh

Comments

Ricardo Salveti April 14, 2016, 2:18 p.m. UTC | #1
On Thu, Apr 14, 2016 at 11:00 AM, Anders Roxell
<anders.roxell@linaro.org> wrote:
> Move the packaging scripts to its own git [1] repository.
>
> [1] http://git.linaro.org/lng/odp-packaging.git
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  pkg/debian/README.Debian                  |  12 -
>  pkg/debian/changelog                      | 566 ------------------------------
>  pkg/debian/compat                         |   1 -
>  pkg/debian/control                        |  70 ----
>  pkg/debian/copyright                      |  31 --
>  pkg/debian/docs                           |   1 -
>  pkg/debian/libodp-linux-dev.dirs          |   2 -
>  pkg/debian/libodp-linux-dev.install       |   5 -
>  pkg/debian/libodp-linux.dirs              |   1 -
>  pkg/debian/libodp-linux.install           |   1 -
>  pkg/debian/libodphelper-linux-dev.dirs    |   2 -
>  pkg/debian/libodphelper-linux-dev.install |   4 -
>  pkg/debian/libodphelper-linux.dirs        |   1 -
>  pkg/debian/libodphelper-linux.install     |   1 -
>  pkg/debian/odp-linux-bin.dirs             |   1 -
>  pkg/debian/odp-linux-bin.install          |   1 -
>  pkg/debian/rules                          |  30 --
>  pkg/debian/source/format                  |   1 -
>  pkg/rpm/odp.spec                          |  80 -----
>  scripts/builddeb                          |  38 --
>  scripts/buildrpm                          |  30 --
>  scripts/common_pkg_build.sh               |  39 --
>  22 files changed, 918 deletions(-)
>  delete mode 100644 pkg/debian/README.Debian
>  delete mode 100644 pkg/debian/changelog
>  delete mode 100644 pkg/debian/compat
>  delete mode 100644 pkg/debian/control
>  delete mode 100644 pkg/debian/copyright
>  delete mode 100644 pkg/debian/docs
>  delete mode 100644 pkg/debian/libodp-linux-dev.dirs
>  delete mode 100644 pkg/debian/libodp-linux-dev.install
>  delete mode 100644 pkg/debian/libodp-linux.dirs
>  delete mode 100644 pkg/debian/libodp-linux.install
>  delete mode 100644 pkg/debian/libodphelper-linux-dev.dirs
>  delete mode 100644 pkg/debian/libodphelper-linux-dev.install
>  delete mode 100644 pkg/debian/libodphelper-linux.dirs
>  delete mode 100644 pkg/debian/libodphelper-linux.install
>  delete mode 100644 pkg/debian/odp-linux-bin.dirs
>  delete mode 100644 pkg/debian/odp-linux-bin.install
>  delete mode 100755 pkg/debian/rules
>  delete mode 100644 pkg/debian/source/format
>  delete mode 100644 pkg/rpm/odp.spec
>  delete mode 100755 scripts/builddeb
>  delete mode 100755 scripts/buildrpm
>  delete mode 100644 scripts/common_pkg_build.sh
>
> diff --git a/pkg/debian/README.Debian b/pkg/debian/README.Debian
> deleted file mode 100644
> index b8e47e4..0000000
> --- a/pkg/debian/README.Debian
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -opendataplane for Debian
> -------------------------
> -
> -For up to date information please visit http://www.opendataplane.org
> -The OpenDataPlane (ODP) project has been established to produce an open-source,
> -cross-platform set of application programming interfaces (APIs) for the
> -networking data plane.
> -
> -It provides a library such as openvswitch with a portable API that facilitates
> -platform independence and access to hardware acceleration.
> -
> - -- Anders Roxell <anders.roxell@linaro.org>  Mon, 22 Dec 2014 19:07:06 +0100
> diff --git a/pkg/debian/changelog b/pkg/debian/changelog
> deleted file mode 100644
> index 4d8d9a8..0000000
> --- a/pkg/debian/changelog
> +++ /dev/null
> @@ -1,566 +0,0 @@
> -opendataplane (1.8.0.0-1) unstable; urgency=low
> -   * ODP release v1.8
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 04 Mar 2016 13:32:05 +0300
> -
> -opendataplane (1.7.0.0-1) unstable; urgency=low
> -   * ODP release v1.7
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 05 Feb 2016 13:05:00 +0300
> -
> -opendataplane (1.6.0.0-1) unstable; urgency=low
> -   * ODP release v1.6
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Mon, 28 Dec 2015 17:01:58 +0300
> -
> -opendataplane (1.5.0.0-1) unstable; urgency=low
> -   * ODP release v1.5
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Mon, 30 Nov 2015 13:08:43 +0300
> -
> -opendataplane (1.4.1.0-1) unstable; urgency=low
> -   * Validation
> -       - pktio: test transmit error recovery
> -       - schedule: add chaos test
> -       - check return code from odp_queue_lock_count()
> -       - scheduler: test ordered queue reorder processing
> -       - pktio: initialize queue parameters correctly
> -       - pktio: test for transmit error handling
> -       - pktio: add support for direct receive
> -       - pktio: pass interface index rather than name
> -       - pktio: fix start_stop test
> -       - test: l2fwd: separate rx and tx drop counters
> -       - test: l2fwd: increase burst size
> -       - test: l2fwd: optimize statistics usage
> -       - test: l2fwd: optimize queue mode
> -       - test: l2fwd: start pktios after worker thread create
> -       - test: l2fwd: added option to disable error check
> -       - example/ipsec: Increase ip_data_len for Tunnel mode
> -       - example: ipsec: check push_tail return code
> -   * General:
> -       - linux-generic: pktio: handle transmit errors correctly
> -       - pktio socket_mmap: recover from transmit errors but 1890
> -       - pktio: increase MTU of loop interface
> -       - ordered queues: fix race condition during order release
> -         and out of order.
> -       - configure: move HAVE_PCAP AM_CONDITIONAL to configure.ac
> -   * ODP helper:
> -       - linux: checkpatch cleaning for helper/linux.c
> -       - linux: examine the cause for child process termination
> -       - linux: request SIGTERM if parent process dies
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 13 Nov 2015 13:47:22 +0300
> -
> -opendataplane (1.4.0.0-1) unstable; urgency=low
> -   * API:
> -       - ** Classification **
> -       - odp_cos_set_queue() renamed to odp_cos_queue_set()
> -       - int odp_cos_set_drop renamed to odp_cos_drop_set()
> -       - new: odp_queue_t odp_cos_queue(odp_cos_t cos_id)
> -       - new: odp_drop_e odp_cos_drop(odp_cos_t cos_id)
> -       - ODP_PMR_CUSTOM_FRAME support in classification
> -       - odp_pmr_create() arguments passing change to use struct
> -       - odp_pmr_match_set_create() added id argument
> -       - ** Config **
> -       - new: odp_config_...() API introduced instead of ODP_CONFIG_ defines
> -       - ** Cpu, Threads and Scheduler **
> -       - new: uint64_t odp_cpu_cycles(void)
> -       - new: uint64_t odp_cpu_cycles_diff(uint64_t c1, uint64_t c2);
> -       - new: uint64_t odp_cpu_cycles_max(void);
> -       - new: uint64_t odp_cpu_cycles_resolution(void);
> -       - odp_cpumask_def_worker() renamed to odp_cpumask_default_worker()
> -       - odp_cpumask_def_control() renamed to odp_cpumask_default_control()
> -       - odp init extended with num worker and control threads
> -       - new: int odp_queue_lock_count(odp_queue_t queue);
> -       - refine api doc for scheduler and schedule orderd locks
> -       - argument of odp_schedule_order_lock() and odp_schedule_order_unlock changed to unsigned
> -       - new: int odp_thread_count_max(void)
> -       - ** Packet **
> -       - new: uint32_t odp_packet_flow_hash(odp_packet_t pkt)
> -       - new: void odp_packet_flow_hash_set(odp_packet_t pkt, uint32_t flow_hash)
> -       - new: int odp_packet_has_flow_hash(odp_packet_t pkt);
> -       - new: void odp_packet_has_flow_hash_clr(odp_packet_t pkt);
> -       - ** Pktio **
> -       - pktio can be configuread as receive or transmit only
> -       - pktio: refined api doc for start() and stop()
> -       - new: void odp_pktio_param_init(odp_pktio_param_t *param)
> -   * ODP docs:
> -       - implementers-guide: update names of test module libraries
> -       - implementers-guide: update section on skipping tests
> -   * Test framework
> -       - update README files
> -       - renaming module libs
> -       - add odp_cunit_update() to modify registered tests
> -       - add ability to mark tests inactive
> -   * Validation
> -       - ** Classification **
> -       - Add fix for classification tests
> -       - remove redundant pool lookup function
> -       - remove redundant sequence number check
> -       - use tcp data offset field to calculate data offset
> -       - move destroy_inq() to common file
> -       - add odp_pktio_param_init() API
> -       - added additional suite to test individual PMRs
> -       - use a structure instead of many args for odp_pmr_create
> -       - Add init calls for queue parameters
> -       - syntax correction for CU_ASSERT
> -       - Add init calls for pool parameters
> -       - queue and drop policy API name change
> -       - Queue parameter init calls
> -       - ** Cpu, Threads and Scheduler **
> -       - rename odp_cpumask_def to _default
> -       - schedule: revise definition of ordered locks
> -       - schedule: remove odp_schedule_order_lock_init() API
> -       - schedule: don't check schedule time on 0
> -       - synchronizers: support a single worker
> -       - init: fix test when debug-print is disabled
> -       - ** Packet **
> -       - packet: test flow hash
> -       - packet: test now handles pool that do not support segmentation
> -       - ** Pktio **
> -       - pktio: don't call APIs with an invalid pktio handle
> -       - ** Config **
> -       - config: removed ODP_CONFIG_MAX_THREADS
> -       - config: add CUnit tests for config APIs
> -   * Performance
> -       - l2fwd: add missing braces
> -       - l2fwd: add option to disable filling eth addresses
> -       - l2fwd: add support for using odd number of ports
> -       - l2fwd: fix crash when accuracy is set to 0
> -       - l2fwd: add option to select scheduler queue type
> -       - l2fwd: add option to change destination eth addresses
> -       - l2fwd: obey -t in queue mode
> -       - l2fwd: fill correct source ethernet address
> -       - sched: update scheduling test to use cycle counts
> -       - odp_pktio_perf: fix potential overflow for burst_gap
> -       - odp_pktio_perf: fix potential overflow for send_duration
> -   * general:
> -       - classification: implement ODP_PMR_CUSTOM_FRAME matching
> -       - classification: queue and drop policy API name change
> -       - cpu: created arch dependent cpu_cycles files
> -       - cpu: fix cycle lost while cycle counter overflow
> -       - cpu: implementation for cycle count API
> -       - cpu: rename time_cycles to cpu_cycles
> -       - pktio: implemented pcap pktio
> -       - pktio: implemented netmap pktio
> -       - pktio: close all pktio when term is called
> -       - pktio: enable classifier only when needed
> -       - pktio: factor state management into packet_io
> -       - pktio: fill in L2 parse results by default
> -       - pktio: implement odp_pktio_param_init() API
> -       - packet: implement flow hash support
> -       - schedule: fix odp_schdule_wait_time
> -       - queue: change lock_index from uint32_t to unsigned to match API
> -       - queue: direct internal enqueues to target queue
> -       - queue: fix pktout_enqueue() logic
> -       - queue: remove obsolete prototypes
> -       - use cycles_diff for time API also
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 30 Oct 2015 13:55:07 +0300
> -
> -opendataplane (1.3.0.0-1) unstable; urgency=low
> -   * API:
> -       - codespell: correct spelling
> -       - event: change to odp_event_type_t
> -       - init: use const pointer types
> -       - packet_io: added odp_pktio_param_t
> -       - packet_io: added start and stop
> -       - packet_io: change word instance to interface
> -       - pktio: added output mode
> -       - pktio: rename pktio_input_mode enum
> -       - pool: add odp_pool_param_init prototype
> -       - pool: standardize description for odp_pool_param_init routine
> -       - queue: add odp_queue_param_init prototype
> -       - queue: clarify odp_queue_context_set() documentation
> -       - queue: rename queue context get/set for consistency
> -       - sched: added ordered context lock
> -       - sched: added release ordered
> -       - sched: added schedule group create and destroy
> -       - sched: added schedule prefetch
> -       - sched: added worker group
> -       - sched: add additional scheduler group APIs
> -       - sched: clarified synchronization context
> -       - sched: clarify usage of PRIO_DEFAULT
> -       - sched: moved scheduler types into new file
> -       - sched: removed GROUP_DEFAULT
> -       - sched: removed SYNC_DEFAULT
> -       - sched: rename order lock APIs and typedef
> -       - sched: schedule param
> -       - sched: config: add configuration for scheduler groups
> -       - schedule: fix comment typo
> -       - spelling fixes
> -       - style: init api: documentation clean up
> -   * ODP docs:
> -       - doc: implementers-guide: add validation description
> -       - doc: publish contributing text
> -   * ODP helper:
> -       - fix installation path for includes
> -       - linux: catch possible undefined
> -       - test: chksum: catch errors in scan_ip
> -   * test:
> -       * validation:
> -           - add test on unused retvals
> -           - use _CU_TEST_INFO() macro
> -           - system: fix uninitialised variable
> -           - schedule: add param init calls
> -           - schedule: test scheduler groups
> -           - test odp_pktio_start and odp_pktio_stop
> -           - fix build from tar source
> -           - kill odp_generator
> -           - removing current dir from -I
> -       * performance:
> -           - Makefile: add scripts to EXTRA_DIST
> -           - l2fwd: fix race condition between thread init and stat counter
> -           - l2fwd: capture test fails
> -           - odp_pktio_perf: use real MAC addresses while packet creation
> -           - odp_scheduling: remove redundant var inits
> -           - use odp_pool_param_init routine
> -           - use odp_queue_param_init routine
> -   * general:
> -       - Makefile.am: fix basename conflicts
> -       - Makefile: add all arch to the tarball
> -       - fix logic for calling pktio init and term functions
> -       - install missing headers
> -       - move default cpumask functions to separate file
> -       - move openssl checks inside linux-generic
> -       - move pthread checks inside linux-generic
> -       - add pktio_start and pktio_stop
> -       - pktio: add global init and term function for pktios
> -       - pktio: always test loop interface
> -       - pktio: handle segmented packet in socket mode
> -       - pktio: remove basic socket implementation
> -       - pktio: store errno correctly in setup
> -       - pool: add odp_pool_type_t enum
> -       - pool: implement odp_pool_param_init
> -       - queue: implement odp_queue_param_init routine
> -       - queue: implement ordered queues
> -       - remove linux-generic makefile generation from common configure.ac
> -       - schedule pktin_poll: account pktio stop state
> -       - schedule: implement scheduler groups
> -       - schedule: implement odp_schedule_prefetch()
> -       - schedule: implement ordered locks
> -       - Makefile.am: fix aclocal warning when building from tarball
> -       - m4: pthread: fix warning with Wextra
> -       - scripts/git_hash: change repo to CUSTOM_STR
> -       - scripts/git_hash: fix build from tar source
> -       - scripts: Makefile: add odp_version.sh to the tarball
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Tue, 01 Sep 2015 21:14:53 +0300
> -
> -opendataplane (1.2.0.0-1) unstable; urgency=low
> -   * API:
> -       - docs: doxygen grouping clean up and remove excess references to ODP
> -       - pool: remove shm paramter from odp_pool_create()
> -       - packet_io: clarify what happens when not all packets are sent
> -       - cpumask: added default masks and cpumask_setall
> -       - thrmask: added thread mask
> -       - thread: added thread type
> -   * ODP helper:
> -       - helper: convert to a library
> -       - remove helper dependence on ODP internals
> -       - helper: linux: check pthread_join return code
> -       - test checksum
> -       - helpers: fix udp checksum computation
> -       - test: helper: add process and thread tests
> -       - deleted odph_linux_cpumask_default
> -   * test:
> -       * validation:
> -           - tests execution moved to platfrom side
> -           - test: pktio_perf: add missing atomic init
> -           - test: synchronizers: use thread_id instead of cpu_id to detect slow threa
> -           - validation: pktio: do not dequeue from scheduled queue
> -           - test: pktio_perf: fix pthread_t offset for tx threads
> -           - packet_io: release unsent packets after odp_pktio_send()
> -           - validation: new module errno
> -           - test: pktio_perf: add missing ns to cycle conversion for busy loop
> -           - validation: classification: fix ODP_PMR_IPPROTO capability check
> -           - validation: scheduler: fix race condition in pause test
> -           - test: do not use negative array index
> -           - thread and cpumask validation suites
> -           - example:ipsec: Fix for Polled queues
> -           - scheduler: use number of workers
> -           - example: classifier: fix string overflow
> -   * general:
> -           - linux-generic: put pktio types to separate files with common interface.
> -           - configure: use stricter warnings
> -           - linux-generic: timer: use timer handles as buffer handles
> -           - linux-generic: buffer: remove unneeded division/module when mapping within the first segment
> -           - linux-generic: pool: use ODP_CONFIG_PACKET_SEG_LEN_MIN correctly
> -           - queue: handle return value of odp_queue_enq()
> -           - linux-generic: classification: add support for ODP_PMR_IPSEC_SPI
> -           - add {EXEEXT} suffix to binaries
> -           - event: implement odp_event_free()
> -           - packet_socket: do not release packets in odp_pktio_send
> -           - linux-generic: packet: fix byte order in IPv6 header parsing
> -           - linux-generic: schedule: fix double free
> -           - linux-generic: buffers: correct segment length calculation for packets
> -           - linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init
> -           - linux-generic: buffer: reduce field size and reorder for better packing
> -           - linux-generic: crypto: eliminate buffer type hack for completions
> -           - linux-generic: pool: remove double init
> -           - linux-generic: pool: group and document pool statistics
> -           - platform: Makefile.inc: use `` instead of != for compatibility with older versions of Make
> -           - linux-generic: packet: Add lazy parsing support
> -           - linux-generic: buffer: init all the odp_buffer_bits_t struct to avoid valgrind warnings
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 24 Jul 2015 17:21:20 +0300
> -
> -opendataplane (1.1.0.0-1) unstable; urgency=low
> -   * API:
> -       - style: moved pool type first in pool_param
> -       - style: pool_param doxygen comments
> -       - api: packet: removed odp_packet_user_u64
> -       - api: packet: rename user_data to user_area
> -       - api: pktio: Clarify doc on default pool usage on odp_pktio_open
> -       - timer: Add missing platform handles to u64 conversion functions
> -       - api/linux-generic/example/validation: remove odp_pmr_create_range() function definition
> -       - api: packet: relax return code to use non-zero for true
> -       - api: packet/pool: proposed APIs for packet user metadata
> -
> -   * test:
> -       * validation:
> -           - validation: packet: add user metadata tests
> -           - test: pktio: add missing atomic init
> -           - test: use CU_ASSERT_FATAL in case odp_buffer_alloc failed to avoid segfaults
> -           - validation: pktio: fix polling tests
> -           - validation: tests for module odp_ver_abt_log_dbg
> -           - validation: rename executable to match modules
> -   * general:
> -       - linux-generic/odp_impl: add implementation version details
> -       - linux-generic: support running with restricted cpu set
> -       - linux-generic: packet: add user metadata support
> -       - linux-generic: pool: add user metadata support
> -       - linux-generic: buffer: restructure user mdatadata fields
> -       - linux-generic: use inttypes defines to print (u)int32_t values
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 08 May 2015 13:35:16 +0300
> -
> -opendataplane (1.0.4-1) unstable; urgency=low
> -
> -   * test:
> -       * validation:
> -           - synchronizers: fix init of custom barrier atomic
> -           - pktio: don't pass invalid handles
> -           - use PRIu32 instead of %u to print uint32_t variables
> -           - thread: add odp_thread sunnyday tests
> -           - classification: add missing init of atomic variable
> -           - api_test: remove odp_shm_test
> -       * performance:
> -           - pktio: fix check for pktio_tx
> -           - pktio: test return value of odp_pktio_close()
> -           - pktio: add throughput test
> -   * example:
> -           - ODP classifier example
> -   * bugs:
> -           - example: timer: clean up prescheduled events
> -   * general:
> -           - api: time: force time defines as ULL to avoid computation overflows on 32bits systems
> -           - linux-generic: packet_io: init l2 and l3 cos table spinlocks
> -           - linux-generic: pool: initialize atomics during odp_pool_init_global
> -           - linux-generic: pool: fix initialization of odp_buffer_hdr ref_count
> -           - doc: api_guide_lines: add guidance on ODP_DEPRECATED
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Wed, 29 Apr 2015 20:21:25 +0300
> -
> -opendataplane (1.0.3-1) unstable; urgency=low
> -
> -   * test:
> -       * validation:
> -           - validation: add new test l2fwd_run
> -           - validation: sched: add missing copyright
> -           - validation: move l2fwd from example to performance tests
> -           - validation: implement platform env
> -           - validation: crypto: combine sync and async tests
> -           - validation: crypto: handle synchronous operations in async test
> -           - test: enable valgrind check
> -           - test/README: explain what's the intention with test/validation
> -           - validation: classification: un-checked return
> -           - validation: pktio: support arbitrary length packets
> -           - validation: pktio: fix memory corruption
> -           - validation: common: catch odp_term_local/global failures
> -           - validation: common: print odp_init failures to stderr
> -           - validation: schedule: exit schedule loop
> -           - validation: schedule: added queue destroy test
> -   * bugs:
> -           - linux-generic: pool: fix missing increment of blkallocs stat
> -           - example: odp_generator: use odp_timer
> -           - configure.ac: include configure.m4 if platform explicitly selected
> -   * general:
> -           - doxygen cleanups
> -           - scheduler: restructured queue and pktio integration
> -           - linux-generic: schedule: terminate
> -           - linux-generic: debug_internal: assert prints condition
> -           - linux-generic: pool: check for NULL params before dereference
> -           - linux-generic: pktio: fix SEGV after odp_pktio_inq_remdef()
> -           - linux-generic: system_info: use global data struct
> -           - linux-generic: use arch optimisations
> -           - examples: odp_ipsec: runtime select multiple vs single deq
> -           - examples: odp_ipsec: runtime select scheduled vs poll queues
> -           - examples: odp_ipsec: handle alloc_pkt_ctx failure
> -           - scripts: odp_check: remove astyle
> -           - linux-generic: odp_linux: migrate helpers to helper dir
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 17 Apr 2015 17:36:34 +0300
> -
> -opendataplane (1.0.2-1) unstable; urgency=low
> -   * API:
> -       - api files were touched with override patches but no api
> -         changes were actually made.
> -   * test:
> -       * validation:
> -           - fix memory allocation in odp_synchronizers
> -           - fixed memory leak in odp_cpumask.c
> -           - timer: use unused attribute
> -           - pktio: add support for VPATH builds
> -           - added odp_cpumask test
> -           - timer: free malloced memory
> -           - timer: use ODP_SHM_NULL
> -           - timer: added cancel test
> -           - pktio: prevent race when using veth pair
> -           - test: debug: replace example with test
> -           - test: debug: add unused attribute MACRO
> -           - performance: odp_atomic: move atomic test from api_test to performance
> -           - performance: scheduling: add support for VPATH builds
> -           - performance: scheduling: catch exit codes
> -   * general:
> -           - barrier: allow platform to override odp_barrier_t
> -           - ticketlock: allow platform to override odp_ticketlock_t
> -           - rwlock: allow platform to override odp_rwlock_t
> -           - spinlock: allow platform to override odp_spinlock_t
> -           - doc: move api guidelines to API doc
> -           - linux-generic: strongtypes: add dummy struct var to keep c++ happy
> -           - linux-generic: queue: fix potential queue leak
> -           - linux-generic: strongtypes: use named structs for C++
> -           - example: l2fwd print packets per second
> -           - linux-generic: linux: destroy used pthread attr
> -   * bugs:
> -           - validation: packet: use non-zero as true indicato
> -           - linux-generic: pktio check for NULL entry
> -           - linux-generic: fix incorrect pmr_term_value update in odp_pmr_create_xxx() function
> -           - replace strtok_r with strtok and fix leaks
> -           - schedule: free queues and pool
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 27 Mar 2015 19:22:22 +0300
> -
> -opendataplane (1.0.1-1) unstable; urgency=low
> -
> -   * test:
> -       * validation:
> -           - pktio: disable arp on virtual interfaces
> -           - pktio check return code for pool_destroy
> -           - schedule: code clean up
> -           - odp_scheduling: limit worker thread count
> -           - odp_timer: cleanup for clean termination
> -           - common: prevent masking test failures
> -           - shm: abort on null pointer
> -           - crypto: add packet free to sync test
> -           - crypto: add common test cleanup
> -           - common: add support for test term
> -           - crypto: split crypto and random tests
> -           - add unit tests for strong type display functions
> -   * general:
> -           - linux-generic: only print errors to stderr
> -           - linux-generic: linux: remove explicit buffer cache flush
> -   * bugs:
> -           - linux-generic: odp_timer: set user_ptr for cancelled timeout
> -           - validation: odp_timer: cleanup for clean termination
> -           - example: odp_packet uncomment polling queues
> -           - linux-generic: mmap: jumbo frames support
> -           - linux-generic: thread: reuse thread ids
> -           - classification: destroy pktio default inqueue during teardown
> -           - classification: pktio skip value set to zero
> -
> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 13 Mar 2015 20:02:59 +0300
> -
> -opendataplane (1.0.0-1) unstable; urgency=low
> -
> -   * API:
> -       - crypto, cpumask, packet_io, random: replace ssize_t with int32_t
> -       - crypto: add session destroy function
> -       - crypto: add error code for invalid IV
> -       - classification: Add documentation for missing macros
> -       - hints: add printf format attribute
> -       - errno: add api to public api
> -       - init: add missing documentation
> -       - packet_io: remove specific errno value
> -   * test:
> -       * validation:
> -           - Makefile.am: restructure
> -           - pktio: free unexpected packets/events
> -           - pktio: destroy interface specific pools
> -           - pktio: destroy pktio input queues
> -           - pktio: fix odp_errno usage
> -           - buffer: split pool, buffer and packet tests
> -           - init: include stdlib.h for abort()
> -           - crypto: verify session_destroy
> -           - crypto: verify odp_crypto_operation() return code
> -           - queue: destroy created ODP resources
> -           - errno: add sunnyday test
> -       * miscellaneous:
> -           - Add CPP test
> -   * bugs:
> -       - odp_init_log: fix clang format string error
> -       - buffers: remove obsolete debugging code
> -       - classification: fix unchecked return value
> -       - classification: fix incorrect ipv4 checksum update
> -       - example: generator: add missing doxygen documentation
> -       - pools: switch to simple locks for buf/blk synchronization
> -       - performance: fix c99 warnings as errors
> -       - crypto: handle copy error
> -       - system: read hugepage size for all architectures
> -       - queue: fix PKTIN queue destroy
> -   * general:
> -       - add -std=c99 gcc flag by default, fix all warnings
> -       - handle copy error in odp_crypto_operation
> -       - fix all doxygen warnings
> -       - configured defines changed ODP_CONFIG_ and moved to config.h
> -
> - -- Anders Roxell <anders.roxell@linaro.org>  Thu, 26 Feb 2015 22:30:39 +0100
> -
> -opendataplane (0.11.0-1) unstable; urgency=low
> -
> -   * API:
> -       - update return descriptions
> -       - add strong types
> -       - thread, rename functions
> -       - cpu, rename functions
> -       - errno added
> -       - classification, remove pmr count
> -       - init, allow the abort function to be overridden
> -       - hints, add ODP_NORETURN
> -       - packet_flag, remove odp_packet_override_l4_checksum
> -   * validation:
> -       - init, add tests for override the abort function
> -   * bugs:
> -       - timer, avoid cunit warnings for late timeouts
> -       - version, fix odp_version_api_str (1194, 1207)
> -       - fix clang (1203, 1023)
> -       - validation: init: fix unitalized data in struct (1206)
> -       - linux-generic: setup_pktio_entry() null terminate pkio name (1055)
> -       - validation: odp_timer.c: (1048, 1056)
> -
> - -- Anders Roxell <anders.roxell@linaro.org>  Wed, 20 Feb 2015 06:50:34 +0100
> -
> -opendataplane (0.10.0-1) unstable; urgency=low
> -
> -   * API:
> -       - Allow init_global logging
> -       - Add events
> -       - Add Crypto Completion event
> -       - Classification API cleanup
> -       - Move header files out of linux-generic
> -   * validation:
> -       - Classification tests
> -   * bugs:
> -       - l2fwd: fix incorrect cpumask used when spawning threads
> -       - shared memory
> -   * general:
> -       - move headers into namespace the odp/helper
> -
> - -- Anders Roxell <anders.roxell@linaro.org>  Sat, 31 Jan 2015 13:50:30 +0100
> -
> -opendataplane (0.9.0-1) unstable; urgency=low
> -
> -  * Initial release
> -
> - -- Anders Roxell <anders.roxell@linaro.org>  Fri, 23 Jan 2015 16:32:06 +0100
> diff --git a/pkg/debian/compat b/pkg/debian/compat
> deleted file mode 100644
> index ec63514..0000000
> --- a/pkg/debian/compat
> +++ /dev/null
> @@ -1 +0,0 @@
> -9
> diff --git a/pkg/debian/control b/pkg/debian/control
> deleted file mode 100644
> index 0554de6..0000000
> --- a/pkg/debian/control
> +++ /dev/null
> @@ -1,70 +0,0 @@
> -Source: opendataplane
> -Priority: optional
> -Maintainer: Anders Roxell <anders.roxell@linaro.org>
> -Build-Depends: debhelper (>= 9), dh-autoreconf, libssl-dev, doxygen,
> -    imagemagick, libmagickcore-6.q16-2-extra | libmagickcore-extra,
> -    ghostscript, asciidoc, mscgen, texlive-latex-recommended, graphviz
> -Standards-Version: 3.9.6
> -Section: libs
> -Homepage: http://www.opendataplane.org/
> -Vcs-Git: git://git.linaro.org/lng/odp.git
> -Vcs-Browser: https://git.linaro.org/lng/odp.git
> -
> -Package: odp-linux-bin
> -Section: devel
> -Architecture: any
> -Multi-Arch: allowed
> -Depends: ${misc:Depends}, ${shlibs:Depends}
> -Description: Example binaries for OpenDataPlane
> - These are the executable examples from the reference implementation.
> -
> -Package: libodp-linux-dbg
> -Priority: extra
> -Section: debug
> -Architecture: any
> -Multi-Arch: same
> -Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}
> -Description: Debug symbols for OpenDataPlane
> - This is the OpenDataPlane library from the reference implementation
> - with debug turned on.
> -
> -Package: libodp-linux-dev
> -Section: libdevel
> -Architecture: any
> -Multi-Arch: same
> -Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}, libssl-dev
> -Description: Development files for OpenDataPlane
> - These are the source file for the OpenDataPlane reference implementation.
> -
> -Package: libodp-linux
> -Architecture: any
> -Multi-Arch: same
> -Depends: ${misc:Depends}, ${shlibs:Depends}
> -Description: Library for OpenDataPlane
> - This is the OpenDataPlane library from the reference implementation.
> -
> -Package: libodphelper-linux-dbg
> -Priority: extra
> -Section: debug
> -Architecture: any
> -Multi-Arch: same
> -Depends: libodphelper-linux (= ${binary:Version}), ${misc:Depends}
> -Description: Debug symbols for OpenDataPlane
> - This is the OpenDataPlane helper library from the reference implementation
> - with debug turned on.
> -
> -Package: libodphelper-linux-dev
> -Section: libdevel
> -Architecture: any
> -Multi-Arch: same
> -Depends: libodphelper-linux (= ${binary:Version}), libodp-linux-dev,
> -    ${misc:Depends}, ${shlibs:Depends}, libssl-dev
> -Description: Helper development files for OpenDataPlane
> - These are the helper source file for the OpenDataPlane reference implementation.
> -
> -Package: libodphelper-linux
> -Architecture: any
> -Multi-Arch: same
> -Depends: ${misc:Depends}, ${shlibs:Depends}
> -Description: Helper library for OpenDataPlane
> - This is the OpenDataPlane helper library from the reference implementation.
> diff --git a/pkg/debian/copyright b/pkg/debian/copyright
> deleted file mode 100644
> index 74fecbc..0000000
> --- a/pkg/debian/copyright
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> -Upstream-Name: OpenDataPlane
> -Source: <http://www.opendataplane.org>
> -
> -Files: *
> -Copyright: 2013-2015, Linaro Limited All rights reserved.
> -License: BSD-3-clause
> -  Redistribution and use in source and binary forms, with or without
> -  modification, are permitted provided that the following conditions are met:
> -  .
> -  Redistributions of source code must retain the above copyright notice, this
> -  list of conditions and the following disclaimer.
> -  .
> -  Redistributions in binary form must reproduce the above copyright notice, this
> -  list of conditions and the following disclaimer in the documentation and/or
> -  other materials provided with the distribution.
> -  .
> -  Neither the name of Linaro Limited nor the names of its contributors may be
> -  used to endorse or promote products derived from this software without specific
> -  prior written permission.
> -  .
> -  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
> -  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
> -  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> -  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
> -  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> -  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
> -  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
> -  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
> -  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> -  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> diff --git a/pkg/debian/docs b/pkg/debian/docs
> deleted file mode 100644
> index e845566..0000000
> --- a/pkg/debian/docs
> +++ /dev/null
> @@ -1 +0,0 @@
> -README
> diff --git a/pkg/debian/libodp-linux-dev.dirs b/pkg/debian/libodp-linux-dev.dirs
> deleted file mode 100644
> index 4418816..0000000
> --- a/pkg/debian/libodp-linux-dev.dirs
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -usr/lib
> -usr/include
> diff --git a/pkg/debian/libodp-linux-dev.install b/pkg/debian/libodp-linux-dev.install
> deleted file mode 100644
> index 1e47824..0000000
> --- a/pkg/debian/libodp-linux-dev.install
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -usr/include/odp.h
> -usr/include/odp/api/*
> -usr/lib/*/libodp-linux.so
> -usr/lib/*/libodp-linux.a
> -usr/lib/*/pkgconfig/libodp-linux*
> diff --git a/pkg/debian/libodp-linux.dirs b/pkg/debian/libodp-linux.dirs
> deleted file mode 100644
> index 6845771..0000000
> --- a/pkg/debian/libodp-linux.dirs
> +++ /dev/null
> @@ -1 +0,0 @@
> -usr/lib
> diff --git a/pkg/debian/libodp-linux.install b/pkg/debian/libodp-linux.install
> deleted file mode 100644
> index 28ebb93..0000000
> --- a/pkg/debian/libodp-linux.install
> +++ /dev/null
> @@ -1 +0,0 @@
> -usr/lib/*/libodp-linux.so.*
> diff --git a/pkg/debian/libodphelper-linux-dev.dirs b/pkg/debian/libodphelper-linux-dev.dirs
> deleted file mode 100644
> index 4418816..0000000
> --- a/pkg/debian/libodphelper-linux-dev.dirs
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -usr/lib
> -usr/include
> diff --git a/pkg/debian/libodphelper-linux-dev.install b/pkg/debian/libodphelper-linux-dev.install
> deleted file mode 100644
> index 7d9a2a8..0000000
> --- a/pkg/debian/libodphelper-linux-dev.install
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -usr/include/odp/helper/*
> -usr/lib/*/libodphelper-linux.so
> -usr/lib/*/libodphelper-linux.a
> -usr/lib/*/pkgconfig/libodphelper-linux*
> diff --git a/pkg/debian/libodphelper-linux.dirs b/pkg/debian/libodphelper-linux.dirs
> deleted file mode 100644
> index 6845771..0000000
> --- a/pkg/debian/libodphelper-linux.dirs
> +++ /dev/null
> @@ -1 +0,0 @@
> -usr/lib
> diff --git a/pkg/debian/libodphelper-linux.install b/pkg/debian/libodphelper-linux.install
> deleted file mode 100644
> index 896feed..0000000
> --- a/pkg/debian/libodphelper-linux.install
> +++ /dev/null
> @@ -1 +0,0 @@
> -usr/lib/*/libodphelper-linux.so.*
> diff --git a/pkg/debian/odp-linux-bin.dirs b/pkg/debian/odp-linux-bin.dirs
> deleted file mode 100644
> index e772481..0000000
> --- a/pkg/debian/odp-linux-bin.dirs
> +++ /dev/null
> @@ -1 +0,0 @@
> -usr/bin
> diff --git a/pkg/debian/odp-linux-bin.install b/pkg/debian/odp-linux-bin.install
> deleted file mode 100644
> index 1df36c6..0000000
> --- a/pkg/debian/odp-linux-bin.install
> +++ /dev/null
> @@ -1 +0,0 @@
> -usr/bin/*
> diff --git a/pkg/debian/rules b/pkg/debian/rules
> deleted file mode 100755
> index c155a5e..0000000
> --- a/pkg/debian/rules
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -#!/usr/bin/make -f
> -
> -# Uncomment this to turn on verbose mode.
> -#export DH_VERBOSE=1
> -
> -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> -DPKG_EXPORT_BUILDFLAGS = 0
> -include /usr/share/dpkg/default.mk
> -
> -%:
> -       dh $@ --with autoreconf
> -
> -override_dh_autoreconf:
> -       dh_autoreconf ./bootstrap
> -
> -override_dh_auto_test:
> -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
> -       dh_auto_configure -- --enable-static --enable-test-vald \
> -               --enable-test-cpp --enable-test-helper
> -       $(MAKE) check
> -endif
> -
> -override_dh_auto_configure:
> -       dh_auto_configure -- --enable-static
> -
> -.PHONY: override_dh_strip
> -override_dh_strip:
> -       dh_strip -p libodp-linux --dbg-package=libodp-linux-dbg
> -       dh_strip -p libodphelper-linux --dbg-package=libodphelper-linux-dbg
> -       dh_strip --remaining-packages
> diff --git a/pkg/debian/source/format b/pkg/debian/source/format
> deleted file mode 100644
> index 163aaf8..0000000
> --- a/pkg/debian/source/format
> +++ /dev/null
> @@ -1 +0,0 @@
> -3.0 (quilt)
> diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec
> deleted file mode 100644
> index 11a3853..0000000
> --- a/pkg/rpm/odp.spec
> +++ /dev/null
> @@ -1,80 +0,0 @@
> -# Copyright (c) 2015, Linaro Limited
> -# All rights reserved.
> -#
> -# SPDX-License-Identifier:     BSD-3-Clause
> -
> -Name: opendataplane
> -Version: 1.4
> -Release: 1
> -Packager: anders.roxell@linaro.org
> -URL: http://opendataplane.org
> -Source: %{name}-%{version}.tar.gz
> -Summary: OpenDataPlane Reference implementation
> -Group: System Environment/Libraries
> -License: BSD-3-Clause
> -BuildRequires: automake
> -BuildRequires: autoconf
> -BuildRequires: libtool
> -BuildRequires: openssl-devel
> -BuildRequires: doxygen
> -BuildRequires: asciidoc
> -BuildRequires: source-highlight
> -%if 0%{?fedora}
> -BuildRequires: texlive-collection-fontsextra
> -BuildRequires: texlive-collection-latexextra
> -%else
> -BuildRequires: texlive-latex-bin-bin
> -BuildRequires: texlive-makeindex-bin
> -BuildRequires: texlive-dvips-bin
> -%endif
> -BuildRequires: ImageMagick-devel
> -BuildRequires: mscgen
> -
> -%description
> -ODP's reference implementation includes header files and a library
> -More libraries are available as extensions in other packages.
> -
> -%package devel
> -Summary: OpenDataPlane Reference implementation
> -Requires: %{name}%{?_isa} = %{version}-%{release}
> -
> -%description devel
> -ODP devel is a set of headers, a library and example files.
> -This is a reference implementation.
> -
> -%package doc
> -Summary: OpenDataPlane Reference documentation
> -BuildArch: noarch
> -
> -%description doc
> -ODP doc is divided in two parts: API details in doxygen HTML format
> -and guides in HTMLformats.
> -
> -%prep
> -%autosetup -n %{name}-%{version}
> -
> -%configure
> -%make_install
> -
> -%files
> -%{_datadir}/*
> -%{_bindir}/*
> -%{_libdir}/*
> -
> -%files devel
> -%{_includedir}/*
> -%{_libdir}/
> -
> -%post -p /sbin/ldconfig
> -%postun -p /sbin/ldconfig
> -%changelog
> -* Fri Mar 4 2016 - maxim.uvarov (at) linaro.org
> -- ODP release v1.8
> -* Fri Feb 5 2016 - maxim.uvarov (at) linaro.org
> -- ODP release v1.7
> -* Mon Dec 28 2015 - maxim.uvarov (at) linaro.org
> -- ODP release v1.6
> -* Mon Nov 30 2015 - mike.holmes (at) linaro.org
> -- ODP release v1.5
> -* Tue Nov 10 2015 - anders.roxell (at) linaro.org
> -- Initial rpm release, ODP release v1.4
> diff --git a/scripts/builddeb b/scripts/builddeb
> deleted file mode 100755
> index f28ee02..0000000
> --- a/scripts/builddeb
> +++ /dev/null
> @@ -1,38 +0,0 @@
> -#!/bin/bash
> -
> -set -e
> -
> -export ROOT_DIR=$(readlink -e $(dirname $0) | sed 's|/scripts||')
> -
> -source ${ROOT_DIR}/scripts/common_pkg_build.sh
> -
> -# debuild default options
> -DEB_OPTS="-us -uc"
> -
> -# Also allow the user to create just the source package (skip build process)
> -if [ "$1" == source ]; then
> -       prepare_tarball archive
> -       DEB_OPTS="-S $DEB_OPTS"
> -else
> -       prepare_tarball
> -fi
> -
> -pushd ${ROOT_DIR}/${package}-${version}
> -cp -r ${ROOT_DIR}/pkg/debian .
> -
> -current=$(grep "^ODP_LIBSO_VERSION" ${ROOT_DIR}/configure.ac| \
> -       awk -F'=' '{print $2}' |awk -F : '{print $1}')
> -rename 's,(.*linux)(.*),${1}'"${current}"'${2},' debian/*odp*-linux.install
> -
> -sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\|$\| \):\1${current}\2:g" debian/control
> -sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\| \):\1${current}\2:g" debian/rules
> -
> -if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then
> -       export DEBFULLNAME="Donald Duck"
> -       export DEBEMAIL="donald.duck@linaro.org"
> -       dch --newversion ${version}-1 --urgency low "not a official release!"
> -fi
> -
> -debuild $DEB_OPTS
> -popd
> -popd
> diff --git a/scripts/buildrpm b/scripts/buildrpm
> deleted file mode 100755
> index 8568592..0000000
> --- a/scripts/buildrpm
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -#!/bin/bash
> -
> -set -e
> -
> -export ROOT_DIR=$(readlink -e $(dirname $0) | sed 's|/scripts||')
> -
> -source ${ROOT_DIR}/scripts/common_pkg_build.sh
> -
> -prepare_tarball
> -
> -mkdir -p ${ROOT_DIR}/rpm/RPMS
> -mkdir -p ${ROOT_DIR}/rpm/SRPMS
> -mkdir -p ${ROOT_DIR}/rpm/BUILD
> -mkdir -p ${ROOT_DIR}/rpm/SOURCES
> -mkdir -p ${ROOT_DIR}/rpm/tmp
> -rm -rf ${ROOT_DIR}/rpm/BUILD/${package}-root
> -rm -rf ${ROOT_DIR}/rpm/RPMS/${package}*
> -rm -rf ${ROOT_DIR}/rpm/SRPMS/${package}*
> -rm -rf ${ROOT_DIR}/rpm/SOURCES/${package}*
> -cp ${ROOT_DIR}/${package}-${version}.tar.gz ${ROOT_DIR}/rpm/SOURCES/
> -cp ${ROOT_DIR}/pkg/rpm/odp.spec ${ROOT_DIR}/rpm/odp.spec
> -if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then
> -       creation_date=$(date '+%a %b %e %G')
> -       RPMEMAIL="donald.duck (at) linaro.org"
> -       sed -i -e "s/changelog/changelog\n* ${creation_date} - ${RPMEMAIL}\n- not a official release\!/g" ${ROOT_DIR}/rpm/odp.spec
> -fi
> -sed -i "s|^Version: .*$|Version: ${version}|g" ${ROOT_DIR}/rpm/odp.spec
> -rpmbuild --quiet --nodeps --define="_topdir ${ROOT_DIR}/rpm" -ba ${ROOT_DIR}/rpm/odp.spec
> -cp ${ROOT_DIR}/rpm/RPMS/*/* ${ROOT_DIR}/
> -popd
> diff --git a/scripts/common_pkg_build.sh b/scripts/common_pkg_build.sh
> deleted file mode 100644
> index fbb2511..0000000
> --- a/scripts/common_pkg_build.sh
> +++ /dev/null
> @@ -1,39 +0,0 @@
> -#!/bin/bash
> -
> -set -e
> -
> -prepare_tarball() {
> -       export package=opendataplane
> -
> -       pushd ${ROOT_DIR}
> -
> -       if [[ -d ${ROOT_DIR}/.git ]]; then
> -               . scripts/git_hash.sh ${ROOT_DIR}
> -               version=$(cat ${ROOT_DIR}/.scmversion)
> -       else
> -               echo "This script isn't expected to be used without"
> -               echo "a git repository."
> -               exit 1
> -       fi
> -
> -       if [ "$1" == archive ]; then
> -               git archive --format=tar --prefix=${package}-${version}/ HEAD > ${package}-${version}.tar
> -
> -               # append .scmversion, otherwise bootstrap fails
> -               SCMTMP=`mktemp -d`
> -               pushd $SCMTMP
> -               mkdir ${package}-${version}
> -               cp ${ROOT_DIR}/.scmversion ${package}-${version}
> -               tar --update -v -f ${ROOT_DIR}/${package}-${version}.tar ${package}-${version}
> -               popd
> -               rm -rf $SCMTMP
> -               gzip ${package}-${version}.tar
> -       else
> -               ./bootstrap
> -               ./configure
> -               make dist
> -       fi
> -
> -       cp ${package}-${version}.tar.gz ${package}_${version}.orig.tar.gz
> -       tar xzf ${package}_${version}.orig.tar.gz
> -}
> --
> 2.1.4

Easier to maintain the packaging outside, as we get closer to submit
the packaging to the upstream distros.

Reviewed-by: Ricardo Salveti <ricardo.salveti@linaro.org>

Thanks,
Maxim Uvarov April 14, 2016, 2:50 p.m. UTC | #2
Merged,

yes, it's more easy to maintain it somewhere outside.

Maxim.

On 04/14/16 17:18, Ricardo Salveti wrote:
> On Thu, Apr 14, 2016 at 11:00 AM, Anders Roxell
> <anders.roxell@linaro.org> wrote:
>> Move the packaging scripts to its own git [1] repository.
>>
>> [1] http://git.linaro.org/lng/odp-packaging.git
>>
>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>> ---
>>   pkg/debian/README.Debian                  |  12 -
>>   pkg/debian/changelog                      | 566 ------------------------------
>>   pkg/debian/compat                         |   1 -
>>   pkg/debian/control                        |  70 ----
>>   pkg/debian/copyright                      |  31 --
>>   pkg/debian/docs                           |   1 -
>>   pkg/debian/libodp-linux-dev.dirs          |   2 -
>>   pkg/debian/libodp-linux-dev.install       |   5 -
>>   pkg/debian/libodp-linux.dirs              |   1 -
>>   pkg/debian/libodp-linux.install           |   1 -
>>   pkg/debian/libodphelper-linux-dev.dirs    |   2 -
>>   pkg/debian/libodphelper-linux-dev.install |   4 -
>>   pkg/debian/libodphelper-linux.dirs        |   1 -
>>   pkg/debian/libodphelper-linux.install     |   1 -
>>   pkg/debian/odp-linux-bin.dirs             |   1 -
>>   pkg/debian/odp-linux-bin.install          |   1 -
>>   pkg/debian/rules                          |  30 --
>>   pkg/debian/source/format                  |   1 -
>>   pkg/rpm/odp.spec                          |  80 -----
>>   scripts/builddeb                          |  38 --
>>   scripts/buildrpm                          |  30 --
>>   scripts/common_pkg_build.sh               |  39 --
>>   22 files changed, 918 deletions(-)
>>   delete mode 100644 pkg/debian/README.Debian
>>   delete mode 100644 pkg/debian/changelog
>>   delete mode 100644 pkg/debian/compat
>>   delete mode 100644 pkg/debian/control
>>   delete mode 100644 pkg/debian/copyright
>>   delete mode 100644 pkg/debian/docs
>>   delete mode 100644 pkg/debian/libodp-linux-dev.dirs
>>   delete mode 100644 pkg/debian/libodp-linux-dev.install
>>   delete mode 100644 pkg/debian/libodp-linux.dirs
>>   delete mode 100644 pkg/debian/libodp-linux.install
>>   delete mode 100644 pkg/debian/libodphelper-linux-dev.dirs
>>   delete mode 100644 pkg/debian/libodphelper-linux-dev.install
>>   delete mode 100644 pkg/debian/libodphelper-linux.dirs
>>   delete mode 100644 pkg/debian/libodphelper-linux.install
>>   delete mode 100644 pkg/debian/odp-linux-bin.dirs
>>   delete mode 100644 pkg/debian/odp-linux-bin.install
>>   delete mode 100755 pkg/debian/rules
>>   delete mode 100644 pkg/debian/source/format
>>   delete mode 100644 pkg/rpm/odp.spec
>>   delete mode 100755 scripts/builddeb
>>   delete mode 100755 scripts/buildrpm
>>   delete mode 100644 scripts/common_pkg_build.sh
>>
>> diff --git a/pkg/debian/README.Debian b/pkg/debian/README.Debian
>> deleted file mode 100644
>> index b8e47e4..0000000
>> --- a/pkg/debian/README.Debian
>> +++ /dev/null
>> @@ -1,12 +0,0 @@
>> -opendataplane for Debian
>> -------------------------
>> -
>> -For up to date information please visit http://www.opendataplane.org
>> -The OpenDataPlane (ODP) project has been established to produce an open-source,
>> -cross-platform set of application programming interfaces (APIs) for the
>> -networking data plane.
>> -
>> -It provides a library such as openvswitch with a portable API that facilitates
>> -platform independence and access to hardware acceleration.
>> -
>> - -- Anders Roxell <anders.roxell@linaro.org>  Mon, 22 Dec 2014 19:07:06 +0100
>> diff --git a/pkg/debian/changelog b/pkg/debian/changelog
>> deleted file mode 100644
>> index 4d8d9a8..0000000
>> --- a/pkg/debian/changelog
>> +++ /dev/null
>> @@ -1,566 +0,0 @@
>> -opendataplane (1.8.0.0-1) unstable; urgency=low
>> -   * ODP release v1.8
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 04 Mar 2016 13:32:05 +0300
>> -
>> -opendataplane (1.7.0.0-1) unstable; urgency=low
>> -   * ODP release v1.7
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 05 Feb 2016 13:05:00 +0300
>> -
>> -opendataplane (1.6.0.0-1) unstable; urgency=low
>> -   * ODP release v1.6
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Mon, 28 Dec 2015 17:01:58 +0300
>> -
>> -opendataplane (1.5.0.0-1) unstable; urgency=low
>> -   * ODP release v1.5
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Mon, 30 Nov 2015 13:08:43 +0300
>> -
>> -opendataplane (1.4.1.0-1) unstable; urgency=low
>> -   * Validation
>> -       - pktio: test transmit error recovery
>> -       - schedule: add chaos test
>> -       - check return code from odp_queue_lock_count()
>> -       - scheduler: test ordered queue reorder processing
>> -       - pktio: initialize queue parameters correctly
>> -       - pktio: test for transmit error handling
>> -       - pktio: add support for direct receive
>> -       - pktio: pass interface index rather than name
>> -       - pktio: fix start_stop test
>> -       - test: l2fwd: separate rx and tx drop counters
>> -       - test: l2fwd: increase burst size
>> -       - test: l2fwd: optimize statistics usage
>> -       - test: l2fwd: optimize queue mode
>> -       - test: l2fwd: start pktios after worker thread create
>> -       - test: l2fwd: added option to disable error check
>> -       - example/ipsec: Increase ip_data_len for Tunnel mode
>> -       - example: ipsec: check push_tail return code
>> -   * General:
>> -       - linux-generic: pktio: handle transmit errors correctly
>> -       - pktio socket_mmap: recover from transmit errors but 1890
>> -       - pktio: increase MTU of loop interface
>> -       - ordered queues: fix race condition during order release
>> -         and out of order.
>> -       - configure: move HAVE_PCAP AM_CONDITIONAL to configure.ac
>> -   * ODP helper:
>> -       - linux: checkpatch cleaning for helper/linux.c
>> -       - linux: examine the cause for child process termination
>> -       - linux: request SIGTERM if parent process dies
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 13 Nov 2015 13:47:22 +0300
>> -
>> -opendataplane (1.4.0.0-1) unstable; urgency=low
>> -   * API:
>> -       - ** Classification **
>> -       - odp_cos_set_queue() renamed to odp_cos_queue_set()
>> -       - int odp_cos_set_drop renamed to odp_cos_drop_set()
>> -       - new: odp_queue_t odp_cos_queue(odp_cos_t cos_id)
>> -       - new: odp_drop_e odp_cos_drop(odp_cos_t cos_id)
>> -       - ODP_PMR_CUSTOM_FRAME support in classification
>> -       - odp_pmr_create() arguments passing change to use struct
>> -       - odp_pmr_match_set_create() added id argument
>> -       - ** Config **
>> -       - new: odp_config_...() API introduced instead of ODP_CONFIG_ defines
>> -       - ** Cpu, Threads and Scheduler **
>> -       - new: uint64_t odp_cpu_cycles(void)
>> -       - new: uint64_t odp_cpu_cycles_diff(uint64_t c1, uint64_t c2);
>> -       - new: uint64_t odp_cpu_cycles_max(void);
>> -       - new: uint64_t odp_cpu_cycles_resolution(void);
>> -       - odp_cpumask_def_worker() renamed to odp_cpumask_default_worker()
>> -       - odp_cpumask_def_control() renamed to odp_cpumask_default_control()
>> -       - odp init extended with num worker and control threads
>> -       - new: int odp_queue_lock_count(odp_queue_t queue);
>> -       - refine api doc for scheduler and schedule orderd locks
>> -       - argument of odp_schedule_order_lock() and odp_schedule_order_unlock changed to unsigned
>> -       - new: int odp_thread_count_max(void)
>> -       - ** Packet **
>> -       - new: uint32_t odp_packet_flow_hash(odp_packet_t pkt)
>> -       - new: void odp_packet_flow_hash_set(odp_packet_t pkt, uint32_t flow_hash)
>> -       - new: int odp_packet_has_flow_hash(odp_packet_t pkt);
>> -       - new: void odp_packet_has_flow_hash_clr(odp_packet_t pkt);
>> -       - ** Pktio **
>> -       - pktio can be configuread as receive or transmit only
>> -       - pktio: refined api doc for start() and stop()
>> -       - new: void odp_pktio_param_init(odp_pktio_param_t *param)
>> -   * ODP docs:
>> -       - implementers-guide: update names of test module libraries
>> -       - implementers-guide: update section on skipping tests
>> -   * Test framework
>> -       - update README files
>> -       - renaming module libs
>> -       - add odp_cunit_update() to modify registered tests
>> -       - add ability to mark tests inactive
>> -   * Validation
>> -       - ** Classification **
>> -       - Add fix for classification tests
>> -       - remove redundant pool lookup function
>> -       - remove redundant sequence number check
>> -       - use tcp data offset field to calculate data offset
>> -       - move destroy_inq() to common file
>> -       - add odp_pktio_param_init() API
>> -       - added additional suite to test individual PMRs
>> -       - use a structure instead of many args for odp_pmr_create
>> -       - Add init calls for queue parameters
>> -       - syntax correction for CU_ASSERT
>> -       - Add init calls for pool parameters
>> -       - queue and drop policy API name change
>> -       - Queue parameter init calls
>> -       - ** Cpu, Threads and Scheduler **
>> -       - rename odp_cpumask_def to _default
>> -       - schedule: revise definition of ordered locks
>> -       - schedule: remove odp_schedule_order_lock_init() API
>> -       - schedule: don't check schedule time on 0
>> -       - synchronizers: support a single worker
>> -       - init: fix test when debug-print is disabled
>> -       - ** Packet **
>> -       - packet: test flow hash
>> -       - packet: test now handles pool that do not support segmentation
>> -       - ** Pktio **
>> -       - pktio: don't call APIs with an invalid pktio handle
>> -       - ** Config **
>> -       - config: removed ODP_CONFIG_MAX_THREADS
>> -       - config: add CUnit tests for config APIs
>> -   * Performance
>> -       - l2fwd: add missing braces
>> -       - l2fwd: add option to disable filling eth addresses
>> -       - l2fwd: add support for using odd number of ports
>> -       - l2fwd: fix crash when accuracy is set to 0
>> -       - l2fwd: add option to select scheduler queue type
>> -       - l2fwd: add option to change destination eth addresses
>> -       - l2fwd: obey -t in queue mode
>> -       - l2fwd: fill correct source ethernet address
>> -       - sched: update scheduling test to use cycle counts
>> -       - odp_pktio_perf: fix potential overflow for burst_gap
>> -       - odp_pktio_perf: fix potential overflow for send_duration
>> -   * general:
>> -       - classification: implement ODP_PMR_CUSTOM_FRAME matching
>> -       - classification: queue and drop policy API name change
>> -       - cpu: created arch dependent cpu_cycles files
>> -       - cpu: fix cycle lost while cycle counter overflow
>> -       - cpu: implementation for cycle count API
>> -       - cpu: rename time_cycles to cpu_cycles
>> -       - pktio: implemented pcap pktio
>> -       - pktio: implemented netmap pktio
>> -       - pktio: close all pktio when term is called
>> -       - pktio: enable classifier only when needed
>> -       - pktio: factor state management into packet_io
>> -       - pktio: fill in L2 parse results by default
>> -       - pktio: implement odp_pktio_param_init() API
>> -       - packet: implement flow hash support
>> -       - schedule: fix odp_schdule_wait_time
>> -       - queue: change lock_index from uint32_t to unsigned to match API
>> -       - queue: direct internal enqueues to target queue
>> -       - queue: fix pktout_enqueue() logic
>> -       - queue: remove obsolete prototypes
>> -       - use cycles_diff for time API also
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 30 Oct 2015 13:55:07 +0300
>> -
>> -opendataplane (1.3.0.0-1) unstable; urgency=low
>> -   * API:
>> -       - codespell: correct spelling
>> -       - event: change to odp_event_type_t
>> -       - init: use const pointer types
>> -       - packet_io: added odp_pktio_param_t
>> -       - packet_io: added start and stop
>> -       - packet_io: change word instance to interface
>> -       - pktio: added output mode
>> -       - pktio: rename pktio_input_mode enum
>> -       - pool: add odp_pool_param_init prototype
>> -       - pool: standardize description for odp_pool_param_init routine
>> -       - queue: add odp_queue_param_init prototype
>> -       - queue: clarify odp_queue_context_set() documentation
>> -       - queue: rename queue context get/set for consistency
>> -       - sched: added ordered context lock
>> -       - sched: added release ordered
>> -       - sched: added schedule group create and destroy
>> -       - sched: added schedule prefetch
>> -       - sched: added worker group
>> -       - sched: add additional scheduler group APIs
>> -       - sched: clarified synchronization context
>> -       - sched: clarify usage of PRIO_DEFAULT
>> -       - sched: moved scheduler types into new file
>> -       - sched: removed GROUP_DEFAULT
>> -       - sched: removed SYNC_DEFAULT
>> -       - sched: rename order lock APIs and typedef
>> -       - sched: schedule param
>> -       - sched: config: add configuration for scheduler groups
>> -       - schedule: fix comment typo
>> -       - spelling fixes
>> -       - style: init api: documentation clean up
>> -   * ODP docs:
>> -       - doc: implementers-guide: add validation description
>> -       - doc: publish contributing text
>> -   * ODP helper:
>> -       - fix installation path for includes
>> -       - linux: catch possible undefined
>> -       - test: chksum: catch errors in scan_ip
>> -   * test:
>> -       * validation:
>> -           - add test on unused retvals
>> -           - use _CU_TEST_INFO() macro
>> -           - system: fix uninitialised variable
>> -           - schedule: add param init calls
>> -           - schedule: test scheduler groups
>> -           - test odp_pktio_start and odp_pktio_stop
>> -           - fix build from tar source
>> -           - kill odp_generator
>> -           - removing current dir from -I
>> -       * performance:
>> -           - Makefile: add scripts to EXTRA_DIST
>> -           - l2fwd: fix race condition between thread init and stat counter
>> -           - l2fwd: capture test fails
>> -           - odp_pktio_perf: use real MAC addresses while packet creation
>> -           - odp_scheduling: remove redundant var inits
>> -           - use odp_pool_param_init routine
>> -           - use odp_queue_param_init routine
>> -   * general:
>> -       - Makefile.am: fix basename conflicts
>> -       - Makefile: add all arch to the tarball
>> -       - fix logic for calling pktio init and term functions
>> -       - install missing headers
>> -       - move default cpumask functions to separate file
>> -       - move openssl checks inside linux-generic
>> -       - move pthread checks inside linux-generic
>> -       - add pktio_start and pktio_stop
>> -       - pktio: add global init and term function for pktios
>> -       - pktio: always test loop interface
>> -       - pktio: handle segmented packet in socket mode
>> -       - pktio: remove basic socket implementation
>> -       - pktio: store errno correctly in setup
>> -       - pool: add odp_pool_type_t enum
>> -       - pool: implement odp_pool_param_init
>> -       - queue: implement odp_queue_param_init routine
>> -       - queue: implement ordered queues
>> -       - remove linux-generic makefile generation from common configure.ac
>> -       - schedule pktin_poll: account pktio stop state
>> -       - schedule: implement scheduler groups
>> -       - schedule: implement odp_schedule_prefetch()
>> -       - schedule: implement ordered locks
>> -       - Makefile.am: fix aclocal warning when building from tarball
>> -       - m4: pthread: fix warning with Wextra
>> -       - scripts/git_hash: change repo to CUSTOM_STR
>> -       - scripts/git_hash: fix build from tar source
>> -       - scripts: Makefile: add odp_version.sh to the tarball
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Tue, 01 Sep 2015 21:14:53 +0300
>> -
>> -opendataplane (1.2.0.0-1) unstable; urgency=low
>> -   * API:
>> -       - docs: doxygen grouping clean up and remove excess references to ODP
>> -       - pool: remove shm paramter from odp_pool_create()
>> -       - packet_io: clarify what happens when not all packets are sent
>> -       - cpumask: added default masks and cpumask_setall
>> -       - thrmask: added thread mask
>> -       - thread: added thread type
>> -   * ODP helper:
>> -       - helper: convert to a library
>> -       - remove helper dependence on ODP internals
>> -       - helper: linux: check pthread_join return code
>> -       - test checksum
>> -       - helpers: fix udp checksum computation
>> -       - test: helper: add process and thread tests
>> -       - deleted odph_linux_cpumask_default
>> -   * test:
>> -       * validation:
>> -           - tests execution moved to platfrom side
>> -           - test: pktio_perf: add missing atomic init
>> -           - test: synchronizers: use thread_id instead of cpu_id to detect slow threa
>> -           - validation: pktio: do not dequeue from scheduled queue
>> -           - test: pktio_perf: fix pthread_t offset for tx threads
>> -           - packet_io: release unsent packets after odp_pktio_send()
>> -           - validation: new module errno
>> -           - test: pktio_perf: add missing ns to cycle conversion for busy loop
>> -           - validation: classification: fix ODP_PMR_IPPROTO capability check
>> -           - validation: scheduler: fix race condition in pause test
>> -           - test: do not use negative array index
>> -           - thread and cpumask validation suites
>> -           - example:ipsec: Fix for Polled queues
>> -           - scheduler: use number of workers
>> -           - example: classifier: fix string overflow
>> -   * general:
>> -           - linux-generic: put pktio types to separate files with common interface.
>> -           - configure: use stricter warnings
>> -           - linux-generic: timer: use timer handles as buffer handles
>> -           - linux-generic: buffer: remove unneeded division/module when mapping within the first segment
>> -           - linux-generic: pool: use ODP_CONFIG_PACKET_SEG_LEN_MIN correctly
>> -           - queue: handle return value of odp_queue_enq()
>> -           - linux-generic: classification: add support for ODP_PMR_IPSEC_SPI
>> -           - add {EXEEXT} suffix to binaries
>> -           - event: implement odp_event_free()
>> -           - packet_socket: do not release packets in odp_pktio_send
>> -           - linux-generic: packet: fix byte order in IPv6 header parsing
>> -           - linux-generic: schedule: fix double free
>> -           - linux-generic: buffers: correct segment length calculation for packets
>> -           - linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init
>> -           - linux-generic: buffer: reduce field size and reorder for better packing
>> -           - linux-generic: crypto: eliminate buffer type hack for completions
>> -           - linux-generic: pool: remove double init
>> -           - linux-generic: pool: group and document pool statistics
>> -           - platform: Makefile.inc: use `` instead of != for compatibility with older versions of Make
>> -           - linux-generic: packet: Add lazy parsing support
>> -           - linux-generic: buffer: init all the odp_buffer_bits_t struct to avoid valgrind warnings
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 24 Jul 2015 17:21:20 +0300
>> -
>> -opendataplane (1.1.0.0-1) unstable; urgency=low
>> -   * API:
>> -       - style: moved pool type first in pool_param
>> -       - style: pool_param doxygen comments
>> -       - api: packet: removed odp_packet_user_u64
>> -       - api: packet: rename user_data to user_area
>> -       - api: pktio: Clarify doc on default pool usage on odp_pktio_open
>> -       - timer: Add missing platform handles to u64 conversion functions
>> -       - api/linux-generic/example/validation: remove odp_pmr_create_range() function definition
>> -       - api: packet: relax return code to use non-zero for true
>> -       - api: packet/pool: proposed APIs for packet user metadata
>> -
>> -   * test:
>> -       * validation:
>> -           - validation: packet: add user metadata tests
>> -           - test: pktio: add missing atomic init
>> -           - test: use CU_ASSERT_FATAL in case odp_buffer_alloc failed to avoid segfaults
>> -           - validation: pktio: fix polling tests
>> -           - validation: tests for module odp_ver_abt_log_dbg
>> -           - validation: rename executable to match modules
>> -   * general:
>> -       - linux-generic/odp_impl: add implementation version details
>> -       - linux-generic: support running with restricted cpu set
>> -       - linux-generic: packet: add user metadata support
>> -       - linux-generic: pool: add user metadata support
>> -       - linux-generic: buffer: restructure user mdatadata fields
>> -       - linux-generic: use inttypes defines to print (u)int32_t values
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 08 May 2015 13:35:16 +0300
>> -
>> -opendataplane (1.0.4-1) unstable; urgency=low
>> -
>> -   * test:
>> -       * validation:
>> -           - synchronizers: fix init of custom barrier atomic
>> -           - pktio: don't pass invalid handles
>> -           - use PRIu32 instead of %u to print uint32_t variables
>> -           - thread: add odp_thread sunnyday tests
>> -           - classification: add missing init of atomic variable
>> -           - api_test: remove odp_shm_test
>> -       * performance:
>> -           - pktio: fix check for pktio_tx
>> -           - pktio: test return value of odp_pktio_close()
>> -           - pktio: add throughput test
>> -   * example:
>> -           - ODP classifier example
>> -   * bugs:
>> -           - example: timer: clean up prescheduled events
>> -   * general:
>> -           - api: time: force time defines as ULL to avoid computation overflows on 32bits systems
>> -           - linux-generic: packet_io: init l2 and l3 cos table spinlocks
>> -           - linux-generic: pool: initialize atomics during odp_pool_init_global
>> -           - linux-generic: pool: fix initialization of odp_buffer_hdr ref_count
>> -           - doc: api_guide_lines: add guidance on ODP_DEPRECATED
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Wed, 29 Apr 2015 20:21:25 +0300
>> -
>> -opendataplane (1.0.3-1) unstable; urgency=low
>> -
>> -   * test:
>> -       * validation:
>> -           - validation: add new test l2fwd_run
>> -           - validation: sched: add missing copyright
>> -           - validation: move l2fwd from example to performance tests
>> -           - validation: implement platform env
>> -           - validation: crypto: combine sync and async tests
>> -           - validation: crypto: handle synchronous operations in async test
>> -           - test: enable valgrind check
>> -           - test/README: explain what's the intention with test/validation
>> -           - validation: classification: un-checked return
>> -           - validation: pktio: support arbitrary length packets
>> -           - validation: pktio: fix memory corruption
>> -           - validation: common: catch odp_term_local/global failures
>> -           - validation: common: print odp_init failures to stderr
>> -           - validation: schedule: exit schedule loop
>> -           - validation: schedule: added queue destroy test
>> -   * bugs:
>> -           - linux-generic: pool: fix missing increment of blkallocs stat
>> -           - example: odp_generator: use odp_timer
>> -           - configure.ac: include configure.m4 if platform explicitly selected
>> -   * general:
>> -           - doxygen cleanups
>> -           - scheduler: restructured queue and pktio integration
>> -           - linux-generic: schedule: terminate
>> -           - linux-generic: debug_internal: assert prints condition
>> -           - linux-generic: pool: check for NULL params before dereference
>> -           - linux-generic: pktio: fix SEGV after odp_pktio_inq_remdef()
>> -           - linux-generic: system_info: use global data struct
>> -           - linux-generic: use arch optimisations
>> -           - examples: odp_ipsec: runtime select multiple vs single deq
>> -           - examples: odp_ipsec: runtime select scheduled vs poll queues
>> -           - examples: odp_ipsec: handle alloc_pkt_ctx failure
>> -           - scripts: odp_check: remove astyle
>> -           - linux-generic: odp_linux: migrate helpers to helper dir
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 17 Apr 2015 17:36:34 +0300
>> -
>> -opendataplane (1.0.2-1) unstable; urgency=low
>> -   * API:
>> -       - api files were touched with override patches but no api
>> -         changes were actually made.
>> -   * test:
>> -       * validation:
>> -           - fix memory allocation in odp_synchronizers
>> -           - fixed memory leak in odp_cpumask.c
>> -           - timer: use unused attribute
>> -           - pktio: add support for VPATH builds
>> -           - added odp_cpumask test
>> -           - timer: free malloced memory
>> -           - timer: use ODP_SHM_NULL
>> -           - timer: added cancel test
>> -           - pktio: prevent race when using veth pair
>> -           - test: debug: replace example with test
>> -           - test: debug: add unused attribute MACRO
>> -           - performance: odp_atomic: move atomic test from api_test to performance
>> -           - performance: scheduling: add support for VPATH builds
>> -           - performance: scheduling: catch exit codes
>> -   * general:
>> -           - barrier: allow platform to override odp_barrier_t
>> -           - ticketlock: allow platform to override odp_ticketlock_t
>> -           - rwlock: allow platform to override odp_rwlock_t
>> -           - spinlock: allow platform to override odp_spinlock_t
>> -           - doc: move api guidelines to API doc
>> -           - linux-generic: strongtypes: add dummy struct var to keep c++ happy
>> -           - linux-generic: queue: fix potential queue leak
>> -           - linux-generic: strongtypes: use named structs for C++
>> -           - example: l2fwd print packets per second
>> -           - linux-generic: linux: destroy used pthread attr
>> -   * bugs:
>> -           - validation: packet: use non-zero as true indicato
>> -           - linux-generic: pktio check for NULL entry
>> -           - linux-generic: fix incorrect pmr_term_value update in odp_pmr_create_xxx() function
>> -           - replace strtok_r with strtok and fix leaks
>> -           - schedule: free queues and pool
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 27 Mar 2015 19:22:22 +0300
>> -
>> -opendataplane (1.0.1-1) unstable; urgency=low
>> -
>> -   * test:
>> -       * validation:
>> -           - pktio: disable arp on virtual interfaces
>> -           - pktio check return code for pool_destroy
>> -           - schedule: code clean up
>> -           - odp_scheduling: limit worker thread count
>> -           - odp_timer: cleanup for clean termination
>> -           - common: prevent masking test failures
>> -           - shm: abort on null pointer
>> -           - crypto: add packet free to sync test
>> -           - crypto: add common test cleanup
>> -           - common: add support for test term
>> -           - crypto: split crypto and random tests
>> -           - add unit tests for strong type display functions
>> -   * general:
>> -           - linux-generic: only print errors to stderr
>> -           - linux-generic: linux: remove explicit buffer cache flush
>> -   * bugs:
>> -           - linux-generic: odp_timer: set user_ptr for cancelled timeout
>> -           - validation: odp_timer: cleanup for clean termination
>> -           - example: odp_packet uncomment polling queues
>> -           - linux-generic: mmap: jumbo frames support
>> -           - linux-generic: thread: reuse thread ids
>> -           - classification: destroy pktio default inqueue during teardown
>> -           - classification: pktio skip value set to zero
>> -
>> - -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 13 Mar 2015 20:02:59 +0300
>> -
>> -opendataplane (1.0.0-1) unstable; urgency=low
>> -
>> -   * API:
>> -       - crypto, cpumask, packet_io, random: replace ssize_t with int32_t
>> -       - crypto: add session destroy function
>> -       - crypto: add error code for invalid IV
>> -       - classification: Add documentation for missing macros
>> -       - hints: add printf format attribute
>> -       - errno: add api to public api
>> -       - init: add missing documentation
>> -       - packet_io: remove specific errno value
>> -   * test:
>> -       * validation:
>> -           - Makefile.am: restructure
>> -           - pktio: free unexpected packets/events
>> -           - pktio: destroy interface specific pools
>> -           - pktio: destroy pktio input queues
>> -           - pktio: fix odp_errno usage
>> -           - buffer: split pool, buffer and packet tests
>> -           - init: include stdlib.h for abort()
>> -           - crypto: verify session_destroy
>> -           - crypto: verify odp_crypto_operation() return code
>> -           - queue: destroy created ODP resources
>> -           - errno: add sunnyday test
>> -       * miscellaneous:
>> -           - Add CPP test
>> -   * bugs:
>> -       - odp_init_log: fix clang format string error
>> -       - buffers: remove obsolete debugging code
>> -       - classification: fix unchecked return value
>> -       - classification: fix incorrect ipv4 checksum update
>> -       - example: generator: add missing doxygen documentation
>> -       - pools: switch to simple locks for buf/blk synchronization
>> -       - performance: fix c99 warnings as errors
>> -       - crypto: handle copy error
>> -       - system: read hugepage size for all architectures
>> -       - queue: fix PKTIN queue destroy
>> -   * general:
>> -       - add -std=c99 gcc flag by default, fix all warnings
>> -       - handle copy error in odp_crypto_operation
>> -       - fix all doxygen warnings
>> -       - configured defines changed ODP_CONFIG_ and moved to config.h
>> -
>> - -- Anders Roxell <anders.roxell@linaro.org>  Thu, 26 Feb 2015 22:30:39 +0100
>> -
>> -opendataplane (0.11.0-1) unstable; urgency=low
>> -
>> -   * API:
>> -       - update return descriptions
>> -       - add strong types
>> -       - thread, rename functions
>> -       - cpu, rename functions
>> -       - errno added
>> -       - classification, remove pmr count
>> -       - init, allow the abort function to be overridden
>> -       - hints, add ODP_NORETURN
>> -       - packet_flag, remove odp_packet_override_l4_checksum
>> -   * validation:
>> -       - init, add tests for override the abort function
>> -   * bugs:
>> -       - timer, avoid cunit warnings for late timeouts
>> -       - version, fix odp_version_api_str (1194, 1207)
>> -       - fix clang (1203, 1023)
>> -       - validation: init: fix unitalized data in struct (1206)
>> -       - linux-generic: setup_pktio_entry() null terminate pkio name (1055)
>> -       - validation: odp_timer.c: (1048, 1056)
>> -
>> - -- Anders Roxell <anders.roxell@linaro.org>  Wed, 20 Feb 2015 06:50:34 +0100
>> -
>> -opendataplane (0.10.0-1) unstable; urgency=low
>> -
>> -   * API:
>> -       - Allow init_global logging
>> -       - Add events
>> -       - Add Crypto Completion event
>> -       - Classification API cleanup
>> -       - Move header files out of linux-generic
>> -   * validation:
>> -       - Classification tests
>> -   * bugs:
>> -       - l2fwd: fix incorrect cpumask used when spawning threads
>> -       - shared memory
>> -   * general:
>> -       - move headers into namespace the odp/helper
>> -
>> - -- Anders Roxell <anders.roxell@linaro.org>  Sat, 31 Jan 2015 13:50:30 +0100
>> -
>> -opendataplane (0.9.0-1) unstable; urgency=low
>> -
>> -  * Initial release
>> -
>> - -- Anders Roxell <anders.roxell@linaro.org>  Fri, 23 Jan 2015 16:32:06 +0100
>> diff --git a/pkg/debian/compat b/pkg/debian/compat
>> deleted file mode 100644
>> index ec63514..0000000
>> --- a/pkg/debian/compat
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -9
>> diff --git a/pkg/debian/control b/pkg/debian/control
>> deleted file mode 100644
>> index 0554de6..0000000
>> --- a/pkg/debian/control
>> +++ /dev/null
>> @@ -1,70 +0,0 @@
>> -Source: opendataplane
>> -Priority: optional
>> -Maintainer: Anders Roxell <anders.roxell@linaro.org>
>> -Build-Depends: debhelper (>= 9), dh-autoreconf, libssl-dev, doxygen,
>> -    imagemagick, libmagickcore-6.q16-2-extra | libmagickcore-extra,
>> -    ghostscript, asciidoc, mscgen, texlive-latex-recommended, graphviz
>> -Standards-Version: 3.9.6
>> -Section: libs
>> -Homepage: http://www.opendataplane.org/
>> -Vcs-Git: git://git.linaro.org/lng/odp.git
>> -Vcs-Browser: https://git.linaro.org/lng/odp.git
>> -
>> -Package: odp-linux-bin
>> -Section: devel
>> -Architecture: any
>> -Multi-Arch: allowed
>> -Depends: ${misc:Depends}, ${shlibs:Depends}
>> -Description: Example binaries for OpenDataPlane
>> - These are the executable examples from the reference implementation.
>> -
>> -Package: libodp-linux-dbg
>> -Priority: extra
>> -Section: debug
>> -Architecture: any
>> -Multi-Arch: same
>> -Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}
>> -Description: Debug symbols for OpenDataPlane
>> - This is the OpenDataPlane library from the reference implementation
>> - with debug turned on.
>> -
>> -Package: libodp-linux-dev
>> -Section: libdevel
>> -Architecture: any
>> -Multi-Arch: same
>> -Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}, libssl-dev
>> -Description: Development files for OpenDataPlane
>> - These are the source file for the OpenDataPlane reference implementation.
>> -
>> -Package: libodp-linux
>> -Architecture: any
>> -Multi-Arch: same
>> -Depends: ${misc:Depends}, ${shlibs:Depends}
>> -Description: Library for OpenDataPlane
>> - This is the OpenDataPlane library from the reference implementation.
>> -
>> -Package: libodphelper-linux-dbg
>> -Priority: extra
>> -Section: debug
>> -Architecture: any
>> -Multi-Arch: same
>> -Depends: libodphelper-linux (= ${binary:Version}), ${misc:Depends}
>> -Description: Debug symbols for OpenDataPlane
>> - This is the OpenDataPlane helper library from the reference implementation
>> - with debug turned on.
>> -
>> -Package: libodphelper-linux-dev
>> -Section: libdevel
>> -Architecture: any
>> -Multi-Arch: same
>> -Depends: libodphelper-linux (= ${binary:Version}), libodp-linux-dev,
>> -    ${misc:Depends}, ${shlibs:Depends}, libssl-dev
>> -Description: Helper development files for OpenDataPlane
>> - These are the helper source file for the OpenDataPlane reference implementation.
>> -
>> -Package: libodphelper-linux
>> -Architecture: any
>> -Multi-Arch: same
>> -Depends: ${misc:Depends}, ${shlibs:Depends}
>> -Description: Helper library for OpenDataPlane
>> - This is the OpenDataPlane helper library from the reference implementation.
>> diff --git a/pkg/debian/copyright b/pkg/debian/copyright
>> deleted file mode 100644
>> index 74fecbc..0000000
>> --- a/pkg/debian/copyright
>> +++ /dev/null
>> @@ -1,31 +0,0 @@
>> -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
>> -Upstream-Name: OpenDataPlane
>> -Source: <http://www.opendataplane.org>
>> -
>> -Files: *
>> -Copyright: 2013-2015, Linaro Limited All rights reserved.
>> -License: BSD-3-clause
>> -  Redistribution and use in source and binary forms, with or without
>> -  modification, are permitted provided that the following conditions are met:
>> -  .
>> -  Redistributions of source code must retain the above copyright notice, this
>> -  list of conditions and the following disclaimer.
>> -  .
>> -  Redistributions in binary form must reproduce the above copyright notice, this
>> -  list of conditions and the following disclaimer in the documentation and/or
>> -  other materials provided with the distribution.
>> -  .
>> -  Neither the name of Linaro Limited nor the names of its contributors may be
>> -  used to endorse or promote products derived from this software without specific
>> -  prior written permission.
>> -  .
>> -  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
>> -  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
>> -  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
>> -  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
>> -  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
>> -  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
>> -  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
>> -  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
>> -  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> -  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> diff --git a/pkg/debian/docs b/pkg/debian/docs
>> deleted file mode 100644
>> index e845566..0000000
>> --- a/pkg/debian/docs
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -README
>> diff --git a/pkg/debian/libodp-linux-dev.dirs b/pkg/debian/libodp-linux-dev.dirs
>> deleted file mode 100644
>> index 4418816..0000000
>> --- a/pkg/debian/libodp-linux-dev.dirs
>> +++ /dev/null
>> @@ -1,2 +0,0 @@
>> -usr/lib
>> -usr/include
>> diff --git a/pkg/debian/libodp-linux-dev.install b/pkg/debian/libodp-linux-dev.install
>> deleted file mode 100644
>> index 1e47824..0000000
>> --- a/pkg/debian/libodp-linux-dev.install
>> +++ /dev/null
>> @@ -1,5 +0,0 @@
>> -usr/include/odp.h
>> -usr/include/odp/api/*
>> -usr/lib/*/libodp-linux.so
>> -usr/lib/*/libodp-linux.a
>> -usr/lib/*/pkgconfig/libodp-linux*
>> diff --git a/pkg/debian/libodp-linux.dirs b/pkg/debian/libodp-linux.dirs
>> deleted file mode 100644
>> index 6845771..0000000
>> --- a/pkg/debian/libodp-linux.dirs
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -usr/lib
>> diff --git a/pkg/debian/libodp-linux.install b/pkg/debian/libodp-linux.install
>> deleted file mode 100644
>> index 28ebb93..0000000
>> --- a/pkg/debian/libodp-linux.install
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -usr/lib/*/libodp-linux.so.*
>> diff --git a/pkg/debian/libodphelper-linux-dev.dirs b/pkg/debian/libodphelper-linux-dev.dirs
>> deleted file mode 100644
>> index 4418816..0000000
>> --- a/pkg/debian/libodphelper-linux-dev.dirs
>> +++ /dev/null
>> @@ -1,2 +0,0 @@
>> -usr/lib
>> -usr/include
>> diff --git a/pkg/debian/libodphelper-linux-dev.install b/pkg/debian/libodphelper-linux-dev.install
>> deleted file mode 100644
>> index 7d9a2a8..0000000
>> --- a/pkg/debian/libodphelper-linux-dev.install
>> +++ /dev/null
>> @@ -1,4 +0,0 @@
>> -usr/include/odp/helper/*
>> -usr/lib/*/libodphelper-linux.so
>> -usr/lib/*/libodphelper-linux.a
>> -usr/lib/*/pkgconfig/libodphelper-linux*
>> diff --git a/pkg/debian/libodphelper-linux.dirs b/pkg/debian/libodphelper-linux.dirs
>> deleted file mode 100644
>> index 6845771..0000000
>> --- a/pkg/debian/libodphelper-linux.dirs
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -usr/lib
>> diff --git a/pkg/debian/libodphelper-linux.install b/pkg/debian/libodphelper-linux.install
>> deleted file mode 100644
>> index 896feed..0000000
>> --- a/pkg/debian/libodphelper-linux.install
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -usr/lib/*/libodphelper-linux.so.*
>> diff --git a/pkg/debian/odp-linux-bin.dirs b/pkg/debian/odp-linux-bin.dirs
>> deleted file mode 100644
>> index e772481..0000000
>> --- a/pkg/debian/odp-linux-bin.dirs
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -usr/bin
>> diff --git a/pkg/debian/odp-linux-bin.install b/pkg/debian/odp-linux-bin.install
>> deleted file mode 100644
>> index 1df36c6..0000000
>> --- a/pkg/debian/odp-linux-bin.install
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -usr/bin/*
>> diff --git a/pkg/debian/rules b/pkg/debian/rules
>> deleted file mode 100755
>> index c155a5e..0000000
>> --- a/pkg/debian/rules
>> +++ /dev/null
>> @@ -1,30 +0,0 @@
>> -#!/usr/bin/make -f
>> -
>> -# Uncomment this to turn on verbose mode.
>> -#export DH_VERBOSE=1
>> -
>> -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
>> -DPKG_EXPORT_BUILDFLAGS = 0
>> -include /usr/share/dpkg/default.mk
>> -
>> -%:
>> -       dh $@ --with autoreconf
>> -
>> -override_dh_autoreconf:
>> -       dh_autoreconf ./bootstrap
>> -
>> -override_dh_auto_test:
>> -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
>> -       dh_auto_configure -- --enable-static --enable-test-vald \
>> -               --enable-test-cpp --enable-test-helper
>> -       $(MAKE) check
>> -endif
>> -
>> -override_dh_auto_configure:
>> -       dh_auto_configure -- --enable-static
>> -
>> -.PHONY: override_dh_strip
>> -override_dh_strip:
>> -       dh_strip -p libodp-linux --dbg-package=libodp-linux-dbg
>> -       dh_strip -p libodphelper-linux --dbg-package=libodphelper-linux-dbg
>> -       dh_strip --remaining-packages
>> diff --git a/pkg/debian/source/format b/pkg/debian/source/format
>> deleted file mode 100644
>> index 163aaf8..0000000
>> --- a/pkg/debian/source/format
>> +++ /dev/null
>> @@ -1 +0,0 @@
>> -3.0 (quilt)
>> diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec
>> deleted file mode 100644
>> index 11a3853..0000000
>> --- a/pkg/rpm/odp.spec
>> +++ /dev/null
>> @@ -1,80 +0,0 @@
>> -# Copyright (c) 2015, Linaro Limited
>> -# All rights reserved.
>> -#
>> -# SPDX-License-Identifier:     BSD-3-Clause
>> -
>> -Name: opendataplane
>> -Version: 1.4
>> -Release: 1
>> -Packager: anders.roxell@linaro.org
>> -URL: http://opendataplane.org
>> -Source: %{name}-%{version}.tar.gz
>> -Summary: OpenDataPlane Reference implementation
>> -Group: System Environment/Libraries
>> -License: BSD-3-Clause
>> -BuildRequires: automake
>> -BuildRequires: autoconf
>> -BuildRequires: libtool
>> -BuildRequires: openssl-devel
>> -BuildRequires: doxygen
>> -BuildRequires: asciidoc
>> -BuildRequires: source-highlight
>> -%if 0%{?fedora}
>> -BuildRequires: texlive-collection-fontsextra
>> -BuildRequires: texlive-collection-latexextra
>> -%else
>> -BuildRequires: texlive-latex-bin-bin
>> -BuildRequires: texlive-makeindex-bin
>> -BuildRequires: texlive-dvips-bin
>> -%endif
>> -BuildRequires: ImageMagick-devel
>> -BuildRequires: mscgen
>> -
>> -%description
>> -ODP's reference implementation includes header files and a library
>> -More libraries are available as extensions in other packages.
>> -
>> -%package devel
>> -Summary: OpenDataPlane Reference implementation
>> -Requires: %{name}%{?_isa} = %{version}-%{release}
>> -
>> -%description devel
>> -ODP devel is a set of headers, a library and example files.
>> -This is a reference implementation.
>> -
>> -%package doc
>> -Summary: OpenDataPlane Reference documentation
>> -BuildArch: noarch
>> -
>> -%description doc
>> -ODP doc is divided in two parts: API details in doxygen HTML format
>> -and guides in HTMLformats.
>> -
>> -%prep
>> -%autosetup -n %{name}-%{version}
>> -
>> -%configure
>> -%make_install
>> -
>> -%files
>> -%{_datadir}/*
>> -%{_bindir}/*
>> -%{_libdir}/*
>> -
>> -%files devel
>> -%{_includedir}/*
>> -%{_libdir}/
>> -
>> -%post -p /sbin/ldconfig
>> -%postun -p /sbin/ldconfig
>> -%changelog
>> -* Fri Mar 4 2016 - maxim.uvarov (at) linaro.org
>> -- ODP release v1.8
>> -* Fri Feb 5 2016 - maxim.uvarov (at) linaro.org
>> -- ODP release v1.7
>> -* Mon Dec 28 2015 - maxim.uvarov (at) linaro.org
>> -- ODP release v1.6
>> -* Mon Nov 30 2015 - mike.holmes (at) linaro.org
>> -- ODP release v1.5
>> -* Tue Nov 10 2015 - anders.roxell (at) linaro.org
>> -- Initial rpm release, ODP release v1.4
>> diff --git a/scripts/builddeb b/scripts/builddeb
>> deleted file mode 100755
>> index f28ee02..0000000
>> --- a/scripts/builddeb
>> +++ /dev/null
>> @@ -1,38 +0,0 @@
>> -#!/bin/bash
>> -
>> -set -e
>> -
>> -export ROOT_DIR=$(readlink -e $(dirname $0) | sed 's|/scripts||')
>> -
>> -source ${ROOT_DIR}/scripts/common_pkg_build.sh
>> -
>> -# debuild default options
>> -DEB_OPTS="-us -uc"
>> -
>> -# Also allow the user to create just the source package (skip build process)
>> -if [ "$1" == source ]; then
>> -       prepare_tarball archive
>> -       DEB_OPTS="-S $DEB_OPTS"
>> -else
>> -       prepare_tarball
>> -fi
>> -
>> -pushd ${ROOT_DIR}/${package}-${version}
>> -cp -r ${ROOT_DIR}/pkg/debian .
>> -
>> -current=$(grep "^ODP_LIBSO_VERSION" ${ROOT_DIR}/configure.ac| \
>> -       awk -F'=' '{print $2}' |awk -F : '{print $1}')
>> -rename 's,(.*linux)(.*),${1}'"${current}"'${2},' debian/*odp*-linux.install
>> -
>> -sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\|$\| \):\1${current}\2:g" debian/control
>> -sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\| \):\1${current}\2:g" debian/rules
>> -
>> -if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then
>> -       export DEBFULLNAME="Donald Duck"
>> -       export DEBEMAIL="donald.duck@linaro.org"
>> -       dch --newversion ${version}-1 --urgency low "not a official release!"
>> -fi
>> -
>> -debuild $DEB_OPTS
>> -popd
>> -popd
>> diff --git a/scripts/buildrpm b/scripts/buildrpm
>> deleted file mode 100755
>> index 8568592..0000000
>> --- a/scripts/buildrpm
>> +++ /dev/null
>> @@ -1,30 +0,0 @@
>> -#!/bin/bash
>> -
>> -set -e
>> -
>> -export ROOT_DIR=$(readlink -e $(dirname $0) | sed 's|/scripts||')
>> -
>> -source ${ROOT_DIR}/scripts/common_pkg_build.sh
>> -
>> -prepare_tarball
>> -
>> -mkdir -p ${ROOT_DIR}/rpm/RPMS
>> -mkdir -p ${ROOT_DIR}/rpm/SRPMS
>> -mkdir -p ${ROOT_DIR}/rpm/BUILD
>> -mkdir -p ${ROOT_DIR}/rpm/SOURCES
>> -mkdir -p ${ROOT_DIR}/rpm/tmp
>> -rm -rf ${ROOT_DIR}/rpm/BUILD/${package}-root
>> -rm -rf ${ROOT_DIR}/rpm/RPMS/${package}*
>> -rm -rf ${ROOT_DIR}/rpm/SRPMS/${package}*
>> -rm -rf ${ROOT_DIR}/rpm/SOURCES/${package}*
>> -cp ${ROOT_DIR}/${package}-${version}.tar.gz ${ROOT_DIR}/rpm/SOURCES/
>> -cp ${ROOT_DIR}/pkg/rpm/odp.spec ${ROOT_DIR}/rpm/odp.spec
>> -if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then
>> -       creation_date=$(date '+%a %b %e %G')
>> -       RPMEMAIL="donald.duck (at) linaro.org"
>> -       sed -i -e "s/changelog/changelog\n* ${creation_date} - ${RPMEMAIL}\n- not a official release\!/g" ${ROOT_DIR}/rpm/odp.spec
>> -fi
>> -sed -i "s|^Version: .*$|Version: ${version}|g" ${ROOT_DIR}/rpm/odp.spec
>> -rpmbuild --quiet --nodeps --define="_topdir ${ROOT_DIR}/rpm" -ba ${ROOT_DIR}/rpm/odp.spec
>> -cp ${ROOT_DIR}/rpm/RPMS/*/* ${ROOT_DIR}/
>> -popd
>> diff --git a/scripts/common_pkg_build.sh b/scripts/common_pkg_build.sh
>> deleted file mode 100644
>> index fbb2511..0000000
>> --- a/scripts/common_pkg_build.sh
>> +++ /dev/null
>> @@ -1,39 +0,0 @@
>> -#!/bin/bash
>> -
>> -set -e
>> -
>> -prepare_tarball() {
>> -       export package=opendataplane
>> -
>> -       pushd ${ROOT_DIR}
>> -
>> -       if [[ -d ${ROOT_DIR}/.git ]]; then
>> -               . scripts/git_hash.sh ${ROOT_DIR}
>> -               version=$(cat ${ROOT_DIR}/.scmversion)
>> -       else
>> -               echo "This script isn't expected to be used without"
>> -               echo "a git repository."
>> -               exit 1
>> -       fi
>> -
>> -       if [ "$1" == archive ]; then
>> -               git archive --format=tar --prefix=${package}-${version}/ HEAD > ${package}-${version}.tar
>> -
>> -               # append .scmversion, otherwise bootstrap fails
>> -               SCMTMP=`mktemp -d`
>> -               pushd $SCMTMP
>> -               mkdir ${package}-${version}
>> -               cp ${ROOT_DIR}/.scmversion ${package}-${version}
>> -               tar --update -v -f ${ROOT_DIR}/${package}-${version}.tar ${package}-${version}
>> -               popd
>> -               rm -rf $SCMTMP
>> -               gzip ${package}-${version}.tar
>> -       else
>> -               ./bootstrap
>> -               ./configure
>> -               make dist
>> -       fi
>> -
>> -       cp ${package}-${version}.tar.gz ${package}_${version}.orig.tar.gz
>> -       tar xzf ${package}_${version}.orig.tar.gz
>> -}
>> --
>> 2.1.4
> Easier to maintain the packaging outside, as we get closer to submit
> the packaging to the upstream distros.
>
> Reviewed-by: Ricardo Salveti <ricardo.salveti@linaro.org>
>
> Thanks,
diff mbox

Patch

diff --git a/pkg/debian/README.Debian b/pkg/debian/README.Debian
deleted file mode 100644
index b8e47e4..0000000
--- a/pkg/debian/README.Debian
+++ /dev/null
@@ -1,12 +0,0 @@ 
-opendataplane for Debian
-------------------------
-
-For up to date information please visit http://www.opendataplane.org
-The OpenDataPlane (ODP) project has been established to produce an open-source,
-cross-platform set of application programming interfaces (APIs) for the
-networking data plane.
-
-It provides a library such as openvswitch with a portable API that facilitates
-platform independence and access to hardware acceleration.
-
- -- Anders Roxell <anders.roxell@linaro.org>  Mon, 22 Dec 2014 19:07:06 +0100
diff --git a/pkg/debian/changelog b/pkg/debian/changelog
deleted file mode 100644
index 4d8d9a8..0000000
--- a/pkg/debian/changelog
+++ /dev/null
@@ -1,566 +0,0 @@ 
-opendataplane (1.8.0.0-1) unstable; urgency=low
-   * ODP release v1.8
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 04 Mar 2016 13:32:05 +0300
-
-opendataplane (1.7.0.0-1) unstable; urgency=low
-   * ODP release v1.7
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 05 Feb 2016 13:05:00 +0300
-
-opendataplane (1.6.0.0-1) unstable; urgency=low
-   * ODP release v1.6
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Mon, 28 Dec 2015 17:01:58 +0300
-
-opendataplane (1.5.0.0-1) unstable; urgency=low
-   * ODP release v1.5
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Mon, 30 Nov 2015 13:08:43 +0300
-
-opendataplane (1.4.1.0-1) unstable; urgency=low
-   * Validation
-       - pktio: test transmit error recovery
-       - schedule: add chaos test
-       - check return code from odp_queue_lock_count()
-       - scheduler: test ordered queue reorder processing
-       - pktio: initialize queue parameters correctly
-       - pktio: test for transmit error handling
-       - pktio: add support for direct receive
-       - pktio: pass interface index rather than name
-       - pktio: fix start_stop test
-       - test: l2fwd: separate rx and tx drop counters
-       - test: l2fwd: increase burst size
-       - test: l2fwd: optimize statistics usage
-       - test: l2fwd: optimize queue mode
-       - test: l2fwd: start pktios after worker thread create
-       - test: l2fwd: added option to disable error check
-       - example/ipsec: Increase ip_data_len for Tunnel mode
-       - example: ipsec: check push_tail return code
-   * General:
-       - linux-generic: pktio: handle transmit errors correctly
-       - pktio socket_mmap: recover from transmit errors but 1890
-       - pktio: increase MTU of loop interface
-       - ordered queues: fix race condition during order release
-         and out of order.
-       - configure: move HAVE_PCAP AM_CONDITIONAL to configure.ac
-   * ODP helper:
-       - linux: checkpatch cleaning for helper/linux.c
-       - linux: examine the cause for child process termination
-       - linux: request SIGTERM if parent process dies
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 13 Nov 2015 13:47:22 +0300
-
-opendataplane (1.4.0.0-1) unstable; urgency=low
-   * API:
-       - ** Classification **
-       - odp_cos_set_queue() renamed to odp_cos_queue_set()
-       - int odp_cos_set_drop renamed to odp_cos_drop_set()
-       - new: odp_queue_t odp_cos_queue(odp_cos_t cos_id)
-       - new: odp_drop_e odp_cos_drop(odp_cos_t cos_id)
-       - ODP_PMR_CUSTOM_FRAME support in classification
-       - odp_pmr_create() arguments passing change to use struct
-       - odp_pmr_match_set_create() added id argument
-       - ** Config **
-       - new: odp_config_...() API introduced instead of ODP_CONFIG_ defines
-       - ** Cpu, Threads and Scheduler **
-       - new: uint64_t odp_cpu_cycles(void)
-       - new: uint64_t odp_cpu_cycles_diff(uint64_t c1, uint64_t c2);
-       - new: uint64_t odp_cpu_cycles_max(void);
-       - new: uint64_t odp_cpu_cycles_resolution(void);
-       - odp_cpumask_def_worker() renamed to odp_cpumask_default_worker()
-       - odp_cpumask_def_control() renamed to odp_cpumask_default_control()
-       - odp init extended with num worker and control threads
-       - new: int odp_queue_lock_count(odp_queue_t queue);
-       - refine api doc for scheduler and schedule orderd locks
-       - argument of odp_schedule_order_lock() and odp_schedule_order_unlock changed to unsigned
-       - new: int odp_thread_count_max(void)
-       - ** Packet **
-       - new: uint32_t odp_packet_flow_hash(odp_packet_t pkt)
-       - new: void odp_packet_flow_hash_set(odp_packet_t pkt, uint32_t flow_hash)
-       - new: int odp_packet_has_flow_hash(odp_packet_t pkt);
-       - new: void odp_packet_has_flow_hash_clr(odp_packet_t pkt);
-       - ** Pktio **
-       - pktio can be configuread as receive or transmit only
-       - pktio: refined api doc for start() and stop()
-       - new: void odp_pktio_param_init(odp_pktio_param_t *param)
-   * ODP docs:
-       - implementers-guide: update names of test module libraries
-       - implementers-guide: update section on skipping tests
-   * Test framework
-       - update README files
-       - renaming module libs
-       - add odp_cunit_update() to modify registered tests
-       - add ability to mark tests inactive
-   * Validation
-       - ** Classification **
-       - Add fix for classification tests
-       - remove redundant pool lookup function
-       - remove redundant sequence number check
-       - use tcp data offset field to calculate data offset
-       - move destroy_inq() to common file
-       - add odp_pktio_param_init() API
-       - added additional suite to test individual PMRs
-       - use a structure instead of many args for odp_pmr_create
-       - Add init calls for queue parameters
-       - syntax correction for CU_ASSERT
-       - Add init calls for pool parameters
-       - queue and drop policy API name change
-       - Queue parameter init calls
-       - ** Cpu, Threads and Scheduler **
-       - rename odp_cpumask_def to _default
-       - schedule: revise definition of ordered locks
-       - schedule: remove odp_schedule_order_lock_init() API
-       - schedule: don't check schedule time on 0
-       - synchronizers: support a single worker
-       - init: fix test when debug-print is disabled
-       - ** Packet **
-       - packet: test flow hash
-       - packet: test now handles pool that do not support segmentation
-       - ** Pktio **
-       - pktio: don't call APIs with an invalid pktio handle
-       - ** Config **
-       - config: removed ODP_CONFIG_MAX_THREADS
-       - config: add CUnit tests for config APIs
-   * Performance
-       - l2fwd: add missing braces
-       - l2fwd: add option to disable filling eth addresses
-       - l2fwd: add support for using odd number of ports
-       - l2fwd: fix crash when accuracy is set to 0
-       - l2fwd: add option to select scheduler queue type
-       - l2fwd: add option to change destination eth addresses
-       - l2fwd: obey -t in queue mode
-       - l2fwd: fill correct source ethernet address
-       - sched: update scheduling test to use cycle counts
-       - odp_pktio_perf: fix potential overflow for burst_gap
-       - odp_pktio_perf: fix potential overflow for send_duration
-   * general:
-       - classification: implement ODP_PMR_CUSTOM_FRAME matching
-       - classification: queue and drop policy API name change
-       - cpu: created arch dependent cpu_cycles files
-       - cpu: fix cycle lost while cycle counter overflow
-       - cpu: implementation for cycle count API
-       - cpu: rename time_cycles to cpu_cycles
-       - pktio: implemented pcap pktio
-       - pktio: implemented netmap pktio
-       - pktio: close all pktio when term is called
-       - pktio: enable classifier only when needed
-       - pktio: factor state management into packet_io
-       - pktio: fill in L2 parse results by default
-       - pktio: implement odp_pktio_param_init() API
-       - packet: implement flow hash support
-       - schedule: fix odp_schdule_wait_time
-       - queue: change lock_index from uint32_t to unsigned to match API
-       - queue: direct internal enqueues to target queue
-       - queue: fix pktout_enqueue() logic
-       - queue: remove obsolete prototypes
-       - use cycles_diff for time API also
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 30 Oct 2015 13:55:07 +0300
-
-opendataplane (1.3.0.0-1) unstable; urgency=low
-   * API:
-       - codespell: correct spelling
-       - event: change to odp_event_type_t
-       - init: use const pointer types
-       - packet_io: added odp_pktio_param_t
-       - packet_io: added start and stop
-       - packet_io: change word instance to interface
-       - pktio: added output mode
-       - pktio: rename pktio_input_mode enum
-       - pool: add odp_pool_param_init prototype
-       - pool: standardize description for odp_pool_param_init routine
-       - queue: add odp_queue_param_init prototype
-       - queue: clarify odp_queue_context_set() documentation
-       - queue: rename queue context get/set for consistency
-       - sched: added ordered context lock
-       - sched: added release ordered
-       - sched: added schedule group create and destroy
-       - sched: added schedule prefetch
-       - sched: added worker group
-       - sched: add additional scheduler group APIs
-       - sched: clarified synchronization context
-       - sched: clarify usage of PRIO_DEFAULT
-       - sched: moved scheduler types into new file
-       - sched: removed GROUP_DEFAULT
-       - sched: removed SYNC_DEFAULT
-       - sched: rename order lock APIs and typedef
-       - sched: schedule param
-       - sched: config: add configuration for scheduler groups
-       - schedule: fix comment typo
-       - spelling fixes
-       - style: init api: documentation clean up
-   * ODP docs:
-       - doc: implementers-guide: add validation description
-       - doc: publish contributing text
-   * ODP helper:
-       - fix installation path for includes
-       - linux: catch possible undefined
-       - test: chksum: catch errors in scan_ip
-   * test:
-       * validation:
-           - add test on unused retvals
-           - use _CU_TEST_INFO() macro
-           - system: fix uninitialised variable
-           - schedule: add param init calls
-           - schedule: test scheduler groups
-           - test odp_pktio_start and odp_pktio_stop
-           - fix build from tar source
-           - kill odp_generator
-           - removing current dir from -I
-       * performance:
-           - Makefile: add scripts to EXTRA_DIST
-           - l2fwd: fix race condition between thread init and stat counter
-           - l2fwd: capture test fails
-           - odp_pktio_perf: use real MAC addresses while packet creation
-           - odp_scheduling: remove redundant var inits
-           - use odp_pool_param_init routine
-           - use odp_queue_param_init routine
-   * general:
-       - Makefile.am: fix basename conflicts
-       - Makefile: add all arch to the tarball
-       - fix logic for calling pktio init and term functions
-       - install missing headers
-       - move default cpumask functions to separate file
-       - move openssl checks inside linux-generic
-       - move pthread checks inside linux-generic
-       - add pktio_start and pktio_stop
-       - pktio: add global init and term function for pktios
-       - pktio: always test loop interface
-       - pktio: handle segmented packet in socket mode
-       - pktio: remove basic socket implementation
-       - pktio: store errno correctly in setup
-       - pool: add odp_pool_type_t enum
-       - pool: implement odp_pool_param_init
-       - queue: implement odp_queue_param_init routine
-       - queue: implement ordered queues
-       - remove linux-generic makefile generation from common configure.ac
-       - schedule pktin_poll: account pktio stop state
-       - schedule: implement scheduler groups
-       - schedule: implement odp_schedule_prefetch()
-       - schedule: implement ordered locks
-       - Makefile.am: fix aclocal warning when building from tarball
-       - m4: pthread: fix warning with Wextra
-       - scripts/git_hash: change repo to CUSTOM_STR
-       - scripts/git_hash: fix build from tar source
-       - scripts: Makefile: add odp_version.sh to the tarball
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Tue, 01 Sep 2015 21:14:53 +0300
-
-opendataplane (1.2.0.0-1) unstable; urgency=low
-   * API:
-       - docs: doxygen grouping clean up and remove excess references to ODP
-       - pool: remove shm paramter from odp_pool_create()
-       - packet_io: clarify what happens when not all packets are sent
-       - cpumask: added default masks and cpumask_setall
-       - thrmask: added thread mask
-       - thread: added thread type
-   * ODP helper:
-       - helper: convert to a library
-       - remove helper dependence on ODP internals
-       - helper: linux: check pthread_join return code
-       - test checksum
-       - helpers: fix udp checksum computation
-       - test: helper: add process and thread tests
-       - deleted odph_linux_cpumask_default
-   * test:
-       * validation:
-           - tests execution moved to platfrom side
-           - test: pktio_perf: add missing atomic init
-           - test: synchronizers: use thread_id instead of cpu_id to detect slow threa
-           - validation: pktio: do not dequeue from scheduled queue
-           - test: pktio_perf: fix pthread_t offset for tx threads
-           - packet_io: release unsent packets after odp_pktio_send()
-           - validation: new module errno
-           - test: pktio_perf: add missing ns to cycle conversion for busy loop
-           - validation: classification: fix ODP_PMR_IPPROTO capability check
-           - validation: scheduler: fix race condition in pause test
-           - test: do not use negative array index
-           - thread and cpumask validation suites
-           - example:ipsec: Fix for Polled queues
-           - scheduler: use number of workers
-           - example: classifier: fix string overflow
-   * general:
-           - linux-generic: put pktio types to separate files with common interface.
-           - configure: use stricter warnings
-           - linux-generic: timer: use timer handles as buffer handles
-           - linux-generic: buffer: remove unneeded division/module when mapping within the first segment
-           - linux-generic: pool: use ODP_CONFIG_PACKET_SEG_LEN_MIN correctly
-           - queue: handle return value of odp_queue_enq()
-           - linux-generic: classification: add support for ODP_PMR_IPSEC_SPI
-           - add {EXEEXT} suffix to binaries
-           - event: implement odp_event_free()
-           - packet_socket: do not release packets in odp_pktio_send
-           - linux-generic: packet: fix byte order in IPv6 header parsing
-           - linux-generic: schedule: fix double free
-           - linux-generic: buffers: correct segment length calculation for packets
-           - linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init
-           - linux-generic: buffer: reduce field size and reorder for better packing
-           - linux-generic: crypto: eliminate buffer type hack for completions
-           - linux-generic: pool: remove double init
-           - linux-generic: pool: group and document pool statistics
-           - platform: Makefile.inc: use `` instead of != for compatibility with older versions of Make
-           - linux-generic: packet: Add lazy parsing support
-           - linux-generic: buffer: init all the odp_buffer_bits_t struct to avoid valgrind warnings
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 24 Jul 2015 17:21:20 +0300
-
-opendataplane (1.1.0.0-1) unstable; urgency=low
-   * API:
-       - style: moved pool type first in pool_param
-       - style: pool_param doxygen comments
-       - api: packet: removed odp_packet_user_u64
-       - api: packet: rename user_data to user_area
-       - api: pktio: Clarify doc on default pool usage on odp_pktio_open
-       - timer: Add missing platform handles to u64 conversion functions
-       - api/linux-generic/example/validation: remove odp_pmr_create_range() function definition
-       - api: packet: relax return code to use non-zero for true
-       - api: packet/pool: proposed APIs for packet user metadata
-
-   * test:
-       * validation:
-           - validation: packet: add user metadata tests
-           - test: pktio: add missing atomic init
-           - test: use CU_ASSERT_FATAL in case odp_buffer_alloc failed to avoid segfaults
-           - validation: pktio: fix polling tests
-           - validation: tests for module odp_ver_abt_log_dbg
-           - validation: rename executable to match modules
-   * general:
-       - linux-generic/odp_impl: add implementation version details
-       - linux-generic: support running with restricted cpu set
-       - linux-generic: packet: add user metadata support
-       - linux-generic: pool: add user metadata support
-       - linux-generic: buffer: restructure user mdatadata fields
-       - linux-generic: use inttypes defines to print (u)int32_t values
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 08 May 2015 13:35:16 +0300
-
-opendataplane (1.0.4-1) unstable; urgency=low
-
-   * test:
-       * validation:
-           - synchronizers: fix init of custom barrier atomic
-           - pktio: don't pass invalid handles
-           - use PRIu32 instead of %u to print uint32_t variables
-           - thread: add odp_thread sunnyday tests
-           - classification: add missing init of atomic variable
-           - api_test: remove odp_shm_test
-       * performance:
-           - pktio: fix check for pktio_tx
-           - pktio: test return value of odp_pktio_close()
-           - pktio: add throughput test
-   * example:
-           - ODP classifier example
-   * bugs:
-           - example: timer: clean up prescheduled events
-   * general:
-           - api: time: force time defines as ULL to avoid computation overflows on 32bits systems
-           - linux-generic: packet_io: init l2 and l3 cos table spinlocks
-           - linux-generic: pool: initialize atomics during odp_pool_init_global
-           - linux-generic: pool: fix initialization of odp_buffer_hdr ref_count
-           - doc: api_guide_lines: add guidance on ODP_DEPRECATED
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Wed, 29 Apr 2015 20:21:25 +0300
-
-opendataplane (1.0.3-1) unstable; urgency=low
-
-   * test:
-       * validation:
-           - validation: add new test l2fwd_run
-           - validation: sched: add missing copyright
-           - validation: move l2fwd from example to performance tests
-           - validation: implement platform env
-           - validation: crypto: combine sync and async tests
-           - validation: crypto: handle synchronous operations in async test
-           - test: enable valgrind check
-           - test/README: explain what's the intention with test/validation
-           - validation: classification: un-checked return
-           - validation: pktio: support arbitrary length packets
-           - validation: pktio: fix memory corruption
-           - validation: common: catch odp_term_local/global failures
-           - validation: common: print odp_init failures to stderr
-           - validation: schedule: exit schedule loop
-           - validation: schedule: added queue destroy test
-   * bugs:
-           - linux-generic: pool: fix missing increment of blkallocs stat
-           - example: odp_generator: use odp_timer
-           - configure.ac: include configure.m4 if platform explicitly selected
-   * general:
-           - doxygen cleanups
-           - scheduler: restructured queue and pktio integration
-           - linux-generic: schedule: terminate
-           - linux-generic: debug_internal: assert prints condition
-           - linux-generic: pool: check for NULL params before dereference
-           - linux-generic: pktio: fix SEGV after odp_pktio_inq_remdef()
-           - linux-generic: system_info: use global data struct
-           - linux-generic: use arch optimisations
-           - examples: odp_ipsec: runtime select multiple vs single deq
-           - examples: odp_ipsec: runtime select scheduled vs poll queues
-           - examples: odp_ipsec: handle alloc_pkt_ctx failure
-           - scripts: odp_check: remove astyle
-           - linux-generic: odp_linux: migrate helpers to helper dir
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 17 Apr 2015 17:36:34 +0300
-
-opendataplane (1.0.2-1) unstable; urgency=low
-   * API:
-       - api files were touched with override patches but no api
-         changes were actually made.
-   * test:
-       * validation:
-           - fix memory allocation in odp_synchronizers
-           - fixed memory leak in odp_cpumask.c
-           - timer: use unused attribute
-           - pktio: add support for VPATH builds
-           - added odp_cpumask test
-           - timer: free malloced memory
-           - timer: use ODP_SHM_NULL
-           - timer: added cancel test
-           - pktio: prevent race when using veth pair
-           - test: debug: replace example with test
-           - test: debug: add unused attribute MACRO
-           - performance: odp_atomic: move atomic test from api_test to performance
-           - performance: scheduling: add support for VPATH builds
-           - performance: scheduling: catch exit codes
-   * general:
-           - barrier: allow platform to override odp_barrier_t
-           - ticketlock: allow platform to override odp_ticketlock_t
-           - rwlock: allow platform to override odp_rwlock_t
-           - spinlock: allow platform to override odp_spinlock_t
-           - doc: move api guidelines to API doc
-           - linux-generic: strongtypes: add dummy struct var to keep c++ happy
-           - linux-generic: queue: fix potential queue leak
-           - linux-generic: strongtypes: use named structs for C++
-           - example: l2fwd print packets per second
-           - linux-generic: linux: destroy used pthread attr
-   * bugs:
-           - validation: packet: use non-zero as true indicato
-           - linux-generic: pktio check for NULL entry
-           - linux-generic: fix incorrect pmr_term_value update in odp_pmr_create_xxx() function
-           - replace strtok_r with strtok and fix leaks
-           - schedule: free queues and pool
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 27 Mar 2015 19:22:22 +0300
-
-opendataplane (1.0.1-1) unstable; urgency=low
-
-   * test:
-       * validation:
-           - pktio: disable arp on virtual interfaces
-           - pktio check return code for pool_destroy
-           - schedule: code clean up
-           - odp_scheduling: limit worker thread count
-           - odp_timer: cleanup for clean termination
-           - common: prevent masking test failures
-           - shm: abort on null pointer
-           - crypto: add packet free to sync test
-           - crypto: add common test cleanup
-           - common: add support for test term
-           - crypto: split crypto and random tests
-           - add unit tests for strong type display functions
-   * general:
-           - linux-generic: only print errors to stderr
-           - linux-generic: linux: remove explicit buffer cache flush
-   * bugs:
-           - linux-generic: odp_timer: set user_ptr for cancelled timeout
-           - validation: odp_timer: cleanup for clean termination
-           - example: odp_packet uncomment polling queues
-           - linux-generic: mmap: jumbo frames support
-           - linux-generic: thread: reuse thread ids
-           - classification: destroy pktio default inqueue during teardown
-           - classification: pktio skip value set to zero
-
- -- Maxim Uvarov <maxim.uvarov@linaro.org>  Fri, 13 Mar 2015 20:02:59 +0300
-
-opendataplane (1.0.0-1) unstable; urgency=low
-
-   * API:
-       - crypto, cpumask, packet_io, random: replace ssize_t with int32_t
-       - crypto: add session destroy function
-       - crypto: add error code for invalid IV
-       - classification: Add documentation for missing macros
-       - hints: add printf format attribute
-       - errno: add api to public api
-       - init: add missing documentation
-       - packet_io: remove specific errno value
-   * test:
-       * validation:
-           - Makefile.am: restructure
-           - pktio: free unexpected packets/events
-           - pktio: destroy interface specific pools
-           - pktio: destroy pktio input queues
-           - pktio: fix odp_errno usage
-           - buffer: split pool, buffer and packet tests
-           - init: include stdlib.h for abort()
-           - crypto: verify session_destroy
-           - crypto: verify odp_crypto_operation() return code
-           - queue: destroy created ODP resources
-           - errno: add sunnyday test
-       * miscellaneous:
-           - Add CPP test
-   * bugs:
-       - odp_init_log: fix clang format string error
-       - buffers: remove obsolete debugging code
-       - classification: fix unchecked return value
-       - classification: fix incorrect ipv4 checksum update
-       - example: generator: add missing doxygen documentation
-       - pools: switch to simple locks for buf/blk synchronization
-       - performance: fix c99 warnings as errors
-       - crypto: handle copy error
-       - system: read hugepage size for all architectures
-       - queue: fix PKTIN queue destroy
-   * general:
-       - add -std=c99 gcc flag by default, fix all warnings
-       - handle copy error in odp_crypto_operation
-       - fix all doxygen warnings
-       - configured defines changed ODP_CONFIG_ and moved to config.h
-
- -- Anders Roxell <anders.roxell@linaro.org>  Thu, 26 Feb 2015 22:30:39 +0100
-
-opendataplane (0.11.0-1) unstable; urgency=low
-
-   * API:
-       - update return descriptions
-       - add strong types
-       - thread, rename functions
-       - cpu, rename functions
-       - errno added
-       - classification, remove pmr count
-       - init, allow the abort function to be overridden
-       - hints, add ODP_NORETURN
-       - packet_flag, remove odp_packet_override_l4_checksum
-   * validation:
-       - init, add tests for override the abort function
-   * bugs:
-       - timer, avoid cunit warnings for late timeouts
-       - version, fix odp_version_api_str (1194, 1207)
-       - fix clang (1203, 1023)
-       - validation: init: fix unitalized data in struct (1206)
-       - linux-generic: setup_pktio_entry() null terminate pkio name (1055)
-       - validation: odp_timer.c: (1048, 1056)
-
- -- Anders Roxell <anders.roxell@linaro.org>  Wed, 20 Feb 2015 06:50:34 +0100
-
-opendataplane (0.10.0-1) unstable; urgency=low
-
-   * API:
-       - Allow init_global logging
-       - Add events
-       - Add Crypto Completion event
-       - Classification API cleanup
-       - Move header files out of linux-generic
-   * validation:
-       - Classification tests
-   * bugs:
-       - l2fwd: fix incorrect cpumask used when spawning threads
-       - shared memory
-   * general:
-       - move headers into namespace the odp/helper
-
- -- Anders Roxell <anders.roxell@linaro.org>  Sat, 31 Jan 2015 13:50:30 +0100
-
-opendataplane (0.9.0-1) unstable; urgency=low
-
-  * Initial release
-
- -- Anders Roxell <anders.roxell@linaro.org>  Fri, 23 Jan 2015 16:32:06 +0100
diff --git a/pkg/debian/compat b/pkg/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/pkg/debian/compat
+++ /dev/null
@@ -1 +0,0 @@ 
-9
diff --git a/pkg/debian/control b/pkg/debian/control
deleted file mode 100644
index 0554de6..0000000
--- a/pkg/debian/control
+++ /dev/null
@@ -1,70 +0,0 @@ 
-Source: opendataplane
-Priority: optional
-Maintainer: Anders Roxell <anders.roxell@linaro.org>
-Build-Depends: debhelper (>= 9), dh-autoreconf, libssl-dev, doxygen,
-    imagemagick, libmagickcore-6.q16-2-extra | libmagickcore-extra,
-    ghostscript, asciidoc, mscgen, texlive-latex-recommended, graphviz
-Standards-Version: 3.9.6
-Section: libs
-Homepage: http://www.opendataplane.org/
-Vcs-Git: git://git.linaro.org/lng/odp.git
-Vcs-Browser: https://git.linaro.org/lng/odp.git
-
-Package: odp-linux-bin
-Section: devel
-Architecture: any
-Multi-Arch: allowed
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Example binaries for OpenDataPlane
- These are the executable examples from the reference implementation.
-
-Package: libodp-linux-dbg
-Priority: extra
-Section: debug
-Architecture: any
-Multi-Arch: same
-Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}
-Description: Debug symbols for OpenDataPlane
- This is the OpenDataPlane library from the reference implementation
- with debug turned on.
-
-Package: libodp-linux-dev
-Section: libdevel
-Architecture: any
-Multi-Arch: same
-Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}, libssl-dev
-Description: Development files for OpenDataPlane
- These are the source file for the OpenDataPlane reference implementation.
-
-Package: libodp-linux
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Library for OpenDataPlane
- This is the OpenDataPlane library from the reference implementation.
-
-Package: libodphelper-linux-dbg
-Priority: extra
-Section: debug
-Architecture: any
-Multi-Arch: same
-Depends: libodphelper-linux (= ${binary:Version}), ${misc:Depends}
-Description: Debug symbols for OpenDataPlane
- This is the OpenDataPlane helper library from the reference implementation
- with debug turned on.
-
-Package: libodphelper-linux-dev
-Section: libdevel
-Architecture: any
-Multi-Arch: same
-Depends: libodphelper-linux (= ${binary:Version}), libodp-linux-dev,
-    ${misc:Depends}, ${shlibs:Depends}, libssl-dev
-Description: Helper development files for OpenDataPlane
- These are the helper source file for the OpenDataPlane reference implementation.
-
-Package: libodphelper-linux
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Helper library for OpenDataPlane
- This is the OpenDataPlane helper library from the reference implementation.
diff --git a/pkg/debian/copyright b/pkg/debian/copyright
deleted file mode 100644
index 74fecbc..0000000
--- a/pkg/debian/copyright
+++ /dev/null
@@ -1,31 +0,0 @@ 
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: OpenDataPlane
-Source: <http://www.opendataplane.org>
-
-Files: *
-Copyright: 2013-2015, Linaro Limited All rights reserved.
-License: BSD-3-clause
-  Redistribution and use in source and binary forms, with or without
-  modification, are permitted provided that the following conditions are met:
-  .
-  Redistributions of source code must retain the above copyright notice, this
-  list of conditions and the following disclaimer.
-  .
-  Redistributions in binary form must reproduce the above copyright notice, this
-  list of conditions and the following disclaimer in the documentation and/or
-  other materials provided with the distribution.
-  .
-  Neither the name of Linaro Limited nor the names of its contributors may be
-  used to endorse or promote products derived from this software without specific
-  prior written permission.
-  .
-  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/pkg/debian/docs b/pkg/debian/docs
deleted file mode 100644
index e845566..0000000
--- a/pkg/debian/docs
+++ /dev/null
@@ -1 +0,0 @@ 
-README
diff --git a/pkg/debian/libodp-linux-dev.dirs b/pkg/debian/libodp-linux-dev.dirs
deleted file mode 100644
index 4418816..0000000
--- a/pkg/debian/libodp-linux-dev.dirs
+++ /dev/null
@@ -1,2 +0,0 @@ 
-usr/lib
-usr/include
diff --git a/pkg/debian/libodp-linux-dev.install b/pkg/debian/libodp-linux-dev.install
deleted file mode 100644
index 1e47824..0000000
--- a/pkg/debian/libodp-linux-dev.install
+++ /dev/null
@@ -1,5 +0,0 @@ 
-usr/include/odp.h
-usr/include/odp/api/*
-usr/lib/*/libodp-linux.so
-usr/lib/*/libodp-linux.a
-usr/lib/*/pkgconfig/libodp-linux*
diff --git a/pkg/debian/libodp-linux.dirs b/pkg/debian/libodp-linux.dirs
deleted file mode 100644
index 6845771..0000000
--- a/pkg/debian/libodp-linux.dirs
+++ /dev/null
@@ -1 +0,0 @@ 
-usr/lib
diff --git a/pkg/debian/libodp-linux.install b/pkg/debian/libodp-linux.install
deleted file mode 100644
index 28ebb93..0000000
--- a/pkg/debian/libodp-linux.install
+++ /dev/null
@@ -1 +0,0 @@ 
-usr/lib/*/libodp-linux.so.*
diff --git a/pkg/debian/libodphelper-linux-dev.dirs b/pkg/debian/libodphelper-linux-dev.dirs
deleted file mode 100644
index 4418816..0000000
--- a/pkg/debian/libodphelper-linux-dev.dirs
+++ /dev/null
@@ -1,2 +0,0 @@ 
-usr/lib
-usr/include
diff --git a/pkg/debian/libodphelper-linux-dev.install b/pkg/debian/libodphelper-linux-dev.install
deleted file mode 100644
index 7d9a2a8..0000000
--- a/pkg/debian/libodphelper-linux-dev.install
+++ /dev/null
@@ -1,4 +0,0 @@ 
-usr/include/odp/helper/*
-usr/lib/*/libodphelper-linux.so
-usr/lib/*/libodphelper-linux.a
-usr/lib/*/pkgconfig/libodphelper-linux*
diff --git a/pkg/debian/libodphelper-linux.dirs b/pkg/debian/libodphelper-linux.dirs
deleted file mode 100644
index 6845771..0000000
--- a/pkg/debian/libodphelper-linux.dirs
+++ /dev/null
@@ -1 +0,0 @@ 
-usr/lib
diff --git a/pkg/debian/libodphelper-linux.install b/pkg/debian/libodphelper-linux.install
deleted file mode 100644
index 896feed..0000000
--- a/pkg/debian/libodphelper-linux.install
+++ /dev/null
@@ -1 +0,0 @@ 
-usr/lib/*/libodphelper-linux.so.*
diff --git a/pkg/debian/odp-linux-bin.dirs b/pkg/debian/odp-linux-bin.dirs
deleted file mode 100644
index e772481..0000000
--- a/pkg/debian/odp-linux-bin.dirs
+++ /dev/null
@@ -1 +0,0 @@ 
-usr/bin
diff --git a/pkg/debian/odp-linux-bin.install b/pkg/debian/odp-linux-bin.install
deleted file mode 100644
index 1df36c6..0000000
--- a/pkg/debian/odp-linux-bin.install
+++ /dev/null
@@ -1 +0,0 @@ 
-usr/bin/*
diff --git a/pkg/debian/rules b/pkg/debian/rules
deleted file mode 100755
index c155a5e..0000000
--- a/pkg/debian/rules
+++ /dev/null
@@ -1,30 +0,0 @@ 
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-DPKG_EXPORT_BUILDFLAGS = 0
-include /usr/share/dpkg/default.mk
-
-%:
-	dh $@ --with autoreconf
-
-override_dh_autoreconf:
-	dh_autoreconf ./bootstrap
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_configure -- --enable-static --enable-test-vald \
-		--enable-test-cpp --enable-test-helper
-	$(MAKE) check
-endif
-
-override_dh_auto_configure:
-	dh_auto_configure -- --enable-static
-
-.PHONY: override_dh_strip
-override_dh_strip:
-	dh_strip -p libodp-linux --dbg-package=libodp-linux-dbg
-	dh_strip -p libodphelper-linux --dbg-package=libodphelper-linux-dbg
-	dh_strip --remaining-packages
diff --git a/pkg/debian/source/format b/pkg/debian/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/pkg/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@ 
-3.0 (quilt)
diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec
deleted file mode 100644
index 11a3853..0000000
--- a/pkg/rpm/odp.spec
+++ /dev/null
@@ -1,80 +0,0 @@ 
-# Copyright (c) 2015, Linaro Limited
-# All rights reserved.
-#
-# SPDX-License-Identifier:     BSD-3-Clause
-
-Name: opendataplane
-Version: 1.4
-Release: 1
-Packager: anders.roxell@linaro.org
-URL: http://opendataplane.org
-Source: %{name}-%{version}.tar.gz
-Summary: OpenDataPlane Reference implementation
-Group: System Environment/Libraries
-License: BSD-3-Clause
-BuildRequires: automake
-BuildRequires: autoconf
-BuildRequires: libtool
-BuildRequires: openssl-devel
-BuildRequires: doxygen
-BuildRequires: asciidoc
-BuildRequires: source-highlight
-%if 0%{?fedora}
-BuildRequires: texlive-collection-fontsextra
-BuildRequires: texlive-collection-latexextra
-%else
-BuildRequires: texlive-latex-bin-bin
-BuildRequires: texlive-makeindex-bin
-BuildRequires: texlive-dvips-bin
-%endif
-BuildRequires: ImageMagick-devel
-BuildRequires: mscgen
-
-%description
-ODP's reference implementation includes header files and a library
-More libraries are available as extensions in other packages.
-
-%package devel
-Summary: OpenDataPlane Reference implementation
-Requires: %{name}%{?_isa} = %{version}-%{release}
-
-%description devel
-ODP devel is a set of headers, a library and example files.
-This is a reference implementation.
-
-%package doc
-Summary: OpenDataPlane Reference documentation
-BuildArch: noarch
-
-%description doc
-ODP doc is divided in two parts: API details in doxygen HTML format
-and guides in HTMLformats.
-
-%prep
-%autosetup -n %{name}-%{version}
-
-%configure
-%make_install
-
-%files
-%{_datadir}/*
-%{_bindir}/*
-%{_libdir}/*
-
-%files devel
-%{_includedir}/*
-%{_libdir}/
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-%changelog
-* Fri Mar 4 2016 - maxim.uvarov (at) linaro.org
-- ODP release v1.8
-* Fri Feb 5 2016 - maxim.uvarov (at) linaro.org
-- ODP release v1.7
-* Mon Dec 28 2015 - maxim.uvarov (at) linaro.org
-- ODP release v1.6
-* Mon Nov 30 2015 - mike.holmes (at) linaro.org
-- ODP release v1.5
-* Tue Nov 10 2015 - anders.roxell (at) linaro.org
-- Initial rpm release, ODP release v1.4
diff --git a/scripts/builddeb b/scripts/builddeb
deleted file mode 100755
index f28ee02..0000000
--- a/scripts/builddeb
+++ /dev/null
@@ -1,38 +0,0 @@ 
-#!/bin/bash
-
-set -e
-
-export ROOT_DIR=$(readlink -e $(dirname $0) | sed 's|/scripts||')
-
-source ${ROOT_DIR}/scripts/common_pkg_build.sh
-
-# debuild default options
-DEB_OPTS="-us -uc"
-
-# Also allow the user to create just the source package (skip build process)
-if [ "$1" == source ]; then
-	prepare_tarball archive
-	DEB_OPTS="-S $DEB_OPTS"
-else
-	prepare_tarball
-fi
-
-pushd ${ROOT_DIR}/${package}-${version}
-cp -r ${ROOT_DIR}/pkg/debian .
-
-current=$(grep "^ODP_LIBSO_VERSION" ${ROOT_DIR}/configure.ac| \
-	awk -F'=' '{print $2}' |awk -F : '{print $1}')
-rename 's,(.*linux)(.*),${1}'"${current}"'${2},' debian/*odp*-linux.install
-
-sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\|$\| \):\1${current}\2:g" debian/control
-sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\| \):\1${current}\2:g" debian/rules
-
-if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then
-	export DEBFULLNAME="Donald Duck"
-	export DEBEMAIL="donald.duck@linaro.org"
-	dch --newversion ${version}-1 --urgency low "not a official release!"
-fi
-
-debuild $DEB_OPTS
-popd
-popd
diff --git a/scripts/buildrpm b/scripts/buildrpm
deleted file mode 100755
index 8568592..0000000
--- a/scripts/buildrpm
+++ /dev/null
@@ -1,30 +0,0 @@ 
-#!/bin/bash
-
-set -e
-
-export ROOT_DIR=$(readlink -e $(dirname $0) | sed 's|/scripts||')
-
-source ${ROOT_DIR}/scripts/common_pkg_build.sh
-
-prepare_tarball
-
-mkdir -p ${ROOT_DIR}/rpm/RPMS
-mkdir -p ${ROOT_DIR}/rpm/SRPMS
-mkdir -p ${ROOT_DIR}/rpm/BUILD
-mkdir -p ${ROOT_DIR}/rpm/SOURCES
-mkdir -p ${ROOT_DIR}/rpm/tmp
-rm -rf ${ROOT_DIR}/rpm/BUILD/${package}-root
-rm -rf ${ROOT_DIR}/rpm/RPMS/${package}*
-rm -rf ${ROOT_DIR}/rpm/SRPMS/${package}*
-rm -rf ${ROOT_DIR}/rpm/SOURCES/${package}*
-cp ${ROOT_DIR}/${package}-${version}.tar.gz ${ROOT_DIR}/rpm/SOURCES/
-cp ${ROOT_DIR}/pkg/rpm/odp.spec ${ROOT_DIR}/rpm/odp.spec
-if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then
-	creation_date=$(date '+%a %b %e %G')
-	RPMEMAIL="donald.duck (at) linaro.org"
-	sed -i -e "s/changelog/changelog\n* ${creation_date} - ${RPMEMAIL}\n- not a official release\!/g" ${ROOT_DIR}/rpm/odp.spec
-fi
-sed -i "s|^Version: .*$|Version: ${version}|g" ${ROOT_DIR}/rpm/odp.spec
-rpmbuild --quiet --nodeps --define="_topdir ${ROOT_DIR}/rpm" -ba ${ROOT_DIR}/rpm/odp.spec
-cp ${ROOT_DIR}/rpm/RPMS/*/* ${ROOT_DIR}/
-popd
diff --git a/scripts/common_pkg_build.sh b/scripts/common_pkg_build.sh
deleted file mode 100644
index fbb2511..0000000
--- a/scripts/common_pkg_build.sh
+++ /dev/null
@@ -1,39 +0,0 @@ 
-#!/bin/bash
-
-set -e
-
-prepare_tarball() {
-	export package=opendataplane
-
-	pushd ${ROOT_DIR}
-
-	if [[ -d ${ROOT_DIR}/.git ]]; then
-		. scripts/git_hash.sh ${ROOT_DIR}
-		version=$(cat ${ROOT_DIR}/.scmversion)
-	else
-		echo "This script isn't expected to be used without"
-		echo "a git repository."
-		exit 1
-	fi
-
-	if [ "$1" == archive ]; then
-		git archive --format=tar --prefix=${package}-${version}/ HEAD > ${package}-${version}.tar
-
-		# append .scmversion, otherwise bootstrap fails
-		SCMTMP=`mktemp -d`
-		pushd $SCMTMP
-		mkdir ${package}-${version}
-		cp ${ROOT_DIR}/.scmversion ${package}-${version}
-		tar --update -v -f ${ROOT_DIR}/${package}-${version}.tar ${package}-${version}
-		popd
-		rm -rf $SCMTMP
-		gzip ${package}-${version}.tar
-	else
-		./bootstrap
-		./configure
-		make dist
-	fi
-
-	cp ${package}-${version}.tar.gz ${package}_${version}.orig.tar.gz
-	tar xzf ${package}_${version}.orig.tar.gz
-}