aboutsummaryrefslogtreecommitdiffstats
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2016-07-06fix exported symbols in librte_bondChristian Ehrhardt2-0/+64
Change-Id: Ie02e1a8e8527f0987cb90b8a28778551bbfaff31 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06bump library versions to match ABIs in dpdk 16.07Christian Ehrhardt5-8/+8
Change-Id: Ib2e8a0915a1ae384d59ba285ed25ea6054544503 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06adapt packaging to the import of 16.07-rc1Christian Ehrhardt12-1401/+72
This includes dropping already accepted and forward-porting the other patches. Change-Id: I10fc222d49c99b20b23fe8bd8882b2e555259823 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-28debian/*.dirs sanitize dir files v2Christian Ehrhardt6-9/+1
*updates in v2* updated to adapt to changes we made when integrating earlier changes This is a cleanup from the early days of dpdk packaging. They are no more needed and not recommended if not needed according to https://www.debian.org/doc/manuals/maint-guide/dother.en.html#dirs The only remaining is a mkdir -p for dpdk_nic_bind which is much better in d/rules close to the remove and relink that is done there. Change-Id: Ife69e3fa23e5f061c86dec03d4b71d76a441e29d Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-27d/rules: unify whitespace v2Christian Ehrhardt1-7/+7
*updates in v2* rebased to match merge conflicts due to changes earlier in the series make the use of tab/spaces consistent throughout the file without discussinf or deciding which way it better (current majority wins). Change-Id: I86de3ffff1e25b3c31d8e909896e3e8c7f771912 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: strip -Wl, from dpkg-buildflags outputChristian Ehrhardt1-1/+2
The DPKG build system adds a -Wl, to and EXTRA_LDFLAGS, by that the flags provided by dpkg-buildflags become -Wl,-Wl,option which fails to build. Fix by filtering the -Wl, prefix before exporting. Note: filtering with make text functions is hard if the pattern contains a comma, so sed was chosen. Change-Id: I9b91b86c80529855dfb1c5a52725c0d07a95e5c8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23changelog: use dpkg-buildflags and properly enable hardeningChristian Ehrhardt1-0/+1
d/rules didn't adapt to the DPDK build system to really tranfer the data from dpkg-buildflags into the DPDK buildsystem. By that hardening flags were lost while building. Change-Id: Ie3ddc0a35ada45a5b2d59b4b75a9660171529291 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: transfer dpkg-buildflags to the dpdk build systemChristian Ehrhardt1-7/+8
DPDK build ignores the usual way of dpdk-buildflag exports. We have to set EXTRA_CFLAFS and EXTRA_LDFLAGS properly after setting up and including dpdk-buildflags properly to have the control over flags a debian package should have. LDFLAG fPIC is now added via DEB_CFLAGS_MAINT_APPEND and fPIE disabled from the default hardening set (incompatibility with fPIC on shared libraries) Change-Id: I74febe97da99c338e6c3e0992c65ca4a007f381c Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: report on used build flagsChristian Ehrhardt1-0/+2
This can be very useful in the buildlog to analyze how certain flags were set. Change-Id: I2d80f5f5721516516c8418b7cb449ee3ac02b1d8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: make build more verbose by defaultChristian Ehrhardt1-3/+4
With so many changes to linking, flags and also our plan for further optimization along the way it is useful to make the build more verbose by default to spot issues right in the main build log. Change-Id: I0c41d232bc7b353b9e8a91e7e3934a9b4a3a46cc Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-23d/control: add build dep to python-sphinx-rtd-themeChristian Ehrhardt1-0/+1
Avoids the following issue in sid: Theme error: sphinx_rtd_theme is no longer a hard dependency since version 1.4.0. Please install it manually.(pip install sphinx_rtd_theme) /<<PKGBUILDDIR>>/mk/rte.sdkdoc.mk:110: recipe for target 'guides-html' failed make[2]: *** [guides-html] Error 1 /<<PKGBUILDDIR>>/mk/rte.sdkroot.mk:107: recipe for target 'doc-guides-html' failed make[1]: *** [doc-guides-html] Error 2 make[1]: *** Waiting for unfinished jobs... Change-Id: Ia5662a7112b9fbf63a40db5ba7527c156b6536b8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/copyright: refer to full on system GPL-3 licenseChristian Ehrhardt1-0/+3
This follows the guidance of https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile Change-Id: Ic91671a261a1631f95c7de32a56268276aad3c6a Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/copyright include BSD license as recommended by debian policyChristian Ehrhardt1-2/+28
This follows the guidance of: https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile https://lintian.debian.org/tags/copyright-refers-to-deprecated-bsd-license-file.html Change-Id: Ic39ac1dc3104c383ac2fcbb331288009c12bd10b Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/control: drop unused mempool dependency from librte-eal2Christian Ehrhardt1-1/+1
Now that linking is fixed and there is no circular dependency anymore there is no need to still manually add the formerly hidden mempool dependency. Change-Id: Ieb3ae0bac70f42a7bbf6d6bc84f8c720e806f6c8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23fix package names to match sonamesChristian Ehrhardt56-143/+142
Following policy and fixing the warning regarding https://lintian.debian.org/tags/package-name-doesnt-match-sonames.html Change-Id: Ib946075ff64c0f1c30e32f7998a3aa99256ebce5 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/control bump to Standards-Version 3.9.8Christian Ehrhardt1-1/+1
This is the checklist for that bump and we pass them all: 2.1. Version 3.9.8.0 -------------------- Released February, 2016. 9.6 The menu system is deprecated in favor of the Free Desktop menu standard. 2.2. Version 3.9.7.0 -------------------- Released February, 2016. 10.5 Symbolic links must not traverse above the root directory. 9.2.2 32bit UIDs in the range 65536-4294967293 are reserved for dynamically allocated user accounts. 5.1 Empty field values in control files are only permitted in the `debian/control' file of a source package. 4.9 `debian/rules': required targets must not attempt network access. 12.3 recommend to ship additional documentation for package `pkg' in a separate package `pkg-doc' and install it into `/usr/share/doc/pkg'. Change-Id: I7cd59b62f548ef6ad1c7c72feddc608c8715ee74 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/control set maintainers to deb-dpdk@lists.fd.ioChristian Ehrhardt1-1/+1
Change-Id: Ib48d03fa3dd46914c4d7c9caffc9246a03239aca Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: allow external override of base dpdk configurationChristian Ehrhardt1-6/+8
By using := instead of = users that rebuild our packaging can overwrite the following via environment variables: DPDK_CONFIG RTE_MACHINE RTE_TARGET That is already used by some consumers of the Ubuntu packaging to get optimized build, but would allow them to go on without a patch on top. Also since it is a no-op, as long as the variables are not set, it is fairly safe. Change-Id: I26265c09c90d33a6e4cd37f8c26ac0ef5baac0c4 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23changelog: backport more dpdk 16.07 library linking fixesChristian Ehrhardt1-0/+1
Upstream identified more issues, this is the backport of some discussions around that. Change-Id: I0acdecf2e1d518fa81af7bb4c9b51fc81c36a418 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23backport of further dpdk 16.07 fixes for library linkingChristian Ehrhardt2-0/+62
Adding d/p/ubuntu-backport-44-linking-cleanup.patch This is a merge of related upstream discussions: - [PATCH 1/3] mk: fix librte_pipeline dependency list truncation - [PATCH 3/3] mk: fail build on incomplete shared library dependencies Forwarded: yes (likely in DPDK 16.07 in some way) Author: Christian Ehrhardt <christian.ehrhardt@canonical.com> Last-Update: 2016-06-23 Change-Id: Id994f1dbf1906ee9fbabc6527b26f957d3af906f Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-15Merge Ubuntu DPDK packaging as of 15th June 2016Christian Ehrhardt82-0/+4505
As discussed this shall be our initial baseline. If history is needed for any sort of debugging or analysis it can be found at https://code.launchpad.net/~ubuntu-server/dpdk/+git/dpdk Change-Id: Ie95c7effbbea34d723df14f6451c1f782000cbc1 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>