From 2b261f33df32edb9a264829ed63dfd0232394e97 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 31 Aug 2023 06:51:00 +0100 Subject: net-libs/libtrace: add 4.0.22 Signed-off-by: Sam James --- net-libs/libtrace/Manifest | 1 + net-libs/libtrace/libtrace-4.0.22.ebuild | 69 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 net-libs/libtrace/libtrace-4.0.22.ebuild (limited to 'net-libs/libtrace') diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest index cdac6306ea31..8c71405cbb5c 100644 --- a/net-libs/libtrace/Manifest +++ b/net-libs/libtrace/Manifest @@ -2,3 +2,4 @@ DIST libtrace-4.0.18_p1.tar.gz 1963425 BLAKE2B fdacd4a44f899dc49fe9571d8e695cd72 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 diff --git a/net-libs/libtrace/libtrace-4.0.22.ebuild b/net-libs/libtrace/libtrace-4.0.22.ebuild new file mode 100644 index 000000000000..5416f1837ee6 --- /dev/null +++ b/net-libs/libtrace/libtrace-4.0.22.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 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://github.com/LibtraceTeam/libtrace" +SRC_URI="https://github.com/LibtraceTeam/libtrace/archive/refs/tags/${PV}-1.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${P}-1 + +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=" + dev-libs/libyaml + dev-libs/openssl:= + >=net-libs/libpcap-0.8 + >=net-libs/wandio-4.0.0 + ncurses? ( sys-libs/ncurses:= ) + numa? ( sys-process/numactl )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen[dot] + sys-devel/flex + virtual/os-headers + virtual/pkgconfig + app-alternatives/yacc +" + +src_prepare() { + default + + eautoreconf + + # Comment out FILE_PATTERNS definition (bug #706230) + if has_version ~app-doc/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() { + export LEX=flex + + 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 +} -- cgit v1.2.3-65-gdbad