1 |
commit: e347c9071ab538bec9cb49903b7913e36645f8e9 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 18 11:18:53 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 18 11:26:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e347c907 |
7 |
|
8 |
net-libs/libpcap: Old |
9 |
|
10 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-libs/libpcap/libpcap-1.9.1-r2.ebuild | 81 -------------------------------- |
14 |
1 file changed, 81 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libpcap/libpcap-1.9.1-r2.ebuild b/net-libs/libpcap/libpcap-1.9.1-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 89890d0941f..00000000000 |
19 |
--- a/net-libs/libpcap/libpcap-1.9.1-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,81 +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 ~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 |
- usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] ) |
47 |
-" |
48 |
-DEPEND=" |
49 |
- ${RDEPEND} |
50 |
- sys-devel/flex |
51 |
- virtual/yacc |
52 |
- dbus? ( virtual/pkgconfig ) |
53 |
-" |
54 |
- |
55 |
-S=${WORKDIR}/${PN}-${P/_} |
56 |
- |
57 |
-PATCHES=( |
58 |
- "${FILESDIR}"/${PN}-1.8.1-usbmon.patch |
59 |
- "${FILESDIR}"/${PN}-1.9.1-pcap-config.patch |
60 |
-) |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- |
65 |
- echo ${PV} > VERSION || die |
66 |
- |
67 |
- eautoreconf |
68 |
-} |
69 |
- |
70 |
-multilib_src_configure() { |
71 |
- ECONF_SOURCE="${S}" \ |
72 |
- econf \ |
73 |
- $(use_enable bluetooth) \ |
74 |
- $(use_enable dbus) \ |
75 |
- $(use_enable remote) \ |
76 |
- $(use_enable usb) \ |
77 |
- $(use_enable yydebug) \ |
78 |
- $(use_with netlink libnl) \ |
79 |
- --disable-rdma \ |
80 |
- --enable-ipv6 |
81 |
-} |
82 |
- |
83 |
-multilib_src_compile() { |
84 |
- emake all shared |
85 |
-} |
86 |
- |
87 |
-multilib_src_install_all() { |
88 |
- dodoc CREDITS CHANGES VERSION TODO README.* doc/README.* |
89 |
- |
90 |
- # remove static libraries (--disable-static does not work) |
91 |
- if ! use static-libs; then |
92 |
- find "${ED}" -name '*.a' -exec rm {} + || die |
93 |
- fi |
94 |
- |
95 |
- find "${ED}" -name '*.la' -delete || die |
96 |
- |
97 |
- # We need this to build pppd on G/FBSD systems |
98 |
- if [[ "${USERLAND}" == "BSD" ]]; then |
99 |
- insinto /usr/include |
100 |
- doins pcap-int.h portability.h |
101 |
- fi |
102 |
-} |