Package: pmacct Version: 0.12.1-1 Severity: grave Hi,
This package is uninstallable on kfreebsd-amd64 because of its dependency on iproute. Attached patch fixes the problem by replacing "ip" invocation with portable use of "ifconfig" command. -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 8.1-1-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/control' --- debian/control 2011-11-04 20:57:43 +0000 +++ debian/control 2011-11-04 20:58:50 +0000 @@ -7,7 +7,7 @@ Standards-Version: 3.8.4 Package: pmacct Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, iproute +Depends: ${shlibs:Depends}, ${misc:Depends}, net-tools [linux-any] | freebsd-net-tools [kfreebsd-any] Description: promiscuous mode traffic accountant pmacct is a tool designed to gather traffic information (bytes and number of packets) by listening on a promiscuous interface or for Netflow data, === modified file 'debian/pmacct.init' --- debian/pmacct.init 2011-11-04 20:57:43 +0000 +++ debian/pmacct.init 2011-11-04 20:57:56 +0000 @@ -35,7 +35,7 @@ start () { # --exec $DAEMON -- -f $PMACCTD_CONF $DAEMON_OPTS if [ -n "$INTERFACES" ]; then for i in $INTERFACES; do - ip link set $i up + ifconfig $i up $DAEMON -f $CONFDIR/pmacctd.$i.conf $DAEMON_OPTS done else