summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-03-07 12:33:43 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-03-07 12:33:43 +0000
commit2f6d0a15eebd06ddd701ffeda344d0ca9ecdde81 (patch)
tree6a0195f50fb6e877f24f5ec4569e8c4d26967d4b
parentRespects ${PREFIX} (diff)
Respects ${PREFIX}
Broke up mega-patches into one/file.
Notes
Notes: svn path=/head/; revision=5910
-rw-r--r--security/fwtk/files/patch-aa134
-rw-r--r--security/fwtk/files/patch-ac21
-rw-r--r--security/fwtk/files/patch-ad21
3 files changed, 46 insertions, 130 deletions
diff --git a/security/fwtk/files/patch-aa b/security/fwtk/files/patch-aa
index 190653c3e728..9e66b5cf516b 100644
--- a/security/fwtk/files/patch-aa
+++ b/security/fwtk/files/patch-aa
@@ -1,131 +1,5 @@
---- ftp-gw/ftp-gw.c.orig Fri Nov 4 23:30:16 1994
-+++ ftp-gw/ftp-gw.c Wed May 15 21:28:27 1996
-@@ -18,8 +18,10 @@
- #include <sys/signal.h>
- #include <sys/ioctl.h>
- #include <sys/errno.h>
-+#if (defined(BSD)) && ((BSD)<199306)
- extern int errno;
- extern char *sys_errlist[];
-+#endif
- #include <arpa/ftp.h>
- #include <arpa/telnet.h>
- #include <sys/time.h>
---- tn-gw/tn-gw.c.orig Fri Nov 4 23:30:18 1994
-+++ tn-gw/tn-gw.c Wed May 15 21:28:27 1996
-@@ -20,8 +20,10 @@
- #include <fcntl.h>
- #include <sys/ioctl.h>
- #include <sys/errno.h>
-+#if (defined(BSD)) && ((BSD)<199306)
- extern int errno;
- extern char *sys_errlist[];
-+#endif
- #include <sys/signal.h>
- #include <arpa/telnet.h>
- #include <sys/time.h>
---- x-gw/ulib.h.orig Fri Nov 4 23:31:25 1994
-+++ x-gw/ulib.h Wed May 15 21:28:27 1996
-@@ -45,9 +45,10 @@
- #endif
-
- extern int uselog;
-+#if (defined(BSD)) && ((BSD)<199306)
- extern int errno;
- extern char *sys_errlist[];
--
-+#endif
-
- #define min(a,b) ((a) < (b) ? (a) : (b))
- #define max(a,b) ((a) > (b) ? (a) : (b))
---- http-gw/gauthd.c.orig Fri Nov 4 23:31:27 1994
-+++ http-gw/gauthd.c Wed May 15 21:28:27 1996
-@@ -20,8 +20,10 @@
- #include <sys/signal.h>
- #include <sys/ioctl.h>
- #include <sys/errno.h>
-+#if (defined(BSD)) && ((BSD)<199306)
- extern int errno;
- extern char *sys_errlist[];
-+#endif
- #include <arpa/ftp.h>
- #include <arpa/telnet.h>
- #include <sys/time.h>
---- http-gw/http-gw.c.orig Fri Nov 4 23:31:28 1994
-+++ http-gw/http-gw.c Wed May 15 21:28:28 1996
-@@ -23,8 +23,10 @@
- #include <sys/errno.h>
- #include <sys/param.h>
- #include <limits.h>
-+#if (defined(BSD)) && ((BSD)<199306)
- extern int errno;
- extern char *sys_errlist[];
-+#endif
- #include <arpa/ftp.h>
- #include <arpa/telnet.h>
- #include <sys/time.h>
---- firewall.h.orig Fri Nov 4 23:31:26 1994
-+++ firewall.h Wed May 15 21:28:28 1996
-@@ -59,7 +59,7 @@
-
- /* Choose a system logging facility for the firewall toolkit. */
- #ifndef LFAC
--#define LFAC LOG_DAEMON
-+#define LFAC LOG_LOCAL2
- #endif
-
-
-@@ -77,8 +77,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
-
-
- /*
---- x-gw/Makefile.orig Fri Nov 4 23:31:25 1994
-+++ x-gw/Makefile Wed May 15 21:28:28 1996
-@@ -11,14 +11,14 @@
- #
- # RcsId: "$Header: Makefile,v 1.2 94/11/01 12:04:53 mjr Exp $"
-
- include ../Makefile.config
-
- CFLAGS= -I.. $(COPT) -I$(XINCLUDE)
- TISLIB = ../libfwall.a ulib.a
- XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
-
- ULIB_OBJS = child.o fwd.o pmsg.o sig.o socket.o string.o sws.o \
-- token.o dialog.o shell.o list.o setenv.o getenv.o
-+ token.o dialog.o shell.o list.o
- ULIB = ulib.a
-
- all: $(ULIB) x-gw
---- config/Makefile.orig Fri Nov 4 23:30:45 1994
-+++ config/Makefile Wed May 15 21:28:28 1996
-@@ -11,7 +11,7 @@
- #
- # RcsId: "$Header: Makefile,v 1.2 94/05/27 14:10:39 mjr Exp $"
-
- include ../Makefile.config
-
-
- # these are no-ops
-@@ -19,7 +19,7 @@
- clean:
-
- install:
-- if [ ! -f $(DEST)/netperm-table ]; then \
-- $(CP) netperm-table $(DEST); \
-- chmod 644 $(DEST)/netperm-table; \
-+ if [ ! -f $(DEST)/../etc/netperm-table ]; then \
-+ $(CP) netperm-table $(DEST)/../etc/; \
-+ chmod 644 $(DEST)/../etc/netperm-table; \
- fi
---- Makefile.config.orig Fri Nov 4 23:31:31 1994
-+++ Makefile.config Wed May 15 21:29:36 1996
+--- Makefile.config.orig Fri Nov 4 15:31:31 1994
++++ Makefile.config Sun Feb 23 12:51:08 1997
@@ -25,8 +25,7 @@
# Options for your compiler (eg, "-g" for debugging, "-O" for
# optimizing, or "-g -O" for both under GCC)
@@ -141,7 +15,7 @@
# Destination directory for installation of binaries
-DEST= /usr/local/etc
-+DEST= /usr/local/libexec
++DEST= %%BSD_PREFIX%%/libexec
# Destination directory for installation of man pages
@@ -168,7 +42,7 @@
# Location of the fwtk sources [For #include by any external tools needing it]
-FWTKSRCDIR=/u/b/mjr/firewall/fwtk
-+FWTKSRCDIR=/usr/ports/security/fwtk/work/fwtk
++FWTKSRCDIR=%%FWTKSRCDIR%%
#FWTKSRCDIR=/usr/local/src/fwtk
diff --git a/security/fwtk/files/patch-ac b/security/fwtk/files/patch-ac
new file mode 100644
index 000000000000..d739e4e61778
--- /dev/null
+++ b/security/fwtk/files/patch-ac
@@ -0,0 +1,21 @@
+--- config/Makefile.orig Fri Nov 4 23:30:45 1994
++++ config/Makefile Wed May 15 21:28:28 1996
+@@ -11,7 +11,7 @@
+ #
+ # RcsId: "$Header: /home/ncvs/ports/security/fwtk/patches/patch-aa,v 1.1.1.1 1996/06/15 06:55:51 gpalmer Exp $"
+
+ include ../Makefile.config
+
+
+ # these are no-ops
+@@ -19,7 +19,7 @@
+ clean:
+
+ install:
+- if [ ! -f $(DEST)/netperm-table ]; then \
+- $(CP) netperm-table $(DEST); \
+- chmod 644 $(DEST)/netperm-table; \
++ if [ ! -f $(DEST)/../etc/netperm-table ]; then \
++ $(CP) netperm-table $(DEST)/../etc/; \
++ chmod 644 $(DEST)/../etc/netperm-table; \
+ fi
diff --git a/security/fwtk/files/patch-ad b/security/fwtk/files/patch-ad
new file mode 100644
index 000000000000..334c3c08c7b3
--- /dev/null
+++ b/security/fwtk/files/patch-ad
@@ -0,0 +1,21 @@
+--- firewall.h.orig Fri Nov 4 23:31:26 1994
++++ firewall.h Wed May 15 21:28:28 1996
+@@ -59,7 +59,7 @@
+
+ /* Choose a system logging facility for the firewall toolkit. */
+ #ifndef LFAC
+-#define LFAC LOG_DAEMON
++#define LFAC LOG_LOCAL2
+ #endif
+
+
+@@ -77,8 +77,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
+
+
+ /*