commit:     1f2d22e262278798326bb1156644884064b5e860
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 23:47:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 23 00:27:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f2d22e2

net-libs/libtrace: add 4.0.26

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

 net-libs/libtrace/Manifest               |  1 +
 net-libs/libtrace/libtrace-4.0.26.ebuild | 69 ++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest
index ff01c907b5a6..3fabd0718f5d 100644
--- a/net-libs/libtrace/Manifest
+++ b/net-libs/libtrace/Manifest
@@ -1,2 +1,3 @@
 DIST libtrace-4.0.21.tar.gz 3741856 BLAKE2B 
c7178cdf9721dbbce423d38236ee1fe470f32b86af393c10600a326dfbd2e84f28df27584d4ed99590c00cb8042d4472782712024c4398b95e954565d50c33fc
 SHA512 
0215488a36c6bcb5619d01f6f73f42c14d63b291233c3cf2668434f78e0d60c1faac6bb1f7927cdd6448771e5c0de8e1012dcc954c8815763079f5ebd0abe601
 DIST libtrace-4.0.22.tar.gz 3742482 BLAKE2B 
bdba49d04b354ea075fbd21933b8ad5ecb187836cb13cf95ac8a4c89abbf0c90741696b41dc91924f52a6443e5dee34075b3200cbaf99acacfd43834887df655
 SHA512 
ecb2a275419e659d05149c64cad2e27caba5b3920188a3eef2df6323785eeaa11677c206ce7d9bcea593d970be95ad9e2019b37642c08d7fec9e0daac9d8681f
+DIST libtrace-4.0.26.tar.gz 3737830 BLAKE2B 
7d5c76da9176542b8a710a23d2773b47eaa74987de1692ccbb012c1c11b8bc84ef69633342d11e0491896f3d30ba0d28243d6d280303cb01cb7ad484590022ca
 SHA512 
5b3e0f5fec43fb576fc2fe9c418ba4b0b0f5506d76c203b69c33a60975541828c61e38e33edf8422ab656421379ec8d8de868b1e71a04714d7ab42f4938b402c

diff --git a/net-libs/libtrace/libtrace-4.0.26.ebuild 
b/net-libs/libtrace/libtrace-4.0.26.ebuild
new file mode 100644
index 000000000000..8e5ea4214918
--- /dev/null
+++ b/net-libs/libtrace/libtrace-4.0.26.ebuild
@@ -0,0 +1,69 @@
+# 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://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-text/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-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() {
+       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
+}

Reply via email to