diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-06-06 00:25:24 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-06-06 00:25:24 +0000 |
commit | 5eab5e046934a370277d7e86f76dd2757ad35045 (patch) | |
tree | fda45153b8e1d9469576e1fc3c0b77a13cfe0d66 /net-analyzer/nmap | |
parent | vanilla-3.14.4 + genpatches-3.14-7 + grsecurity-3.0-3.14.5-201406051310 bug #... (diff) | |
download | historical-5eab5e046934a370277d7e86f76dd2757ad35045.tar.gz historical-5eab5e046934a370277d7e86f76dd2757ad35045.tar.bz2 historical-5eab5e046934a370277d7e86f76dd2757ad35045.zip |
Old.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r-- | net-analyzer/nmap/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nmap/Manifest | 12 | ||||
-rw-r--r-- | net-analyzer/nmap/files/nmap-6.40-uninstaller.patch | 18 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-6.40-r1.ebuild | 140 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-6.40.ebuild | 152 |
5 files changed, 9 insertions, 319 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog index 2308acb52ada..2e4815bb8870 100644 --- a/net-analyzer/nmap/ChangeLog +++ b/net-analyzer/nmap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nmap # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.308 2014/06/06 00:19:48 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.309 2014/06/06 00:25:23 jer Exp $ + + 06 Jun 2014; Jeroen Roovers <jer@gentoo.org> -nmap-6.40.ebuild, + -nmap-6.40-r1.ebuild, -files/nmap-6.40-uninstaller.patch: + Old. 06 Jun 2014; Jeroen Roovers <jer@gentoo.org> nmap-6.46.ebuild, -files/nmap-4.75-include.patch, -files/su-to-zenmap.sh.diff: diff --git a/net-analyzer/nmap/Manifest b/net-analyzer/nmap/Manifest index d1c2fe6d7bf8..d081e61e1509 100644 --- a/net-analyzer/nmap/Manifest +++ b/net-analyzer/nmap/Manifest @@ -8,24 +8,20 @@ AUX nmap-5.51-su-to-zenmap-fix.patch 785 SHA256 f57d70bd98b0b395661dc2b85df15ae7 AUX nmap-6.01-make.patch 571 SHA256 d315795797c60712b00dbdc0e1fe5df6851575e0dbc11abb772a51c739ab60cb SHA512 47752ac65a07aef68eb075b72a0e9062612a2df08135d3f4284805f8fdc394a1fa3b937c1df018f7cce58f4c96db57af17e720250b6f67ce80f8cbb35eb82deb WHIRLPOOL b9ec86290bb1a681ee16aeaeb336ca7def8689d0ae311bc223591eefbade0db6b5f58ebf86d52406b24d8c656f51e06d049a4c3893a730aafe5448a7f5765e42 AUX nmap-6.25-liblua-ar.patch 328 SHA256 3bce55abe4cf17d7c7bb56731151c4d4f1c5aef04e8294bf79a9712fa015fce2 SHA512 6bb15078e79ef281b026e25199fc76bcd1b7242da0d6513ac9b078f130e521e6db506c1c36d33ef72a2198c3054111d95d6ac0654f7d6bb7549d6308ce864291 WHIRLPOOL d6f29209ee4a92e2f5b564d5aeaa8814355df2a9142665ba1ce980693c830214a1d89dc66c3f0573237273d0fc502c7ff8b39be53f6afcca29dd94fe6f081b7b AUX nmap-6.25-lua.patch 1607 SHA256 eeb125bdc22dc6cf7402ead711236701440b2276af0ecd7f99711bb68424214c SHA512 837e8f95ea1dfa1176abd576894e71123e867181378812f783faf408b27746e20d69b60f049ef7d37e07a2764d696ea1b169c29867e62d34378d11ce9b9e25e1 WHIRLPOOL fc821d90705c03fdbc56a3618ee96e69ef9662f81dc013eeaa1ebd8d03a1f1936a957de5d62c3402cfebc0ed34fb5c84229e7c6048d6438ecab0481d7d465d17 -AUX nmap-6.40-uninstaller.patch 629 SHA256 5a440d5b04441a18dfe2f577e73d8f063a4e6289874c361cee53c3c9d33d6bcf SHA512 291c98a9d51ef1cd43617645417f3a7a602f70be1d511f5f6ed1ecc7104a66524eb87290867a896c92012e9bc4eb51ae43ae2d83542d7df5c688499ee62d132d WHIRLPOOL 5ffd985cdc3dcb91ee456ed1fbd4e8804fac4efa01728b2759f9d5df3c43992feeaafa791301acd4be4b89d9b1b6cc1bbeff49306d73f3a8948de9ea6275a4b2 AUX nmap-6.46-uninstaller.patch 619 SHA256 e5f649e95a7a87a9c2a5ab89657a56468036726146441cee34bad6184aeb8349 SHA512 da89808d23ed14b0f748a57d3238667adf65eb5278bcbe5a599d06fd4bc5ad2c3492d824639f97d50be9a973fd53bb395fccd855a712bd11d3e963dc4bb11833 WHIRLPOOL 223f448f3edd34945b5a4f79c9740159df40d65bdda1cadada241a0b00ae8893ea84874ad4c000629d305c221ad687b521fd9fb2d1d6786b8489d94746d9eb08 DIST nmap-6.01.tar.bz2 21640157 SHA256 77f6635b677d28b546cbef97e4ead6c2d4a5aebcaa108fe3a3c135db6448617a SHA512 0b44542a0e33629d077c64129bac7e00b05b4e65a83b181b84fb5460a7da083bb29be00777a8d92c6f6b6fb0c009cebc330c02c7259166e8cea4109cdae50fc9 WHIRLPOOL 24b125997c8ae5b7a514a6bcc5780b9a8aec8516e19616b0890fd34c8b7b182d04142e012c981a0e125468a4ee49ea7b13416f79031ede346846e59b08919dfd DIST nmap-6.25.tar.bz2 7668639 SHA256 3349cc6d36b86b95ca2b8075d16615a3a598cef494920d6652f9a8bf9f7660b5 SHA512 6ec4d8f50621c86a3d0b6a22cf179a1874bf109736c5a79d6b29faec6859e165f7c0e6c3f8c284de8f384a8a607f071e2176c900b22df3ba0f158d36b081870d WHIRLPOOL b6cd57988827549762020e73ff263f5014d6c748291225d8c9792705da39188436004400b05a07414b4cc4b9ea56c75ebf7c753bbe11a5456b008041e72ebbc4 -DIST nmap-6.40.tar.bz2 7871636 SHA256 491f77d8b3fb3bb38ba4e3850011fe6fb43bbe197f9382b88cb59fa4e8f7a401 SHA512 b0ccb7634838e814dc0e36a0dbfc8c74853ef9dc6a119b73ffc90caab8875cbae893e0d24371ea568f9fff969440ed2a2e89953a6dbb6eb26313a4ea25b02b3b WHIRLPOOL 18424b67a8ace959c129e00e4b0d8a8e893aa08cfabb1b47b4fe9fc4316c29f713a2f83b789db28b4158c18bf80aea0bee071751187c0eb7e1a4b6693c3f4f98 DIST nmap-6.46.tar.bz2 7911353 SHA256 3f89d9053c69507fe9533c40188a6561d49607a37b1db6380aed9039d4883137 SHA512 eec55267009d1e539df06187ed1522b86e3fa36282159fc872ed5537d93d361201d2d944bcde6af86f22816c0038db7832b011d4ece204ea7c470b716a2dc4c7 WHIRLPOOL 172eb6da55cea1cb559ddd979458e4a7b8f179675b4d1261153f85eb010ba9e64aec61f6c5566a874319e06aa5e4df21881384dc699cac98be09e59b0dafe086 DIST nmap-logo-64.png 3289 SHA256 4c72ff1eeffeeaa1039b251d9f2d675936e65db686fe3b57a35c2183ce67a8aa SHA512 fb102d12aaeebc8a97543ecd653a3606e86996ad679bc26d6e6e274ad05ec3e9f92521289d1a24153c521b699e8c0cfa65d8856bb49af53ee4837268bbc6b5d3 WHIRLPOOL 6093aadcb9880587e17d39d45fcbe57bb62777f220655e6ed5b5f900ce49cb8c5a53e24d7db0de6f8909eb0f8981f7565e6ae9b9bf9283a4ccccb0526eab5313 EBUILD nmap-6.01.ebuild 2702 SHA256 b514a45c86b72fb3ec7da0ea74ca92d65d6e2a9b1e4ac4e6003fd7f120fd58e4 SHA512 34ff2c6e56ea2b577944fd577498bae6a361e84183ff851ff02ac5d5612c60c813d9f6175542ae4feb4c0c9c3e9f50206832ef8d0db77ea3fb6124ba5b07adb2 WHIRLPOOL 04e3feceec75a4256eb0cae060c507e87fe490fa74c994a1d82925b4ae1afa68e2e41ede28360e9ada8fc4b55001b57412641f32a1c9b7e7bfdb0c26a77043b3 EBUILD nmap-6.25.ebuild 3543 SHA256 b676a480b66ffbaa4ae9bb61cca143feff24332b92a2adba3d0c1d8198e0d0b0 SHA512 83b354956bae89dd8c09be59db2538becc6eaa6f114cefcb5099e6145e62d345a3e51e35f6c80964f7e7a807dfe5ae3b018fc5e5642df22767bc022c61005959 WHIRLPOOL 355040167f304809bae924ea65bfd35e870ee189b83333a8edb9640f61b4faa516dc64c6b952d579423da85d31d8070c187732e4a17e6fb2ae976513a622c156 -EBUILD nmap-6.40-r1.ebuild 3437 SHA256 1d74c91be06591c737403f14175aa7cd4f8db697c367680a19c4c3a003bccb06 SHA512 f1d5a6307a38cc970c176151ead12a162970f6472d56a8d1c6f50141263639f8bdcf93d76785bc76859a5b930c0c78ed35b99b0eefda052d8cf2c2150ded2fae WHIRLPOOL 6ba9b18135e4e5d627356aee0a7c5b6dda88d7da50b2ee67e4f5453906fc20ec026445a05544c9d50dd1d97861d4d98926982716da60f884006599f71e71cd75 -EBUILD nmap-6.40.ebuild 3577 SHA256 caaca6da05f8fa45744c618b70064e074fe843c703714c8f0b88f1b653c5060c SHA512 3fd4119f6fbb94fa3d4b1dce2d5475d0db5959aebe29b55cffa1159aa6d5e7a388ecf752353ba39e31a04f96e9b21444c7c162580a2fa0dfb15cdceb404795dd WHIRLPOOL d3c82963c948b75ebfa068fac8a8ed2277b4fd443d1c063f1dd34e18133e0c5539c94ab53a6d053d860ccf0e2171c1a49acd31d699a6d6de378d4a1547148d56 EBUILD nmap-6.46.ebuild 3557 SHA256 979d8b8430a739c96d9322f5c4e3399b49239d5c4c88f244d8b3771e3421d252 SHA512 931fb170f17789c36e26311b8ce3a2dd7405ae2fa5ffa824f555a95da5a4ac89fd445b90aa3609188597a732df08ef0b9ea65dacfac75195262d7ce6c481b6f3 WHIRLPOOL 5e485404a1b170e95295ebf240bf5f86b13165a52b68c4b03a4728df3be31900b7df49c237d130506461eb297557e8f0670d87ffaf19feaa17dafa5f5cde7720 -MISC ChangeLog 38211 SHA256 82029dec9a94c76099683c6ba7a346e8b1769cba7e5484612a1c0c48dc75d794 SHA512 9ce5d65494ebce9a4a9f506251fa43d3c83f7ee8d54430a4f5303b2a26c305fb33ba6f5bf64fc3b14eb6e86559d3cc2ce6f81b8ba582130d84019f0d942519d1 WHIRLPOOL 18868c05f3f9ada6181296ed2a8e5f76ee30adf2c2cab6dbe2be324d007bf5f571edb17bc1013cfe5a6ad22931b88090b69b612db37f9aed5c5d039031ebce4d +MISC ChangeLog 38345 SHA256 704de5052d12555335491751e5db92afa4dd9e97481c4b333d2f3f142ed28bc4 SHA512 a3f40f4d451ece8e8c29eefec696f6c00b9c4bee3302711c1e3a4dbb7dfaf31561de833e00392ed9d56a7c2461052b2cf4c69e40fd818e239085064219c9e63c WHIRLPOOL 64a5c026069cc87241698a80eb2ca4f5bbfa75e1ec3ec8b8cd62e1d18b54efc3fe0cb2ff356ab0c5a2d6dc1920ec4a6f97820bfddbaf13d1f7d3f32338974f92 MISC metadata.xml 639 SHA256 5bb4193809c829dc5c8f9101355e6f4626bf616df5f6a477e1651a53c25ca9ce SHA512 d20ddd6bdb400bf0cffde6e5530e457ff49631ffc9413a4262ac197441338b19d0a9168b8d73c79a01cfc6244e34bceb3139c8c6e45bebbfec0a192b88fc21f2 WHIRLPOOL 036edb4b7dc0f24d84d214917ab18026dc4cd5da85e3da803ed8510634cf8c5b46c06dadebbb900442d4fe2eb877ec491b337a7a26f33256847b91d4b513f2cd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlORCSUACgkQVWmRsqeSphONYACdE2i/JJI1204n1kaCawO37lRI -yAkAn3y66UloFq/IXH0zAUdi4l6nAYux -=YHk0 +iEYEAREIAAYFAlORCnQACgkQVWmRsqeSphNH7gCcDw5+8Gfe6lq/dxA74mT8gF0U +7fgAn3MpoaeUL5Wu632WyQFYT2GS8FFk +=Ll9D -----END PGP SIGNATURE----- diff --git a/net-analyzer/nmap/files/nmap-6.40-uninstaller.patch b/net-analyzer/nmap/files/nmap-6.40-uninstaller.patch deleted file mode 100644 index 10bc67b14a48..000000000000 --- a/net-analyzer/nmap/files/nmap-6.40-uninstaller.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/zenmap/setup.py -+++ b/zenmap/setup.py -@@ -238,7 +238,6 @@ - self.set_perms() - self.set_modules_path() - self.fix_paths() -- self.create_uninstaller() - self.write_installed_files() - - def get_installed_files(self): -@@ -255,7 +254,6 @@ - for dirpath, dirs, files in os.walk(os.path.join(self.install_data, data_dir)): - for dir in dirs: - installed_files.append(os.path.join(dirpath, dir)) -- installed_files.append(os.path.join(self.install_scripts, "uninstall_" + APP_NAME)) - return installed_files - - def create_uninstaller(self): diff --git a/net-analyzer/nmap/nmap-6.40-r1.ebuild b/net-analyzer/nmap/nmap-6.40-r1.ebuild deleted file mode 100644 index b74054ff9369..000000000000 --- a/net-analyzer/nmap/nmap-6.40-r1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.40-r1.ebuild,v 1.3 2013/12/01 20:36:20 zerochaos Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_{6,7} ) -PYTHON_REQ_USE="sqlite" -inherit eutils flag-o-matic python-single-r1 toolchain-funcs - -MY_P=${P/_beta/BETA} - -DESCRIPTION="A utility for network exploration or security auditing" -HOMEPAGE="http://nmap.org/" -SRC_URI=" - http://nmap.org/dist/${MY_P}.tar.bz2 - http://dev.gentoo.org/~jer/nmap-logo-64.png -" - -LICENSE="GPL-2" -SLOT="0" -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" - -IUSE="ipv6 +lua ncat ndiff nls nmap-update nping ssl zenmap" -NMAP_LINGUAS=( de es fr hr hu id it ja pl pt_BR pt_PT ro ru sk zh ) -IUSE+=" ${NMAP_LINGUAS[@]/#/linguas_}" - -NMAP_PYTHON_DEPEND=" - || ( ${PYTHON_DEPS} ) -" -RDEPEND=" - dev-libs/libpcre - net-libs/libpcap[ipv6?] - zenmap? ( - dev-python/pygtk:2 - ${NMAP_PYTHON_DEPEND} - ) - lua? ( >=dev-lang/lua-5.2[deprecated] ) - ndiff? ( ${NMAP_PYTHON_DEPEND} ) - nls? ( virtual/libintl ) - nmap-update? ( dev-libs/apr dev-vcs/subversion ) - ssl? ( dev-libs/openssl ) -" -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) -" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - # prevent unpacking the logo - unpack ${MY_P}.tar.bz2 -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-4.75-nolua.patch \ - "${FILESDIR}"/${PN}-5.10_beta1-string.patch \ - "${FILESDIR}"/${PN}-5.21-python.patch \ - "${FILESDIR}"/${PN}-6.01-make.patch \ - "${FILESDIR}"/${PN}-6.25-liblua-ar.patch \ - "${FILESDIR}"/${P}-uninstaller.patch - - sed -i \ - -e 's/-m 755 -s ncat/-m 755 ncat/' \ - ncat/Makefile.in || die - - if use nls; then - local lingua='' - for lingua in ${NMAP_LINGUAS}; do - if ! use linguas_${lingua}; then - rm -rf zenmap/share/zenmap/locale/${lingua} - rm -f zenmap/share/zenmap/locale/${lingua}.po - fi - done - else - # configure/make ignores --disable-nls - for lingua in ${NMAP_LINGUAS}; do - rm -rf zenmap/share/zenmap/locale/${lingua} - rm -f zenmap/share/zenmap/locale/${lingua}.po - done - fi - - sed -i \ - -e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ - Makefile.in || die - - # Fix desktop files wrt bug #432714 - sed -i \ - -e '/^Encoding/d' \ - -e 's|^Categories=.*|Categories=Network;System;Security;|g' \ - zenmap/install_scripts/unix/zenmap-root.desktop \ - zenmap/install_scripts/unix/zenmap.desktop || die - - epatch_user -} - -src_configure() { - # The bundled libdnet is incompatible with the version available in the - # tree, so we cannot use the system library here. - econf \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_with zenmap) \ - $(usex lua --with-liblua=/usr --without-liblua) \ - $(use_with ncat) \ - $(use_with ndiff) \ - $(use_with nmap-update) \ - $(use_with nping) \ - $(use_with ssl openssl) \ - --with-libdnet=included \ - --with-pcre=/usr -} - -src_compile() { - emake \ - AR=$(tc-getAR) \ - RANLIB=$(tc-getRANLIB ) -} - -src_install() { - LC_ALL=C emake -j1 \ - DESTDIR="${D}" \ - STRIP=: \ - nmapdatadir="${EPREFIX}"/usr/share/nmap \ - install - if use nmap-update;then - LC_ALL=C emake -j1 \ - -C nmap-update \ - DESTDIR="${D}" \ - STRIP=: \ - nmapdatadir="${EPREFIX}"/usr/share/nmap \ - install - fi - - dodoc CHANGELOG HACKING docs/README docs/*.txt - - use zenmap && doicon "${DISTDIR}/nmap-logo-64.png" -} diff --git a/net-analyzer/nmap/nmap-6.40.ebuild b/net-analyzer/nmap/nmap-6.40.ebuild deleted file mode 100644 index abdd48c4c225..000000000000 --- a/net-analyzer/nmap/nmap-6.40.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.40.ebuild,v 1.6 2013/12/01 20:36:20 zerochaos Exp $ - -EAPI=5 - -inherit eutils flag-o-matic python toolchain-funcs - -MY_P=${P/_beta/BETA} - -DESCRIPTION="A utility for network exploration or security auditing" -HOMEPAGE="http://nmap.org/" -SRC_URI=" - http://nmap.org/dist/${MY_P}.tar.bz2 - http://dev.gentoo.org/~jer/nmap-logo-64.png -" - -LICENSE="GPL-2" -SLOT="0" -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" - -IUSE="gtk ipv6 +lua ncat ndiff nls nmap-update nping ssl" -NMAP_LINGUAS="de es fr hr hu id it ja pl pt_BR pt_PT ro ru sk zh" -for lingua in ${NMAP_LINGUAS}; do - IUSE+=" linguas_${lingua}" -done - -NMAP_PYTHON_DEPEND=" -|| ( - dev-lang/python:2.7[sqlite] - dev-lang/python:2.6[sqlite] - dev-lang/python:2.5[sqlite] - dev-python/pysqlite:2 -) -" -RDEPEND=" - dev-libs/apr - dev-libs/libpcre - net-libs/libpcap[ipv6?] - gtk? ( - >=x11-libs/gtk+-2.6:2 - >=dev-python/pygtk-2.6 - ${NMAP_PYTHON_DEPEND} - ) - lua? ( >=dev-lang/lua-5.2[deprecated] ) - ndiff? ( ${NMAP_PYTHON_DEPEND} ) - nls? ( virtual/libintl ) - nmap-update? ( dev-libs/apr dev-vcs/subversion ) - ssl? ( dev-libs/openssl ) -" -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) -" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - if use gtk || use ndiff; then - python_set_active_version 2 - fi -} - -src_unpack() { - unpack ${MY_P}.tar.bz2 -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-4.75-nolua.patch \ - "${FILESDIR}"/${PN}-5.10_beta1-string.patch \ - "${FILESDIR}"/${PN}-5.21-python.patch \ - "${FILESDIR}"/${PN}-6.01-make.patch \ - "${FILESDIR}"/${PN}-6.25-liblua-ar.patch \ - "${FILESDIR}"/${P}-uninstaller.patch - - sed -i \ - -e 's/-m 755 -s ncat/-m 755 ncat/' \ - ncat/Makefile.in || die - - if use nls; then - local lingua='' - for lingua in ${NMAP_LINGUAS}; do - if ! use linguas_${lingua}; then - rm -rf zenmap/share/zenmap/locale/${lingua} - rm -f zenmap/share/zenmap/locale/${lingua}.po - fi - done - else - # configure/make ignores --disable-nls - for lingua in ${NMAP_LINGUAS}; do - rm -rf zenmap/share/zenmap/locale/${lingua} - rm -f zenmap/share/zenmap/locale/${lingua}.po - done - fi - - sed -i \ - -e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ - Makefile.in || die - - # Fix desktop files wrt bug #432714 - sed -i \ - -e '/^Encoding/d' \ - -e 's|^Categories=.*|Categories=Network;System;Security;|g' \ - zenmap/install_scripts/unix/zenmap-root.desktop \ - zenmap/install_scripts/unix/zenmap.desktop || die - - epatch_user -} - -src_configure() { - # The bundled libdnet is incompatible with the version available in the - # tree, so we cannot use the system library here. - econf \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_with gtk zenmap) \ - $(usex lua --with-liblua=/usr --without-liblua) \ - $(use_with ncat) \ - $(use_with ndiff) \ - $(use_with nmap-update) \ - $(use_with nping) \ - $(use_with ssl openssl) \ - --with-libdnet=included \ - --with-pcre=/usr -} - -src_compile() { - emake \ - AR=$(tc-getAR) \ - RANLIB=$(tc-getRANLIB ) -} - -src_install() { - LC_ALL=C emake -j1 \ - DESTDIR="${D}" \ - STRIP=: \ - nmapdatadir="${EPREFIX}"/usr/share/nmap \ - install - if use nmap-update;then - LC_ALL=C emake -j1 \ - -C nmap-update \ - DESTDIR="${D}" \ - STRIP=: \ - nmapdatadir="${EPREFIX}"/usr/share/nmap \ - install - fi - - dodoc CHANGELOG HACKING docs/README docs/*.txt - - use gtk && doicon "${DISTDIR}/nmap-logo-64.png" -} |