forked from ports/contrib
p0f: 2.0.8 -> 3.05b
This commit is contained in:
parent
0099a2aaa9
commit
362ef89899
@ -1,17 +1,8 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/p0f/
|
||||
-rw-r--r-- root/root etc/p0f/p0f.fp
|
||||
-rw-r--r-- root/root etc/p0f/p0fa.fp
|
||||
-rw-r--r-- root/root etc/p0f/p0fr.fp
|
||||
-rw-r--r-- root/root etc/p0f.fp
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/p0f.1.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/p0f
|
||||
-rwxr-xr-x root/root usr/sbin/p0fping
|
||||
-rwxr-xr-x root/root usr/sbin/p0fq
|
||||
-rwxr-xr-x root/root usr/sbin/p0frep
|
||||
-rwxr-xr-x root/root usr/sbin/sendack
|
||||
-rwxr-xr-x root/root usr/sbin/sendack2
|
||||
-rwxr-xr-x root/root usr/sbin/sendsyn
|
||||
-rwxr-xr-x root/root usr/sbin/p0f-client
|
||||
-rwxr-xr-x root/root usr/sbin/p0f-sendsyn
|
||||
-rwxr-xr-x root/root usr/sbin/p0f-sendsyn6
|
||||
|
@ -1 +1 @@
|
||||
1ccbcd8d4c95ef6dae841120d23c56a5 p0f-2.0.8.tgz
|
||||
edbc4b135b2646db3227a441268fd2e2 p0f-3.05b.tgz
|
||||
|
20
p0f/Pkgfile
20
p0f/Pkgfile
@ -5,18 +5,18 @@
|
||||
# Depends on: libpcap
|
||||
|
||||
name=p0f
|
||||
version=2.0.8
|
||||
version=3.05b
|
||||
release=1
|
||||
source=(http://ftp.freebsd.org/pub/FreeBSD/distfiles/$name-$version.tgz)
|
||||
source=(http://lcamtuf.coredump.cx/p0f3/releases/p0f-$version.tgz)
|
||||
|
||||
build() {
|
||||
cd $name
|
||||
cd $name-$version
|
||||
sed -i 's|p0f.fp|/etc/p0f.fp|1' config.h
|
||||
make
|
||||
install -d $PKG/usr/sbin $PKG/usr/man/man1
|
||||
install -d $PKG/etc/p0f
|
||||
install -m 755 {p0f,p0frep} $PKG/usr/sbin
|
||||
install -m 644 p0f.1 $PKG/usr/man/man1
|
||||
install -m 644 {p0f.fp,p0fa.fp,p0fr.fp} $PKG/etc/p0f
|
||||
cd test
|
||||
for i in *.c;do gcc "$i" -o $(basename "$i" .c);install $(basename "$i" .c) $PKG/usr/sbin;done
|
||||
install -d $PKG/usr/sbin $PKG/etc
|
||||
install -m 755 p0f $PKG/usr/sbin
|
||||
install -m 644 p0f.fp $PKG/etc
|
||||
cd tools
|
||||
make
|
||||
for i in *.c;do install $(basename "$i" .c) $PKG/usr/sbin;done
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user