blob: 576a97fc4d1e54b143112f761788d1c3fafcc25c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Can Celasun <can[at]dcc[dot]im>
pkgname=netsniff-ng-git
_gitname=netsniff-ng
pkgver=v0.6.5.1.gb0ea3114
pkgrel=1
pkgdesc='A high performance Linux network sniffer for packet inspection (git version).'
arch=('i686' 'x86_64')
url='http://netsniff-ng.org/'
license=('GPL2')
provides=('netsniff-ng')
conflicts=('netsniff-ng')
makedepends=('cmake' 'flex' 'bison' 'git')
depends=('ncurses' 'geoip' 'zlib' 'libnetfilter_conntrack' 'libpcap' 'liburcu' 'libnl' 'libcli' 'libnet' 'libsodium')
source=('git+https://github.com/netsniff-ng/netsniff-ng.git')
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
}
build() {
cd "${srcdir}"/${_gitname}
NACL_INC_DIR=/usr/include/sodium NACL_LIB=sodium ./configure
make DISTRO=1 all
}
package() {
cd "${srcdir}"/${_gitname}
make PREFIX="/usr" DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install_all
}
|