iptraf-ng: update to 1.1.3.1.

This commit is contained in:
Juan RP 2013-05-14 14:23:02 +02:00
parent a0caa1990b
commit 626496acf7

View file

@ -1,15 +1,16 @@
# Template file for 'iptraf-ng'
pkgname=iptraf-ng
version=1.1.1
revision=2
version=1.1.3.1
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
makedepends="ncurses-devel"
short_desc="IP traffic monitor (iptraf-3.0.0 fork)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://fedorahosted.org/iptraf-ng/"
distfiles="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$version.tar.gz"
checksum=02aaf76d4f16e48224a534ef7d64d4b3a5ee0ede53b46cacd35842abb7b9a681
checksum=687b5632290d9b4963842df36f3572d97e333656d1fb6c5f341ab7df651dc185
long_desc="
$pkgname is a fork of original iptraf-3.0.0.
@ -31,9 +32,13 @@ long_desc="
if [ "$CROSS_BUILD" ]; then
# XXX needs ncurses-config
hostmakedepends="ncurses-devel>=5.9_7"
hostmakedepends+=" ncurses-devel>=5.9_7"
fi
pre_configure() {
sed -e "s,linux/if_tr.h,netinet/if_tr.h,g" -i src/iptraf-ng-compat.h
}
iptraf-ng_package() {
make_dirs="/var/lock/iptraf-ng 0750 root root"
pkg_install() {