From fa0c40ffbba2a5002676e5d389a77b7f092c2b3e Mon Sep 17 00:00:00 2001 From: Matthew Hunt Date: Mon, 16 Aug 1999 22:14:42 +0000 Subject: Import pipsecd, a tool for making IPsec tunnels. PR: 13178 Submitted by: Patrick Bihan-Faou --- net/pipsecd/files/patch-aa | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 net/pipsecd/files/patch-aa (limited to 'net/pipsecd/files/patch-aa') 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/ -- cgit v1.2.3