[arch-commits] Commit in zmap/repos (3 files)

Jelle van der Waa jelle at archlinux.org
Fri Dec 29 14:26:19 UTC 2017


    Date: Friday, December 29, 2017 @ 14:26:18
  Author: jelle
Revision: 276866

db-move: moved zmap from [community-staging] to [community-testing] (x86_64)

Added:
  zmap/repos/community-testing-x86_64/
  zmap/repos/community-testing-x86_64/PKGBUILD
    (from rev 276865, zmap/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  zmap/repos/community-staging-x86_64/

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: zmap/repos/community-testing-x86_64/PKGBUILD (from rev 276865, zmap/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-29 14:26:18 UTC (rev 276866)
@@ -0,0 +1,34 @@
+# 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=3
+pkgdesc='Fast network scanner designed for Internet-wide network surveys'
+url='https://zmap.io/'
+arch=('x86_64')
+license=('Apache')
+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')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cmake -DWITH_JSON=ON -DWITH_REDIS=ON -DWITH_MONGO=ON
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  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"
+  install -Dm 644 AUTHORS CHANGELOG.md INSTALL.md README.md \
+    -t "${pkgdir}/usr/share/doc/zmap"
+  cp -a examples "${pkgdir}/usr/share/doc/zmap"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list