summaryrefslogtreecommitdiff
path: root/security/fwtk/files/patch-al
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-01 15:33:32 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-01 15:33:32 +0000
commit4f96abae666b3952b6165a0e6ee84afe0d92418e (patch)
treef7c9f3ab7160c2c47e6e37d50cedba1f0241b031 /security/fwtk/files/patch-al
parent- Remove dead master site (diff)
- 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
Diffstat (limited to 'security/fwtk/files/patch-al')
-rw-r--r--security/fwtk/files/patch-al46
1 files changed, 43 insertions, 3 deletions
diff --git a/security/fwtk/files/patch-al b/security/fwtk/files/patch-al
index a441370d79ea..62bde4e877ea 100644
--- a/security/fwtk/files/patch-al
+++ b/security/fwtk/files/patch-al
@@ -1,11 +1,51 @@
---- auth/Makefile.orig Fri Apr 5 09:49:21 1996
-+++ auth/Makefile Sat Apr 18 00:38:57 1998
-@@ -20,7 +20,7 @@
+--- auth/Makefile.orig Fri Apr 5 11:49:21 1996
++++ auth/Makefile Sun May 21 22:42:13 2006
+@@ -12,7 +12,7 @@
+ # RcsId: "$Header: /usr/home/rick/fwtk2.0/fwtk/auth/RCS/Makefile,v 1.1 1996/03/27 03:29:55 rick Exp rick $"
+
+
+-include ../Makefile.config
++.include "../Makefile.config"
+
+
+ #if you are using the SKEY modules, define SKEYDIR to be the source
+@@ -20,7 +20,9 @@
#SKEYDIR=../../skey
#SKEYINC= -I$(SKEYDIR)
#SKEYLIB= $(SKEYDIR)/libskey.a
-#SKEYOBJ= skey.o
++.if defined(WITH_SKEY)
+SKEYOBJ= skey.o
++.endif
#if you are using the SecurID module, define SECURDIR to be the source
+@@ -41,20 +43,24 @@
+
+ #if you are using the Digital Pathways SNK module, include this:
+ #this also requires DES routines below
+-#SNKOBJ= snk.o
++.if defined(WITH_SNK)
++SNKOBJ= snk.o
++.endif
+
+
+ #if you are using link-level encryption code, this should be the path
+ #to a library that contains DES routines (NOT SUPPLIED!)
+ #you will need to replace srvio.c and cliio.c
+-#DESLIB= ../../libdes/libdes.a
+-#DESINC= -I../../libdes
++.if defined(WITH_SNK)
++DESLIB= -lcrypto
++DESINC= -I/usr/include/openssl
++.endif
+
+
+ #security protocol modules
+ MODULES= $(SKEYLIB) $(SECURLIB) $(DESLIB)
+
+-CFLAGS= -I.. $(COPT)
++CFLAGS+= -I.. $(COPT)
+ LIB= ../libauth.a
+ FWLIB= ../libfwall.a
+