diff options
author | hubertf <hubertf> | 2003-01-17 23:15:23 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2003-01-17 23:15:23 +0000 |
commit | a8ccc9b9c4f3aaa52ec0e5dbb0187d146f1a0064 (patch) | |
tree | a09cbb374175b3d40097153c761bdaa655eb6d47 /security | |
parent | 6c08f67eb941fcb5d888e4e2a7a73574d2837499 (diff) | |
download | pkgsrc-a8ccc9b9c4f3aaa52ec0e5dbb0187d146f1a0064.tar.gz |
Update p0f to 1.8.2. Changes:
1. Developer changed s/Micha³ Zalewski/William Stearns/
2. A lot of new finger prints.
3. GPL -> LGPL license change
Full list (not so big) in ChangeLog
Patch contributed by Dawid Szymañski in PR 19896.
Diffstat (limited to 'security')
-rw-r--r-- | security/p0f/Makefile | 15 | ||||
-rw-r--r-- | security/p0f/PLIST | 3 | ||||
-rw-r--r-- | security/p0f/distinfo | 9 | ||||
-rw-r--r-- | security/p0f/patches/patch-aa | 13 |
4 files changed, 26 insertions, 14 deletions
diff --git a/security/p0f/Makefile b/security/p0f/Makefile index b4baea0840b..83f17fa1ecf 100644 --- a/security/p0f/Makefile +++ b/security/p0f/Makefile @@ -1,17 +1,24 @@ -# $NetBSD: Makefile,v 1.1.1.2 2001/03/26 11:59:15 hubertf Exp $ +# $NetBSD: Makefile,v 1.2 2003/01/17 23:15:24 hubertf Exp $ # -DISTNAME= p0f-1.7 +DISTNAME= p0f-1.8.2 CATEGORIES= security net -MASTER_SITES= http://lcamtuf.hack.pl/ +MASTER_SITES= http://www.stearns.org/p0f/ EXTRACT_SUFX= .tgz -MAINTAINER= DawS@irc.pl +MAINTAINER= dawszy@arhea.net COMMENT= passive OS fingerprinting tool +pre-build: + ${SED} \ + -e 's,@PREFIX@,${LOCALBASE},'\ + <${WRKSRC}/p0f.c > ${WRKSRC}/p0f.c.tmp + ${MV} ${WRKSRC}/p0f.c.tmp ${WRKSRC}/p0f.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f.README + ${INSTALL_DATA} ${WRKSRC}/p0frep ${PREFIX}/share/doc/p0frep .include "../../mk/bsd.pkg.mk" diff --git a/security/p0f/PLIST b/security/p0f/PLIST index 52c21581a4d..c424584f611 100644 --- a/security/p0f/PLIST +++ b/security/p0f/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:17:07 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/01/17 23:15:24 hubertf Exp $ bin/p0f etc/p0f.fp share/doc/p0f.README +share/doc/p0frep diff --git a/security/p0f/distinfo b/security/p0f/distinfo index e9386b4217a..bff7cb45bc8 100644 --- a/security/p0f/distinfo +++ b/security/p0f/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 15:40:35 agc Exp $ +$NetBSD: distinfo,v 1.3 2003/01/17 23:15:24 hubertf Exp $ -SHA1 (p0f-1.7.tgz) = ac2ff4b2fc78c023ffe6a4d135385a0cef4a10c6 -Size (p0f-1.7.tgz) = 14694 bytes -SHA1 (patch-aa) = 067e95fa6074248712fd05047d540708d80b86ac -SHA1 (patch-ab) = 8be455cbaeddf152604c97c5e136de487838f298 +SHA1 (p0f-1.8.2.tgz) = e0c6cb93f9251a3c9e588290a5426c26c9a9af07 +Size (p0f-1.8.2.tgz) = 23969 bytes +SHA1 (patch-aa) = 21d484a2fa8de86fcd33727b4056787bdc6099d5 diff --git a/security/p0f/patches/patch-aa b/security/p0f/patches/patch-aa index 564c33c4195..8710e7ec941 100644 --- a/security/p0f/patches/patch-aa +++ b/security/p0f/patches/patch-aa @@ -1,13 +1,18 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/03/26 05:12:56 zuntum Exp $ +$NetBSD: patch-aa,v 1.2 2003/01/17 23:15:25 hubertf Exp $ ---- p0f.c.orig Tue Jun 13 20:45:06 2000 +--- p0f.c.orig Sat Feb 2 08:00:40 2002 +++ p0f.c -@@ -260,7 +260,7 @@ +@@ -369,11 +369,8 @@ int main(int argc, char *argv[]) { /* set a reasonable default fingerprint file */ if (!filename || !*filename) +-#ifdef SYSCONFDIR +- filename = SYSCONFDIR "/p0f.fp"; +-#else - filename = "/etc/p0f.fp"; -+ filename = PREFIX "/etc/p0f.fp"; +-#endif ++ ++ filename = "@PREFIX@/etc/p0f.fp"; /* anything left after getopt'ing is a rule */ if (argv[optind] && *(argv[optind])) |