Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libpcap/
Date: Fri, 23 Sep 2022 01:35:48
Message-Id: 1663896922.4872a73d24d3e56e04724968f44cc7c34c4d4e47.sam@gentoo
1 commit: 4872a73d24d3e56e04724968f44cc7c34c4d4e47
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 01:31:58 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 01:35:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4872a73d
7
8 net-libs/libpcap: drop 1.10.1-r1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-libs/libpcap/libpcap-1.10.1-r1.ebuild | 96 -------------------------------
13 1 file changed, 96 deletions(-)
14
15 diff --git a/net-libs/libpcap/libpcap-1.10.1-r1.ebuild b/net-libs/libpcap/libpcap-1.10.1-r1.ebuild
16 deleted file mode 100644
17 index bf74c32ad09b..000000000000
18 --- a/net-libs/libpcap/libpcap-1.10.1-r1.ebuild
19 +++ /dev/null
20 @@ -1,96 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit autotools multilib-minimal
27 -
28 -DESCRIPTION="A system-independent library for user-level network packet capture"
29 -HOMEPAGE="https://www.tcpdump.org/ https://github.com/the-tcpdump-group/libpcap"
30 -
31 -if [[ ${PV} == *9999* ]] ; then
32 - EGIT_REPO_URI="https://github.com/the-tcpdump-group/libpcap"
33 - inherit git-r3
34 -else
35 - VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/tcpdump.asc
36 - inherit verify-sig
37 -
38 - # Note: drop -upstream on bump, this is just because we switched to the official
39 - # distfiles for verify-sig
40 - SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz -> ${P}-upstream.tar.gz"
41 - SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig -> ${P}-upstream.tar.gz.sig )"
42 -
43 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
44 -fi
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -IUSE="bluetooth dbus netlink rdma remote static-libs usb yydebug"
49 -
50 -RDEPEND="
51 - bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] )
52 - dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
53 - netlink? ( dev-libs/libnl:3[${MULTILIB_USEDEP}] )
54 - remote? ( virtual/libcrypt:=[${MULTILIB_USEDEP}] )
55 - rdma? ( sys-cluster/rdma-core )
56 - usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
57 -"
58 -DEPEND="${RDEPEND}"
59 -BDEPEND="
60 - sys-devel/flex
61 - virtual/yacc
62 - dbus? ( virtual/pkgconfig )
63 -"
64 -
65 -if [[ ${PV} != *9999* ]] ; then
66 - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-tcpdump )"
67 -fi
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/${PN}-1.9.1-pcap-config.patch
71 - "${FILESDIR}"/${PN}-1.10.0-usbmon.patch
72 -)
73 -
74 -src_prepare() {
75 - default
76 -
77 - if ! [[ -f VERSION ]]; then
78 - echo ${PV} > VERSION || die
79 - fi
80 -
81 - eautoreconf
82 -}
83 -
84 -multilib_src_configure() {
85 - ECONF_SOURCE="${S}" \
86 - econf \
87 - $(use_enable bluetooth) \
88 - $(use_enable dbus) \
89 - $(use_enable rdma) \
90 - $(use_enable remote) \
91 - $(use_enable usb) \
92 - $(use_enable yydebug) \
93 - $(use_with netlink libnl) \
94 - --enable-ipv6
95 -}
96 -
97 -multilib_src_compile() {
98 - emake all shared
99 -}
100 -
101 -multilib_src_install_all() {
102 - dodoc CREDITS CHANGES VERSION TODO README.* doc/README.*
103 -
104 - # remove static libraries (--disable-static does not work)
105 - if ! use static-libs; then
106 - find "${ED}" -name '*.a' -exec rm {} + || die
107 - fi
108 -
109 - find "${ED}" -name '*.la' -delete || die
110 -
111 - # We need this to build pppd on G/FBSD systems
112 - if [[ "${USERLAND}" == "BSD" ]]; then
113 - insinto /usr/include
114 - doins pcap-int.h portability.h
115 - fi
116 -}