contrib/arpwatch/Pkgfile

32 lines
693 B
Plaintext

# Description: Monitors MAC Adresses on your network.
# URL: https://ee.lbl.gov/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libpcap
name=arpwatch
version=3.6
release=1
source=(https://ee.lbl.gov/downloads/$name/$name-$version.tar.gz
53_stop-using-_getshort.patch
fix-time-h.patch)
build() {
cd $name-$version
patch -Np1 -i $SRC/53_stop-using-_getshort.patch
patch -Np1 -i $SRC/fix-time-h.patch
PYTHON=/usr/bin/python3 \
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--mandir=/usr/share/man
install -d $PKG/usr/{bin,share/man/man8,sbin,etc/rc.d}
make SENDMAIL=/usr/bin/sendmail
make DESTDIR=$PKG install
rm -rf $PKG/usr/etc
}