void-packages/srcpkgs/iptraf-ng/template

48 lines
1.9 KiB
Plaintext
Raw Normal View History

2012-01-21 21:21:27 +01:00
# Template file for 'iptraf-ng'
pkgname=iptraf-ng
2013-05-14 14:23:02 +02:00
version=1.1.3.1
revision=1
2012-01-21 21:21:27 +01:00
build_style=gnu-configure
2013-05-14 14:23:02 +02:00
configure_args="--sbindir=/usr/bin"
makedepends="ncurses-devel"
2012-01-21 21:21:27 +01:00
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"
2013-05-14 14:23:02 +02:00
checksum=687b5632290d9b4963842df36f3572d97e333656d1fb6c5f341ab7df651dc185
2012-01-21 21:21:27 +01:00
long_desc="
$pkgname is a fork of original iptraf-3.0.0.
IPTraf-ng is a console-based network monitoring utility. IPTraf-ng gathers
data like TCP connection packet and byte counts, interface statistics and
activity indicators, TCP/UDP traffic breakdowns, and LAN station packet
and byte counts. IPTraf-ng features include an IP traffic monitor which
shows TCP flag information, packet and byte counts, ICMP details, OSPF
packet types, and oversized IP packet warnings; interface statistics showing
IP, TCP, UDP, ICMP, non-IP and other IP packet counts, IP checksum errors,
interface activity and packet size counts; a TCP and UDP service monitor
showing counts of incoming and outgoing packets for common TCP and UDP
application ports, a LAN statistics module that discovers active hosts and
displays statistics about their activity; TCP, UDP and other protocol
display filters so you can view just the traffic you want; logging; support
for Ethernet, FDDI, ISDN, SLIP, PPP, and loopback interfaces; and
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."
2013-05-14 12:48:35 +02:00
if [ "$CROSS_BUILD" ]; then
# XXX needs ncurses-config
2013-05-14 14:23:02 +02:00
hostmakedepends+=" ncurses-devel>=5.9_7"
2013-05-14 12:48:35 +02:00
fi
2013-05-14 14:23:02 +02:00
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() {
2013-05-14 12:48:35 +02:00
vmove all
}
}