[arch-commits] Commit in nmap/trunk (PKGBUILD)

Gaëtan Bisson bisson at archlinux.org
Mon Mar 16 01:00:25 UTC 2020


    Date: Monday, March 16, 2020 @ 01:00:23
  Author: bisson
Revision: 377678

pygtk is deprecated

Modified:
  nmap/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-15 23:34:50 UTC (rev 377677)
+++ PKGBUILD	2020-03-16 01:00:23 UTC (rev 377678)
@@ -4,17 +4,14 @@
 
 pkgname=nmap
 pkgver=7.80
-pkgrel=1
+pkgrel=2
 pkgdesc='Utility for network discovery and security auditing'
 url='https://nmap.org/'
 arch=('x86_64')
 license=('GPL2')
-makedepends=('pygtk')
-optdepends=('pygtk: zenmap'
-            'sudo: privilege escalation for zenmap'
-            'xterm: privilege escalation for zenmap'
-            'kde-cli-tools: privilege escalation for zenmap')
 depends=('pcre' 'openssl' 'lua')
+makedepends=('python2')
+optdepends=('python2: various scripts')
 validpgpkeys=('436D66AB9A798425FDA0E3F801AF9F036B9355D0')
 source=("https://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2"
         "https://nmap.org/dist/sigs/${pkgname}-${pkgver}.tar.bz2.asc")
@@ -29,6 +26,7 @@
 		--libexecdir=/usr/lib \
 		--mandir=/usr/share/man \
 		--with-libpcap=included \
+		--without-zenmap \
 
 	make
 }
@@ -38,5 +36,4 @@
 	make DESTDIR="${pkgdir}" install
 	rm "${pkgdir}"/usr/bin/uninstall_*
 	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-	python2 -m compileall "${pkgdir}"/usr/lib/python2.7/site-packages/zenmapCore
 }



More information about the arch-commits mailing list