diff options
Diffstat (limited to 'community/arpwatch')
-rw-r--r-- | community/arpwatch/PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/community/arpwatch/PKGBUILD b/community/arpwatch/PKGBUILD index eb3859dba..fd01fb64e 100644 --- a/community/arpwatch/PKGBUILD +++ b/community/arpwatch/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 7443 2010-01-06 23:33:42Z dgriffiths $ +# $Id: PKGBUILD 44377 2011-04-06 19:43:49Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=arpwatch pkgver=2.1a15 -pkgrel=6 +pkgrel=7 pkgdesc="arpwatch and arpsnmp network monitoring tools" arch=(i686 x86_64) url="ftp://ftp.ee.lbl.gov/" @@ -14,16 +14,16 @@ source=(ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz) md5sums=('cebfeb99c4a7c2a6cee2564770415fe7') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in ./configure --prefix=/usr - make || return 1 - install -d -m 0755 $startdir/pkg/usr/sbin && \ - make DESTDIR=$startdir/pkg install && \ - install -D -m 0644 arpwatch.8 $startdir/pkg/usr/share/man/man8/arpwatch.8 && \ - install -D -m 0644 arpsnmp.8 $startdir/pkg/usr/share/man/man8/arpsnmp.8 && \ - install -d -m 0755 $startdir/pkg/var/lib/arpwatch && \ - touch $startdir/pkg/var/lib/arpwatch/arp.dat + make SENDMAIL=/usr/sbin/sendmail + install -d -m 0755 $pkgdir/usr/sbin + make DESTDIR=$pkgdir install + install -D -m 0644 arpwatch.8 $pkgdir/usr/share/man/man8/arpwatch.8 + install -D -m 0644 arpsnmp.8 $pkgdir/usr/share/man/man8/arpsnmp.8 + install -d -m 0755 $pkgdir/var/lib/arpwatch + touch $pkgdir/var/lib/arpwatch/arp.dat } |