summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-01-19 12:28:55 +0100
committerJeroen Roovers <jer@gentoo.org>2019-01-19 12:38:07 +0100
commit7d58eea1cfe56ac0c0a6abf79b6d4efcc3c8e94f (patch)
treeadc2e185d95bc62095cb9930ce72c37eefcb72d5 /net-libs/libtrace
parentdev-lang/rust: remove required use constraint (diff)
downloadgentoo-7d58eea1cfe56ac0c0a6abf79b6d4efcc3c8e94f.tar.gz
gentoo-7d58eea1cfe56ac0c0a6abf79b6d4efcc3c8e94f.tar.bz2
gentoo-7d58eea1cfe56ac0c0a6abf79b6d4efcc3c8e94f.zip
net-libs/libtrace: Version 4.0.6
Package-Manager: Portage-2.3.56, Repoman-2.3.12 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.6.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest
index 15372be7af05..0864db8fd581 100644
--- a/net-libs/libtrace/Manifest
+++ b/net-libs/libtrace/Manifest
@@ -1,2 +1,3 @@
DIST libtrace-4.0.4.tar.gz 949490 BLAKE2B 63b4e3bee7502deabbb07891ffe81fbed81f6b3b6c8b78148b035565fbb4e9f8302ee8f824e35584e68c453e61b0459f5a602b471330e6e0abae747a80f65872 SHA512 255a0654f762f9185ef70969225a160c017d50e0b01d1e90c31f555c1ebf5ce6509931f0c78bbed183e670d6acecb68e23efb8009a0e236fddd3a8f032401def
DIST libtrace-4.0.5.tar.gz 954257 BLAKE2B 42d0940f18f836945fc50d86e1fd242e18a09c4dc07319f831457ebfd08a4ad2d4f7f1ae2a5fcd8f881011110fdf57f623a42d624ba07348f1b9de759769c641 SHA512 c9738af7a471f6c0a6a2a2595ea081beb6145b57792558dd66feef9e4601814a8f5d6be194c83ba2ce076571dfc2a86aadafaa30411d9ecc3e7b7d83fc7809ce
+DIST libtrace-4.0.6.tar.gz 969315 BLAKE2B 812100d7f0fe3def44404372c7b2287a2a9c9b3831cc2e3dee30cff0946d959089d44f201ba74aba57246242153e634806d899a108e18f195f5b6bfde8c0043c SHA512 8f888f57e4436d1aa7fc030212f7b356c58848151873569aa372c6cbcf62c5dd1ece4ecc5a98f6dbe8dc84a39d19abcbe42ff240282054b45cfce0c8ba048f16
diff --git a/net-libs/libtrace/libtrace-4.0.6.ebuild b/net-libs/libtrace/libtrace-4.0.6.ebuild
new file mode 100644
index 000000000000..c8291b01d7ff
--- /dev/null
+++ b/net-libs/libtrace/libtrace-4.0.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools eutils
+
+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/${PN}/${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/openssl:0=
+ ncurses? ( sys-libs/ncurses:0= )
+ net-libs/wandio
+ numa? ( sys-process/numactl )
+"
+DEPEND="
+ ${RDEPEND}
+ app-doc/doxygen
+ sys-devel/flex
+ virtual/pkgconfig
+ virtual/yacc
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0.20-autoconf-1.13.patch
+ "${FILESDIR}"/${PN}-3.0.20-tinfo.patch
+ "${FILESDIR}"/${PN}-4.0.0-no-examples.patch
+ "${FILESDIR}"/${PN}-4.0.0-with-numa.patch
+)
+S=${WORKDIR}/${P/_beta/}
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with ncurses) \
+ $(use_with numa) \
+ --with-man
+}
+
+src_install() {
+ default
+
+ use doc && dodoc -r docs/doxygen/html
+
+ find "${D}" -name "*.la" -delete || die
+}