diff options
Diffstat (limited to 'net/pipsecd/files')
-rw-r--r-- | net/pipsecd/files/patch-aa | 26 | ||||
-rw-r--r-- | net/pipsecd/files/patch-ab | 13 | ||||
-rw-r--r-- | net/pipsecd/files/patch-ac | 22 |
3 files changed, 61 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/ diff --git a/net/pipsecd/files/patch-ab b/net/pipsecd/files/patch-ab new file mode 100644 index 000000000000..8aaa16439810 --- /dev/null +++ b/net/pipsecd/files/patch-ab @@ -0,0 +1,13 @@ +--- tunip.c.orig Mon Aug 16 11:54:50 1999 ++++ tunip.c Mon Aug 16 12:27:07 1999 +@@ -57,8 +57,8 @@ + + #include "defs.h" + +-#define _PATH_CONF "/etc/ipsec/pipsecd.conf" +-#define _PATH_STARTUP "/etc/ipsec/startup" ++#define _PATH_CONF FILE_PREFIX "/etc/ipsec/pipsecd.conf" ++#define _PATH_STARTUP FILE_PREFIX "/etc/ipsec/startup" + #define _PATH_DEV_RANDOM "/dev/random" + + #define MAX_HEADER 64 diff --git a/net/pipsecd/files/patch-ac b/net/pipsecd/files/patch-ac new file mode 100644 index 000000000000..03cf242aed31 --- /dev/null +++ b/net/pipsecd/files/patch-ac @@ -0,0 +1,22 @@ +--- README.port.orig Mon Aug 16 12:58:09 1999 ++++ README.port Mon Aug 16 13:03:28 1999 +@@ -0,0 +1,19 @@ ++This is the ported version of the pipsecd program ++from Pierre Beyssac at the ENST. ++ ++The main difference with the original code are: ++- it compiles with OpenSSL-0.94 ++- config files are in /usr/local/etc/ipsec ++ ++ ++Apart from that it works exactly as the original work from ++Pierre Beyssac. ++ ++You can obtain the source distribution of pipsecd at: ++http://www.enst.fr/~beyssac/tunip.tar.gz ++ ++Enjoy! ++ ++Patrick Bihan-Faou - MindStep Corporation ++patrick@mindstep.com - http://www.mindstep.com/ ++ |