summaryrefslogtreecommitdiff
path: root/net/pipsecd/files/patch-aa
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1999-08-16 22:14:42 +0000
committerMatthew Hunt <mph@FreeBSD.org>1999-08-16 22:14:42 +0000
commitfa0c40ffbba2a5002676e5d389a77b7f092c2b3e (patch)
tree305534894b7bf697a0a73d65489d23768e261489 /net/pipsecd/files/patch-aa
parentAdd 'load "mime-setup"' statements into each startup.el . (diff)
Import pipsecd, a tool for making IPsec tunnels.
PR: 13178 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
Notes
Notes: svn path=/head/; revision=20754
Diffstat (limited to 'net/pipsecd/files/patch-aa')
-rw-r--r--net/pipsecd/files/patch-aa26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/pipsecd/files/patch-aa b/net/pipsecd/files/patch-aa
new file mode 100644
index 000000000000..b84f63e1a459
--- /dev/null
+++ b/net/pipsecd/files/patch-aa
@@ -0,0 +1,26 @@
+--- Makefile.orig Mon Aug 16 11:51:13 1999
++++ Makefile Mon Aug 16 12:28:08 1999
+@@ -6,17 +6,20 @@
+ CLEANFILES= *.core *.o pipsecd
+
+ # Where your OpenSSL includes are located
+-INCDIR=/usr/local/ssl/include
++INCDIR=-I$(PREFIX)/include -I$(PREFIX)/include/openssl
+
+ # Where your libcrypto is located
+-LIBDIR=/usr/local/ssl/lib
++LIBDIR=-L$(PREFIX)/lib
++
++# Misc Defines
++DEFINES=-DFILE_PREFIX=\"$(PREFIX)\"
+
+ # Optional (to use FreeBSD's libmd)
+ #OPTLIB= -lmd
+ #OPTDEF= -DUSE_SYSTEM_HASH
+
+ pipsecd: tunip.c defs.h
+- gcc -Wall -I$(INCDIR) -g -o $(OPTDEF) pipsecd tunip.c -L$(LIBDIR) $(OPTLIB) -lcrypto
++ gcc -Wall $(INCDIR) -g -o $(OPTDEF) pipsecd tunip.c $(LIBDIR) $(OPTLIB) -lcrypto $(DEFINES)
+
+ install: pipsecd
+ install pipsecd /usr/local/sbin/