Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libpcap: ChangeLog libpcap-1.5.3.ebuild
Date: Wed, 22 Jan 2014 09:13:58
Message-Id: 20140122091354.F1DBE2004C@flycatcher.gentoo.org
1 radhermit 14/01/22 09:13:54
2
3 Modified: ChangeLog
4 Added: libpcap-1.5.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.189 net-libs/libpcap/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.189&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.189&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/ChangeLog?r1=1.188&r2=1.189
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v
20 retrieving revision 1.188
21 retrieving revision 1.189
22 diff -u -r1.188 -r1.189
23 --- ChangeLog 16 Dec 2013 02:40:11 -0000 1.188
24 +++ ChangeLog 22 Jan 2014 09:13:54 -0000 1.189
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libpcap
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.188 2013/12/16 02:40:11 radhermit Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.189 2014/01/22 09:13:54 radhermit Exp $
31 +
32 +*libpcap-1.5.3 (22 Jan 2014)
33 +
34 + 22 Jan 2014; Tim Harder <radhermit@g.o> +libpcap-1.5.3.ebuild:
35 + Version bump.
36
37 *libpcap-1.5.2 (16 Dec 2013)
38
39
40
41
42 1.1 net-libs/libpcap/libpcap-1.5.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/libpcap-1.5.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcap/libpcap-1.5.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libpcap-1.5.3.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-1.5.3.ebuild,v 1.1 2014/01/22 09:13:54 radhermit Exp $
52
53 EAPI=5
54 inherit autotools eutils
55
56 DESCRIPTION="A system-independent library for user-level network packet capture"
57 HOMEPAGE="http://www.tcpdump.org/"
58 SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz
59 http://www.jp.tcpdump.org/release/${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~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"
64 IUSE="bluetooth dbus ipv6 netlink static-libs canusb"
65
66 RDEPEND="
67 bluetooth? ( net-wireless/bluez )
68 dbus? ( sys-apps/dbus )
69 netlink? ( dev-libs/libnl )
70 canusb? ( virtual/libusb )
71 "
72 DEPEND="${RDEPEND}
73 sys-devel/flex
74 virtual/pkgconfig
75 virtual/yacc
76 "
77
78 DOCS=( CREDITS CHANGES VERSION TODO README{,.dag,.linux,.macosx,.septel} )
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch
82
83 # Prefix' Solaris uses GNU ld
84 sed -e 's/freebsd\*/freebsd*|solaris*/' \
85 -e 's/sparc64\*/sparc64*|sparcv9*/' \
86 -i aclocal.m4 || die
87 # Prefix' Darwin systems are single arch, hijack Darwin7 case which
88 # assumes this setup
89 sed -e 's/darwin\[0-7\]\./darwin*/' \
90 -i configure.in || die
91
92 eautoreconf
93 }
94
95 src_configure() {
96 econf \
97 $(use_enable bluetooth) \
98 $(use_enable ipv6) \
99 $(use_enable canusb) \
100 $(use_enable dbus) \
101 $(use_with netlink libnl)
102 }
103
104 src_compile() {
105 emake all shared
106 }
107
108 src_install() {
109 default
110
111 # remove static libraries (--disable-static does not work)
112 if ! use static-libs; then
113 find "${ED}" -name '*.a' -exec rm {} + || die
114 fi
115 prune_libtool_files
116
117 # We need this to build pppd on G/FBSD systems
118 if [[ "${USERLAND}" == "BSD" ]]; then
119 insinto /usr/include
120 doins pcap-int.h
121 fi
122 }