[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Tue Nov 20 23:01:31 UTC 2018


    Date: Tuesday, November 20, 2018 @ 23:01:30
  Author: anthraxx
Revision: 409242

addpkg: netsniff-ng 0.6.5-2

Added:
  netsniff-ng/
  netsniff-ng/repos/
  netsniff-ng/trunk/
  netsniff-ng/trunk/PKGBUILD

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

Added: netsniff-ng/trunk/PKGBUILD
===================================================================
--- netsniff-ng/trunk/PKGBUILD	                        (rev 0)
+++ netsniff-ng/trunk/PKGBUILD	2018-11-20 23:01:30 UTC (rev 409242)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Can Celasun <can[at]dcc[dot]im>
+
+pkgname=netsniff-ng
+pkgver=0.6.5
+pkgrel=2
+pkgdesc='High performance Linux network sniffer for packet inspection'
+arch=('x86_64')
+url='http://netsniff-ng.org/'
+license=('GPL2')
+depends=('ncurses' 'geoip' 'zlib' 'libnetfilter_conntrack' 'libpcap' 'liburcu' 'libnl'
+         'libcli' 'libcli.so' 'libnet' 'libsodium')
+makedepends=('cmake' 'flex' 'bison')
+source=(http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${pkgver}.tar.gz{,.sign})
+sha512sums=('75c5cb2ecaac892d0e394d5dc364cd866c02427d50ead4669e58b719dabf1e4fc4237b190e8e8661329cbd580976b572d534286f484d1d00140dc2bf623cdc92'
+            'SKIP')
+validpgpkeys=('C3DE742283C246F2D7887AB4236B0FE9B5510F47')  # Tobias Klauser <tklauser at distanz.ch>
+
+build() {
+  cd ${pkgname}-${pkgver}
+  NACL_INC_DIR=/usr/include/sodium NACL_LIB=sodium ./configure --prefix=/usr
+  make DISTRO=1 all
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr DESTDIR="${pkgdir}" SBINDIR=/usr/bin install_all
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list