1 |
jer 12/06/20 17:33:05 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: nmap-6.01.ebuild |
5 |
Log: |
6 |
Version bump. Add a parallel make patch (bug #416987). Add more USE flags for optional utilities. |
7 |
|
8 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 net-analyzer/nmap/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 26 Sep 2009 22:03:12 -0000 1.5 |
24 |
+++ metadata.xml 20 Jun 2012 17:33:05 -0000 1.6 |
25 |
@@ -5,4 +5,12 @@ |
26 |
<maintainer> |
27 |
<email>spock@g.o</email> |
28 |
</maintainer> |
29 |
+<use> |
30 |
+<flag name="ncat">Install the ncat utility</flag> |
31 |
+<flag name="ndiff">Install the ndiff utility</flag> |
32 |
+<flag name="nmap-update">Install nmap-update, which uses |
33 |
+<pkg>dev-vcs/subversion</pkg> to update nmap scripts in your home |
34 |
+directory</flag> |
35 |
+<flag name="nping">Install the nping utility</flag> |
36 |
+</use> |
37 |
</pkgmetadata> |
38 |
|
39 |
|
40 |
|
41 |
1.254 net-analyzer/nmap/ChangeLog |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.254&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.254&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.253&r2=1.254 |
46 |
|
47 |
Index: ChangeLog |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v |
50 |
retrieving revision 1.253 |
51 |
retrieving revision 1.254 |
52 |
diff -u -r1.253 -r1.254 |
53 |
--- ChangeLog 15 Jun 2012 15:32:51 -0000 1.253 |
54 |
+++ ChangeLog 20 Jun 2012 17:33:05 -0000 1.254 |
55 |
@@ -1,6 +1,13 @@ |
56 |
# ChangeLog for net-analyzer/nmap |
57 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.253 2012/06/15 15:32:51 jer Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.254 2012/06/20 17:33:05 jer Exp $ |
60 |
+ |
61 |
+*nmap-6.01 (20 Jun 2012) |
62 |
+ |
63 |
+ 20 Jun 2012; Jeroen Roovers <jer@g.o> +nmap-6.01.ebuild, |
64 |
+ +files/nmap-6.01-make.patch, metadata.xml: |
65 |
+ Version bump. Add a parallel make patch (bug #416987). Add more USE flags for |
66 |
+ optional utilities. |
67 |
|
68 |
15 Jun 2012; Jeroen Roovers <jer@g.o> nmap-6.00.ebuild: |
69 |
Reinstate -j1 (bug #416987). |
70 |
|
71 |
|
72 |
|
73 |
1.1 net-analyzer/nmap/nmap-6.01.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: nmap-6.01.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2012 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild,v 1.1 2012/06/20 17:33:05 jer Exp $ |
83 |
|
84 |
EAPI="4" |
85 |
PYTHON_DEPEND="2" |
86 |
|
87 |
inherit eutils flag-o-matic python |
88 |
|
89 |
MY_P=${P/_beta/BETA} |
90 |
|
91 |
DESCRIPTION="A utility for network exploration or security auditing" |
92 |
HOMEPAGE="http://nmap.org/" |
93 |
SRC_URI="http://nmap.org/dist/${MY_P}.tar.bz2" |
94 |
|
95 |
LICENSE="GPL-2" |
96 |
SLOT="0" |
97 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
98 |
IUSE="gtk lua ncat ndiff nmap-update nping ssl" |
99 |
|
100 |
DEPEND="dev-libs/libpcre |
101 |
net-libs/libpcap |
102 |
dev-libs/apr |
103 |
gtk? ( >=x11-libs/gtk+-2.6:2 |
104 |
>=dev-python/pygtk-2.6 |
105 |
|| ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) |
106 |
) |
107 |
lua? ( >=dev-lang/lua-5.1.4-r1[deprecated] ) |
108 |
nmap-update? ( dev-libs/apr dev-vcs/subversion ) |
109 |
ssl? ( dev-libs/openssl )" |
110 |
RDEPEND="${DEPEND}" |
111 |
|
112 |
S="${WORKDIR}/${MY_P}" |
113 |
|
114 |
pkg_setup() { |
115 |
python_set_active_version 2 |
116 |
} |
117 |
|
118 |
src_prepare() { |
119 |
epatch "${FILESDIR}"/${PN}-4.75-include.patch |
120 |
epatch "${FILESDIR}"/${PN}-4.75-nolua.patch |
121 |
epatch "${FILESDIR}"/${PN}-5.10_beta1-string.patch |
122 |
epatch "${FILESDIR}"/${PN}-5.21-python.patch |
123 |
epatch "${FILESDIR}"/${PN}-5.51-su-to-zenmap-fix.patch |
124 |
sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in |
125 |
|
126 |
# bug #416987 |
127 |
epatch "${FILESDIR}"/${P}-make.patch |
128 |
} |
129 |
|
130 |
src_configure() { |
131 |
# The bundled libdnet is incompatible with the version available in the |
132 |
# tree, so we cannot use the system library here. |
133 |
econf --with-libdnet=included \ |
134 |
$(use_with gtk zenmap) \ |
135 |
$(use_with lua liblua) \ |
136 |
$(use_with ncat) \ |
137 |
$(use_with ndiff) \ |
138 |
$(use_with nmap-update) \ |
139 |
$(use_with nping) \ |
140 |
$(use_with ssl openssl) |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir="${EPREFIX}"/usr/share/nmap install |
145 |
if use nmap-update;then |
146 |
LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: \ |
147 |
nmapdatadir="${EPREFIX}"/usr/share/nmap -C nmap-update install |
148 |
fi |
149 |
dodoc CHANGELOG HACKING docs/README docs/*.txt |
150 |
|
151 |
use gtk && doicon "${FILESDIR}/nmap-logo-64.png" |
152 |
} |