1 |
jer 10/06/28 05:52:12 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libnids-1.24-r1.ebuild |
5 |
Log: |
6 |
Make dev-libs/glib and net-libs/libnet optional thanks to Rafał Mużyło (bug #325005). |
7 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-libs/libnids/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libnids/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 17 Dec 2004 12:22:01 -0000 1.1 |
23 |
+++ metadata.xml 28 Jun 2010 05:52:12 -0000 1.2 |
24 |
@@ -3,4 +3,8 @@ |
25 |
<pkgmetadata> |
26 |
<herd>netmon</herd> |
27 |
<longdescription>emulates the IP stack of Linux 2.0.x and offers IP defragmentation, TCP stream assembly and TCP port scan detection.</longdescription> |
28 |
+<use> |
29 |
+<flag name="glib">Use <pkg>dev-libs/glib</pkg> for multiprocessing support</flag> |
30 |
+<flag name="libnet">Include code requiring <pkg>net-libs/libnet</pkg></flag> |
31 |
+</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.42 net-libs/libnids/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?rev=1.42&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?rev=1.42&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?r1=1.41&r2=1.42 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v |
45 |
retrieving revision 1.41 |
46 |
retrieving revision 1.42 |
47 |
diff -u -r1.41 -r1.42 |
48 |
--- ChangeLog 28 Jun 2010 04:18:53 -0000 1.41 |
49 |
+++ ChangeLog 28 Jun 2010 05:52:12 -0000 1.42 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for net-libs/libnids |
52 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.41 2010/06/28 04:18:53 jer Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.42 2010/06/28 05:52:12 jer Exp $ |
55 |
+ |
56 |
+*libnids-1.24-r1 (28 Jun 2010) |
57 |
+ |
58 |
+ 28 Jun 2010; Jeroen Roovers <jer@g.o> +libnids-1.24-r1.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Make dev-libs/glib and net-libs/libnet optional thanks to Rafał Mużyło |
61 |
+ (bug #325005). |
62 |
|
63 |
*libnids-1.18-r1 (28 Jun 2010) |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.1 net-libs/libnids/libnids-1.24-r1.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/libnids-1.24-r1.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/libnids-1.24-r1.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: libnids-1.24-r1.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2010 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.24-r1.ebuild,v 1.1 2010/06/28 05:52:12 jer Exp $ |
78 |
|
79 |
EAPI="2" |
80 |
|
81 |
inherit eutils |
82 |
|
83 |
DESCRIPTION="emulates the IP stack of Linux 2.0.x and offers IP defragmentation, TCP stream assembly and TCP port scan detection." |
84 |
HOMEPAGE="http://libnids.sourceforge.net/" |
85 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
86 |
|
87 |
LICENSE="LGPL-2.1" |
88 |
SLOT="1.2" |
89 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
90 |
IUSE="+glib +libnet" |
91 |
|
92 |
DEPEND="net-libs/libpcap |
93 |
glib? ( dev-libs/glib ) |
94 |
libnet? ( >=net-libs/libnet-1.1.0-r3 )" |
95 |
RDEPEND="${DEPEND} |
96 |
!net-libs/libnids:1.1" |
97 |
|
98 |
src_prepare() { |
99 |
epatch "${FILESDIR}/${P}-ldflags.patch" |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
local myconf="--enable-shared" |
104 |
use glib || myconf="${myconf} --disable-libglib" |
105 |
use libnet || myconf="${myconf} --disable-libnet" |
106 |
econf ${myconf} || die "econf failed" |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
emake install_prefix="${D}" install || die "emake install failed" |
111 |
dodoc CHANGES CREDITS MISC README |
112 |
dodoc doc/* |
113 |
} |