summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-03-05 16:03:17 +0100
committerJeroen Roovers <jer@gentoo.org>2018-03-05 16:03:41 +0100
commit62aeea8a869e70a5aea99f4943a6c9987c4e98e0 (patch)
tree119b5cf219ac5d472c9d8421222ee1774ba7bd4b /net-libs/libtrace
parentnet-misc/iperf: Old. (diff)
downloadgentoo-62aeea8a869e70a5aea99f4943a6c9987c4e98e0.tar.gz
gentoo-62aeea8a869e70a5aea99f4943a6c9987c4e98e0.tar.bz2
gentoo-62aeea8a869e70a5aea99f4943a6c9987c4e98e0.zip
net-libs/libtrace: Version 4.0.3.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-libs/libtrace')
-rw-r--r--net-libs/libtrace/Manifest1
-rw-r--r--net-libs/libtrace/libtrace-4.0.3.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest
index 2248b1592557..446973d2e5fb 100644
--- a/net-libs/libtrace/Manifest
+++ b/net-libs/libtrace/Manifest
@@ -1,2 +1,3 @@
DIST libtrace-4.0.1.tar.gz 914773 BLAKE2B 763fec75fa68789a278e5b4c08f57ba413074c876d86bfb72ceb9ac31280a2e7bd2d1854710aabb2b4b7e0f46cb1cb8faf77c6564689041eacf336173559d722 SHA512 ef8c0fc5b07f2af2960d7be32bca9b8025357366e09977df8472abd957324a66f932f010acae01f1657bfe9dd917a880daef6c12ecb9a9b2cf7b74bd0d52be14
DIST libtrace-4.0.2.tar.gz 934255 BLAKE2B 776761288aadbafc812695db9b2af7f2ace3789925e957ae5bd6bfbdb883e49af324a903ea66e303e151300e8a31467b270a45e2dab4d8af1fe2b0e981f188ea SHA512 246fb1812b9c46b7ef543c16159849bb420db633b0778a375f616286cc26988d42542dcecd47256c03d637ceaa97d60168f0ce34b9892d957a3bcae89d984514
+DIST libtrace-4.0.3.tar.gz 938865 BLAKE2B b3f7cda52f18fe2905f53af61459c238fe2630c1ffca8189ed73c010a6fd057f04beca9979fc0f515de4797f1aee383b57ddc63dc9a08a88bae5946a9949f010 SHA512 08da665ed355b48daa006119261af7dc1c1a64c193efcd736e91394753f4b3c46af074044d970242d2396389577d92137264acdbb6ab70cdc69a6e3965f742ae
diff --git a/net-libs/libtrace/libtrace-4.0.3.ebuild b/net-libs/libtrace/libtrace-4.0.3.ebuild
new file mode 100644
index 000000000000..a639a3ebd159
--- /dev/null
+++ b/net-libs/libtrace/libtrace-4.0.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="A library and tools for trace processing"
+HOMEPAGE="http://research.wand.net.nz/software/libtrace.php"
+SRC_URI="http://research.wand.net.nz/software/${PN}/${P/_/-}.tar.gz"
+
+LICENSE="GPL-2"
+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
+
+ prune_libtool_files --modules
+}