Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: dpdk-19.08
Date: Sun, 03 Nov 2019 17:01:35 +0100	[thread overview]
Message-ID: <20191103160135.29XoDs1DedlGUChQcUyhrA8cH-PphqdUz4gQ28kZVgI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16064@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages dpdk
https://github.com/void-linux/void-packages/pull/16064

New package: dpdk-19.08


A patch file from https://github.com/void-linux/void-packages/pull/16064.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dpdk-16064.patch --]
[-- Type: text/x-diff, Size: 10961 bytes --]

From e46d32177bdeb43dd7cf3633e1a62a788c4012be Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Sat, 2 Nov 2019 23:58:14 +0100
Subject: [PATCH] New package: dpdk-19.08

---
 common/shlibs                        | 134 +++++++++++++++++++++++++++
 srcpkgs/dpdk-devel                   |   1 +
 srcpkgs/dpdk-dkms                    |   1 +
 srcpkgs/dpdk-doc                     |   1 +
 srcpkgs/dpdk-libs                    |   1 +
 srcpkgs/dpdk/files/dkms_igb_uio.conf |   7 ++
 srcpkgs/dpdk/files/dkms_rte_kni.conf |   7 ++
 srcpkgs/dpdk/template                |  75 +++++++++++++++
 8 files changed, 227 insertions(+)
 create mode 120000 srcpkgs/dpdk-devel
 create mode 120000 srcpkgs/dpdk-dkms
 create mode 120000 srcpkgs/dpdk-doc
 create mode 120000 srcpkgs/dpdk-libs
 create mode 100644 srcpkgs/dpdk/files/dkms_igb_uio.conf
 create mode 100644 srcpkgs/dpdk/files/dkms_rte_kni.conf
 create mode 100644 srcpkgs/dpdk/template

diff --git a/common/shlibs b/common/shlibs
index 388f2a9b3ea..b4caec6fff1 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3529,3 +3529,137 @@ libicns.so.1 libicns-0.8.1_1
 librabbitmq.so.4 rabbitmq-c-0.9.0_1
 libuInputPlus.so.0 libuInputPlus-0.1.3_1
 libevdevPlus.so.0 libevdevPlus-0.1.0_1
+librte_lpm.so.2 dpdk-19.08_1
+librte_sched.so.3 dpdk-19.08_1
+librte_eal.so.11 dpdk-19.08_1
+librte_pci.so.1 dpdk-19.08_1
+librte_gro.so.1 dpdk-19.08_1
+librte_jobstats.so.1 dpdk-19.08_1
+librte_bpf.so.1 dpdk-19.08_1
+librte_ip_frag.so.1 dpdk-19.08_1
+librte_port.so.3 dpdk-19.08_1
+librte_latencystats.so.1 dpdk-19.08_1
+librte_pipeline.so.3 dpdk-19.08_1
+librte_distributor.so.1 dpdk-19.08_1
+librte_pmd_vmxnet3.so.1 dpdk-19.08_1
+librte_pmd_dpaa_sec.so.1 dpdk-19.08_1
+librte_common_octeontx.so.1 dpdk-19.08_1
+librte_pmd_iavf.so.1 dpdk-19.08_1
+librte_pmd_octeontx_event.so.1 dpdk-19.08_1
+librte_pmd_ring.so.2 dpdk-19.08_1
+librte_rawdev_skeleton.so.1 dpdk-19.08_1
+librte_pmd_qat.so.1 dpdk-19.08_1
+librte_pmd_hinic.so.1 dpdk-19.08_1
+librte_bus_vmbus.so.2 dpdk-19.08_1
+librte_pmd_null.so.2 dpdk-19.08_1
+librte_pmd_bbdev_null.so.1 dpdk-19.08_1
+librte_common_dpaax.so.1 dpdk-19.08_1
+librte_pmd_dpaa2_event.so.2 dpdk-19.08_1
+librte_pmd_bnxt.so.2 dpdk-19.08_1
+librte_bus_ifpga.so.2 dpdk-19.08_1
+librte_pmd_pcap.so.1 dpdk-19.08_1
+librte_pmd_kni.so.1 dpdk-19.08_1
+librte_pmd_enetc.so.1 dpdk-19.08_1
+librte_pmd_atlantic.so.1 dpdk-19.08_1
+librte_mempool_stack.so.1 dpdk-19.08_1
+librte_pmd_opdl_event.so.1 dpdk-19.08_1
+librte_rawdev_dpaa2_cmdif.so.2 dpdk-19.08_1
+librte_pmd_avp.so.1 dpdk-19.08_1
+librte_pmd_cxgbe.so.1 dpdk-19.08_1
+librte_pmd_crypto_scheduler.so.1 dpdk-19.08_1
+librte_pmd_openssl.so.1 dpdk-19.08_1
+librte_pmd_octeontx2_event.so.1 dpdk-19.08_1
+librte_pmd_sfc.so.1 dpdk-19.08_1
+librte_pmd_i40e.so.2 dpdk-19.08_1
+librte_pmd_e1000.so.1 dpdk-19.08_1
+librte_rawdev_octeontx2_dma.so.1 dpdk-19.08_1
+librte_rawdev_ioat.so.1 dpdk-19.08_1
+librte_pmd_dpaa2.so.2 dpdk-19.08_1
+librte_pmd_sw_event.so.1 dpdk-19.08_1
+librte_mempool_octeontx2.so.1 dpdk-19.08_1
+librte_pmd_bbdev_fpga_lte_fec.so.1 dpdk-19.08_1
+librte_rawdev_ntb.so.1 dpdk-19.08_1
+librte_pmd_memif.so.1 dpdk-19.08_1
+librte_pmd_dpaa2_sec.so.2 dpdk-19.08_1
+librte_pmd_failsafe.so.1 dpdk-19.08_1
+librte_pmd_thunderx.so.1 dpdk-19.08_1
+librte_pmd_octeontx.so.1 dpdk-19.08_1
+librte_pmd_dpaa.so.1 dpdk-19.08_1
+librte_pmd_caam_jr.so.1 dpdk-19.08_1
+librte_pmd_virtio.so.1 dpdk-19.08_1
+librte_pmd_octeontx_compress.so.1 dpdk-19.08_1
+librte_pmd_zlib.so.1 dpdk-19.08_1
+librte_bus_pci.so.2 dpdk-19.08_1
+librte_pmd_bond.so.2 dpdk-19.08_1
+librte_pmd_ice.so.1 dpdk-19.08_1
+librte_pmd_skeleton_event.so.1 dpdk-19.08_1
+librte_mempool_ring.so.1 dpdk-19.08_1
+librte_pmd_octeontx2.so.1 dpdk-19.08_1
+librte_mempool_octeontx.so.1 dpdk-19.08_1
+librte_pmd_ark.so.1 dpdk-19.08_1
+librte_pmd_null_crypto.so.1 dpdk-19.08_1
+librte_pmd_ena.so.1 dpdk-19.08_1
+librte_pmd_axgbe.so.1 dpdk-19.08_1
+librte_common_cpt.so.1 dpdk-19.08_1
+librte_pmd_af_packet.so.1 dpdk-19.08_1
+librte_pmd_vhost.so.2 dpdk-19.08_1
+librte_pmd_softnic.so.1 dpdk-19.08_1
+librte_pmd_nfp.so.1 dpdk-19.08_1
+librte_bus_fslmc.so.2 dpdk-19.08_1
+librte_bus_dpaa.so.2 dpdk-19.08_1
+librte_pmd_fm10k.so.1 dpdk-19.08_1
+librte_pmd_bbdev_turbo_sw.so.1 dpdk-19.08_1
+librte_mempool_dpaa2.so.2 dpdk-19.08_1
+librte_pmd_ipn3ke.so.1 dpdk-19.08_1
+librte_pmd_vdev_netvsc.so.1 dpdk-19.08_1
+librte_mempool_dpaa.so.1 dpdk-19.08_1
+librte_pmd_bnx2x.so.1 dpdk-19.08_1
+librte_pmd_enic.so.1 dpdk-19.08_1
+librte_pmd_ixgbe.so.2 dpdk-19.08_1
+librte_common_octeontx2.so.1 dpdk-19.08_1
+librte_pmd_liquidio.so.1 dpdk-19.08_1
+librte_pmd_netvsc.so.2 dpdk-19.08_1
+librte_mempool_bucket.so.1 dpdk-19.08_1
+librte_pmd_virtio_crypto.so.1 dpdk-19.08_1
+librte_pmd_ccp.so.1 dpdk-19.08_1
+librte_bus_vdev.so.2 dpdk-19.08_1
+librte_pmd_tap.so.1 dpdk-19.08_1
+librte_pmd_octeontx_crypto.so.1 dpdk-19.08_1
+librte_rawdev_dpaa2_qdma.so.2 dpdk-19.08_1
+librte_pmd_dsw_event.so.1 dpdk-19.08_1
+librte_pmd_dpaa_event.so.1 dpdk-19.08_1
+librte_pmd_ifc.so.1 dpdk-19.08_1
+librte_stack.so.1 dpdk-19.08_1
+librte_kvargs.so.1 dpdk-19.08_1
+librte_security.so.2 dpdk-19.08_1
+librte_bitratestats.so.2 dpdk-19.08_1
+librte_rcu.so.1 dpdk-19.08_1
+librte_gso.so.1 dpdk-19.08_1
+librte_efd.so.1 dpdk-19.08_1
+librte_cmdline.so.2 dpdk-19.08_1
+librte_telemetry.so.1 dpdk-19.08_1
+librte_pdump.so.3 dpdk-19.08_1
+librte_eventdev.so.7 dpdk-19.08_1
+librte_vhost.so.4 dpdk-19.08_1
+librte_net.so.1 dpdk-19.08_1
+librte_meter.so.3 dpdk-19.08_1
+librte_acl.so.2 dpdk-19.08_1
+librte_mempool.so.5 dpdk-19.08_1
+librte_table.so.3 dpdk-19.08_1
+librte_power.so.1 dpdk-19.08_1
+librte_reorder.so.1 dpdk-19.08_1
+librte_ring.so.2 dpdk-19.08_1
+librte_ethdev.so.12 dpdk-19.08_1
+librte_bbdev.so.1 dpdk-19.08_1
+librte_ipsec.so.1 dpdk-19.08_1
+librte_timer.so.1 dpdk-19.08_1
+librte_cfgfile.so.2 dpdk-19.08_1
+librte_member.so.1 dpdk-19.08_1
+librte_compressdev.so.1 dpdk-19.08_1
+librte_mbuf.so.5 dpdk-19.08_1
+librte_hash.so.2 dpdk-19.08_1
+librte_flow_classify.so.1 dpdk-19.08_1
+librte_metrics.so.1 dpdk-19.08_1
+librte_cryptodev.so.8 dpdk-19.08_1
+librte_rawdev.so.1 dpdk-19.08_1
+librte_kni.so.2 dpdk-19.08_1
diff --git a/srcpkgs/dpdk-devel b/srcpkgs/dpdk-devel
new file mode 120000
index 00000000000..b6fff2e7d04
--- /dev/null
+++ b/srcpkgs/dpdk-devel
@@ -0,0 +1 @@
+dpdk
\ No newline at end of file
diff --git a/srcpkgs/dpdk-dkms b/srcpkgs/dpdk-dkms
new file mode 120000
index 00000000000..b6fff2e7d04
--- /dev/null
+++ b/srcpkgs/dpdk-dkms
@@ -0,0 +1 @@
+dpdk
\ No newline at end of file
diff --git a/srcpkgs/dpdk-doc b/srcpkgs/dpdk-doc
new file mode 120000
index 00000000000..b6fff2e7d04
--- /dev/null
+++ b/srcpkgs/dpdk-doc
@@ -0,0 +1 @@
+dpdk
\ No newline at end of file
diff --git a/srcpkgs/dpdk-libs b/srcpkgs/dpdk-libs
new file mode 120000
index 00000000000..b6fff2e7d04
--- /dev/null
+++ b/srcpkgs/dpdk-libs
@@ -0,0 +1 @@
+dpdk
\ No newline at end of file
diff --git a/srcpkgs/dpdk/files/dkms_igb_uio.conf b/srcpkgs/dpdk/files/dkms_igb_uio.conf
new file mode 100644
index 00000000000..6aa4b768f2f
--- /dev/null
+++ b/srcpkgs/dpdk/files/dkms_igb_uio.conf
@@ -0,0 +1,7 @@
+PACKAGE_NAME="dpdk-igb-uio"
+PACKAGE_VERSION="@VERSION@"
+BUILT_MODULE_NAME[0]="igb_uio"
+MAKE="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build MODULE_CFLAGS='-I$source_tree/$PACKAGE_NAME-$PACKAGE_VERSION -I/usr/include/ -include /usr/include/rte_config.h -I/usr/include/generic -fno-PIE' modules"
+CLEAN="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build clean"
+DEST_MODULE_LOCATION[0]="/extra/dpdk"
+AUTOINSTALL="YES"
diff --git a/srcpkgs/dpdk/files/dkms_rte_kni.conf b/srcpkgs/dpdk/files/dkms_rte_kni.conf
new file mode 100644
index 00000000000..2d0425c0503
--- /dev/null
+++ b/srcpkgs/dpdk/files/dkms_rte_kni.conf
@@ -0,0 +1,7 @@
+PACKAGE_NAME="dpdk-rte-kni"
+PACKAGE_VERSION="@VERSION@"
+BUILT_MODULE_NAME[0]="rte_kni"
+MAKE="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build MODULE_CFLAGS='-I$source_tree/$PACKAGE_NAME-$PACKAGE_VERSION -I/usr/include/ -include /usr/include/rte_config.h -I/usr/include/generic -fno-PIE' modules"
+CLEAN="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build clean"
+DEST_MODULE_LOCATION[0]="/extra/dpdk"
+AUTOINSTALL="YES"
diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
new file mode 100644
index 00000000000..649e0c99a22
--- /dev/null
+++ b/srcpkgs/dpdk/template
@@ -0,0 +1,75 @@
+# Template file for 'dpdk'
+pkgname=dpdk
+version=19.08
+revision=1
+build_style=meson
+configure_args="-Denable_kmods=false -Denable_docs=true -Db_lto=false"
+hostmakedepends="doxygen python3-Sphinx pkg-config elfutils"
+makedepends="libnuma-devel linux-headers jansson-devel libpcap-devel zlib-devel libressl-devel libbsd-devel libelf libmnl"
+depends="python-pyelftools"
+short_desc="Data Plane Development Kit"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="BSD-3-Clause, GPL-2.0-only"
+homepage="https://www.dpdk.org/"
+distfiles="https://github.com/DPDK/${pkgname}/archive/v${version}.tar.gz"
+checksum=1ceff1a6f4f8d5f6f62c1682097249227ac5225ccd9638e0af09f5411c681038
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	broken="Usage of error.h"
+fi
+
+post_install() {
+	vmkdir usr/lib/modules-load.d
+	vlicense license/bsd-3-clause.txt
+	vlicense license/gpl-2.0.txt
+}
+
+dpdk-doc_package() {
+	short_desc+=" - documentation"
+	archs=noarch
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+do_check() {
+	:
+}
+
+dpdk-devel_package() {
+	depends="jansson-devel zlib-devel libbsd-devel libressl-devel"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin/dpdk-pdump
+		vmove usr/bin/dpdk-proc-info
+		vmove usr/bin/dpdk-test*
+		vmove usr/include
+		vmove usr/lib/*.so
+		vmove usr/lib/*.a
+		vmove usr/lib/dpdk/pmds-${version}/*.so
+		vmove usr/lib/pkgconfig
+		vmove usr/share/dpdk/examples
+	}
+}
+
+dpdk-dkms_package() {
+	short_desc+=" - DKMS kernel modules"
+	dkms_modules="dpdk-igb-uio $version dpdk-rte-kni $version"
+	depends="dkms dpdk-devel"
+	pkg_install() {
+		vmkdir usr/src/dpdk-igb-uio-${version}
+		vmkdir usr/src/dpdk-rte-kni-${version}
+		vcopy "kernel/linux/igb_uio/*" usr/src/dpdk-igb-uio-${version}
+		vcopy "kernel/linux/kni/*" usr/src/dpdk-rte-kni-${version}
+		vcopy ${FILESDIR}/dkms_igb_uio.conf usr/src/dpdk-igb-uio-${version}/dkms.conf
+		vcopy ${FILESDIR}/dkms_rte_kni.conf usr/src/dpdk-rte-kni-${version}/dkms.conf
+		sed -i -e "s/@VERSION@/${version}/" ${PKGDESTDIR}/usr/src/dpdk-igb-uio-${version}/dkms.conf
+		sed -i -e "s/@VERSION@/${version}/" ${PKGDESTDIR}/usr/src/dpdk-rte-kni-${version}/dkms.conf
+		# load modules at boot time
+		echo igb_uio > ${DESTDIR}/usr/lib/modules-load.d/igb_uio.conf
+		echo rte_kni > ${DESTDIR}/usr/lib/modules-load.d/rte_kni.conf
+		chmod 644 ${DESTDIR}/usr/lib/modules-load.d/igb_uio.conf
+		chmod 644 ${DESTDIR}/usr/lib/modules-load.d/rte_kni.conf
+		vmove usr/lib/modules-load.d
+	}
+}

  parent reply	other threads:[~2019-11-03 16:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02 23:02 [PR PATCH] " voidlinux-github
2019-11-03 15:13 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-03 15:13 ` voidlinux-github
2019-11-03 16:01 ` voidlinux-github [this message]
2019-11-03 16:01 ` voidlinux-github
2019-11-03 16:43 ` voidlinux-github
2019-11-03 16:43 ` voidlinux-github
2019-11-03 17:07 ` voidlinux-github
2019-11-03 17:07 ` voidlinux-github
2019-11-03 17:26 ` voidlinux-github
2019-11-03 17:26 ` voidlinux-github
2019-11-03 20:03 ` voidlinux-github
2019-11-03 21:30 ` [PR PATCH] [Merged]: " voidlinux-github
2019-11-03 21:32 ` voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191103160135.29XoDs1DedlGUChQcUyhrA8cH-PphqdUz4gQ28kZVgI@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).