[arch-commits] Commit in zmap/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Aug 25 19:25:43 UTC 2016


    Date: Thursday, August 25, 2016 @ 19:25:43
  Author: anthraxx
Revision: 187540

upgpkg: zmap 2.1.1-2

Modified:
  zmap/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-25 17:13:10 UTC (rev 187539)
+++ PKGBUILD	2016-08-25 19:25:43 UTC (rev 187540)
@@ -1,15 +1,16 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Contributor: Jens Adam <jra at byte.cx>
+# Contributor: Arch3y <arch3y[at]archstrike[dot]org>
 
 pkgname=zmap
 pkgver=2.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Fast network scanner designed for Internet-wide network surveys'
 url='https://zmap.io/'
 arch=('i686' 'x86_64')
 license=('Apache')
-depends=('gmp' 'hiredis' 'json-c' 'libpcap')
-makedepends=('byacc' 'cmake' 'gengetopt')
+depends=('gmp' 'hiredis' 'json-c' 'libpcap' 'libmongoc')
+makedepends=('byacc' 'cmake' 'gengetopt' 'pkg-config')
 backup=('etc/zmap/blacklist.conf' 'etc/zmap/zmap.conf')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/zmap/zmap/archive/v${pkgver}.tar.gz)
 sha512sums=('9d62dceff77fa20ff5945516b0766340366175947130bb844f19c11dac7676e658bcdedd6be29ffc945706aa3cdc0e4ac207bd127b618592769a4d3e75892857')
@@ -16,18 +17,17 @@
 
 build() {
   cd ${pkgname}-${pkgver}
-  cmake -DWITH_JSON=ON -DWITH_REDIS=ON
+  cmake -DWITH_JSON=ON -DWITH_REDIS=ON -DWITH_MONGO=ON
   make
 }
 
 package() {
   cd ${pkgname}-${pkgver}
-  install -Dm 755 src/zmap "${pkgdir}/usr/bin/zmap"
-  install -Dm 644 src/zmap.1 "${pkgdir}/usr/share/man/man1/zmap.1"
+  install -Dm 755 src/{zmap,ztee,zblacklist} -t "${pkgdir}/usr/bin"
+  install -Dm 644 src/*.1 -t "${pkgdir}/usr/share/man/man1"
   install -Dm 644 conf/* -t "${pkgdir}/etc/zmap"
-  for F in AUTHORS CHANGELOG.md INSTALL.md README.md; do
-    install -Dm 644 "${F}" "${pkgdir}/usr/share/doc/zmap/${F}"
-  done
+  install -Dm 644 AUTHORS CHANGELOG.md INSTALL.md README.md \
+    -t "${pkgdir}/usr/share/doc/zmap"
   cp -a examples "${pkgdir}/usr/share/doc/zmap"
 }
 



More information about the arch-commits mailing list