contrib/arpwatch/Pkgfile

32 lines
693 B
Plaintext
Raw Normal View History

2006-11-19 22:26:53 +01:00
# Description: Monitors MAC Adresses on your network.
2021-02-24 11:47:23 +01:00
# URL: https://ee.lbl.gov/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libpcap
2006-11-14 00:01:22 +01:00
name=arpwatch
2024-01-22 18:36:01 +01:00
version=3.6
2006-11-14 00:01:22 +01:00
release=1
2023-09-07 17:07:06 +02:00
source=(https://ee.lbl.gov/downloads/$name/$name-$version.tar.gz
53_stop-using-_getshort.patch
fix-time-h.patch)
2006-11-14 00:01:22 +01:00
build() {
2020-05-25 17:39:11 +02:00
cd $name-$version
2017-08-21 00:09:39 +02:00
2023-09-07 17:07:06 +02:00
patch -Np1 -i $SRC/53_stop-using-_getshort.patch
patch -Np1 -i $SRC/fix-time-h.patch
2017-08-21 00:09:39 +02:00
2023-09-07 17:07:06 +02:00
PYTHON=/usr/bin/python3 \
./configure \
--prefix=/usr \
2020-05-25 17:39:11 +02:00
--sbindir=/usr/bin \
--mandir=/usr/share/man
2017-08-21 00:09:39 +02:00
2020-07-01 15:40:50 +02:00
install -d $PKG/usr/{bin,share/man/man8,sbin,etc/rc.d}
2020-05-25 17:39:11 +02:00
make SENDMAIL=/usr/bin/sendmail
make DESTDIR=$PKG install
2023-09-07 17:07:06 +02:00
rm -rf $PKG/usr/etc
2006-11-14 00:01:22 +01:00
}