[arch-commits] Commit in nmap/repos (4 files)

Gaetan Bisson bisson at archlinux.org
Mon May 4 19:24:24 UTC 2015


    Date: Monday, May 4, 2015 @ 21:24:23
  Author: bisson
Revision: 238474

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  nmap/repos/staging-i686/
  nmap/repos/staging-i686/PKGBUILD
    (from rev 238473, nmap/trunk/PKGBUILD)
  nmap/repos/staging-x86_64/
  nmap/repos/staging-x86_64/PKGBUILD
    (from rev 238473, nmap/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: nmap/repos/staging-i686/PKGBUILD (from rev 238473, nmap/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-05-04 19:24:23 UTC (rev 238474)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=nmap
+pkgver=6.47
+pkgrel=3
+pkgdesc='Utility for network discovery and security auditing'
+url='http://nmap.org/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('pygtk')
+optdepends=('pygtk: zenmap'
+            'sudo: privilege escalation for zenmap'
+            'xterm: privilege escalation for zenmap'
+            'kdebase-runtime: privilege escalation for zenmap'
+            'gksu: privilege escalation for zenmap')
+depends=('pcre' 'openssl' 'lua52')
+source=("http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('0c917453a91a5e85c2a217d27c3853b0f3e0e6ac')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export PYTHON=python2
+	./configure \
+		--prefix=/usr \
+		--libexecdir=/usr/lib \
+		--mandir=/usr/share/man \
+		--with-libpcap=included \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	rm "${pkgdir}"/usr/bin/uninstall_zenmap
+	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	python2 -m compileall "${pkgdir}"/usr/lib/python2.7/site-packages/zenmapCore
+}

Copied: nmap/repos/staging-x86_64/PKGBUILD (from rev 238473, nmap/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-05-04 19:24:23 UTC (rev 238474)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=nmap
+pkgver=6.47
+pkgrel=3
+pkgdesc='Utility for network discovery and security auditing'
+url='http://nmap.org/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('pygtk')
+optdepends=('pygtk: zenmap'
+            'sudo: privilege escalation for zenmap'
+            'xterm: privilege escalation for zenmap'
+            'kdebase-runtime: privilege escalation for zenmap'
+            'gksu: privilege escalation for zenmap')
+depends=('pcre' 'openssl' 'lua52')
+source=("http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('0c917453a91a5e85c2a217d27c3853b0f3e0e6ac')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export PYTHON=python2
+	./configure \
+		--prefix=/usr \
+		--libexecdir=/usr/lib \
+		--mandir=/usr/share/man \
+		--with-libpcap=included \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	rm "${pkgdir}"/usr/bin/uninstall_zenmap
+	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