wok-current rev 25127

updated arpwatch (2.1a15 -> 3.1)
author Hans-G?nter Theisgen
date Tue Jun 28 16:41:22 2022 +0100 (2022-06-28)
parents 80eb8a52ec19
children 21560db18fe0
files arpwatch/receipt
line diff
     1.1 --- a/arpwatch/receipt	Tue Jun 28 16:35:11 2022 +0100
     1.2 +++ b/arpwatch/receipt	Tue Jun 28 16:41:22 2022 +0100
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="arpwatch"
     1.7 -VERSION="2.1a15"
     1.8 +VERSION="3.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="arpwatch and arpsnmp network monitoring tools"
    1.11 +SHORT_DESC="Arpwatch and arpsnmp network monitoring tools."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="BSD"
    1.14  WEB_SITE="ftp://ftp.ee.lbl.gov/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="${WEB_SITE}$TARBALL"
    1.18 +WGET_URL="https://ee.lbl.gov/downloads/$PACKAGE/$TARBALL"
    1.19  
    1.20  DEPENDS="libpcap"
    1.21  BUILD_DEPENDS="libpcap-dev"
    1.22 @@ -25,10 +26,15 @@
    1.23  {
    1.24  	sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
    1.25  	sed -i 's|-o bin -g bin||' Makefile.in
    1.26 -	./configure $CONFIGURE_ARGS &&
    1.27 +	./configure			\
    1.28 +		--mandir=/usr/share/man	\
    1.29 +		--sysconfdir=/etc	\
    1.30 +		$CONFIGURE_ARGS &&
    1.31  	make &&
    1.32  	install -d -m 755 $DESTDIR/usr/sbin
    1.33 -	make install
    1.34 +	install -d -m 755 $DESTDIR/usr/share/man/man8
    1.35 +	install -d -m 755 $DESTDIR/usr/etc/rc.d
    1.36 +	make install &&
    1.37  	
    1.38  	#~ SENDMAIL=/usr/sbin/sendmail
    1.39  
    1.40 @@ -38,8 +44,7 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/sbin $fs/usr
    1.46 -	install -d -m 0755 $fs/var/lib/arpwatch
    1.47 -	touch $fs/var/lib/arpwatch/arp.dat
    1.48 +	cook_copy_folders	sbin
    1.49 +	install -d -m 0755	$fs/var/lib/arpwatch
    1.50 +	touch			$fs/var/lib/arpwatch/arp.dat
    1.51  }