Fix following PF changes at h2k9. ok canacar benoit.

This commit is contained in:
sthen 2009-11-30 09:56:39 +00:00
parent 08d697c35b
commit 500b83a7f1
2 changed files with 10 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.13 2009/04/09 22:08:47 sthen Exp $
# $OpenBSD: Makefile,v 1.14 2009/11/30 09:56:39 sthen Exp $
#
COMMENT= curses-based real time state and rule display for pf
DISTNAME= pftop-0.7
PKGNAME= ${DISTNAME}p3
PKGNAME= ${DISTNAME}p4
CATEGORIES= sysutils
HOMEPAGE= http://www.eee.metu.edu.tr/~canacar/pftop/

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-config_h,v 1.4 2008/12/20 04:36:11 canacar Exp $
--- config.h.orig Tue Nov 6 22:34:18 2007
+++ config.h Fri Dec 19 20:28:01 2008
@@ -74,11 +74,20 @@
$OpenBSD: patch-config_h,v 1.5 2009/11/30 09:56:39 sthen Exp $
--- config.h.orig Wed Nov 7 06:34:18 2007
+++ config.h Sun Nov 29 22:27:09 2009
@@ -74,11 +74,24 @@
#define HAVE_PFSYNC_STATE
#endif
@ -9,6 +9,10 @@ $OpenBSD: patch-config_h,v 1.4 2008/12/20 04:36:11 canacar Exp $
+#define HAVE_PFSYNC_KEY
+#define HAVE_NETWORK_ORDER
+#endif
+
+/* #if OS_LEVEL > 46 */
+#undef HAVE_RULE_NATPASS
+/* #endif */
+
#ifdef HAVE_PFSYNC_STATE
typedef struct pfsync_state pf_state_t;