commit:     ec1f38fc687fad3c2a7eff1c6841221772dbace9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 04:20:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 05:40:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1f38fc

net-libs/libtrace: add 4.0.20

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libtrace/Manifest               |  1 +
 net-libs/libtrace/libtrace-4.0.20.ebuild | 67 ++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest
index 7a6670a15793..4d8e01bc2008 100644
--- a/net-libs/libtrace/Manifest
+++ b/net-libs/libtrace/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/net-libs/libtrace/libtrace-4.0.20.ebuild 
b/net-libs/libtrace/libtrace-4.0.20.ebuild
new file mode 100644
index 000000000000..fcc866df083d
--- /dev/null
+++ b/net-libs/libtrace/libtrace-4.0.20.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 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
+       ncurses? ( sys-libs/ncurses:= )
+       numa? ( sys-process/numactl )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-doc/doxygen[dot]
+       sys-devel/flex
+       virtual/os-headers
+       virtual/pkgconfig
+       virtual/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() {
+       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
+}

Reply via email to