wok view arpwatch/receipt @ rev 24821

updated libpcap and libpcap-dev (1.9.1 -> 1.10.1)
author Hans-G?nter Theisgen
date Wed Mar 23 11:02:18 2022 +0100 (2022-03-23)
parents 11b5e93cb5f2
children 74692b14e380
line source
1 # SliTaz package receipt.
3 PACKAGE="arpwatch"
4 VERSION="2.1a15"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libpcap"
14 BUILD_DEPENDS="libpcap-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://ee.lbl.gov/downloads/arpwatch/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
27 sed -i 's|-o bin -g bin||' Makefile.in
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 install -d -m 755 $DESTDIR/usr/sbin
31 make install
33 #~ SENDMAIL=/usr/sbin/sendmail
35 cook_pick_manpages $src/*.8
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 install -d -m 0755 $fs/var/lib/arpwatch
44 touch $fs/var/lib/arpwatch/arp.dat
45 }