Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libpcap: libpcap-1.7.3.ebuild ChangeLog libpcap-1.6.2.ebuild libpcap-1.7.2.ebuild
Date: Fri, 01 May 2015 15:47:52
Message-Id: 20150501154742.5E7249AB@oystercatcher.gentoo.org
1 jer 15/05/01 15:47:41
2
3 Modified: ChangeLog
4 Added: libpcap-1.7.3.ebuild
5 Removed: libpcap-1.6.2.ebuild libpcap-1.7.2.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.222 net-libs/libpcap/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.222&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.222&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/ChangeLog?r1=1.221&r2=1.222
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v
21 retrieving revision 1.221
22 retrieving revision 1.222
23 diff -u -r1.221 -r1.222
24 --- ChangeLog 28 Apr 2015 05:48:17 -0000 1.221
25 +++ ChangeLog 1 May 2015 15:47:41 -0000 1.222
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-libs/libpcap
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.221 2015/04/28 05:48:17 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.222 2015/05/01 15:47:41 jer Exp $
31 +
32 +*libpcap-1.7.3 (01 May 2015)
33 +
34 + 01 May 2015; Jeroen Roovers <jer@g.o> -libpcap-1.6.2.ebuild,
35 + -libpcap-1.7.2.ebuild, +libpcap-1.7.3.ebuild:
36 + Version bump.
37
38 28 Apr 2015; Jeroen Roovers <jer@g.o> libpcap-1.6.2-r1.ebuild:
39 Stable for PPC64 (bug #526030).
40
41
42
43 1.1 net-libs/libpcap/libpcap-1.7.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/libpcap-1.7.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/libpcap-1.7.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libpcap-1.7.3.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-1.7.3.ebuild,v 1.1 2015/05/01 15:47:41 jer Exp $
53
54 EAPI=5
55 inherit autotools eutils multilib-minimal
56
57 DESCRIPTION="A system-independent library for user-level network packet capture"
58 HOMEPAGE="http://www.tcpdump.org/"
59 SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz
60 http://www.jp.tcpdump.org/release/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 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"
65 IUSE="bluetooth dbus ipv6 netlink static-libs canusb"
66
67 RDEPEND="
68 bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] )
69 dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
70 netlink? ( dev-libs/libnl:3[${MULTILIB_USEDEP}] )
71 canusb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
72 "
73 DEPEND="${RDEPEND}
74 sys-devel/flex
75 virtual/yacc
76 dbus? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
77 "
78
79 src_prepare() {
80 epatch "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch
81 epatch "${FILESDIR}"/${PN}-1.6.1-configure.patch
82 epatch "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch
83 epatch "${FILESDIR}"/${PN}-1.7.2-libnl.patch
84 epatch "${FILESDIR}"/${PN}-1.7.2-scanner.patch
85
86 mkdir bluetooth || die
87 cp "${FILESDIR}"/mgmt.h bluetooth/ || die
88
89 eautoreconf
90 }
91
92 multilib_src_configure() {
93 ECONF_SOURCE="${S}" \
94 econf \
95 $(use_enable bluetooth) \
96 $(use_enable ipv6) \
97 $(use_enable canusb) \
98 $(use_enable dbus) \
99 $(use_with netlink libnl)
100 }
101
102 multilib_src_compile() {
103 emake all shared
104 }
105
106 multilib_src_install_all() {
107 dodoc CREDITS CHANGES VERSION TODO README{,.dag,.linux,.macosx,.septel}
108
109 # remove static libraries (--disable-static does not work)
110 if ! use static-libs; then
111 find "${ED}" -name '*.a' -exec rm {} + || die
112 fi
113 prune_libtool_files
114
115 # We need this to build pppd on G/FBSD systems
116 if [[ "${USERLAND}" == "BSD" ]]; then
117 insinto /usr/include
118 doins pcap-int.h
119 fi
120 }