1 |
commit: 1865f8c4b92381c1407fdb97ad3a92b74ea05862 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 9 13:32:35 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 9 13:39:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1865f8c4 |
7 |
|
8 |
net-libs/libpcap: Add USE=yydebug |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-libs/libpcap/libpcap-1.9.1-r1.ebuild | 3 ++- |
14 |
net-libs/libpcap/libpcap-9999.ebuild | 8 +++++--- |
15 |
net-libs/libpcap/metadata.xml | 1 + |
16 |
3 files changed, 8 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/libpcap/libpcap-1.9.1-r1.ebuild b/net-libs/libpcap/libpcap-1.9.1-r1.ebuild |
19 |
index bf2ab94c139..704e1bbe519 100644 |
20 |
--- a/net-libs/libpcap/libpcap-1.9.1-r1.ebuild |
21 |
+++ b/net-libs/libpcap/libpcap-1.9.1-r1.ebuild |
22 |
@@ -16,7 +16,7 @@ SRC_URI=" |
23 |
LICENSE="BSD" |
24 |
SLOT="0" |
25 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
26 |
-IUSE="bluetooth dbus netlink -remote static-libs usb" |
27 |
+IUSE="bluetooth dbus netlink -remote static-libs usb -yydebug" |
28 |
|
29 |
RDEPEND=" |
30 |
bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] ) |
31 |
@@ -52,6 +52,7 @@ multilib_src_configure() { |
32 |
$(use_enable dbus) \ |
33 |
$(use_enable remote) \ |
34 |
$(use_enable usb) \ |
35 |
+ $(use_enable yydebug) \ |
36 |
$(use_with netlink libnl) \ |
37 |
--enable-ipv6 |
38 |
} |
39 |
|
40 |
diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild |
41 |
index 1a75013c5b7..a6571d9395c 100644 |
42 |
--- a/net-libs/libpcap/libpcap-9999.ebuild |
43 |
+++ b/net-libs/libpcap/libpcap-9999.ebuild |
44 |
@@ -13,7 +13,7 @@ HOMEPAGE=" |
45 |
|
46 |
LICENSE="BSD" |
47 |
SLOT="0" |
48 |
-IUSE="bluetooth dbus netlink -remote static-libs usb" |
49 |
+IUSE="bluetooth dbus netlink -remote static-libs usb -yydebug" |
50 |
KEYWORDS="" |
51 |
|
52 |
RDEPEND=" |
53 |
@@ -30,7 +30,7 @@ DEPEND=" |
54 |
" |
55 |
|
56 |
PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-1.9.0-pcap-config-includedir.patch |
58 |
+ "${FILESDIR}"/${PN}-1.9.1-pcap-config.patch |
59 |
"${FILESDIR}"/${PN}-9999-prefix-darwin.patch |
60 |
) |
61 |
|
62 |
@@ -47,7 +47,9 @@ multilib_src_configure() { |
63 |
$(use_enable dbus) \ |
64 |
$(use_enable remote) \ |
65 |
$(use_enable usb) \ |
66 |
- $(use_with netlink libnl) |
67 |
+ $(use_enable yydebug) \ |
68 |
+ $(use_with netlink libnl) \ |
69 |
+ --enable-ipv6 |
70 |
} |
71 |
|
72 |
multilib_src_compile() { |
73 |
|
74 |
diff --git a/net-libs/libpcap/metadata.xml b/net-libs/libpcap/metadata.xml |
75 |
index 54d027060e7..6fb2c6c97ae 100644 |
76 |
--- a/net-libs/libpcap/metadata.xml |
77 |
+++ b/net-libs/libpcap/metadata.xml |
78 |
@@ -8,6 +8,7 @@ |
79 |
<use> |
80 |
<flag name="netlink">Use <pkg>dev-libs/libnl</pkg> to put wireless interfaces in monitor mode.</flag> |
81 |
<flag name="remote">Enable remote packet capture which may expose libpcap-based applications to attacks by malicious remote capture servers!</flag> |
82 |
+<flag name="yydebug">Enable parser debugging code</flag> |
83 |
</use> |
84 |
<upstream> |
85 |
<remote-id type="cpe">cpe:/a:tcpdump:libpcap</remote-id> |