diff options
Diffstat (limited to 'security/fwtk/files')
-rw-r--r-- | security/fwtk/files/patch-aa | 71 | ||||
-rw-r--r-- | security/fwtk/files/patch-ab | 13 | ||||
-rw-r--r-- | security/fwtk/files/patch-ad | 28 | ||||
-rw-r--r-- | security/fwtk/files/patch-ak | 11 | ||||
-rw-r--r-- | security/fwtk/files/patch-al | 11 |
5 files changed, 91 insertions, 43 deletions
diff --git a/security/fwtk/files/patch-aa b/security/fwtk/files/patch-aa index 9e66b5cf516b..0a6813d31ad9 100644 --- a/security/fwtk/files/patch-aa +++ b/security/fwtk/files/patch-aa @@ -1,21 +1,27 @@ ---- Makefile.config.orig Fri Nov 4 15:31:31 1994 -+++ Makefile.config Sun Feb 23 12:51:08 1997 -@@ -25,8 +25,7 @@ +--- Makefile.config.orig Tue Mar 4 20:17:46 1997 ++++ Makefile.config Sat Apr 18 00:51:14 1998 +@@ -24,13 +24,13 @@ + + # Defines for your operating system + # +-DEFINES= ++DEFINES= -D_SKEY_INTERNAL + #DEFINES=-DSYSV -DSOLARIS + # Options for your compiler (eg, "-g" for debugging, "-O" for # optimizing, or "-g -O" for both under GCC) - #COPT= -g -traditional --COPT= -g --#COPT= -O -+COPT= - + #COPT= -g -traditional $(DEFINES) +-COPT= -g $(DEFINES) ++COPT= $(DEFINES) + #COPT= -O $(DEFINES) # Version of "make" you want to use -@@ -40,17 +39,18 @@ +@@ -44,16 +44,16 @@ # Destination directory for installation of binaries -DEST= /usr/local/etc -+DEST= %%BSD_PREFIX%%/libexec ++DEST= $(PREFIX)/libexec # Destination directory for installation of man pages @@ -25,34 +31,47 @@ # Names of any auxiliary libraries your system may require (e.g., -lsocket) # If you want to link against a resolver library, specify it here. --AUXLIB= -lresolv -+#AUXLIB= -lresolv +-AUXLIB= ++AUXLIB= -lcrypt -lskey #AUXLIB= -lsocket -+AUXLIB= -lcrypt - - - # DBM library should be specified if it is an external library or -@@ -63,19 +63,19 @@ + #AUXLIB= -lresolv + # For Solaris: +@@ -72,23 +72,23 @@ # or -Bstatic for static binaries under SunOS 4.1.x) #LDFL= -Bstatic #LDFL= -LDFL= -g -+LDFL= ++#LDFL= -g + # Flags for X gateway link - usually the same as LDFL + XLDFL=$(LDFL) # Location of the fwtk sources [For #include by any external tools needing it] -FWTKSRCDIR=/u/b/mjr/firewall/fwtk -+FWTKSRCDIR=%%FWTKSRCDIR%% ++FWTKSRCDIR=/FBSD/pkg/Fix/fwtk/work/fwtk #FWTKSRCDIR=/usr/local/src/fwtk # Location of X libraries for X-gw - #XLIBDIR=/usr/X11/lib --XLIBDIR=/usr/local/X11R5/lib -+XLIBDIR=${X11BASE}/lib - +-XLIBDIR=/usr/X11/lib ++XLIBDIR=$(X11BASE)/lib + #XLIBDIR=/usr/local/X11R5/lib + + # X Libraries + # For BSD: +-XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lipc ++XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE + #XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 + # for Linux: + #XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lc +@@ -98,8 +98,8 @@ + #XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 # Location of X include files - #XINCLUDE=/usr/X11/include --XINCLUDE=/usr/local/X11R5/include -+XINCLUDE=${X11BASE}/include +-XINCLUDE=/usr/X11/include ++XINCLUDE=$(X11BASE)/include + #XINCLUDE=/usr/local/X11R5/include + + # Objects to include in libfwall for SYSV +-SYSVOBJ= signal.o ++#SYSVOBJ= signal.o diff --git a/security/fwtk/files/patch-ab b/security/fwtk/files/patch-ab index eb86fe1a275b..e83642b74d05 100644 --- a/security/fwtk/files/patch-ab +++ b/security/fwtk/files/patch-ab @@ -1,13 +1,12 @@ ---- fixmake.orig Fri Nov 4 23:31:27 1994 -+++ fixmake Wed May 15 21:28:30 1996 -@@ -30,8 +30,8 @@ +--- fixmake.orig Thu Sep 5 20:14:01 1996 ++++ fixmake Sat Apr 18 00:47:42 1998 +@@ -30,7 +30,8 @@ echo renaming $name to $name.proto mv $name $name.proto fi -- cat $MASTER > $name -- sed '/^include/d' $name.proto >> $name -+ sed 's/^include[^.M]\(.*\)/.include <\1>/' $name.proto \ -+ | sed 's/CFLAGS=/CFLAGS+=/' > $name +- sed 's/^include[ ]*\([^ ].*\)/.include "\1"/' $name.proto > $name ++ sed -e 's/^include[ ]*\([^ ].*\)/.include "\1"/' \ ++ -e 's/CFLAGS=/CFLAGS+=/' $name.proto > $name echo "built $name" done ) 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 diff --git a/security/fwtk/files/patch-ak b/security/fwtk/files/patch-ak new file mode 100644 index 000000000000..5b3e40ef4f45 --- /dev/null +++ b/security/fwtk/files/patch-ak @@ -0,0 +1,11 @@ +--- auth.h.orig Fri Nov 4 15:31:26 1994 ++++ auth.h Sat Apr 18 00:37:48 1998 +@@ -69,7 +69,7 @@ + #define AUTHPROTO_PASSWORD + + /* define this if you want to use bellcore's S/Key */ +-/* #define AUTHPROTO_SKEY */ ++#define AUTHPROTO_SKEY + + /* define this if you want to use Security Dynamics' SecurID */ + /* #define AUTHPROTO_SECURID */ diff --git a/security/fwtk/files/patch-al b/security/fwtk/files/patch-al new file mode 100644 index 000000000000..a441370d79ea --- /dev/null +++ b/security/fwtk/files/patch-al @@ -0,0 +1,11 @@ +--- auth/Makefile.orig Fri Apr 5 09:49:21 1996 ++++ auth/Makefile Sat Apr 18 00:38:57 1998 +@@ -20,7 +20,7 @@ + #SKEYDIR=../../skey + #SKEYINC= -I$(SKEYDIR) + #SKEYLIB= $(SKEYDIR)/libskey.a +-#SKEYOBJ= skey.o ++SKEYOBJ= skey.o + + + #if you are using the SecurID module, define SECURDIR to be the source |