summaryrefslogtreecommitdiff
path: root/security/fwtk/files/patch-ad
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-04-18 08:57:44 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-04-18 08:57:44 +0000
commitf376284ae479ac0792ad078e9d843f53eef1e4b8 (patch)
treeda0802674759b1cf8cdbb9784342ec97a92d3ee9 /security/fwtk/files/patch-ad
parentImported BitchX, yet another ircII-derived client. (diff)
Upgrade to version 2.1. Mixing of my stuff + two good submissions.
Submitted by: "Scott A. Kenney" <saken@rmta.ml.org> & "Eric J. Chet" <ejc@bazzle.com>
Notes
Notes: svn path=/head/; revision=10552
Diffstat (limited to 'security/fwtk/files/patch-ad')
-rw-r--r--security/fwtk/files/patch-ad28
1 files changed, 18 insertions, 10 deletions
diff --git a/security/fwtk/files/patch-ad b/security/fwtk/files/patch-ad
index 334c3c08c7b3..9e6b874bde6f 100644
--- a/security/fwtk/files/patch-ad
+++ b/security/fwtk/files/patch-ad
@@ -1,6 +1,15 @@
---- firewall.h.orig Fri Nov 4 23:31:26 1994
-+++ firewall.h Wed May 15 21:28:28 1996
-@@ -59,7 +59,7 @@
+--- firewall.h.orig Sun Mar 1 06:54:20 1998
++++ firewall.h Sat Apr 18 00:33:53 1998
+@@ -47,7 +47,7 @@
+ system.
+ */
+ #ifndef PERMFILE
+-#define PERMFILE "/usr/local/etc/netperm-table"
++#define PERMFILE "%%BSD_PREFIX%%/etc/netperm-table"
+ #endif
+
+ /*
+@@ -67,7 +67,7 @@
/* Choose a system logging facility for the firewall toolkit. */
#ifndef LFAC
@@ -9,13 +18,12 @@
#endif
-@@ -77,8 +77,7 @@
+@@ -89,7 +89,7 @@
makes no difference. make sure that whichever your machine uses
is defined below.
*/
--#define DIRECT_STRUCT struct direct
--/* #define DIRECT_STRUCT struct dirent */
-+#define DIRECT_STRUCT struct dirent
-
-
- /*
+-#if defined(SYSV) || defined(SCO5) || defined(OSF1) || defined(AIX)
++#if defined(SYSV) || defined(SCO5) || defined(OSF1) || defined(AIX) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #define DIRECT_STRUCT struct dirent
+ #else
+ #define DIRECT_STRUCT struct direct