head	1.6;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.4
	RELEASE_3_2_0:1.4
	RELEASE_3_1_0:1.4
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	RELEASE_2_2_7:1.3
	fwtk_2_1:1.4
	fwtk_1_3:1.2
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.2
	RELEASE_2_2_1:1.2
	RELEASE_2_2_2:1.2
	v1_3:1.1.1.1
	GPALMER:1.1.1;
locks; strict;
comment	@# @;


1.6
date	2008.04.19.17.53.23;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.01.15.33.32;	author garga;	state Exp;
branches;
next	1.4;

1.4
date	98.10.10.09.50.36;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	98.04.18.08.57.21;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	97.03.07.12.33.42;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	96.06.15.06.55.51;	author gpalmer;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.15.06.55.51;	author gpalmer;	state Exp;
branches;
next	;


desc
@@


1.6
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@--- Makefile.config.orig	Tue Mar  4 22:17:46 1997
+++ Makefile.config	Sun May 21 18:01:05 2006
@@@@ -24,13 +24,15 @@@@
 
 # Defines for your operating system
 #
-DEFINES=
+.if defined(WITH_SKEY)
+DEFINES= -D_SKEY_INTERNAL
+.endif
 #DEFINES=-DSYSV -DSOLARIS
 
 # Options for your compiler (eg, "-g" for debugging, "-O" for
 # optimizing, or "-g -O" for both under GCC)
 #COPT=	-g -traditional $(DEFINES)
-COPT=	-g $(DEFINES)
+COPT=	$(DEFINES)
 #COPT=	-O $(DEFINES)
 
 # Version of "make" you want to use
@@@@ -44,16 +46,20 @@@@
 
 
 # Destination directory for installation of binaries
-DEST=	/usr/local/etc
+DEST=	$(PREFIX)/libexec
 
 
 # Destination directory for installation of man pages
-#DESTMAN=	$(DEST)/../man
+DESTMAN=	$(DEST)/../man
 
 
 # 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=
+.if defined(WITH_SKEY)
+AUXLIB= -lcrypt -lskey -lmd
+.else
+AUXLIB= -lcrypt -lmd
+.endif
 #AUXLIB= -lsocket
 #AUXLIB= -lresolv
 # For Solaris:
@@@@ -72,23 +78,23 @@@@
 # or -Bstatic for static binaries under SunOS 4.1.x)
 #LDFL=	-Bstatic
 #LDFL=
-LDFL= -g
+#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=/FBSD/pkg/Fix/fwtk/work/fwtk
 #FWTKSRCDIR=/usr/local/src/fwtk
 
 
 # Location of X libraries for X-gw
-XLIBDIR=/usr/X11/lib
+XLIBDIR=$(LOCALBASE)/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 +104,8 @@@@
 #XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
 
 # Location of X include files
-XINCLUDE=/usr/X11/include
+XINCLUDE=$(LOCALBASE)/include
 #XINCLUDE=/usr/local/X11R5/include
 
 # Objects to include in libfwall for SYSV
-SYSVOBJ= signal.o
+#SYSVOBJ= signal.o
@


1.5
log
@- The current fwtk port will not build on FreeBSD => 5.x, this is
  because of the S/Key library requirements.  Moved the S/Key support
  behind the WITH_SKEY knob and added a WITH_SNK knob as well.  Now
  the system will build on FreeBSD 6.1 systems if WITH_SKEY is NOT
  set.
- Change varargs.h to stdarg.h, to build with the newer version of gcc.
- Pass the maintainership to submitter.
- Bump PORTREVISION

PR:		ports/97633
Submitted by:	pirzyk
@
text
@d63 1
a63 1
+XLIBDIR=$(X11BASE)/lib
d78 1
a78 1
+XINCLUDE=$(X11BASE)/include
@


1.4
log
@Fix skey authorization.

Submitted by:	Jeff Kletsky <Jeff@@Wagsky.com>
@
text
@d1 3
a3 3
--- Makefile.config.orig	Tue Mar  4 20:17:46 1997
+++ Makefile.config	Sat Apr 18 00:51:14 1998
@@@@ -24,13 +24,13 @@@@
d8 1
d10 1
d21 1
a21 1
@@@@ -44,16 +44,16 @@@@
d37 1
d39 3
d45 1
a45 1
@@@@ -72,23 +72,23 @@@@
d73 1
a73 1
@@@@ -98,8 +98,8 @@@@
@


1.3
log
@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>
@
text
@d35 1
a35 1
+AUXLIB= -lcrypt -lskey
@


1.2
log
@Respects ${PREFIX}
Broke up mega-patches into one/file.
@
text
@d1 10
a10 3
--- Makefile.config.orig	Fri Nov  4 15:31:31 1994
+++ Makefile.config	Sun Feb 23 12:51:08 1997
@@@@ -25,8 +25,7 @@@@
d13 4
a16 5
 #COPT=	-g -traditional
-COPT=	-g
-#COPT=	-O
+COPT=
 
d19 1
a19 1
@@@@ -40,17 +39,18 @@@@
d24 1
a24 1
+DEST=	%%BSD_PREFIX%%/libexec
d34 2
a35 2
-AUXLIB= -lresolv
+#AUXLIB= -lresolv
d37 3
a39 5
+AUXLIB= -lcrypt
 
 
 # DBM library should be specified if it is an external library or
@@@@ -63,19 +63,19 @@@@
d44 3
a46 1
+LDFL=
d51 1
a51 1
+FWTKSRCDIR=%%FWTKSRCDIR%%
d56 13
a68 4
 #XLIBDIR=/usr/X11/lib
-XLIBDIR=/usr/local/X11R5/lib
+XLIBDIR=${X11BASE}/lib
 
d71 7
a77 3
 #XINCLUDE=/usr/X11/include
-XINCLUDE=/usr/local/X11R5/include
+XINCLUDE=${X11BASE}/include
@


1.1
log
@Initial revision
@
text
@d1 2
a2 128
--- 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
d18 1
a18 1
+DEST=	/usr/local/libexec
d45 1
a45 1
+FWTKSRCDIR=/usr/ports/security/fwtk/work/fwtk
@


1.1.1.1
log
@Port of TIS's FWTK. This port is RESTRICTED (no form of
redistribution, even mirroring, is allowed)
@
text
@@
