summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-05-26 08:29:50 +0200
committerJeroen Roovers <jer@gentoo.org>2020-05-26 08:32:14 +0200
commitd2ac15cc76177b17d6d68814b630b1bb341d2f1a (patch)
tree06eae038143ed614954375b4b222c0939d43ce84 /net-libs/libtrace
parentnet-libs/wandio: Remove .la file(s) (diff)
downloadgentoo-d2ac15cc76177b17d6d68814b630b1bb341d2f1a.tar.gz
gentoo-d2ac15cc76177b17d6d68814b630b1bb341d2f1a.tar.bz2
gentoo-d2ac15cc76177b17d6d68814b630b1bb341d2f1a.zip
net-libs/libtrace: Version 4.0.13_p1
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libtrace')
-rw-r--r--net-libs/libtrace/Manifest1
-rw-r--r--net-libs/libtrace/libtrace-4.0.13_p1.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest
index f10d88861657..56c76fa58dd5 100644
--- a/net-libs/libtrace/Manifest
+++ b/net-libs/libtrace/Manifest
@@ -1,3 +1,4 @@
DIST libtrace-4.0.10_p1.tar.gz 1855110 BLAKE2B c2b59b52e65ed2227bf87517c1c439498f15823f5df745ef4e16800a3676afa3328c42809c3cb891d5e534990620ae1766b7863b3e1c010227182d9caa727ce3 SHA512 a76c8566c9b06b38ea7c7cfcea896beb23808686af9485dc80b8858c20c7a425f0869f18899fa7ad3e685c25c6c0d2bc7a934724d500211966d01b37964018a0
DIST libtrace-4.0.11_p1.tar.gz 1855693 BLAKE2B 9135b03258005587ef2e2b51c6e8c87bb2fb4963489b1ce5933c46100d708fa32978fc5b449ffde11fc6c27706afd36a82428cc55f0555a864ffad636f9c991d SHA512 b3cab7d24efe4503358f2265957170b0857f52c4ea2bac0d5424fe3b9565ead51795596ce28410e15741d89e3ba1db3c22046557a3e5b21af8c1b6f8ed9cd585
DIST libtrace-4.0.12_p1.tar.gz 1865404 BLAKE2B 3b628cc8264fd76bd513a56de9aaa1e0458b10271532853964b8cd1979d73925d48e7255589087e36f98d45809e71bc8dba972e48af9cc26285987327a4bd5f9 SHA512 b2253ba37b6c5d6f6d0efe1ac5c02b67b382e294e291abdb92c697e1a26cbe75b5f54a44bc7e07b1a0c8cb5efc36a3cc3fb48a9d79a090d6732692dbd268b8f8
+DIST libtrace-4.0.13_p1.tar.gz 1867583 BLAKE2B 5f6526a19255a2e8fccc345ae7682a44709325eb031352234358be08b963339fffaa7f4324ef738cf19bac941bcb7b1e748caaf51a2defd937c5684616a7efa0 SHA512 23f9a55b3185ede5a5d345dd12cda3eb2b77b1e76c46e210ad847b3e70c22de5c9eccf5a34b8b9305d35ed22e6b68fe7003dc699a28968f7b30895f0341cb4b9
diff --git a/net-libs/libtrace/libtrace-4.0.13_p1.ebuild b/net-libs/libtrace/libtrace-4.0.13_p1.ebuild
new file mode 100644
index 000000000000..9cd5b1a63f43
--- /dev/null
+++ b/net-libs/libtrace/libtrace-4.0.13_p1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ncurses numa static-libs"
+
+RDEPEND="
+ >=net-libs/libpcap-0.8
+ dev-libs/libyaml
+ dev-libs/openssl:0=
+ net-libs/wandio
+ ncurses? ( sys-libs/ncurses:0= )
+ numa? ( sys-process/numactl )
+"
+DEPEND="
+ ${RDEPEND}
+ app-doc/doxygen[dot]
+ sys-devel/flex
+ virtual/os-headers
+ virtual/pkgconfig
+ virtual/yacc
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0.20-autoconf-1.13.patch
+ "${FILESDIR}"/${PN}-4.0.0-no-examples.patch
+ "${FILESDIR}"/${PN}-4.0.0-with-numa.patch
+ "${FILESDIR}"/${PN}-4.0.9_p1-tinfo.patch
+)
+S=${WORKDIR}/${P/_p/-}
+
+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_enable static-libs static) \
+ $(use_with ncurses) \
+ $(use_with numa) \
+ --with-man \
+ --without-dpdk
+}
+
+src_install() {
+ default
+
+ use doc && dodoc -r docs/doxygen/html
+
+ find "${D}" -name "*.la" -delete || die
+}