1 |
commit: 928258746d25d2461a909dded7bb323b2b0f0d7a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 26 13:45:41 2016 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 26 13:46:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92825874 |
7 |
|
8 |
net-libs/libpcap: Update live ebuild. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
net-libs/libpcap/libpcap-9999.ebuild | 21 ++++++++++++--------- |
13 |
1 file changed, 12 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild |
16 |
index 5a09a15..1c311cd 100644 |
17 |
--- a/net-libs/libpcap/libpcap-9999.ebuild |
18 |
+++ b/net-libs/libpcap/libpcap-9999.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
inherit autotools eutils git-r3 multilib-minimal |
28 |
|
29 |
DESCRIPTION="A system-independent library for user-level network packet capture" |
30 |
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/the-tcpdump-group/libpcap" |
31 |
LICENSE="BSD" |
32 |
SLOT="0" |
33 |
KEYWORDS="" |
34 |
-IUSE="bluetooth dbus ipv6 netlink static-libs canusb" |
35 |
+IUSE="bluetooth dbus netlink static-libs canusb" |
36 |
|
37 |
RDEPEND=" |
38 |
bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] ) |
39 |
@@ -26,16 +26,20 @@ DEPEND="${RDEPEND} |
40 |
dbus? ( virtual/pkgconfig[${MULTILIB_USEDEP}] ) |
41 |
" |
42 |
|
43 |
+PATCHES=( |
44 |
+ "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch |
45 |
+ "${FILESDIR}"/${PN}-1.6.1-configure.patch |
46 |
+ "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch |
47 |
+ "${FILESDIR}"/${PN}-1.7.2-libnl.patch |
48 |
+ ) |
49 |
src_prepare() { |
50 |
- epatch \ |
51 |
- "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch \ |
52 |
- "${FILESDIR}"/${PN}-1.6.1-configure.patch \ |
53 |
- "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch \ |
54 |
- "${FILESDIR}"/${PN}-1.7.2-libnl.patch |
55 |
+ default |
56 |
|
57 |
mkdir bluetooth || die |
58 |
cp "${FILESDIR}"/mgmt.h bluetooth/ || die |
59 |
|
60 |
+ eapply_user |
61 |
+ |
62 |
eautoreconf |
63 |
} |
64 |
|
65 |
@@ -43,7 +47,6 @@ multilib_src_configure() { |
66 |
ECONF_SOURCE="${S}" \ |
67 |
econf \ |
68 |
$(use_enable bluetooth) \ |
69 |
- $(use_enable ipv6) \ |
70 |
$(use_enable canusb) \ |
71 |
$(use_enable dbus) \ |
72 |
$(use_with netlink libnl) |