arpwatch: 1.7 -> 2.1a15
This commit is contained in:
parent
125a264d48
commit
9b821ff4ad
@ -1,15 +1,8 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-x--- root/root usr/sbin/
|
||||
-rwxr-x--- root/root usr/sbin/arpsnmp
|
||||
-rwxr-x--- root/root usr/sbin/arpwatch
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-r-xr-xr-x root/root usr/bin/arpsnmp
|
||||
-r-xr-xr-x root/root usr/bin/arpwatch
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-x--- root/root usr/share/arpwatch/
|
||||
-r--r----- root/root usr/share/arpwatch/ethercodes.dat
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-r--r--r-- root/root usr/share/man/man8/arpsnmp.8.gz
|
||||
-r--r--r-- root/root usr/share/man/man8/arpwatch.8.gz
|
||||
drwxr-xr-x root/root usr/var/
|
||||
drwxr-xr-x root/root usr/var/lib/
|
||||
drwxr-x--- root/root usr/var/lib/arpwatch/
|
||||
-rw-r----- root/root usr/var/lib/arpwatch/arp.dat (EMPTY)
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wNc07yOR1RCNyiK/X1ZcHeuHfFJEyQ07Q4Bclp71IPjCAAlWmHBom1MbraIV1j9IX9TRuDnap1ZebiDQxCL0gM=
|
||||
SHA256 (Pkgfile) = 4535f05f62dfbbedf9da01312b70cd412792d7215f905aad4536a02c387acf9d
|
||||
SHA256 (.footprint) = 183ef268e2fee5f1a6d93771502767d783feb65c10c92b00f3af175895f98fe8
|
||||
SHA256 (arpwatch-NG1.7.tar.bz2) = 92c4a3b312edb688747cbbeb8d1af7b5e1283a005acff8da599b0edd57025889
|
||||
RWSagIOpLGJF36jVa4gcazuna1OecKAHrXmRAshpwHBLQx7ayw/Dvx3LwGraEliyMYbNa2LodtHrtctKplisj6EcoJVojUbaIAU=
|
||||
SHA256 (Pkgfile) = 4d48f5d15c766e8419044f2c646f9e90f346426dc57140b150fa2e98f015448a
|
||||
SHA256 (.footprint) = 87099a68b3a2800860d430eb6d346e98eeeb2e71175440f70ac5c2c7b12f59e8
|
||||
SHA256 (arpwatch-2.1a15.tar.gz) = c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898
|
||||
|
@ -2,22 +2,28 @@
|
||||
# URL: http://freequaos.host.sk/arpwatch/
|
||||
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
||||
#
|
||||
# Depends on: libpcap
|
||||
|
||||
name=arpwatch
|
||||
version=1.7
|
||||
version=2.1a15
|
||||
release=1
|
||||
source=(http://freequaos.host.sk/arpwatch/arpwatch-NG$version.tar.bz2)
|
||||
source=(ftp://ftp.ee.lbl.gov/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-NG$version
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr --mandir=/usr/share/man
|
||||
# https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/arpwatch
|
||||
sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
|
||||
sed -i 's/-\(o\|g\) bin/-\1 root/g' Makefile.in
|
||||
|
||||
install -d $PKG/usr/{sbin,share/man/man8,sbin}
|
||||
./configure --prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--mandir=/usr/share/man
|
||||
|
||||
# prepend DESTDIR to some paths
|
||||
sed -i '123,126{s/\$(/$(DESTDIR)$(/2}' Makefile
|
||||
make && make DESTDIR=$PKG install
|
||||
install -d $PKG/usr/{bin,share/man/man8,sbin}
|
||||
|
||||
# prepend DESTDIR to some paths
|
||||
#sed -i '123,126{s/\$(/$(DESTDIR)$(/2}' Makefile
|
||||
make SENDMAIL=/usr/bin/sendmail
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user