p0f: fix license, http->https, description

This commit is contained in:
Colin Booth 2021-05-09 12:44:28 -07:00 committed by Đoàn Trần Công Danh
parent fb5f1ad912
commit 3af1be8663
2 changed files with 18 additions and 9 deletions

View 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: */

View file

@ -1,19 +1,15 @@
# Template file for 'p0f'
pkgname=p0f
version=3.09b
revision=2
revision=3
makedepends="libpcap-devel"
short_desc="A passive OS fingerprinting tool"
short_desc="Passive OS fingerprinting tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="http://lcamtuf.coredump.cx/p0f3"
distfiles="http://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${version}.tgz"
license="LGPL-2.1-only"
homepage="https://lcamtuf.coredump.cx/p0f3"
distfiles="https://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${version}.tgz"
checksum=543b68638e739be5c3e818c3958c3b124ac0ccb8be62ba274b4241dbdec00e7f
do_configure() {
sed -i "s!\"p0f.fp!\"/usr/share/${pkgname}/p0f.fp!" config.h
}
do_build() {
make
make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS+="$LDFLAGS" -C tools