diff options
Diffstat (limited to 'community/arpwatch')
-rw-r--r-- | community/arpwatch/PKGBUILD | 12 | ||||
-rw-r--r-- | community/arpwatch/arpwatch.service | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/community/arpwatch/PKGBUILD b/community/arpwatch/PKGBUILD index a5d2f0975..108c360e6 100644 --- a/community/arpwatch/PKGBUILD +++ b/community/arpwatch/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 87787 2013-04-06 15:38:17Z seblu $ +# $Id: PKGBUILD 91484 2013-05-23 10:11:13Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sébastien Luttringer pkgname=arpwatch pkgver=2.1a15 -pkgrel=10 +pkgrel=11 pkgdesc='Ethernet/FDDI station activity monitor' arch=('i686' 'x86_64' 'mips64el') url='ftp://ftp.ee.lbl.gov/' @@ -16,7 +16,7 @@ source=("ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz" "$pkgname.service") md5sums=('cebfeb99c4a7c2a6cee2564770415fe7' '9359518c500562281e76cdb0b2fa9062' - '2324a202222303daa1a41d8abd7a7e4a') + '43e2358ba0532da38e5296250a7fcfd8') prepare() { cd $pkgname-$pkgver @@ -28,13 +28,13 @@ prepare() { build() { cd $pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man - make SENDMAIL=/usr/sbin/sendmail + ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin + make SENDMAIL=`which sendmail` } package() { cd $pkgname-$pkgver - install -d -m 0755 "$pkgdir"/usr/{sbin,share/man} + install -d -m 0755 "$pkgdir"/usr/{bin,share/man} make DESTDIR="$pkgdir" install install-man # install ether prefix database install -Dm644 ethercodes.dat "$pkgdir/var/lib/$pkgname/ethercodes.dat" diff --git a/community/arpwatch/arpwatch.service b/community/arpwatch/arpwatch.service index 570f93852..ede31f3f7 100644 --- a/community/arpwatch/arpwatch.service +++ b/community/arpwatch/arpwatch.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=forking ExecStartPre=/usr/bin/touch /var/lib/arpwatch/%I.dat -ExecStart=/usr/sbin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I +ExecStart=/usr/bin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I [Install] WantedBy=multi-user.target |