You are not logged in.
Pages: 1
Offline
I tried to create the package myself, but this is my 1st PKGBUILD, so plz correct me if I'm wrong..
1 thing I find missing is the /etc/rc.d/arpwatch runlevel file
other thing I'm not so sure is the manpage dir, and the /var/arpwatch
pkgname=arpwatch
pkgver=2.1a13
pkgrel=1
url="http://www-nrg.ee.lbl.gov/"
depends=("libpcap")
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz)
md5sums=('b9ff9739cdd2c0e9807b2d05860e4811')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/usr/sbin
mkdir -p $startdir/pkg/usr/man/man8
mkdir -p $startdir/pkg/var/arpwatch
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg MANDEST=/usr/man install-man
cp arp.dat $startdir/pkg/var/arpwatch/arp.dat
cp arp2ethers $startdir/pkg/var/arpwatch/arp2ethers
cp arpfetch $startdir/pkg/var/arpwatch/arpfetch
cp d.awk $startdir/pkg/var/arpwatch/d.awk
cp duplicates.awk $startdir/pkg/var/arpwatch/duplicates.awk
cp e.awk $startdir/pkg/var/arpwatch/e.awk
cp ethercodes.dat $startdir/pkg/var/arpwatch/ethercodes.dat
cp euppertolower.awk $startdir/pkg/var/arpwatch/euppertolower.awk
cp massagevendor $startdir/pkg/var/arpwatch/massagevendor
cp massagevendor-old $startdir/pkg/var/arpwatch/massagevendor-old
cp missingcodes.txt $startdir/pkg/var/arpwatch/missingcodes.txt
cp p.awk $startdir/pkg/var/arpwatch/p.awk
}
Offline
Pages: 1