wok-next annotate arpwatch/receipt @ rev 14081

udisks: add a polkit rule to make disk group use udisks without password, udisks should work now
author ernia <monghitri@aruba.it>
date Fri Feb 22 20:29:00 2013 +0000 (2013-02-22)
parents 1e19a2f13637
children d7486a2cc6d9
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"
slaxemulator@9521 8 DEPENDS="libpcap"
erjo@9885 9 BUILD_DEPENDS="libpcap-dev"
slaxemulator@9521 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9521 11 WEB_SITE="ftp://ftp.ee.lbl.gov"
slaxemulator@9521 12 WGET_URL="$WEB_SITE/$TARBALL"
slaxemulator@9521 13
slaxemulator@9521 14 # Rules to configure and make the package.
slaxemulator@9521 15 compile_rules()
slaxemulator@9521 16 {
slaxemulator@9521 17 cd $src
slaxemulator@9521 18 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
slaxemulator@9521 19 sed -i 's|-o bin -g bin||' Makefile.in
slaxemulator@10050 20 ./configure $CONFIGURE_ARGS &&
erjo@9885 21 make &&
slaxemulator@9521 22 install -d -m 755 $DESTDIR/usr/sbin
slaxemulator@9521 23 make install
erjo@9885 24
erjo@9885 25 #~ SENDMAIL=/usr/sbin/sendmail
slaxemulator@9521 26 }
slaxemulator@9521 27
slaxemulator@9521 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9521 29 genpkg_rules()
slaxemulator@9521 30 {
slaxemulator@9521 31 mkdir -p $fs/usr
slaxemulator@9521 32 cp -a $_pkg/usr/sbin $fs/usr
slaxemulator@9521 33 install -d -m 0755 $fs/var/lib/arpwatch
slaxemulator@9521 34 touch $fs/var/lib/arpwatch/arp.dat
slaxemulator@9521 35 }
slaxemulator@9521 36