1 |
jer 13/08/02 13:52:45 |
2 |
|
3 |
Modified: nmap-6.25.ebuild metadata.xml ChangeLog |
4 |
nmap-6.01.ebuild |
5 |
Added: nmap-6.40-r1.ebuild |
6 |
Log: |
7 |
Move USE=gtk to USE=zenmap in accordance with other USE flags. Clean up dependencies. Migrate to python-*-r1. Remove pysqlite dep (bug #408835). |
8 |
|
9 |
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.28 net-analyzer/nmap/nmap-6.25.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.25.ebuild?rev=1.28&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.25.ebuild?rev=1.28&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.25.ebuild?r1=1.27&r2=1.28 |
17 |
|
18 |
Index: nmap-6.25.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.25.ebuild,v |
21 |
retrieving revision 1.27 |
22 |
retrieving revision 1.28 |
23 |
diff -u -r1.27 -r1.28 |
24 |
--- nmap-6.25.ebuild 15 Mar 2013 13:30:43 -0000 1.27 |
25 |
+++ nmap-6.25.ebuild 2 Aug 2013 13:52:45 -0000 1.28 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2013 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.25.ebuild,v 1.27 2013/03/15 13:30:43 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.25.ebuild,v 1.28 2013/08/02 13:52:45 jer Exp $ |
31 |
|
32 |
EAPI="4" |
33 |
|
34 |
@@ -30,7 +30,6 @@ |
35 |
dev-lang/python:2.7[sqlite] |
36 |
dev-lang/python:2.6[sqlite] |
37 |
dev-lang/python:2.5[sqlite] |
38 |
- dev-python/pysqlite:2 |
39 |
) |
40 |
" |
41 |
RDEPEND=" |
42 |
|
43 |
|
44 |
|
45 |
1.9 net-analyzer/nmap/metadata.xml |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/metadata.xml?rev=1.9&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/metadata.xml?rev=1.9&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/metadata.xml?r1=1.8&r2=1.9 |
50 |
|
51 |
Index: metadata.xml |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/metadata.xml,v |
54 |
retrieving revision 1.8 |
55 |
retrieving revision 1.9 |
56 |
diff -u -r1.8 -r1.9 |
57 |
--- metadata.xml 11 Jan 2013 16:49:50 -0000 1.8 |
58 |
+++ metadata.xml 2 Aug 2013 13:52:45 -0000 1.9 |
59 |
@@ -8,5 +8,6 @@ |
60 |
<flag name="ndiff">Install the ndiff utility</flag> |
61 |
<flag name="nmap-update">Install nmap-update, which uses <pkg>dev-vcs/subversion</pkg> to update nmap scripts in your home directory</flag> |
62 |
<flag name="nping">Install the nping utility</flag> |
63 |
+<flag name="zenmap">Install the GTK+ based zenmap utility</flag> |
64 |
</use> |
65 |
</pkgmetadata> |
66 |
|
67 |
|
68 |
|
69 |
1.304 net-analyzer/nmap/ChangeLog |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.304&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.304&content-type=text/plain |
73 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.303&r2=1.304 |
74 |
|
75 |
Index: ChangeLog |
76 |
=================================================================== |
77 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v |
78 |
retrieving revision 1.303 |
79 |
retrieving revision 1.304 |
80 |
diff -u -r1.303 -r1.304 |
81 |
--- ChangeLog 1 Aug 2013 16:50:08 -0000 1.303 |
82 |
+++ ChangeLog 2 Aug 2013 13:52:45 -0000 1.304 |
83 |
@@ -1,6 +1,13 @@ |
84 |
# ChangeLog for net-analyzer/nmap |
85 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
86 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.303 2013/08/01 16:50:08 jer Exp $ |
87 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.304 2013/08/02 13:52:45 jer Exp $ |
88 |
+ |
89 |
+*nmap-6.40-r1 (02 Aug 2013) |
90 |
+ |
91 |
+ 02 Aug 2013; Jeroen Roovers <jer@g.o> nmap-6.01.ebuild, |
92 |
+ nmap-6.25.ebuild, +nmap-6.40-r1.ebuild, metadata.xml: |
93 |
+ Move USE=gtk to USE=zenmap in accordance with other USE flags. Clean up |
94 |
+ dependencies. Migrate to python-*-r1. Remove pysqlite dep (bug #408835). |
95 |
|
96 |
01 Aug 2013; Jeroen Roovers <jer@g.o> nmap-6.40.ebuild, |
97 |
+files/nmap-6.40-uninstaller.patch: |
98 |
|
99 |
|
100 |
|
101 |
1.25 net-analyzer/nmap/nmap-6.01.ebuild |
102 |
|
103 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild?rev=1.25&view=markup |
104 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild?rev=1.25&content-type=text/plain |
105 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild?r1=1.24&r2=1.25 |
106 |
|
107 |
Index: nmap-6.01.ebuild |
108 |
=================================================================== |
109 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild,v |
110 |
retrieving revision 1.24 |
111 |
retrieving revision 1.25 |
112 |
diff -u -r1.24 -r1.25 |
113 |
--- nmap-6.01.ebuild 26 Jan 2013 18:18:04 -0000 1.24 |
114 |
+++ nmap-6.01.ebuild 2 Aug 2013 13:52:45 -0000 1.25 |
115 |
@@ -1,6 +1,6 @@ |
116 |
# Copyright 1999-2013 Gentoo Foundation |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild,v 1.24 2013/01/26 18:18:04 jer Exp $ |
119 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild,v 1.25 2013/08/02 13:52:45 jer Exp $ |
120 |
|
121 |
EAPI="4" |
122 |
|
123 |
@@ -25,7 +25,6 @@ |
124 |
dev-lang/python:2.7[sqlite] |
125 |
dev-lang/python:2.6[sqlite] |
126 |
dev-lang/python:2.5[sqlite] |
127 |
- dev-python/pysqlite:2 |
128 |
) |
129 |
" |
130 |
DEPEND=" |
131 |
|
132 |
|
133 |
|
134 |
1.1 net-analyzer/nmap/nmap-6.40-r1.ebuild |
135 |
|
136 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.40-r1.ebuild?rev=1.1&view=markup |
137 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.40-r1.ebuild?rev=1.1&content-type=text/plain |
138 |
|
139 |
Index: nmap-6.40-r1.ebuild |
140 |
=================================================================== |
141 |
# Copyright 1999-2013 Gentoo Foundation |
142 |
# Distributed under the terms of the GNU General Public License v2 |
143 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.40-r1.ebuild,v 1.1 2013/08/02 13:52:45 jer Exp $ |
144 |
|
145 |
EAPI=5 |
146 |
|
147 |
PYTHON_COMPAT=( python2_{5,6,7} ) |
148 |
PYTHON_REQ_USE="sqlite" |
149 |
inherit eutils flag-o-matic python-single-r1 toolchain-funcs |
150 |
|
151 |
MY_P=${P/_beta/BETA} |
152 |
|
153 |
DESCRIPTION="A utility for network exploration or security auditing" |
154 |
HOMEPAGE="http://nmap.org/" |
155 |
SRC_URI=" |
156 |
http://nmap.org/dist/${MY_P}.tar.bz2 |
157 |
http://dev.gentoo.org/~jer/nmap-logo-64.png |
158 |
" |
159 |
|
160 |
LICENSE="GPL-2" |
161 |
SLOT="0" |
162 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
163 |
|
164 |
IUSE="ipv6 +lua ncat ndiff nls nmap-update nping ssl zenmap" |
165 |
NMAP_LINGUAS=( de es fr hr hu id it ja pl pt_BR pt_PT ro ru sk zh ) |
166 |
IUSE+=" ${NMAP_LINGUAS[@]/#/linguas_}" |
167 |
|
168 |
NMAP_PYTHON_DEPEND=" |
169 |
|| ( ${PYTHON_DEPS} ) |
170 |
" |
171 |
RDEPEND=" |
172 |
dev-libs/libpcre |
173 |
net-libs/libpcap[ipv6?] |
174 |
zenmap? ( |
175 |
dev-python/pygtk:2 |
176 |
${NMAP_PYTHON_DEPEND} |
177 |
) |
178 |
lua? ( >=dev-lang/lua-5.2[deprecated] ) |
179 |
ndiff? ( ${NMAP_PYTHON_DEPEND} ) |
180 |
nls? ( virtual/libintl ) |
181 |
nmap-update? ( dev-libs/apr dev-vcs/subversion ) |
182 |
ssl? ( dev-libs/openssl ) |
183 |
" |
184 |
DEPEND=" |
185 |
${RDEPEND} |
186 |
nls? ( sys-devel/gettext ) |
187 |
" |
188 |
|
189 |
S="${WORKDIR}/${MY_P}" |
190 |
|
191 |
src_unpack() { |
192 |
# prevent unpacking the logo |
193 |
unpack ${MY_P}.tar.bz2 |
194 |
} |
195 |
|
196 |
src_prepare() { |
197 |
epatch \ |
198 |
"${FILESDIR}"/${PN}-4.75-nolua.patch \ |
199 |
"${FILESDIR}"/${PN}-5.10_beta1-string.patch \ |
200 |
"${FILESDIR}"/${PN}-5.21-python.patch \ |
201 |
"${FILESDIR}"/${PN}-6.01-make.patch \ |
202 |
"${FILESDIR}"/${PN}-6.25-liblua-ar.patch \ |
203 |
"${FILESDIR}"/${P}-uninstaller.patch |
204 |
|
205 |
sed -i \ |
206 |
-e 's/-m 755 -s ncat/-m 755 ncat/' \ |
207 |
ncat/Makefile.in || die |
208 |
|
209 |
if use nls; then |
210 |
local lingua='' |
211 |
for lingua in ${NMAP_LINGUAS}; do |
212 |
if ! use linguas_${lingua}; then |
213 |
rm -rf zenmap/share/zenmap/locale/${lingua} |
214 |
rm -f zenmap/share/zenmap/locale/${lingua}.po |
215 |
fi |
216 |
done |
217 |
else |
218 |
# configure/make ignores --disable-nls |
219 |
for lingua in ${NMAP_LINGUAS}; do |
220 |
rm -rf zenmap/share/zenmap/locale/${lingua} |
221 |
rm -f zenmap/share/zenmap/locale/${lingua}.po |
222 |
done |
223 |
fi |
224 |
|
225 |
sed -i \ |
226 |
-e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ |
227 |
Makefile.in || die |
228 |
|
229 |
# Fix desktop files wrt bug #432714 |
230 |
sed -i \ |
231 |
-e '/^Encoding/d' \ |
232 |
-e 's|^Categories=.*|Categories=Network;System;Security;|g' \ |
233 |
zenmap/install_scripts/unix/zenmap-root.desktop \ |
234 |
zenmap/install_scripts/unix/zenmap.desktop || die |
235 |
} |
236 |
|
237 |
src_configure() { |
238 |
# The bundled libdnet is incompatible with the version available in the |
239 |
# tree, so we cannot use the system library here. |
240 |
econf \ |
241 |
$(use_enable ipv6) \ |
242 |
$(use_enable nls) \ |
243 |
$(use_with zenmap) \ |
244 |
$(usex lua --with-liblua=/usr --without-liblua) \ |
245 |
$(use_with ncat) \ |
246 |
$(use_with ndiff) \ |
247 |
$(use_with nmap-update) \ |
248 |
$(use_with nping) \ |
249 |
$(use_with ssl openssl) \ |
250 |
--with-libdnet=included \ |
251 |
--with-pcre=/usr |
252 |
} |
253 |
|
254 |
src_compile() { |
255 |
emake \ |
256 |
AR=$(tc-getAR) \ |
257 |
RANLIB=$(tc-getRANLIB ) |
258 |
} |
259 |
|
260 |
src_install() { |
261 |
LC_ALL=C emake -j1 \ |
262 |
DESTDIR="${D}" \ |
263 |
STRIP=: \ |
264 |
nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
265 |
install |
266 |
if use nmap-update;then |
267 |
LC_ALL=C emake -j1 \ |
268 |
-C nmap-update \ |
269 |
DESTDIR="${D}" \ |
270 |
STRIP=: \ |
271 |
nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
272 |
install |
273 |
fi |
274 |
|
275 |
dodoc CHANGELOG HACKING docs/README docs/*.txt |
276 |
|
277 |
use zenmap && doicon "${DISTDIR}/nmap-logo-64.png" |
278 |
} |