aboutsummaryrefslogtreecommitdiffstats
path: root/net/pipsecd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-27 12:21:03 +0800
committerkris <kris@FreeBSD.org>2000-02-27 12:21:03 +0800
commit57f4a811780eba538c263850090d1c4a519cd51d (patch)
treefa4e618c7427f64b88ae257056624fc36c467ec3 /net/pipsecd
parent46c175e9226c37ff8cb095262c0b2e7d15756353 (diff)
downloadfreebsd-ports-gnome-57f4a811780eba538c263850090d1c4a519cd51d.tar.gz
freebsd-ports-gnome-57f4a811780eba538c263850090d1c4a519cd51d.tar.zst
freebsd-ports-gnome-57f4a811780eba538c263850090d1c4a519cd51d.zip
Fix build
Submitted by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'net/pipsecd')
-rw-r--r--net/pipsecd/files/patch-aa13
-rw-r--r--net/pipsecd/files/patch-ab14
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;