1 |
commit: a30cbc170b5995017a60353ff1787fbec384fe8f |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 21 20:59:35 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 21 20:59:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30cbc17 |
7 |
|
8 |
net-analyzer/nmap: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
net-analyzer/nmap/Manifest | 2 - |
13 |
net-analyzer/nmap/nmap-7.50.ebuild | 179 ---------------------------------- |
14 |
net-analyzer/nmap/nmap-7.60.ebuild | 194 ------------------------------------- |
15 |
3 files changed, 375 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/nmap/Manifest b/net-analyzer/nmap/Manifest |
18 |
index 3d383771ece..58b6e4ecc35 100644 |
19 |
--- a/net-analyzer/nmap/Manifest |
20 |
+++ b/net-analyzer/nmap/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
DIST nmap-7.40.tar.bz2 9043221 BLAKE2B ddbc2f9d8b96aa2ddd53bb250acb5b0829dd79caf04d599ed2257f89cc1e419a9dbf94101a5b1d5ad6815e1a94974b3c02ad81354897ba3bb032a5e3d616468d SHA512 98e37bf1c29789ea19ee4542d719ed6970c8bcc1bf92af4948a52a75273c2403329149f6b5df6368c23840d1bb3f47af9e5ce543f7a36596a33896609574f02d |
23 |
-DIST nmap-7.50.tar.bz2 9309616 BLAKE2B 79f257f4c19762729ddfe7bb950263253d98b0902d22f0bf87ff64b7400c5e0c8e8c1a6b5a8c75e3f835dedbf7087808b1bd8444126655138382ea2db1ccb748 SHA512 b74c5711f03bae363164cdb7e62923ab938c81c7bbcd080eaa2d1acc89f09eb0a7e0f5deb9628b81057c7a35ecd487a2d09dfe3b58b0db6c84cf0b39f526e5f2 |
24 |
-DIST nmap-7.60.tar.bz2 10394925 BLAKE2B bb3a392292adeebe60dc9716ee61ee09a2f86703a1370ffd6a6c63969a75733660046279d122b1b529a3ea25083bde9334d5e13496ad6a9bd9d6562031b8ae09 SHA512 74ba8f6de026ade9ee6bb2252bee18a57210f8207977df7f1c04556629dcdc1e6127f33febc8a52ef88a1dac876116d590564dee4f1c23798c3ac37529991aa4 |
25 |
DIST nmap-7.70.tar.bz2 10467371 BLAKE2B 53d751773851e45fcfa7604f8b325297f429f525bafdef91e7f693b9a9876ddb23e978c50821776b64764adb5bf36e759042cac3254bdbf36bff7048dfb6f58d SHA512 084c148b022ff6550e269d976d0077f7932a10e2ef218236fe13aa3a70b4eb6506df03329868fc68cb3ce78e4360b200f5a7a491d3145028fed679ef1c9ecae5 |
26 |
DIST nmap-logo-64.png 3289 BLAKE2B 9563f57d126e6fa38dc777391c2887112836b4f5b521311bde64d5c5a04c45a3f420abba0750f776658015c0018b2afeb381c691bc8784e4f39abc78b9c2d2c7 SHA512 fb102d12aaeebc8a97543ecd653a3606e86996ad679bc26d6e6e274ad05ec3e9f92521289d1a24153c521b699e8c0cfa65d8856bb49af53ee4837268bbc6b5d3 |
27 |
|
28 |
diff --git a/net-analyzer/nmap/nmap-7.50.ebuild b/net-analyzer/nmap/nmap-7.50.ebuild |
29 |
deleted file mode 100644 |
30 |
index e8d52c0afb3..00000000000 |
31 |
--- a/net-analyzer/nmap/nmap-7.50.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,179 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-PYTHON_COMPAT=( python2_7 ) |
40 |
-PYTHON_REQ_USE="sqlite,xml" |
41 |
-inherit autotools flag-o-matic python-single-r1 toolchain-funcs |
42 |
- |
43 |
-MY_P=${P/_beta/BETA} |
44 |
- |
45 |
-DESCRIPTION="A utility for network discovery and security auditing" |
46 |
-HOMEPAGE="http://nmap.org/" |
47 |
-SRC_URI=" |
48 |
- http://nmap.org/dist/${MY_P}.tar.bz2 |
49 |
- https://dev.gentoo.org/~jer/nmap-logo-64.png |
50 |
-" |
51 |
- |
52 |
-LICENSE="GPL-2" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
55 |
- |
56 |
-IUSE="ipv6 libressl +nse system-lua ncat ndiff nls nmap-update nping ssl zenmap" |
57 |
-NMAP_LINGUAS=( de fr hi hr it ja pl pt_BR ru zh ) |
58 |
- |
59 |
-REQUIRED_USE=" |
60 |
- system-lua? ( nse ) |
61 |
- ndiff? ( ${PYTHON_REQUIRED_USE} ) |
62 |
- zenmap? ( ${PYTHON_REQUIRED_USE} ) |
63 |
-" |
64 |
- |
65 |
-RDEPEND=" |
66 |
- dev-libs/liblinear:= |
67 |
- dev-libs/libpcre |
68 |
- net-libs/libpcap |
69 |
- zenmap? ( |
70 |
- dev-python/pygtk:2[${PYTHON_USEDEP}] |
71 |
- ${PYTHON_DEPS} |
72 |
- ) |
73 |
- system-lua? ( >=dev-lang/lua-5.2:*[deprecated] ) |
74 |
- ndiff? ( ${PYTHON_DEPS} ) |
75 |
- nls? ( virtual/libintl ) |
76 |
- nmap-update? ( dev-libs/apr dev-vcs/subversion ) |
77 |
- ssl? ( |
78 |
- !libressl? ( dev-libs/openssl:0= ) |
79 |
- libressl? ( dev-libs/libressl:= ) |
80 |
- ) |
81 |
-" |
82 |
-DEPEND=" |
83 |
- ${RDEPEND} |
84 |
- nls? ( sys-devel/gettext ) |
85 |
-" |
86 |
- |
87 |
-S="${WORKDIR}/${MY_P}" |
88 |
-PATCHES=( |
89 |
- "${FILESDIR}"/${PN}-5.10_beta1-string.patch |
90 |
- "${FILESDIR}"/${PN}-5.21-python.patch |
91 |
- "${FILESDIR}"/${PN}-6.46-uninstaller.patch |
92 |
- "${FILESDIR}"/${PN}-6.25-liblua-ar.patch |
93 |
- "${FILESDIR}"/${PN}-7.25-no-FORTIFY_SOURCE.patch |
94 |
- "${FILESDIR}"/${PN}-7.25-CXXFLAGS.patch |
95 |
- "${FILESDIR}"/${PN}-7.25-libpcre.patch |
96 |
- "${FILESDIR}"/${PN}-7.31-libnl.patch |
97 |
-) |
98 |
- |
99 |
-pkg_setup() { |
100 |
- if use ndiff || use zenmap; then |
101 |
- python-single-r1_pkg_setup |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-src_unpack() { |
106 |
- # prevent unpacking the logo |
107 |
- unpack ${MY_P}.tar.bz2 |
108 |
-} |
109 |
- |
110 |
-src_prepare() { |
111 |
- rm -r libpcap/ || die |
112 |
- |
113 |
- cat "${FILESDIR}"/nls.m4 >> "${S}"/acinclude.m4 || die |
114 |
- |
115 |
- default |
116 |
- |
117 |
- local lingua |
118 |
- if use nls; then |
119 |
- for lingua in ${NMAP_LINGUAS[@]}; do |
120 |
- if ! has ${lingua} ${LINGUAS-${lingua}}; then |
121 |
- rm -r zenmap/share/zenmap/locale/${lingua} || die |
122 |
- rm zenmap/share/zenmap/locale/${lingua}.po || die |
123 |
- fi |
124 |
- done |
125 |
- else |
126 |
- # configure/make ignores --disable-nls |
127 |
- for lingua in ${NMAP_LINGUAS[@]}; do |
128 |
- rm -r zenmap/share/zenmap/locale/${lingua} || die |
129 |
- rm zenmap/share/zenmap/locale/${lingua}.po || die |
130 |
- done |
131 |
- fi |
132 |
- |
133 |
- sed -i \ |
134 |
- -e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ |
135 |
- Makefile.in || die |
136 |
- |
137 |
- sed -i \ |
138 |
- -e '/rm -f $@/d' \ |
139 |
- $(find . -name Makefile.in) \ |
140 |
- || die |
141 |
- |
142 |
- # Fix desktop files wrt bug #432714 |
143 |
- sed -i \ |
144 |
- -e 's|^Categories=.*|Categories=Network;System;Security;|g' \ |
145 |
- zenmap/install_scripts/unix/zenmap-root.desktop \ |
146 |
- zenmap/install_scripts/unix/zenmap.desktop || die |
147 |
- |
148 |
- cp libdnet-stripped/include/config.h.in{,.nmap-orig} || die |
149 |
- eautoreconf |
150 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
151 |
- # we need the original for a Darwin-specific fix, bug #604432 |
152 |
- mv libdnet-stripped/include/config.h.in{.nmap-orig,} || die |
153 |
- fi |
154 |
-} |
155 |
- |
156 |
-src_configure() { |
157 |
- # The bundled libdnet is incompatible with the version available in the |
158 |
- # tree, so we cannot use the system library here. |
159 |
- econf \ |
160 |
- $(use_enable ipv6) \ |
161 |
- $(use_enable nls) \ |
162 |
- $(use_with ncat) \ |
163 |
- $(use_with ndiff) \ |
164 |
- $(use_with nmap-update) \ |
165 |
- $(use_with nping) \ |
166 |
- $(use_with ssl openssl) \ |
167 |
- $(use_with zenmap) \ |
168 |
- $(usex nse --with-liblua=$(usex system-lua /usr included '' '') --without-liblua) \ |
169 |
- --cache-file="${S}"/config.cache \ |
170 |
- --with-libdnet=included \ |
171 |
- --with-pcre=/usr |
172 |
- # Commented out because configure does weird things |
173 |
- # --with-liblinear=/usr \ |
174 |
-} |
175 |
- |
176 |
-src_compile() { |
177 |
- local directory |
178 |
- for directory in . libnetutil nsock/src \ |
179 |
- $(usex ncat ncat '') \ |
180 |
- $(usex nmap-update nmap-update '') \ |
181 |
- $(usex nping nping '') |
182 |
- do |
183 |
- emake -C "${directory}" makefile.dep |
184 |
- done |
185 |
- |
186 |
- emake \ |
187 |
- AR=$(tc-getAR) \ |
188 |
- RANLIB=$(tc-getRANLIB) |
189 |
-} |
190 |
- |
191 |
-src_install() { |
192 |
- LC_ALL=C emake -j1 \ |
193 |
- DESTDIR="${D}" \ |
194 |
- STRIP=: \ |
195 |
- nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
196 |
- install |
197 |
- if use nmap-update;then |
198 |
- LC_ALL=C emake -j1 \ |
199 |
- -C nmap-update \ |
200 |
- DESTDIR="${D}" \ |
201 |
- STRIP=: \ |
202 |
- nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
203 |
- install |
204 |
- fi |
205 |
- |
206 |
- dodoc CHANGELOG HACKING docs/README docs/*.txt |
207 |
- |
208 |
- if use zenmap; then |
209 |
- doicon "${DISTDIR}/nmap-logo-64.png" |
210 |
- python_optimize |
211 |
- fi |
212 |
-} |
213 |
|
214 |
diff --git a/net-analyzer/nmap/nmap-7.60.ebuild b/net-analyzer/nmap/nmap-7.60.ebuild |
215 |
deleted file mode 100644 |
216 |
index 59a746de80e..00000000000 |
217 |
--- a/net-analyzer/nmap/nmap-7.60.ebuild |
218 |
+++ /dev/null |
219 |
@@ -1,194 +0,0 @@ |
220 |
-# Copyright 1999-2018 Gentoo Foundation |
221 |
-# Distributed under the terms of the GNU General Public License v2 |
222 |
- |
223 |
-EAPI=6 |
224 |
- |
225 |
-PYTHON_COMPAT=( python2_7 ) |
226 |
-PYTHON_REQ_USE="sqlite,xml" |
227 |
-inherit autotools flag-o-matic python-single-r1 toolchain-funcs |
228 |
- |
229 |
-MY_P=${P/_beta/BETA} |
230 |
- |
231 |
-DESCRIPTION="A utility for network discovery and security auditing" |
232 |
-HOMEPAGE="https://nmap.org/" |
233 |
-SRC_URI=" |
234 |
- https://nmap.org/dist/${MY_P}.tar.bz2 |
235 |
- https://dev.gentoo.org/~jer/nmap-logo-64.png |
236 |
-" |
237 |
- |
238 |
-LICENSE="GPL-2" |
239 |
-SLOT="0" |
240 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
241 |
- |
242 |
-IUSE=" |
243 |
- ipv6 libressl libssh2 ncat ndiff nls nmap-update nping +nse ssl system-lua |
244 |
- zenmap |
245 |
-" |
246 |
-NMAP_LINGUAS=( de fr hi hr it ja pl pt_BR ru zh ) |
247 |
- |
248 |
-REQUIRED_USE=" |
249 |
- system-lua? ( nse ) |
250 |
- ndiff? ( ${PYTHON_REQUIRED_USE} ) |
251 |
- zenmap? ( ${PYTHON_REQUIRED_USE} ) |
252 |
-" |
253 |
- |
254 |
-RDEPEND=" |
255 |
- dev-libs/liblinear:= |
256 |
- dev-libs/libpcre |
257 |
- net-libs/libpcap |
258 |
- libssh2? ( net-libs/libssh2[zlib] ) |
259 |
- ndiff? ( ${PYTHON_DEPS} ) |
260 |
- nls? ( virtual/libintl ) |
261 |
- nmap-update? ( |
262 |
- dev-libs/apr |
263 |
- dev-vcs/subversion |
264 |
- ) |
265 |
- ssl? ( |
266 |
- !libressl? ( dev-libs/openssl:0= ) |
267 |
- libressl? ( dev-libs/libressl:= ) |
268 |
- ) |
269 |
- system-lua? ( >=dev-lang/lua-5.2:*[deprecated] ) |
270 |
- zenmap? ( |
271 |
- dev-python/pygtk:2[${PYTHON_USEDEP}] |
272 |
- ${PYTHON_DEPS} |
273 |
- ) |
274 |
-" |
275 |
-DEPEND=" |
276 |
- ${RDEPEND} |
277 |
- nls? ( sys-devel/gettext ) |
278 |
-" |
279 |
-PATCHES=( |
280 |
- "${FILESDIR}"/${PN}-5.10_beta1-string.patch |
281 |
- "${FILESDIR}"/${PN}-5.21-python.patch |
282 |
- "${FILESDIR}"/${PN}-6.46-uninstaller.patch |
283 |
- "${FILESDIR}"/${PN}-6.25-liblua-ar.patch |
284 |
- "${FILESDIR}"/${PN}-7.25-no-FORTIFY_SOURCE.patch |
285 |
- "${FILESDIR}"/${PN}-7.25-CXXFLAGS.patch |
286 |
- "${FILESDIR}"/${PN}-7.25-libpcre.patch |
287 |
- "${FILESDIR}"/${PN}-7.31-libnl.patch |
288 |
-) |
289 |
-S="${WORKDIR}/${MY_P}" |
290 |
- |
291 |
-pkg_setup() { |
292 |
- if use ndiff || use zenmap; then |
293 |
- python-single-r1_pkg_setup |
294 |
- fi |
295 |
-} |
296 |
- |
297 |
-src_unpack() { |
298 |
- # prevent unpacking the logo |
299 |
- unpack ${MY_P}.tar.bz2 |
300 |
-} |
301 |
- |
302 |
-src_prepare() { |
303 |
- rm -r libpcap/ || die |
304 |
- |
305 |
- cat "${FILESDIR}"/nls.m4 >> "${S}"/acinclude.m4 || die |
306 |
- |
307 |
- default |
308 |
- |
309 |
- local lingua |
310 |
- if use nls; then |
311 |
- for lingua in ${NMAP_LINGUAS[@]}; do |
312 |
- if ! has ${lingua} ${LINGUAS-${lingua}}; then |
313 |
- rm -r zenmap/share/zenmap/locale/${lingua} || die |
314 |
- rm zenmap/share/zenmap/locale/${lingua}.po || die |
315 |
- fi |
316 |
- done |
317 |
- else |
318 |
- # configure/make ignores --disable-nls |
319 |
- for lingua in ${NMAP_LINGUAS[@]}; do |
320 |
- rm -r zenmap/share/zenmap/locale/${lingua} || die |
321 |
- rm zenmap/share/zenmap/locale/${lingua}.po || die |
322 |
- done |
323 |
- fi |
324 |
- |
325 |
- sed -i \ |
326 |
- -e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ |
327 |
- Makefile.in || die |
328 |
- |
329 |
- sed -i \ |
330 |
- -e '/rm -f $@/d' \ |
331 |
- $(find . -name Makefile.in) \ |
332 |
- || die |
333 |
- |
334 |
- # Fix desktop files wrt bug #432714 |
335 |
- sed -i \ |
336 |
- -e 's|^Categories=.*|Categories=Network;System;Security;|g' \ |
337 |
- zenmap/install_scripts/unix/zenmap-root.desktop \ |
338 |
- zenmap/install_scripts/unix/zenmap.desktop || die |
339 |
- |
340 |
- sed -i \ |
341 |
- -e '/AC_CONFIG_SUBDIRS(libz)/d' \ |
342 |
- -e '/AC_CONFIG_SUBDIRS(libssh2)/d' \ |
343 |
- configure.ac |
344 |
- |
345 |
- cp libdnet-stripped/include/config.h.in{,.nmap-orig} || die |
346 |
- |
347 |
- eautoreconf |
348 |
- |
349 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
350 |
- # we need the original for a Darwin-specific fix, bug #604432 |
351 |
- mv libdnet-stripped/include/config.h.in{.nmap-orig,} || die |
352 |
- fi |
353 |
-} |
354 |
- |
355 |
-src_configure() { |
356 |
- # The bundled libdnet is incompatible with the version available in the |
357 |
- # tree, so we cannot use the system library here. |
358 |
- econf \ |
359 |
- $(use_enable ipv6) \ |
360 |
- $(use_enable nls) \ |
361 |
- $(use_with libssh2) \ |
362 |
- $(use_with ncat) \ |
363 |
- $(use_with ndiff) \ |
364 |
- $(use_with nmap-update) \ |
365 |
- $(use_with nping) \ |
366 |
- $(use_with ssl openssl) \ |
367 |
- $(use_with zenmap) \ |
368 |
- $(usex libssh2 --with-zlib) \ |
369 |
- $(usex nse --with-liblua=$(usex system-lua /usr included '' '') --without-liblua) \ |
370 |
- --cache-file="${S}"/config.cache \ |
371 |
- --with-libdnet=included \ |
372 |
- --with-pcre=/usr |
373 |
- # Commented out because configure does weird things |
374 |
- # --with-liblinear=/usr \ |
375 |
-} |
376 |
- |
377 |
-src_compile() { |
378 |
- local directory |
379 |
- for directory in . libnetutil nsock/src \ |
380 |
- $(usex ncat ncat '') \ |
381 |
- $(usex nmap-update nmap-update '') \ |
382 |
- $(usex nping nping '') |
383 |
- do |
384 |
- emake -C "${directory}" makefile.dep |
385 |
- done |
386 |
- |
387 |
- emake \ |
388 |
- AR=$(tc-getAR) \ |
389 |
- RANLIB=$(tc-getRANLIB) |
390 |
-} |
391 |
- |
392 |
-src_install() { |
393 |
- LC_ALL=C emake -j1 \ |
394 |
- DESTDIR="${D}" \ |
395 |
- STRIP=: \ |
396 |
- nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
397 |
- install |
398 |
- if use nmap-update;then |
399 |
- LC_ALL=C emake -j1 \ |
400 |
- -C nmap-update \ |
401 |
- DESTDIR="${D}" \ |
402 |
- STRIP=: \ |
403 |
- nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
404 |
- install |
405 |
- fi |
406 |
- |
407 |
- dodoc CHANGELOG HACKING docs/README docs/*.txt |
408 |
- |
409 |
- if use zenmap; then |
410 |
- doicon "${DISTDIR}/nmap-logo-64.png" |
411 |
- python_optimize |
412 |
- fi |
413 |
-} |