From acc26f4f54c1a4a1d76acfaa6c62318d7119a70d Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 8 Dec 2005 19:14:47 +0000 Subject: Use NetBSD rules for DragonFly as well. Don't include both, net/bpf.h and pcap.h, on DragonFly. --- security/p0f/Makefile | 5 ++++- security/p0f/distinfo | 3 ++- security/p0f/patches/patch-ab | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 security/p0f/patches/patch-ab diff --git a/security/p0f/Makefile b/security/p0f/Makefile index b9ded4847c5..9711d606d1d 100644 --- a/security/p0f/Makefile +++ b/security/p0f/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/12/05 20:50:57 rillig Exp $ +# $NetBSD: Makefile,v 1.18 2005/12/08 19:14:47 joerg Exp $ # DISTNAME= p0f-2.0.5 @@ -27,6 +27,9 @@ SUBST_MESSAGE.paths= "Fixing paths." INSTALLATION_DIRS= bin man/man1 +post-patch: + ${LN} -s NetBSD ${WRKSRC}/mk/DragonFly + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/p0f.README diff --git a/security/p0f/distinfo b/security/p0f/distinfo index b0054cb7e6d..0b18a603941 100644 --- a/security/p0f/distinfo +++ b/security/p0f/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.14 2005/02/24 13:10:09 agc Exp $ +$NetBSD: distinfo,v 1.15 2005/12/08 19:14:47 joerg Exp $ SHA1 (p0f-2.0.5.tgz) = fb11a4138cad903072e3c8ef33316ac22b4ef8f4 RMD160 (p0f-2.0.5.tgz) = 34ee678aa721ee38959419808ed798aa23228a16 Size (p0f-2.0.5.tgz) = 130002 bytes SHA1 (patch-aa) = 849aa2aaddb33ab522c9c02a6a4965684a58f03e +SHA1 (patch-ab) = 8069422ebd8f35b03f398a434c7ac26111d087b1 SHA1 (patch-ad) = 8263ac810b25c14a41d57cd6227bf78af1604800 diff --git a/security/p0f/patches/patch-ab b/security/p0f/patches/patch-ab new file mode 100644 index 00000000000..9a7d9efd9ac --- /dev/null +++ b/security/p0f/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.5 2005/12/08 19:14:47 joerg Exp $ + +--- p0f.c.orig 2005-12-08 19:10:32.000000000 +0000 ++++ p0f.c +@@ -36,7 +36,9 @@ + #include + #include + ++#ifndef __DragonFly__ + #include ++#endif + #include + #include + -- cgit v1.2.3