diff options
Diffstat (limited to 'net-libs/libtrace')
-rw-r--r-- | net-libs/libtrace/Manifest | 9 | ||||
-rw-r--r-- | net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch | 133 | ||||
-rw-r--r-- | net-libs/libtrace/libtrace-4.0.18_p1.ebuild | 70 | ||||
-rw-r--r-- | net-libs/libtrace/libtrace-4.0.19_p1.ebuild | 60 | ||||
-rw-r--r-- | net-libs/libtrace/libtrace-4.0.26.ebuild (renamed from net-libs/libtrace/libtrace-4.0.20.ebuild) | 2 |
5 files changed, 3 insertions, 271 deletions
diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest index 30eb16e9b652..c848971a43aa 100644 --- a/net-libs/libtrace/Manifest +++ b/net-libs/libtrace/Manifest @@ -1,12 +1,7 @@ -AUX libtrace-4.0.18_p1-build-system.patch 4161 BLAKE2B e2811873721fa703e5f2202258e2e943320a601020d6d1172b215917ddb3c0e04b22a2c73c948d64ca7e65716a4f4b7147f49150b607bd6364f4da244db76311 SHA512 cec579934f535ca5f0ae1f32860e13bfc9a5e7f1467d66100be3edb6c10585b2190987d93ab558feb5dd464c85c153faece29fe37f6e2dd8037f240c96ed0040 -DIST libtrace-4.0.18_p1.tar.gz 1963425 BLAKE2B fdacd4a44f899dc49fe9571d8e695cd726ea07d1c0595bd7c1f59d53721bd5610126924323c9c7098caf65276219e61265e5e05f23b4a92ae6377268c618202f SHA512 fc2979fa56b0eee25149a3571d0a06e2a46ab6d6fa419b2fc37635ebcf4a8814250005c4dfc5dddb5fb6aa9c74161ab4f475a037e021388054bb62f414b9c5d2 -DIST libtrace-4.0.19.tar.bz2 844871 BLAKE2B ff55935b46fb2193ae2e4ab10971d0983da18be20a52a18664f0e72cb829ab444a22e00aeedbd2df85aebbcd6b8352636c559e55d05466a599cc332f018f14ad SHA512 f2744337b4dcff8fc782cd90e44ea6f21cfe120840f626dfac365d3ffaecb82bfdd04a35458b67f663addc1f7ae792c5b0ec7538ed90a2deb386586bc55e1c54 -DIST libtrace-4.0.20.tar.gz 3722006 BLAKE2B f68ededebef71673d6e3a655cb116a5a6d4cdee05ba5150edd85abd45863460208715ebb5eab3ee29254864f0130a594649db0baed99f7ced5d1d968472a595b SHA512 b4d00f0d6f8286eff9bac5408bd10244922f4ab262e3dec5dd6f0984ec9f538ab5ac6e554686e33f92168d687275629ec1725d4ebb7c491fe4bdaffd57058fc0 DIST libtrace-4.0.21.tar.gz 3741856 BLAKE2B c7178cdf9721dbbce423d38236ee1fe470f32b86af393c10600a326dfbd2e84f28df27584d4ed99590c00cb8042d4472782712024c4398b95e954565d50c33fc SHA512 0215488a36c6bcb5619d01f6f73f42c14d63b291233c3cf2668434f78e0d60c1faac6bb1f7927cdd6448771e5c0de8e1012dcc954c8815763079f5ebd0abe601 DIST libtrace-4.0.22.tar.gz 3742482 BLAKE2B bdba49d04b354ea075fbd21933b8ad5ecb187836cb13cf95ac8a4c89abbf0c90741696b41dc91924f52a6443e5dee34075b3200cbaf99acacfd43834887df655 SHA512 ecb2a275419e659d05149c64cad2e27caba5b3920188a3eef2df6323785eeaa11677c206ce7d9bcea593d970be95ad9e2019b37642c08d7fec9e0daac9d8681f -EBUILD libtrace-4.0.18_p1.ebuild 1464 BLAKE2B 1fef8a354180d1a9ef7f3f6c9b1db7c9dae0fea452f9594faf1ae6aa3fb494d9b1caeb638741bacb985f723f81c7cd7bd46771e77e0f0f8e7498ecb929359338 SHA512 984f9ce9819e0b3cf67d10212292a2dd8570f8c713d8a21ab528bc101500543e92d64aafeaf212038a4228f4c8bb4689027da7c7cefad0db29e89f729c200356 -EBUILD libtrace-4.0.19_p1.ebuild 1347 BLAKE2B e29cef7b5993fef83ebe2e303accff892b7eb9a2d2eccb0f53277db99e9c0bc0339fdbd469c55acbe310128050a9614289c07f8510655fd1b5a7cde9c6522875 SHA512 1212f042e2169cf09f42da5b8de048a2e2184ce203698ebeb9dfe930658962121a6813764c6a4472f676c402b5890edb60b46e50006e49548d57222b9a176fa8 -EBUILD libtrace-4.0.20.ebuild 1386 BLAKE2B 2196b24de3d5bd44a331e1f685851cc8ce58fc371a81f82ae3e728f8cbc21d6b84426bafc1185b34b515db5afcb271abb41957d27ae6d2b8e8d1cb5b2c94e77d SHA512 16c4bb2fde988ffbf1641f1450a08efc55e576675b450a198549f4c401f7f5cb915b5f5bb0bb32f76e06288bc3590b09df00f8dc83adbc4a45a707a8c68abc53 +DIST libtrace-4.0.26.tar.gz 3737830 BLAKE2B 7d5c76da9176542b8a710a23d2773b47eaa74987de1692ccbb012c1c11b8bc84ef69633342d11e0491896f3d30ba0d28243d6d280303cb01cb7ad484590022ca SHA512 5b3e0f5fec43fb576fc2fe9c418ba4b0b0f5506d76c203b69c33a60975541828c61e38e33edf8422ab656421379ec8d8de868b1e71a04714d7ab42f4938b402c EBUILD libtrace-4.0.21.ebuild 1394 BLAKE2B 11497f0bb46e510618010a65e53fa51274ec403aa145b37e200e22b4f60ffc0c2628804338d788ab784d8ed746c30ec604a1ab7878e2c5b4e90d2571b139eda7 SHA512 83f7a2fb91a491a6671417053698b899125f3c63679d40a20d4e30e97cfb9431880098c7ccaff409b66ef9f1bd3928e1abbdaa5c55efc13306b9d166dc19269a EBUILD libtrace-4.0.22.ebuild 1394 BLAKE2B 11497f0bb46e510618010a65e53fa51274ec403aa145b37e200e22b4f60ffc0c2628804338d788ab784d8ed746c30ec604a1ab7878e2c5b4e90d2571b139eda7 SHA512 83f7a2fb91a491a6671417053698b899125f3c63679d40a20d4e30e97cfb9431880098c7ccaff409b66ef9f1bd3928e1abbdaa5c55efc13306b9d166dc19269a +EBUILD libtrace-4.0.26.ebuild 1394 BLAKE2B 11497f0bb46e510618010a65e53fa51274ec403aa145b37e200e22b4f60ffc0c2628804338d788ab784d8ed746c30ec604a1ab7878e2c5b4e90d2571b139eda7 SHA512 83f7a2fb91a491a6671417053698b899125f3c63679d40a20d4e30e97cfb9431880098c7ccaff409b66ef9f1bd3928e1abbdaa5c55efc13306b9d166dc19269a MISC metadata.xml 525 BLAKE2B 02976e0d1f606614b5902644f5ee4d6580f6b0db53fb5a348a44a0e653052007a1e9f31bbf8185f0b2fc5cd890ffac517aae512c78625e8f30cdda4223f7a5f3 SHA512 fb048667eb5579363b3a62b1c6b7ac2d1f3e2a25b980f9f485b418dcf9d794f27608de847f7eb444765ef69dfcbcbd710af87f051d492fdb2b21f05a1ff231a8 diff --git a/net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch b/net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch deleted file mode 100644 index b536302c30b9..000000000000 --- a/net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch +++ /dev/null @@ -1,133 +0,0 @@ -https://github.com/LibtraceTeam/libtrace/pull/201 - -From dde6c39e5808f06f1450b03e7c682edb0f1290cf Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Tue, 8 Feb 2022 05:30:32 +0000 -Subject: [PATCH 1/3] build: fix bashism in configure - -configures have a shebang of #!/bin/sh so need to work with a POSIX-compliant -shell; let's use = instead of == which will have the same effect on both Bash -and said shells (like dash). - -Signed-off-by: Sam James <sam@gentoo.org> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 95d63fdc..dbbaabb7 100644 ---- a/configure.in -+++ b/configure.in -@@ -305,7 +305,7 @@ AC_ARG_WITH(xdp, AS_HELP_STRING(--with-xdp, include XDP capture support), - - if test "$want_xdp" != no; then - AC_CHECK_LIB(elf, elf_begin, elffound=1, elffound=0) -- if test "$elffound" == 1; then -+ if test "$elffound" = 1; then - # check for libbpf - AC_CHECK_LIB(bpf, xsk_socket__create, bpffound=1, bpffound=0, -lelf) - - -From 1525a42b386da02bda3982cf6e8b472f57f8ac34 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Tue, 8 Feb 2022 05:32:59 +0000 -Subject: [PATCH 2/3] build: make NUMA support optional - -This avoids an 'automagic dependency' [0] on NUMA. This is helpful for -downstreams to ensure we don't miss dependencies or when we may not -want to enable support for a feature even though a dependency is enabled. - -Gentoo has shipped this patch for quite some time. - -[0] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies - -Signed-off-by: Sam James <sam@gentoo.org> ---- - configure.in | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index dbbaabb7..6fbff150 100644 ---- a/configure.in -+++ b/configure.in -@@ -518,7 +518,23 @@ AC_CHECK_DECL([PACKET_FANOUT], - [[#include <linux/if_packet.h>]]) - - # If we use DPDK we might be able to use libnuma --AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0) -+AC_ARG_WITH(numa, -+ AS_HELP_STRING(--with-numa,include NUMA support), -+[ -+ if test "$withval" = no -+ then -+ want_numa=no -+ else -+ want_numa=yes -+ fi -+],[ -+ # Default to building without NUMA -+ want_numa=yes -+]) -+ -+if test "$want_numa" != no; then -+ AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0) -+fi - - # Need libwandder for ETSI live decoding - AC_CHECK_LIB(wandder, init_wandder_decoder, have_wandder=1, have_wandder=0) - -From 153254413ae3cd6a62ee7d8b5eae189e84ebc066 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Tue, 8 Feb 2022 05:34:05 +0000 -Subject: [PATCH 3/3] build: use pkg-config to find ncurses - -ncurses can be built in a variety of configurations, but the motivating case -for Gentoo was "split tinfo" where libtinfo is no longer included within -libncurses. - -Use pkg-config to find where ncurses is installed and the required libraries -needed to link against it (which will include -ltinfo if required). - -We've been shipping this patch in Gentoo for quite some time. - -Signed-off-by: Sam James <sam@gentoo.org> ---- - configure.in | 4 ++++ - tools/tracetop/Makefile.am | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 6fbff150..cbb94d55 100644 ---- a/configure.in -+++ b/configure.in -@@ -79,6 +79,8 @@ AC_PROG_INSTALL - AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc) - AM_PROG_LEX - -+PKG_PROG_PKG_CONFIG -+ - # All our source files for function replacements are in lib/ - AC_CONFIG_LIBOBJ_DIR(lib) - -@@ -916,6 +918,8 @@ if (test "$use_llvm" != "no"); then - fi - fi - -+PKG_CHECK_MODULES(ncurses,ncurses,have_ncurses=yes,have_ncurses=no) -+ - AC_ARG_WITH([ncurses], - AC_HELP_STRING([--with-ncurses], [build tracetop (requires ncurses)])) - -diff --git a/tools/tracetop/Makefile.am b/tools/tracetop/Makefile.am -index 2ebbc3a7..a2eb2797 100644 ---- a/tools/tracetop/Makefile.am -+++ b/tools/tracetop/Makefile.am -@@ -6,6 +6,6 @@ bin_PROGRAMS = tracetop - include ../Makefile.tools - - tracetop_SOURCES = tracetop.cc --tracetop_LDADD = -lncurses -+tracetop_LDADD = @ncurses_LIBS@ - tracetop_CPPFLAGS = -fno-strict-aliasing $(AM_CFLAGS) - endif - diff --git a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild deleted file mode 100644 index 404ec0be0516..000000000000 --- a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="A library and tools for trace processing" -HOMEPAGE="https://research.wand.net.nz/software/libtrace.php" -SRC_URI="https://github.com/${PN^}Team/${PN}/archive//${PV/_p/-}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P/_p/-}" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# doxygen is always needed for man pages, but USE=doc controls installing docs themselves -# (not man pages) -IUSE="doc ncurses numa" - -RDEPEND=">=net-libs/libpcap-0.8 - dev-libs/libyaml - dev-libs/openssl:= - net-libs/wandio - ncurses? ( sys-libs/ncurses:= ) - numa? ( sys-process/numactl )" -DEPEND="${RDEPEND}" -BDEPEND="app-text/doxygen[dot] - app-alternatives/lex - virtual/os-headers - virtual/pkgconfig - app-alternatives/yacc" - -PATCHES=( - "${FILESDIR}"/${PN}-4.0.18_p1-build-system.patch -) - -src_prepare() { - default - - mv configure.{in,ac} || die - - eautoreconf - - # Comment out FILE_PATTERNS definition (bug #706230) - if has_version ~app-text/doxygen-1.8.16; then - sed -i -e '/^FILE_PATTERNS/s|^|#|g' docs/${PN}.doxygen.in || die - fi - - # Update doxygen configuration - doxygen -u docs/libtrace.doxygen.in || die -} - -src_configure() { - econf \ - $(use_with ncurses) \ - $(use_with numa) \ - --with-man \ - --without-dpdk -} - -src_install() { - default - - if use doc ; then - docinto html - dodoc -r docs/doxygen/html - fi - - find "${ED}" -name "*.la" -delete || die -} diff --git a/net-libs/libtrace/libtrace-4.0.19_p1.ebuild b/net-libs/libtrace/libtrace-4.0.19_p1.ebuild deleted file mode 100644 index da401f1ea38b..000000000000 --- a/net-libs/libtrace/libtrace-4.0.19_p1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A library and tools for trace processing" -HOMEPAGE="https://research.wand.net.nz/software/libtrace.php" -SRC_URI="https://research.wand.net.nz/software/libtrace/${PN}-$(ver_cut 1-3).tar.bz2" -S="${WORKDIR}"/${PN}-$(ver_cut 1-3) - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# doxygen is always needed for man pages, but USE=doc controls installing docs themselves -# (not man pages) -IUSE="doc ncurses numa" - -RDEPEND=">=net-libs/libpcap-0.8 - dev-libs/libyaml - dev-libs/openssl:= - net-libs/wandio - ncurses? ( sys-libs/ncurses:= ) - numa? ( sys-process/numactl )" -DEPEND="${RDEPEND}" -BDEPEND="app-text/doxygen[dot] - app-alternatives/lex - virtual/os-headers - virtual/pkgconfig - app-alternatives/yacc" - -src_prepare() { - default - - # Comment out FILE_PATTERNS definition (bug #706230) - if has_version ~app-text/doxygen-1.8.16; then - sed -i -e '/^FILE_PATTERNS/s|^|#|g' docs/${PN}.doxygen.in || die - fi - - # Update doxygen configuration - doxygen -u docs/libtrace.doxygen.in || die -} - -src_configure() { - econf \ - $(use_with ncurses) \ - $(use_with numa) \ - --with-man \ - --without-dpdk -} - -src_install() { - default - - if use doc ; then - docinto html - dodoc -r docs/doxygen/html - fi - - find "${ED}" -name "*.la" -delete || die -} diff --git a/net-libs/libtrace/libtrace-4.0.20.ebuild b/net-libs/libtrace/libtrace-4.0.26.ebuild index 0c4bf1d66107..8e5ea4214918 100644 --- a/net-libs/libtrace/libtrace-4.0.20.ebuild +++ b/net-libs/libtrace/libtrace-4.0.26.ebuild @@ -21,7 +21,7 @@ RDEPEND=" dev-libs/libyaml dev-libs/openssl:= >=net-libs/libpcap-0.8 - net-libs/wandio + >=net-libs/wandio-4.0.0 ncurses? ( sys-libs/ncurses:= ) numa? ( sys-process/numactl )" DEPEND="${RDEPEND}" |