[arch-commits] Commit in netsniff-ng/repos (2 files)

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


    Date: Tuesday, November 20, 2018 @ 23:01:39
  Author: anthraxx
Revision: 409243

archrelease: copy trunk to community-x86_64

Added:
  netsniff-ng/repos/community-x86_64/
  netsniff-ng/repos/community-x86_64/PKGBUILD
    (from rev 409242, netsniff-ng/trunk/PKGBUILD)

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

Copied: netsniff-ng/repos/community-x86_64/PKGBUILD (from rev 409242, netsniff-ng/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-11-20 23:01:39 UTC (rev 409243)
@@ -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