iptraf-ng: update to 1.1.4.

This commit is contained in:
Juan RP 2013-11-02 09:45:55 +01:00
parent 24491f4c72
commit 458c2c719b

View file

@ -1,16 +1,17 @@
# Template file for 'iptraf-ng'
pkgname=iptraf-ng
version=1.1.3.1
version=1.1.4
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
hostmakedepends="ncurses-devel>=5.9_7"
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=687b5632290d9b4963842df36f3572d97e333656d1fb6c5f341ab7df651dc185
checksum=79140cf07c0cceb1b5723242847a73aa86f5e4f9dccfe8970fda6801d347eb09
long_desc="
$pkgname is a fork of original iptraf-3.0.0.
@ -30,17 +31,7 @@ long_desc="
utilization of the built-in raw socket interface of the Linux kernel, so it
can be used on a wide variety of supported network cards."
if [ "$CROSS_BUILD" ]; then
# XXX needs ncurses-config
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() {
vmove all
}