Date: Tuesday, March 14, 2017 @ 20:26:40
  Author: jelle
Revision: 290842

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

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

-------------------------+
 staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: nmap/repos/staging-i686/PKGBUILD (from rev 290841, nmap/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2017-03-14 20:26:40 UTC (rev 290842)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Angel Velasquez <[email protected]>
+# Contributor: Hugo Doria <[email protected]>
+
+pkgname=nmap
+pkgver=7.40
+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'
+            'kde-cli-tools: privilege escalation for zenmap'
+            'gksu: privilege escalation for zenmap')
+depends=('pcre' 'openssl' 'lua52')
+validpgpkeys=('436D66AB9A798425FDA0E3F801AF9F036B9355D0')
+source=("https://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2";
+        "https://nmap.org/dist/sigs/${pkgname}-${pkgver}.tar.bz2.asc";)
+sha256sums=('9e14665fffd054554d129d62c13ad95a7b5c7a046daa2290501909e65f4d3188'
+            'SKIP')
+
+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_*
+       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 290841, 
nmap/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2017-03-14 20:26:40 UTC (rev 290842)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Angel Velasquez <[email protected]>
+# Contributor: Hugo Doria <[email protected]>
+
+pkgname=nmap
+pkgver=7.40
+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'
+            'kde-cli-tools: privilege escalation for zenmap'
+            'gksu: privilege escalation for zenmap')
+depends=('pcre' 'openssl' 'lua52')
+validpgpkeys=('436D66AB9A798425FDA0E3F801AF9F036B9355D0')
+source=("https://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2";
+        "https://nmap.org/dist/sigs/${pkgname}-${pkgver}.tar.bz2.asc";)
+sha256sums=('9e14665fffd054554d129d62c13ad95a7b5c7a046daa2290501909e65f4d3188'
+            'SKIP')
+
+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_*
+       install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+       python2 -m compileall 
"${pkgdir}"/usr/lib/python2.7/site-packages/zenmapCore
+}

Reply via email to