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

Levente Polyak anthraxx at archlinux.org
Thu Sep 12 19:11:12 UTC 2019


    Date: Thursday, September 12, 2019 @ 19:11:11
  Author: anthraxx
Revision: 509774

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: netsniff-ng/repos/community-staging-x86_64/PKGBUILD (from rev 509773, netsniff-ng/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-09-12 19:11:11 UTC (rev 509774)
@@ -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.6
+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=('627b9a20e36d91b6cad58a793d370a39bfc14fcfa58aa634e79f0bd5bf7bf5b55d13d891c52a133c4ebb6b77b1a80207d61b037902f3103eb1bd5534a1dc7822'
+            '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