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

Allan McRae allan at archlinux.org
Wed Feb 8 23:59:45 UTC 2012


    Date: Wednesday, February 8, 2012 @ 18:59:45
  Author: allan
Revision: 149672

db-move: moved nmap from [staging] to [testing] (i686)

Added:
  nmap/repos/testing-i686/
  nmap/repos/testing-i686/ChangeLog
    (from rev 149641, nmap/repos/staging-i686/ChangeLog)
  nmap/repos/testing-i686/PKGBUILD
    (from rev 149641, nmap/repos/staging-i686/PKGBUILD)
Deleted:
  nmap/repos/staging-i686/

-----------+
 ChangeLog |   17 +++++++++++++++++
 PKGBUILD  |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

Copied: nmap/repos/testing-i686/ChangeLog (from rev 149641, nmap/repos/staging-i686/ChangeLog)
===================================================================
--- testing-i686/ChangeLog	                        (rev 0)
+++ testing-i686/ChangeLog	2012-02-08 23:59:45 UTC (rev 149672)
@@ -0,0 +1,17 @@
+
+2008-10-28  Douglas Soares de Andrade  <douglas at archlinux.org>
+
+	* Python 2.6 rebuild.
+
+2008-07-23  Hugo Doria  <hugo at archlinux.org>
+
+	* Added pygtk in optdepends: 4.68-3
+
+2008-07-09  Douglas Soares de Andrade  <douglas at archlinux.org>
+
+	* Fixing the pixmaps path for i686: 4.68
+
+2008-07-09  Douglas Soares de Andrade  <douglas at archlinux.org>
+
+	* Updated for i686: 4.68
+

Copied: nmap/repos/testing-i686/PKGBUILD (from rev 149641, nmap/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-02-08 23:59:45 UTC (rev 149672)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=nmap
+pkgver=5.51
+pkgrel=2
+pkgdesc="A network exploration tool and security/port scanner"
+arch=('i686' 'x86_64')
+url="http://nmap.org"
+license=('GPL')
+depends=('pcre' 'openssl' 'libpcap' 'lua')
+# python is needed for zenmap
+makedepends=('python2')
+optdepends=('pygtk: gui for nmap')
+options=('!makeflags')
+source=(http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2)
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  echo "TryExec=/usr/bin/pygtk-demo" >> zenmap/install_scripts/unix/zenmap.desktop 
+  echo "TryExec=/usr/bin/pygtk-demo" >> zenmap/install_scripts/unix/zenmap-root.desktop 
+
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+    --libexecdir=/usr/lib
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # remove zenmap uninstall script
+  rm "${pkgdir}/usr/bin/uninstall_zenmap"
+
+  # install custom GPL2 license
+  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+md5sums=('0b80d2cb92ace5ebba8095a4c2850275')




More information about the arch-commits mailing list