diff options
| author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-28 13:27:06 +0000 |
|---|---|---|
| committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-28 13:27:06 +0000 |
| commit | 45fb9aeee0475ee7407f35a0c03165866138520d (patch) | |
| tree | 1b6008e4bc1a97b0a8c201dd6c29da79d335aabe /security/pf/files/patch-ab | |
| parent | new port: games/eif (empire text client) (diff) | |
Update port: security/pf - OpenBSD 3.4 pf
Port update after API change in PFIL_HOOKS in -current and
OpenBSD 3.4 Release.
PR: ports/57305
Submitted by: Max Laier <max@love2party.net>
Notes
Notes:
svn path=/head/; revision=89676
Diffstat (limited to 'security/pf/files/patch-ab')
| -rw-r--r-- | security/pf/files/patch-ab | 77 |
1 files changed, 9 insertions, 68 deletions
diff --git a/security/pf/files/patch-ab b/security/pf/files/patch-ab index 0355d57ac1cd..630ae913fb4e 100644 --- a/security/pf/files/patch-ab +++ b/security/pf/files/patch-ab @@ -1,70 +1,11 @@ ---- pf/pf_support.h Mon Apr 14 05:54:15 2003 -+++ pf/pf_support.h Tue Jun 17 14:26:33 2003 -@@ -16,10 +16,16 @@ - * Original numbers changed from 11, 12, 13. - * sys/mbuf.h - */ --#define PACKET_TAG_PF_GENERATED 19 /* PF generated, pass always */ --#define PACKET_TAG_PF_ROUTED 20 /* PF routed, no route loops */ --#define PACKET_TAG_PF_FRAGCACHE 21 /* PF fragment cached */ --#define PACKET_TAG_PF_QID 22 /* PF queue id */ -+#if defined(PACKET_TAG_MACLABEL) -+#define PACKET_TAG_FB_END (PACKET_TAG_MACLABEL) -+#else -+#define PACKET_TAG_FB_END (PACKET_TAG_IPFORWARD) -+#endif -+#define PACKET_TAG_PF_GENERATED (PACKET_TAG_FB_END+1) -+#define PACKET_TAG_PF_ROUTED (PACKET_TAG_FB_END+2) -+#define PACKET_TAG_PF_FRAGCACHE (PACKET_TAG_FB_END+3) -+#define PACKET_TAG_PF_QID (PACKET_TAG_FB_END+4) -+#define PACKET_TAG_PF_TAG (PACKET_TAG_FB_END+5) +--- pfctl/pfctl_parser.h.orig Sat Sep 27 10:39:47 2003 ++++ pfctl/pfctl_parser.h Sat Sep 27 10:40:21 2003 +@@ -33,7 +33,7 @@ + #ifndef _PFCTL_PARSER_H_ + #define _PFCTL_PARSER_H_ - /* - * sys/limits.h ---- pfaltq/pf_support.h Mon Apr 14 06:04:19 2003 -+++ pfaltq/pf_support.h Tue Jun 17 14:26:34 2003 -@@ -16,10 +16,16 @@ - * Original numbers changed from 11, 12, 13. - * sys/mbuf.h - */ --#define PACKET_TAG_PF_GENERATED 19 /* PF generated, pass always */ --#define PACKET_TAG_PF_ROUTED 20 /* PF routed, no route loops */ --#define PACKET_TAG_PF_FRAGCACHE 21 /* PF fragment cached */ --#define PACKET_TAG_PF_QID 22 /* PF queue id */ -+#if defined(PACKET_TAG_MACLABEL) -+#define PACKET_TAG_FB_END (PACKET_TAG_MACLABEL) -+#else -+#define PACKET_TAG_FB_END (PACKET_TAG_IPFORWARD) -+#endif -+#define PACKET_TAG_PF_GENERATED (PACKET_TAG_FB_END+1) -+#define PACKET_TAG_PF_ROUTED (PACKET_TAG_FB_END+2) -+#define PACKET_TAG_PF_FRAGCACHE (PACKET_TAG_FB_END+3) -+#define PACKET_TAG_PF_QID (PACKET_TAG_FB_END+4) -+#define PACKET_TAG_PF_TAG (PACKET_TAG_FB_END+5) +-#define PF_OSFP_FILE "/etc/pf.os" ++#define PF_OSFP_FILE "%%PREFIX%%/etc/pf.os" - /* - * sys/limits.h ---- pfctl/pf_support.h Mon Apr 14 05:55:07 2003 -+++ pfctl/pf_support.h Tue Jun 17 14:26:34 2003 -@@ -16,10 +16,16 @@ - * Original numbers changed from 11, 12, 13. - * sys/mbuf.h - */ --#define PACKET_TAG_PF_GENERATED 19 /* PF generated, pass always */ --#define PACKET_TAG_PF_ROUTED 20 /* PF routed, no route loops */ --#define PACKET_TAG_PF_FRAGCACHE 21 /* PF fragment cached */ --#define PACKET_TAG_PF_QID 22 /* PF queue id */ -+#if defined(PACKET_TAG_MACLABEL) -+#define PACKET_TAG_FB_END (PACKET_TAG_MACLABEL) -+#else -+#define PACKET_TAG_FB_END (PACKET_TAG_IPFORWARD) -+#endif -+#define PACKET_TAG_PF_GENERATED (PACKET_TAG_FB_END+1) -+#define PACKET_TAG_PF_ROUTED (PACKET_TAG_FB_END+2) -+#define PACKET_TAG_PF_FRAGCACHE (PACKET_TAG_FB_END+3) -+#define PACKET_TAG_PF_QID (PACKET_TAG_FB_END+4) -+#define PACKET_TAG_PF_TAG (PACKET_TAG_FB_END+5) - - /* - * sys/limits.h - + #define PF_OPT_DISABLE 0x0001 + #define PF_OPT_ENABLE 0x0002 |
