diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-02-27 04:21:03 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-02-27 04:21:03 +0000 |
commit | 34800a80678df3a1de1be379fff7cc5fd2ae5e19 (patch) | |
tree | 3adfd2b76efdc5042aac5e416b4a051b6d86b80d /net/pipsecd | |
parent | Upgrade to 2.3.04-3 (diff) |
Fix build
Submitted by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'net/pipsecd')
-rw-r--r-- | net/pipsecd/files/patch-aa | 13 | ||||
-rw-r--r-- | net/pipsecd/files/patch-ab | 14 |
2 files changed, 6 insertions, 21 deletions
diff --git a/net/pipsecd/files/patch-aa b/net/pipsecd/files/patch-aa index 22df5536ce6f..d16d9ddcd1ae 100644 --- a/net/pipsecd/files/patch-aa +++ b/net/pipsecd/files/patch-aa @@ -1,11 +1,11 @@ --- Makefile.orig Thu Sep 16 17:44:50 1999 -+++ Makefile Fri Feb 4 15:14:18 2000 -@@ -6,23 +6,26 @@ ++++ Makefile Sun Feb 20 20:41:18 2000 +@@ -6,10 +6,13 @@ CLEANFILES= *.core *.o pipsecd # Where your OpenSSL includes are located -INCDIR=/usr/local/ssl/include -+INCDIR=-I$(OPENSSLINC) -I$(OPENSSLINC)/openssl -I$(LOCALBASE)/include ++INCDIR=-I$(OPENSSLINC)/openssl -I$(OPENSSLINC) -I$(LOCALBASE)/include # Where your libcrypto is located -LIBDIR=/usr/local/ssl/lib @@ -15,11 +15,8 @@ +DEFINES=-DFILE_PREFIX=\"$(PREFIX)\" # Optional: use FreeBSD's libmd --#OPTLIB += -lmd -+OPTLIB += -lmd - #OPTDEF += -DUSE_SYSTEM_HASH - - # Optional: use ethertap device under Linux instead of userlink + #OPTLIB += -lmd +@@ -19,10 +22,10 @@ #OPTDEF += -DUSE_ETHERTAP pipsecd: tunip.c defs.h diff --git a/net/pipsecd/files/patch-ab b/net/pipsecd/files/patch-ab index cecf8ceca69f..b43d2182a8cb 100644 --- a/net/pipsecd/files/patch-ab +++ b/net/pipsecd/files/patch-ab @@ -1,5 +1,5 @@ --- tunip.c.orig Tue Sep 21 18:20:40 1999 -+++ tunip.c Fri Feb 4 15:09:46 2000 ++++ tunip.c Sun Feb 20 20:36:27 2000 @@ -54,12 +54,14 @@ #include <blowfish.h> #include <cast.h> @@ -17,18 +17,6 @@ #define _PATH_DEV_RANDOM "/dev/random" #ifdef USE_ETHERTAP -@@ -87,10 +89,10 @@ - - #define UDP_PORT 2001 - --#ifdef USE_SYSTEM_HASH - #define MD5_Init MD5Init - #define MD5_Update MD5Update - #define MD5_Final MD5Final -+#ifdef USE_SYSTEM_HASH - #define SHA1_Init SHA1Init - #define SHA1_Update SHA1Update - #define SHA1_Final SHA1Final @@ -131,7 +133,9 @@ des_key_schedule k3; } des3; |