Bug#815760: dpdk debian packaging
El 15/09/16 a las 09:04, Christian Ehrhardt escribió:
>
> On Wed, Sep 14, 2016 at 6:28 PM, Luca Boccassi <luca.boccassi@gmail.com> wrote:
>
> Christian has sent patches upstream a couple weeks back:
>
> http://dpdk.org/dev/patchwork/patch/15553/
Great!
> And we carry the former version of that submission as a patch for now to fix
> packaging as-is for now.
> Once accepted upstream that delta will be rebased for 16.07 topic branch to
> match the accepted version.
> For 16.11 I expect them to be upstream so on that topic branch we can drop the
> delta then.
So would you like to include it in debian/patches for now?
Attached you can find other three patches to fix minor issues, and make
lintian happier.
What else would be needed to upload to debian?
Cheers, and thanks a lot for your work!
Santiago
From 1108622aa88d56abf0e635e14768ef75eff55306 Mon Sep 17 00:00:00 2001
From: Santiago <santiagorr@riseup.net>
Date: Thu, 15 Sep 2016 09:28:44 +0200
Subject: [PATCH 1/4] debian/changelog: fix minor typos
Gbp-Dch: Ignore
---
debian/changelog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fc040d5..007a8eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,7 +14,7 @@ dpdk (16.07-0~git1) UNRELEASED; urgency=medium
* d/p/dpdk-dev-doc-fix-old-dpdk-nic-bind.py-references.patch to fix the
docs in regard to 16.07 changes renaming dpdk_nic_bind
* d/p/make-load-devel-config-not-to-appear-as-executable.patch to avoid
- accidentially executing as script and to fix unusual-interpreter lintian
+ accidentally executing as script and to fix unusual-interpreter lintian
warning.
* fix d/t/test-initscripts on more recent systemd environments
* enable dpdk for ppc64el
@@ -46,7 +46,7 @@ dpdk (16.07-0~git1) UNRELEASED; urgency=medium
* Add lintian-overrides for: "W: dpdk-doc: embedded-javascript-library"
* Add optional binary kernel modules package, disabled by default (build with
DEB_BUILD_OPTIONS=kernel_modules to enable). If enabled will build kernel
- modules agains the local, current kernel version (override by adding
+ modules against the local, current kernel version (override by adding
ksrc=<path/to/kernel/sources> to DEB_BUILD_OPTIONS) into a
dpdk-modules-<kernel version> package
* Set HOST_/EXTRA/CPP/C/LDFLAGS in d/rules so that all built objects pick up
--
2.1.4
From 4a728b804fe002a8447d7c3118dd1afbd12598c2 Mon Sep 17 00:00:00 2001
From: Santiago <santiagorr@riseup.net>
Date: Thu, 15 Sep 2016 18:22:29 +0200
Subject: [PATCH 3/4] debian/copyright: fix some wrong file entries
Gbp-Dch: Ignore
---
debian/copyright | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index 49358f7..a0babbe 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -40,9 +40,9 @@ Copyright: 2007-2014, Intel Corporation.
License: BSD-3-clause or LGPL-2.1
Files: lib/librte_compat/rte_compat.h
- script
drivers/net/vmxnet3/base/upt1_defs.h
- drivers/net/vmxnet3/base/vmxnet3_defs.hs/validate-abi.sh
+ drivers/net/vmxnet3/base/vmxnet3_defs.h
+ scripts/validate-abi.sh
Copyright: 2015, Neil Horman <nhorman@tuxdriver.com>
2007, VMware, Inc.
License: BSD-2-clause
--
2.1.4
From 10638d6224623f5c5ec978b06eefcf545e0e6b22 Mon Sep 17 00:00:00 2001
From: Santiago <santiagorr@riseup.net>
Date: Thu, 15 Sep 2016 18:25:23 +0200
Subject: [PATCH 4/4] debian/control: remove duplicate Homepage: and Section:
fields
Gbp-Dch: Ignore
---
debian/control | 46 ----------------------------------------------
1 file changed, 46 deletions(-)
diff --git a/debian/control b/debian/control
index b2a38e4..7205167 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,6 @@ Vcs-Browser: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git
Package: dpdk
Section: admin
Architecture: amd64 arm64 i386 ppc64el
-Homepage: http://www.dpdk.org
Depends: libdpdk-dev (= ${binary:Version}),
lsb-base (>= 3.2-14),
pciutils,
@@ -42,7 +41,6 @@ Description: Data Plane Development Kit (runtime)
Package: dpdk-dev
Section: devel
Architecture: amd64 arm64 i386 ppc64el
-Homepage: http://www.dpdk.org
Depends: libdpdk-dev (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Description: Data Plane Development Kit (development files)
DPDK is a set of libraries for fast packet processing. Applications run
@@ -148,7 +146,6 @@ Description: Data Plane Development Kit (basic development files)
Package: libethdev4
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__ethdev_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -161,7 +158,6 @@ Description: Data Plane Development Kit (libethdev runtime library)
Package: librte-acl2
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__ethdev_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -174,7 +170,6 @@ Description: Data Plane Development Kit (librte-acl runtime library)
Package: librte-cfgfile2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__cfgfile_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -187,7 +182,6 @@ Description: Data Plane Development Kit (librte-cfgfile runtime library)
Package: librte-cmdline2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -199,7 +193,6 @@ Description: Data Plane Development Kit (librte-cmdline runtime library)
Package: librte-cryptodev1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__cryptodev_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -212,7 +205,6 @@ Description: Data Plane Development Kit (librte-cryptodev runtime library)
Package: librte-distributor1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__distributor_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -225,7 +217,6 @@ Description: Data Plane Development Kit (librte-distributor runtime library)
Package: librte-eal2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__eal_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -238,7 +229,6 @@ Description: Data Plane Development Kit (librte-eal runtime library)
Package: librte-hash2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__hash_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -251,7 +241,6 @@ Description: Data Plane Development Kit (librte-hash runtime library)
Package: librte-ip-frag1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__ip__frag_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -264,7 +253,6 @@ Description: Data Plane Development Kit (librte-ip-frag runtime library)
Package: librte-jobstats1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__jobstats_8h_source.html
Pre-Depends: ${misc:Pre-Depends}
@@ -277,7 +265,6 @@ Description: Data Plane Development Kit (librte-jobstats runtime library)
Package: librte-kni2
Architecture: amd64 arm64 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__kni_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -290,7 +277,6 @@ Description: Data Plane Development Kit (librte-kni runtime library)
Package: librte-kvargs1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__kvargs_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -303,7 +289,6 @@ Description: Data Plane Development Kit (librte-kvargs runtime library)
Package: librte-lpm2
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__lpm_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -316,7 +301,6 @@ Description: Data Plane Development Kit (librte-lpm runtime library)
Package: librte-mbuf2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__mbuf_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -329,7 +313,6 @@ Description: Data Plane Development Kit (librte-mbuf2 runtime library)
Package: librte-mempool2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__mempool_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -342,7 +325,6 @@ Description: Data Plane Development Kit (librte-mempool runtime library)
Package: librte-meter1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__meter_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -355,7 +337,6 @@ Description: Data Plane Development Kit (librte-meter runtime library)
Package: librte-pipeline3
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__pipeline_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -368,7 +349,6 @@ Description: Data Plane Development Kit (librte-pipeline runtime library)
Package: librte-pmd-af-packet1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/browse/dpdk/tree/drivers/net/af_packet
Pre-Depends: ${misc:Pre-Depends}
@@ -381,7 +361,6 @@ Description: Data Plane Development Kit (librte-pmd-af-packet runtime library)
Package: librte-pmd-bnxt1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -393,7 +372,6 @@ Description: Data Plane Development Kit (librte-pmd-bnxt runtime library)
Package: librte-pmd-bond1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.html
Pre-Depends: ${misc:Pre-Depends}
@@ -406,7 +384,6 @@ Description: Data Plane Development Kit (librte-pmd-bond runtime library)
Package: librte-pmd-cxgbe1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/cxgbe.html
Pre-Depends: ${misc:Pre-Depends}
@@ -419,7 +396,6 @@ Description: Data Plane Development Kit (librte-pmd-cxgbe runtime library)
Package: librte-pmd-e1000-1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/e1000em.html
Pre-Depends: ${misc:Pre-Depends}
@@ -432,7 +408,6 @@ Description: Data Plane Development Kit (librte-pmd-e1000 runtime library)
Package: librte-pmd-ena1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/ena.html
Pre-Depends: ${misc:Pre-Depends}
@@ -445,7 +420,6 @@ Description: Data Plane Development Kit (librte-pmd-ena runtime library)
Package: librte-pmd-enic1
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/enic.html
Pre-Depends: ${misc:Pre-Depends}
@@ -458,7 +432,6 @@ Description: Data Plane Development Kit (librte-pmd-enic runtime library)
Package: librte-pmd-fm10k1
Architecture: amd64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/fm10k.html
Pre-Depends: ${misc:Pre-Depends}
@@ -471,7 +444,6 @@ Description: Data Plane Development Kit (librte-pmd-fm10k runtime library)
Package: librte-pmd-i40e1
Architecture: amd64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/i40e.html
Pre-Depends: ${misc:Pre-Depends}
@@ -484,7 +456,6 @@ Description: Data Plane Development Kit (librte-pmd-i40e runtime library)
Package: librte-pmd-ixgbe1
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/ixgbe.html
Pre-Depends: ${misc:Pre-Depends}
@@ -497,7 +468,6 @@ Description: Data Plane Development Kit (librte-pmd-ixgbe runtime library)
Package: librte-pmd-null-crypto1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/cryptodevs/null.html
Pre-Depends: ${misc:Pre-Depends}
@@ -510,7 +480,6 @@ Description: Data Plane Development Kit (librte-pmd-null-crypto runtime library)
Package: librte-pmd-null1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/browse/dpdk/tree/drivers/net/null
Pre-Depends: ${misc:Pre-Depends}
@@ -523,7 +492,6 @@ Description: Data Plane Development Kit (librte-pmd-null runtime library)
Package: librte-pmd-pcap1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/pcap_ring.html#libpcap-based-pmd
Pre-Depends: ${misc:Pre-Depends}
@@ -536,7 +504,6 @@ Description: Data Plane Development Kit (librte-pmd-pcap runtime library)
Package: librte-pmd-ring2
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/pcap_ring.html#rings-based-pmd
Pre-Depends: ${misc:Pre-Depends}
@@ -549,7 +516,6 @@ Description: Data Plane Development Kit (librte-pmd-ring runtime library)
Package: librte-pmd-vhost1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/vhost.html
Pre-Depends: ${misc:Pre-Depends}
@@ -562,7 +528,6 @@ Description: Data Plane Development Kit (librte-pmd-vhost runtime library)
Package: librte-pmd-virtio1
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/virtio.html
Pre-Depends: ${misc:Pre-Depends}
@@ -575,7 +540,6 @@ Description: Data Plane Development Kit (librte-pmd-virtio runtime library)
Package: librte-pmd-vmxnet3-uio1
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/nics/vmxnet3.html
Pre-Depends: ${misc:Pre-Depends}
@@ -588,7 +552,6 @@ Description: Data Plane Development Kit (librte-pmd-vmxnet3-uio runtime library)
Package: librte-pmd-xenvirt1
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/guides/xen/pkt_switch.html#xen-pmd-frontend-prerequisites
Pre-Depends: ${misc:Pre-Depends}
@@ -601,7 +564,6 @@ Description: Data Plane Development Kit (librte-pmd-xenvirt runtime library)
Package: librte-port3
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__port_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -614,7 +576,6 @@ Description: Data Plane Development Kit (librte-port runtime library)
Package: librte-power1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__power_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -627,7 +588,6 @@ Description: Data Plane Development Kit (librte-power runtime library)
Package: librte-reorder1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__reorder_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -640,7 +600,6 @@ Description: Data Plane Development Kit (librte-reorder runtime library)
Package: librte-ring1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__ring_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -653,7 +612,6 @@ Description: Data Plane Development Kit (librte_ring runtime library)
Package: librte-sched1
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__sched_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -666,7 +624,6 @@ Description: Data Plane Development Kit (librte_sched runtime library)
Package: librte-table2
Architecture: amd64 arm64 i386
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__table_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -679,7 +636,6 @@ Description: Data Plane Development Kit (librte_table runtime library)
Package: librte-timer1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__timer_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -692,7 +648,6 @@ Description: Data Plane Development Kit (librte_timer runtime library)
Package: librte-vhost3
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Homepage: http://dpdk.org/doc/api/rte__virtio__net_8h.html
Pre-Depends: ${misc:Pre-Depends}
@@ -705,7 +660,6 @@ Description: Data Plane Development Kit (librte_vhost runtime library)
Package: librte-pdump1
Architecture: amd64 arm64 i386 ppc64el
-Section: libs
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
--
2.1.4
Reply to: