wok view arpwatch/receipt @ rev 25140
updated pigz (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:12:55 2022 +0100 (2022-06-29) |
parents | 9af0e03b8ad0 |
children | 8ea0030e77cb |
line source
1 # SliTaz package receipt.
3 PACKAGE="arpwatch"
4 VERSION="3.1"
5 CATEGORY="network"
6 SHORT_DESC="Arpwatch and arpsnmp network monitoring tools."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="ftp://ftp.ee.lbl.gov/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ee.lbl.gov/downloads/$PACKAGE/$TARBALL"
14 DEPENDS="libpcap"
15 BUILD_DEPENDS="libpcap-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://ee.lbl.gov/downloads/arpwatch/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
28 sed -i 's|-o bin -g bin||' Makefile.in
29 ./configure \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 install -d -m 755 $DESTDIR/usr/sbin
35 install -d -m 755 $DESTDIR/usr/share/man/man8
36 install -d -m 755 $DESTDIR/usr/etc/rc.d
37 make install &&
39 #~ SENDMAIL=/usr/sbin/sendmail
41 cook_pick_manpages $src/*.8
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_folders sbin
48 install -d -m 0755 $fs/var/lib/arpwatch
49 touch $fs/var/lib/arpwatch/arp.dat
50 }