mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
p0f: fix license, http->https, description
This commit is contained in:
parent
fb5f1ad912
commit
3af1be8663
2 changed files with 18 additions and 9 deletions
13
srcpkgs/p0f/patches/config.patch
Normal file
13
srcpkgs/p0f/patches/config.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Index: p0f-3.09b/config.h
|
||||||
|
===================================================================
|
||||||
|
--- p0f-3.09b.orig/config.h
|
||||||
|
+++ p0f-3.09b/config.h
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
/* Default location of p0f.fp: */
|
||||||
|
|
||||||
|
#ifndef FP_FILE
|
||||||
|
-# define FP_FILE "p0f.fp"
|
||||||
|
+# define FP_FILE "/usr/share/p0f/p0f.fp"
|
||||||
|
#endif /* !FP_FILE */
|
||||||
|
|
||||||
|
/* Initial permissions on log files: */
|
|
@ -1,19 +1,15 @@
|
||||||
# Template file for 'p0f'
|
# Template file for 'p0f'
|
||||||
pkgname=p0f
|
pkgname=p0f
|
||||||
version=3.09b
|
version=3.09b
|
||||||
revision=2
|
revision=3
|
||||||
makedepends="libpcap-devel"
|
makedepends="libpcap-devel"
|
||||||
short_desc="A passive OS fingerprinting tool"
|
short_desc="Passive OS fingerprinting tool"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1-only"
|
||||||
homepage="http://lcamtuf.coredump.cx/p0f3"
|
homepage="https://lcamtuf.coredump.cx/p0f3"
|
||||||
distfiles="http://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${version}.tgz"
|
distfiles="https://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${version}.tgz"
|
||||||
checksum=543b68638e739be5c3e818c3958c3b124ac0ccb8be62ba274b4241dbdec00e7f
|
checksum=543b68638e739be5c3e818c3958c3b124ac0ccb8be62ba274b4241dbdec00e7f
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
sed -i "s!\"p0f.fp!\"/usr/share/${pkgname}/p0f.fp!" config.h
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make
|
make
|
||||||
make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS+="$LDFLAGS" -C tools
|
make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS+="$LDFLAGS" -C tools
|
||||||
|
|
Loading…
Add table
Reference in a new issue