Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmap/
Date: Fri, 23 Apr 2021 13:34:52
Message-Id: 1619184873.347a4912b2fa1cf57e6205c4f716ad3e1b3c309a.sam@gentoo
1 commit: 347a4912b2fa1cf57e6205c4f716ad3e1b3c309a
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 23 13:34:33 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 23 13:34:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347a4912
7
8 net-analyzer/nmap: drop 7.91-r1
9
10 Closes: https://bugs.gentoo.org/782583
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-analyzer/nmap/nmap-7.91-r1.ebuild | 116 ----------------------------------
14 1 file changed, 116 deletions(-)
15
16 diff --git a/net-analyzer/nmap/nmap-7.91-r1.ebuild b/net-analyzer/nmap/nmap-7.91-r1.ebuild
17 deleted file mode 100644
18 index ab9ed8c0ddb..00000000000
19 --- a/net-analyzer/nmap/nmap-7.91-r1.ebuild
20 +++ /dev/null
21 @@ -1,116 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -LUA_COMPAT=( lua5-3 )
28 -LUA_REQ_USE="deprecated"
29 -
30 -inherit autotools lua-single toolchain-funcs
31 -
32 -DESCRIPTION="Network exploration tool and security / port scanner"
33 -HOMEPAGE="https://nmap.org/"
34 -SRC_URI="https://nmap.org/dist/${P}.tar.bz2"
35 -
36 -LICENSE="|| ( NPSL GPL-2 )"
37 -SLOT="0"
38 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
39 -IUSE="ipv6 libressl libssh2 ncat nping +nse ssl +system-lua"
40 -REQUIRED_USE="system-lua? ( nse ${LUA_REQUIRED_USE} )"
41 -
42 -RDEPEND="
43 - dev-libs/liblinear:=
44 - dev-libs/libpcre
45 - net-libs/libpcap
46 - libssh2? (
47 - net-libs/libssh2[zlib]
48 - sys-libs/zlib
49 - )
50 - nse? ( sys-libs/zlib )
51 - ssl? (
52 - !libressl? ( dev-libs/openssl:0= )
53 - libressl? ( dev-libs/libressl:= )
54 - )
55 - system-lua? ( ${LUA_DEPS} )
56 -"
57 -DEPEND="${RDEPEND}"
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/${PN}-5.10_beta1-string.patch
61 - "${FILESDIR}"/${PN}-5.21-python.patch
62 - "${FILESDIR}"/${PN}-6.46-uninstaller.patch
63 - "${FILESDIR}"/${PN}-6.25-liblua-ar.patch
64 - "${FILESDIR}"/${PN}-7.25-CXXFLAGS.patch
65 - "${FILESDIR}"/${PN}-7.25-libpcre.patch
66 - "${FILESDIR}"/${PN}-7.31-libnl.patch
67 - "${FILESDIR}"/${PN}-7.80-ac-config-subdirs.patch
68 - "${FILESDIR}"/${PN}-7.91-no-FORTIFY_SOURCE.patch
69 -)
70 -
71 -pkg_setup() {
72 - use system-lua && lua-single_pkg_setup
73 -}
74 -
75 -src_prepare() {
76 - rm -r liblinear/ libpcap/ libpcre/ libssh2/ libz/ || die
77 -
78 - cat "${FILESDIR}"/nls.m4 >> "${S}"/acinclude.m4 || die
79 -
80 - default
81 -
82 - sed -i \
83 - -e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \
84 - Makefile.in || die
85 -
86 - cp libdnet-stripped/include/config.h.in{,.nmap-orig} || die
87 -
88 - eautoreconf
89 -
90 - if [[ ${CHOST} == *-darwin* ]] ; then
91 - # we need the original for a Darwin-specific fix, bug #604432
92 - mv libdnet-stripped/include/config.h.in{.nmap-orig,} || die
93 - fi
94 -}
95 -
96 -src_configure() {
97 - # The bundled libdnet is incompatible with the version available in the
98 - # tree, so we cannot use the system library here.
99 - econf \
100 - $(use_enable ipv6) \
101 - $(use_with libssh2) \
102 - $(use_with ncat) \
103 - $(use_with nping) \
104 - $(use_with ssl openssl) \
105 - $(usex libssh2 --with-zlib) \
106 - $(usex nse --with-liblua=$(usex system-lua yes included '' '') --without-liblua) \
107 - $(usex nse --with-zlib) \
108 - --cache-file="${S}"/config.cache \
109 - --with-libdnet=included \
110 - --with-pcre=/usr \
111 - --without-ndiff \
112 - --without-zenmap
113 -}
114 -
115 -src_compile() {
116 - local directory
117 - for directory in . libnetutil nsock/src \
118 - $(usex ncat ncat '') \
119 - $(usex nping nping '')
120 - do
121 - emake -C "${directory}" makefile.dep
122 - done
123 -
124 - emake \
125 - AR=$(tc-getAR) \
126 - RANLIB=$(tc-getRANLIB)
127 -}
128 -
129 -src_install() {
130 - LC_ALL=C emake -j1 \
131 - DESTDIR="${D}" \
132 - STRIP=: \
133 - nmapdatadir="${EPREFIX}"/usr/share/nmap \
134 - install
135 -
136 - dodoc CHANGELOG HACKING docs/README docs/*.txt
137 -}