
Receipt for package "arpwatch"
# SliTaz package receipt. PACKAGE="arpwatch" VERSION="3.1" CATEGORY="network" SHORT_DESC="Arpwatch and arpsnmp network monitoring tools." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" WEB_SITE="https://ee.lbl.gov/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://ee.lbl.gov/downloads/$PACKAGE/$TARBALL" DEPENDS="libpcap" BUILD_DEPENDS="libpcap-dev" # What is the latest version available today? current_version() { wget -O - https://ee.lbl.gov/downloads/arpwatch/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in sed -i 's|-o bin -g bin||' Makefile.in ./configure \ --mandir=/usr/share/man \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && install -d -m 755 $DESTDIR/usr/sbin install -d -m 755 $DESTDIR/usr/share/man/man8 install -d -m 755 $DESTDIR/usr/etc/rc.d make install && #~ SENDMAIL=/usr/sbin/sendmail cook_pick_manpages $src/*.8 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders sbin install -d -m 0755 $fs/var/lib/arpwatch touch $fs/var/lib/arpwatch/arp.dat }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)