1 |
commit: e1345cea6a2aa761b0852153e56bf6499e981d66 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 03:35:12 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 04:11:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1345cea |
7 |
|
8 |
net-libs/libtrace: bump to 4.0.15_p1 |
9 |
|
10 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-libs/libtrace/Manifest | 1 + |
14 |
net-libs/libtrace/libtrace-4.0.15_p1.ebuild | 76 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 77 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest |
18 |
index 4fdd1f88cf9..a7dfe8a2d8d 100644 |
19 |
--- a/net-libs/libtrace/Manifest |
20 |
+++ b/net-libs/libtrace/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libtrace-4.0.14_p1.tar.gz 1891628 BLAKE2B 5c30d48b34ab98fc53419a1ec7a205ec9dd97f7d162c1ea6ffcb30246ed1dde16332936d9ea3dafa32dc7a0eb991c3b384690e5f95f3646a85456d8ff28db70a SHA512 ac9031d168656c22a6113938c91b297d78a67a03d0809443345e1501f63c68812298af2760b34ce5bfa69e8d0968185bd3b6eabb838a94130ebad22bd2ecc488 |
23 |
+DIST libtrace-4.0.15_p1.tar.gz 1891845 BLAKE2B 08faf395f5fdda21829b89a9276649b297d2266ef10d2162b588b39d4d8d2da1306c74bb180d63b92f4422bb157fb451d34cd8167f0bff42322776e3b1ee0e7c SHA512 82f18b03e824f3ac89330854c3659244106ab5323f5e7a43ec7d2280f6ad3d427a906708688469b3f5aa479d11fef99a4bbecea585b81c916029132375582a4e |
24 |
|
25 |
diff --git a/net-libs/libtrace/libtrace-4.0.15_p1.ebuild b/net-libs/libtrace/libtrace-4.0.15_p1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4f14188b0ea |
28 |
--- /dev/null |
29 |
+++ b/net-libs/libtrace/libtrace-4.0.15_p1.ebuild |
30 |
@@ -0,0 +1,76 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="A library and tools for trace processing" |
39 |
+HOMEPAGE="https://research.wand.net.nz/software/libtrace.php" |
40 |
+SRC_URI="https://github.com/${PN^}Team/${PN}/archive//${PV/_p/-}.tar.gz -> ${P}.tar.gz" |
41 |
+S="${WORKDIR}/${P/_p/-}" |
42 |
+ |
43 |
+LICENSE="LGPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="doc ncurses numa" |
47 |
+ |
48 |
+BDEPEND=" |
49 |
+ app-doc/doxygen[dot] |
50 |
+ sys-devel/flex |
51 |
+ virtual/os-headers |
52 |
+ virtual/pkgconfig |
53 |
+ virtual/yacc |
54 |
+" |
55 |
+RDEPEND=" |
56 |
+ >=net-libs/libpcap-0.8 |
57 |
+ dev-libs/libyaml |
58 |
+ dev-libs/openssl:0= |
59 |
+ net-libs/wandio |
60 |
+ ncurses? ( sys-libs/ncurses:0= ) |
61 |
+ numa? ( sys-process/numactl ) |
62 |
+" |
63 |
+DEPEND="${RDEPEND}" |
64 |
+ |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}"/${PN}-3.0.20-autoconf-1.13.patch |
67 |
+ "${FILESDIR}"/${PN}-4.0.0-no-examples.patch |
68 |
+ "${FILESDIR}"/${PN}-4.0.0-with-numa.patch |
69 |
+ "${FILESDIR}"/${PN}-4.0.9_p1-tinfo.patch |
70 |
+) |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ |
75 |
+ mv configure.{in,ac} || die |
76 |
+ |
77 |
+ eautoreconf |
78 |
+ |
79 |
+ # Comment out FILE_PATTERNS definition (bug #706230) |
80 |
+ if has_version ~app-doc/doxygen-1.8.16; then |
81 |
+ sed -i -e '/^FILE_PATTERNS/s|^|#|g' docs/${PN}.doxygen.in || die |
82 |
+ fi |
83 |
+ |
84 |
+ # Update doxygen configuration |
85 |
+ doxygen -u docs/libtrace.doxygen.in || die |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ econf \ |
90 |
+ $(use_with ncurses) \ |
91 |
+ $(use_with numa) \ |
92 |
+ --disable-static \ |
93 |
+ --with-man \ |
94 |
+ --without-dpdk |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ default |
99 |
+ |
100 |
+ if use doc ; then |
101 |
+ docinto html |
102 |
+ dodoc -r docs/doxygen/html |
103 |
+ fi |
104 |
+ |
105 |
+ find "${ED}" -name "*.la" -delete || die |
106 |
+} |