Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libpcap: ChangeLog libpcap-0.9.8-r1.ebuild
Date: Thu, 01 May 2008 11:28:10
Message-Id: E1JrWxK-0001Km-Vf@stork.gentoo.org
1 dragonheart 08/05/01 11:28:06
2
3 Modified: ChangeLog
4 Added: libpcap-0.9.8-r1.ebuild
5 Log:
6 seem to have missed this commit
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.97 net-libs/libpcap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.97&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.97&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/ChangeLog?r1=1.96&r2=1.97
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v
19 retrieving revision 1.96
20 retrieving revision 1.97
21 diff -u -r1.96 -r1.97
22 --- ChangeLog 19 Nov 2007 06:54:32 -0000 1.96
23 +++ ChangeLog 1 May 2008 11:28:06 -0000 1.97
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-libs/libpcap
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.96 2007/11/19 06:54:32 kumba Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.97 2008/05/01 11:28:06 dragonheart Exp $
30 +
31 +*libpcap-0.9.8-r1 (01 Apr 2008)
32 +
33 + 01 Apr 2008; Daniel Black <dragonheart@g.o>
34 + +files/libpcap-0.9.8-largefile.patch, +libpcap-0.9.8-r1.ebuild:
35 + added large file support as per bug #175239
36
37 19 Nov 2007; Joshua Kinard <kumba@g.o> libpcap-0.9.8.ebuild:
38 Stable on mips, per #198476.
39
40
41
42 1.1 net-libs/libpcap/libpcap-0.9.8-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/libpcap-0.9.8-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/libpcap-0.9.8-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libpcap-0.9.8-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.8-r1.ebuild,v 1.1 2008/05/01 11:28:06 dragonheart Exp $
52
53 inherit autotools eutils multilib toolchain-funcs
54
55 DESCRIPTION="A system-independent library for user-level network packet capture"
56 HOMEPAGE="http://www.tcpdump.org/"
57 SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz
58 http://www.jp.tcpdump.org/release/${P}.tar.gz"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
63 IUSE="ipv6"
64
65 DEPEND="!virtual/libpcap"
66 PROVIDE="virtual/libpcap"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71 epatch "${FILESDIR}"/${PN}-0.9.3-whitespace.diff
72 epatch "${FILESDIR}"/${PN}-0.8.1-fPIC.patch
73 epatch "${FILESDIR}"/${PN}-cross-linux.patch
74 epatch "${FILESDIR}"/${P}-largefile.patch
75 eautoreconf
76 }
77
78 src_compile() {
79 econf $(use_enable ipv6) || die "bad configure"
80 emake || die "compile problem"
81
82 # no provision for this in the Makefile, so...
83 $(tc-getCC) ${LDFLAGS} -Wl,-soname,libpcap.so.0 -shared -fPIC -o libpcap.so.${PV:0:3} *.o \
84 || die "couldn't make a shared lib"
85 }
86
87 src_install() {
88 emake DESTDIR="${D}" install || die "emake install failed"
89
90 # We need this to build pppd on G/FBSD systems
91 if [[ "${USERLAND}" == "BSD" ]]; then
92 insinto /usr/include
93 doins pcap-int.h || die "failed to install pcap-int.h"
94 fi
95
96 insopts -m 755
97 insinto /usr/$(get_libdir)
98 doins libpcap.so.${PV:0:3}
99 dosym libpcap.so.${PV:0:3} /usr/$(get_libdir)/libpcap.so.0
100 dosym libpcap.so.${PV:0:3} /usr/$(get_libdir)/libpcap.so
101
102 # We are not installing README.{Win32,aix,hpux,tru64} (bug 183057)
103 dodoc CREDITS CHANGES FILES VERSION TODO README{,.dag,.linux,.macosx,.septel}
104 }
105
106
107
108 --
109 gentoo-commits@l.g.o mailing list