1 |
commit: 4c49cab03ec310f6d77d848a6fb06e6f86d8553a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 19 20:44:28 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 20:47:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c49cab0 |
7 |
|
8 |
net-libs/libpcap: Old |
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 | 79 -------------------------------- |
14 |
1 file changed, 79 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libpcap/libpcap-1.9.1-r1.ebuild b/net-libs/libpcap/libpcap-1.9.1-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 704e1bbe519..00000000000 |
19 |
--- a/net-libs/libpcap/libpcap-1.9.1-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,79 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
-inherit autotools multilib-minimal |
27 |
- |
28 |
-DESCRIPTION="A system-independent library for user-level network packet capture" |
29 |
-HOMEPAGE=" |
30 |
- https://www.tcpdump.org/ |
31 |
- https://github.com/the-tcpdump-group/libpcap |
32 |
-" |
33 |
-SRC_URI=" |
34 |
- https://github.com/the-tcpdump-group/${PN}/archive/${P/_}.tar.gz |
35 |
-" |
36 |
- |
37 |
-LICENSE="BSD" |
38 |
-SLOT="0" |
39 |
-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" |
40 |
-IUSE="bluetooth dbus netlink -remote static-libs usb -yydebug" |
41 |
- |
42 |
-RDEPEND=" |
43 |
- bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] ) |
44 |
- dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) |
45 |
- netlink? ( dev-libs/libnl:3[${MULTILIB_USEDEP}] ) |
46 |
-" |
47 |
-DEPEND=" |
48 |
- ${RDEPEND} |
49 |
- sys-devel/flex |
50 |
- virtual/yacc |
51 |
- dbus? ( virtual/pkgconfig[${MULTILIB_USEDEP}] ) |
52 |
-" |
53 |
- |
54 |
-S=${WORKDIR}/${PN}-${P/_} |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-1.8.1-usbmon.patch |
58 |
- "${FILESDIR}"/${PN}-1.9.1-pcap-config.patch |
59 |
-) |
60 |
- |
61 |
-src_prepare() { |
62 |
- default |
63 |
- |
64 |
- echo ${PV} > VERSION || die |
65 |
- |
66 |
- eautoreconf |
67 |
-} |
68 |
- |
69 |
-multilib_src_configure() { |
70 |
- ECONF_SOURCE="${S}" \ |
71 |
- econf \ |
72 |
- $(use_enable bluetooth) \ |
73 |
- $(use_enable dbus) \ |
74 |
- $(use_enable remote) \ |
75 |
- $(use_enable usb) \ |
76 |
- $(use_enable yydebug) \ |
77 |
- $(use_with netlink libnl) \ |
78 |
- --enable-ipv6 |
79 |
-} |
80 |
- |
81 |
-multilib_src_compile() { |
82 |
- emake all shared |
83 |
-} |
84 |
- |
85 |
-multilib_src_install_all() { |
86 |
- dodoc CREDITS CHANGES VERSION TODO README.* doc/README.* |
87 |
- |
88 |
- # remove static libraries (--disable-static does not work) |
89 |
- if ! use static-libs; then |
90 |
- find "${ED}" -name '*.a' -exec rm {} + || die |
91 |
- fi |
92 |
- |
93 |
- find "${ED}" -name '*.la' -delete || die |
94 |
- |
95 |
- # We need this to build pppd on G/FBSD systems |
96 |
- if [[ "${USERLAND}" == "BSD" ]]; then |
97 |
- insinto /usr/include |
98 |
- doins pcap-int.h portability.h |
99 |
- fi |
100 |
-} |