[arch-commits] Commit in nmap/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Nov 10 22:17:47 UTC 2020


    Date: Tuesday, November 10, 2020 @ 22:17:46
  Author: anthraxx
Revision: 400198

archrelease: copy trunk to extra-x86_64

Added:
  nmap/repos/extra-x86_64/PKGBUILD
    (from rev 400197, nmap/trunk/PKGBUILD)
Deleted:
  nmap/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 58 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 22:17:41 UTC (rev 400197)
+++ PKGBUILD	2020-11-10 22:17:46 UTC (rev 400198)
@@ -1,39 +0,0 @@
-# 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.80
-pkgrel=3
-pkgdesc='Utility for network discovery and security auditing'
-url='https://nmap.org/'
-arch=('x86_64')
-license=('GPL2')
-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")
-sha256sums=('fcfa5a0e42099e12e4bf7a68ebe6fde05553383a682e816a7ec9256ab4773faa'
-            'SKIP')
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	export PYTHON=python2
-	./configure \
-		--prefix=/usr \
-		--libexecdir=/usr/lib \
-		--mandir=/usr/share/man \
-		--with-libpcap=included \
-		--without-zenmap \
-
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	rm "${pkgdir}"/usr/bin/uninstall_*
-	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: nmap/repos/extra-x86_64/PKGBUILD (from rev 400197, nmap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-10 22:17:46 UTC (rev 400198)
@@ -0,0 +1,58 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=nmap
+pkgver=7.91
+pkgrel=1
+pkgdesc='Utility for network discovery and security auditing'
+url='https://nmap.org/'
+arch=('x86_64')
+license=('GPL2')
+depends=('glibc' 'pcre' 'openssl' 'lua53' 'libpcap'
+         'libssh2' 'libssh2.so' 'zlib' 'gcc-libs')
+source=("https://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2"
+        "https://nmap.org/dist/sigs/${pkgname}-${pkgver}.tar.bz2.asc")
+sha256sums=('18cc4b5070511c51eb243cdd2b0b30ff9b2c4dc4544c6312f75ce3a67a593300'
+            'SKIP')
+b2sums=('a758e0a20f8243b33b000c23e025b87bdb712390b82982a1aca219c9b98cd55c6ababb810328c7d0cdb5c884ef9bd5b187b9e4929454278342d7ee5ef441cded'
+        'SKIP')
+validpgpkeys=(
+  '436D66AB9A798425FDA0E3F801AF9F036B9355D0' # Nmap Project Signing Key (http://www.insecure.org/)
+)
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # ensure we build devendored deps
+  rm -rf liblua libpcap libpcre macosx mwin32 libssh2 libz
+  autoreconf -fiv
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --with-libpcap=/usr \
+    --with-libpcre=/usr \
+    --with-zlib=/usr \
+    --with-libssh2=/usr \
+    --with-liblua=/usr \
+    --without-ndiff \
+    --without-zenmap
+  make
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 README.md docs/nmap.usage.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE docs/3rd-party-licenses.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list