[arch-commits] Commit in nmap/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Mar 3 13:40:20 UTC 2016
Date: Thursday, March 3, 2016 @ 14:40:20
Author: bpiotrowski
Revision: 260654
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
nmap/repos/staging-i686/
nmap/repos/staging-i686/PKGBUILD
(from rev 260653, nmap/trunk/PKGBUILD)
nmap/repos/staging-x86_64/
nmap/repos/staging-x86_64/PKGBUILD
(from rev 260653, 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 260653, nmap/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-03-03 13:40:20 UTC (rev 260654)
@@ -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=7.01
+pkgrel=2
+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=('c1a44558c72aed3c78d63d54b5b008db69f0aaac')
+
+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 260653, nmap/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-03-03 13:40:20 UTC (rev 260654)
@@ -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=7.01
+pkgrel=2
+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=('c1a44558c72aed3c78d63d54b5b008db69f0aaac')
+
+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