1 |
robbat2 09/08/29 21:06:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libpcap-1.0.1_pre20090812.ebuild |
5 |
Log: |
6 |
Bump to newer snapshot, and include poll() CPU usage fix from Ubuntu. Massively drops CPU usage for live captures again. |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.123 net-libs/libpcap/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.123&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/ChangeLog?rev=1.123&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/ChangeLog?r1=1.122&r2=1.123 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v |
19 |
retrieving revision 1.122 |
20 |
retrieving revision 1.123 |
21 |
diff -p -w -b -B -u -u -r1.122 -r1.123 |
22 |
--- ChangeLog 22 Jul 2009 19:22:52 -0000 1.122 |
23 |
+++ ChangeLog 29 Aug 2009 21:06:50 -0000 1.123 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for net-libs/libpcap |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.122 2009/07/22 19:22:52 klausman Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.123 2009/08/29 21:06:50 robbat2 Exp $ |
29 |
+ |
30 |
+*libpcap-1.0.1_pre20090812 (29 Aug 2009) |
31 |
+ |
32 |
+ 29 Aug 2009; Robin H. Johnson <robbat2@g.o> |
33 |
+ +libpcap-1.0.1_pre20090812.ebuild, |
34 |
+ +files/libpcap-1.0.1_pre20090812-poll-cpu-usage.patch: |
35 |
+ Bump to newer snapshot, and include poll() CPU usage fix from Ubuntu. |
36 |
+ Massively drops CPU usage for live captures again. |
37 |
|
38 |
22 Jul 2009; Tobias Klausmann <klausman@g.o> |
39 |
libpcap-1.0.1_pre20090708.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-libs/libpcap/libpcap-1.0.1_pre20090812.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/libpcap-1.0.1_pre20090812.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libpcap/libpcap-1.0.1_pre20090812.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: libpcap-1.0.1_pre20090812.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 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.0.1_pre20090812.ebuild,v 1.1 2009/08/29 21:06:50 robbat2 Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit autotools eutils multilib toolchain-funcs |
56 |
|
57 |
DESCRIPTION="A system-independent library for user-level network packet capture" |
58 |
HOMEPAGE="http://www.tcpdump.org/" |
59 |
MY_P=${PN}-${PV/_pre/-} |
60 |
SRC_URI="mirror://gentoo/${MY_P}.tar.gz" |
61 |
S=${WORKDIR}/${MY_P} |
62 |
# SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz |
63 |
# http://www.jp.tcpdump.org/release/${P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
68 |
IUSE="bluetooth ipv6 libnl" |
69 |
|
70 |
RDEPEND="!virtual/libpcap |
71 |
bluetooth? ( || ( net-wireless/bluez net-wireless/bluez-libs ) ) |
72 |
libnl? ( dev-libs/libnl )" |
73 |
DEPEND="${RDEPEND} |
74 |
sys-devel/flex" |
75 |
PROVIDE="virtual/libpcap" |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}/${PN}-1.0.0-cross-linux.patch" |
79 |
epatch "${FILESDIR}/${PN}-1.0.1_pre20090812-poll-cpu-usage.patch" |
80 |
echo ${PV} > VERSION # Avoid CVS in version |
81 |
eautoreconf |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
econf $(use_enable ipv6) \ |
86 |
$(use_with libnl) \ |
87 |
$(use_enable bluetooth) |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
emake all shared || die "compile problem" |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
emake DESTDIR="${D}" install install-shared || die "emake install failed" |
96 |
|
97 |
dosym libpcap.so.${PV} /usr/$(get_libdir)/libpcap.so.1 |
98 |
dosym libpcap.so.${PV} /usr/$(get_libdir)/libpcap.so |
99 |
|
100 |
# We need this to build pppd on G/FBSD systems |
101 |
if [[ "${USERLAND}" == "BSD" ]]; then |
102 |
insinto /usr/include |
103 |
doins pcap-int.h || die "failed to install pcap-int.h" |
104 |
fi |
105 |
|
106 |
# We are not installing README.{Win32,aix,hpux,tru64} (bug 183057) |
107 |
dodoc CREDITS CHANGES VERSION TODO README{,.dag,.linux,.macosx,.septel} || die |
108 |
} |