Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libpcap/
Date: Tue, 14 Feb 2017 13:40:45
Message-Id: 1487079628.cefd7566479cff3091a6b21679a2b9a1b49d00f5.jer@gentoo
1 commit: cefd7566479cff3091a6b21679a2b9a1b49d00f5
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 14 13:40:28 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 13:40:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cefd7566
7
8 net-libs/libpcap: Old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-libs/libpcap/Manifest | 1 -
13 net-libs/libpcap/libpcap-1.8.0.ebuild | 81 -----------------------------------
14 2 files changed, 82 deletions(-)
15
16 diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest
17 index c9a557af98..d6d8a9545d 100644
18 --- a/net-libs/libpcap/Manifest
19 +++ b/net-libs/libpcap/Manifest
20 @@ -1,2 +1 @@
21 -DIST libpcap-1.8.0.tar.gz 698506 SHA256 aef925af509cfe8c50224299a2748b0fbf85e4ae6cf1c5ce332f9eb240d8761f SHA512 1d8d455f64c67627e12e9b4e8fa7d311fa71e63db1864f7287bb8cf598f0b51a178cf92e0ad8c1c6d0229b8b8d23aa493450e324af1ec5f35acee9a9fd0254f7 WHIRLPOOL 2ec86289dd18e807a96b54475b6651e12c7920594494f43dc31bdb29713c5208ccacace33954a23031b5dbd3984a91d85deca7bd54daccf7a4460ef2589b1764
22 DIST libpcap-1.8.1.tar.gz 753405 SHA256 35c45ce725933894878707a00f60bb271244902363ec7097f8fa016dae278c5d SHA512 7e6a7351bb4213e1c3dd95ef7a460e91f733d933e39ba518ad8ba6d2f86b6e7cfa50ae667c8dc1300ef47bf8693ac8a1f18e068f41175ca5d0147a0b72278882 WHIRLPOOL dfc172bdecff1b93e549d0fe80068ccf6fcbd5dcf4a1cda0a1c34c2bfd702237988655f5e6bb91fec32299e0517593b192fde2a8179df17ab35b8db98f024cef
23
24 diff --git a/net-libs/libpcap/libpcap-1.8.0.ebuild b/net-libs/libpcap/libpcap-1.8.0.ebuild
25 deleted file mode 100644
26 index f3e0bf99b3..0000000000
27 --- a/net-libs/libpcap/libpcap-1.8.0.ebuild
28 +++ /dev/null
29 @@ -1,81 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=6
35 -inherit autotools eutils multilib-minimal
36 -
37 -DESCRIPTION="A system-independent library for user-level network packet capture"
38 -HOMEPAGE="
39 - http://www.tcpdump.org/
40 - https://github.com/the-tcpdump-group/libpcap
41 -"
42 -SRC_URI="
43 - https://github.com/the-tcpdump-group/${PN}/archive/${P}.tar.gz
44 -"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
49 -IUSE="bluetooth dbus netlink static-libs canusb"
50 -
51 -RDEPEND="
52 - bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] )
53 - dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
54 - netlink? ( dev-libs/libnl:3[${MULTILIB_USEDEP}] )
55 - canusb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
56 -"
57 -DEPEND="${RDEPEND}
58 - sys-devel/flex
59 - virtual/yacc
60 - dbus? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
61 -"
62 -
63 -S=${WORKDIR}/${PN}-${P}
64 -
65 -PATCHES=(
66 - "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch
67 - "${FILESDIR}"/${PN}-1.6.1-configure.patch
68 - "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch
69 - "${FILESDIR}"/${PN}-1.7.2-libnl.patch
70 - )
71 -src_prepare() {
72 - default
73 -
74 - mkdir bluetooth || die
75 - cp "${FILESDIR}"/mgmt.h bluetooth/ || die
76 -
77 - eapply_user
78 -
79 - eautoreconf
80 -}
81 -
82 -multilib_src_configure() {
83 - ECONF_SOURCE="${S}" \
84 - econf \
85 - $(use_enable bluetooth) \
86 - $(use_enable canusb) \
87 - $(use_enable dbus) \
88 - $(use_with netlink libnl) \
89 - --enable-ipv6
90 -}
91 -
92 -multilib_src_compile() {
93 - emake all shared
94 -}
95 -
96 -multilib_src_install_all() {
97 - dodoc CREDITS CHANGES VERSION TODO README{,.dag,.linux,.macosx,.septel}
98 -
99 - # remove static libraries (--disable-static does not work)
100 - if ! use static-libs; then
101 - find "${ED}" -name '*.a' -exec rm {} + || die
102 - fi
103 - prune_libtool_files
104 -
105 - # We need this to build pppd on G/FBSD systems
106 - if [[ "${USERLAND}" == "BSD" ]]; then
107 - insinto /usr/include
108 - doins pcap-int.h
109 - fi
110 -}