wok-next annotate arpwatch/receipt @ rev 15245
arpwatch, le lftp: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 23 13:26:46 2013 +0000 (2013-09-23) |
parents | 6769a12a49d6 |
children | dead8955c3ca |
rev | line source |
---|---|
slaxemulator@9521 | 1 # SliTaz package receipt. |
slaxemulator@9521 | 2 |
slaxemulator@9521 | 3 PACKAGE="arpwatch" |
slaxemulator@9521 | 4 VERSION="2.1a15" |
slaxemulator@9521 | 5 CATEGORY="network" |
slaxemulator@9521 | 6 SHORT_DESC="arpwatch and arpsnmp network monitoring tools" |
slaxemulator@9521 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15245 | 8 LICENSE="BSD" |
slaxemulator@9521 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9521 | 10 WEB_SITE="ftp://ftp.ee.lbl.gov" |
slaxemulator@9521 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@9521 | 12 |
pascal@15245 | 13 DEPENDS="libpcap" |
pascal@15245 | 14 BUILD_DEPENDS="libpcap-dev" |
pascal@15245 | 15 |
slaxemulator@9521 | 16 # Rules to configure and make the package. |
slaxemulator@9521 | 17 compile_rules() |
slaxemulator@9521 | 18 { |
slaxemulator@9521 | 19 cd $src |
slaxemulator@9521 | 20 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in |
slaxemulator@9521 | 21 sed -i 's|-o bin -g bin||' Makefile.in |
slaxemulator@10050 | 22 ./configure $CONFIGURE_ARGS && |
pascal@15245 | 23 make 2>&1 | grep -v "STRERROR" && |
slaxemulator@9521 | 24 install -d -m 755 $DESTDIR/usr/sbin |
slaxemulator@9521 | 25 make install |
erjo@9885 | 26 |
erjo@9885 | 27 #~ SENDMAIL=/usr/sbin/sendmail |
slaxemulator@9521 | 28 } |
slaxemulator@9521 | 29 |
slaxemulator@9521 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9521 | 31 genpkg_rules() |
slaxemulator@9521 | 32 { |
slaxemulator@9521 | 33 mkdir -p $fs/usr |
pascal@15245 | 34 cp -a $install/usr/sbin $fs/usr |
slaxemulator@9521 | 35 install -d -m 0755 $fs/var/lib/arpwatch |
slaxemulator@9521 | 36 touch $fs/var/lib/arpwatch/arp.dat |
slaxemulator@9521 | 37 } |
slaxemulator@9521 | 38 |