diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-08 19:14:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-08 19:14:47 +0000 |
commit | acc26f4f54c1a4a1d76acfaa6c62318d7119a70d (patch) | |
tree | c9126337a21e8bada701edc83d350da6edb5aa5c | |
parent | 39832721678916857fe50e308cbf9a78f0f058f1 (diff) | |
download | pkgsrc-acc26f4f54c1a4a1d76acfaa6c62318d7119a70d.tar.gz |
Use NetBSD rules for DragonFly as well. Don't include both, net/bpf.h
and pcap.h, on DragonFly.
-rw-r--r-- | security/p0f/Makefile | 5 | ||||
-rw-r--r-- | security/p0f/distinfo | 3 | ||||
-rw-r--r-- | security/p0f/patches/patch-ab | 14 |
3 files changed, 20 insertions, 2 deletions
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 <pcap.h> + #include <signal.h> + ++#ifndef __DragonFly__ + #include <net/bpf.h> ++#endif + #include <time.h> + #include <ctype.h> + |