diff options
author | mph <mph@FreeBSD.org> | 1999-08-16 22:14:42 +0000 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1999-08-16 22:14:42 +0000 |
commit | a172ead0fd5ba8ba06a23378c7986cc88c56bfa3 (patch) | |
tree | b0abd849fd8b381c80d7060c72b33ae832b63427 /net/pipsecd/files | |
parent | 70500443983012d18f5cffed2f426629946301a1 (diff) | |
download | FreeBSD-ports-a172ead0fd5ba8ba06a23378c7986cc88c56bfa3.zip FreeBSD-ports-a172ead0fd5ba8ba06a23378c7986cc88c56bfa3.tar.gz |
Import pipsecd, a tool for making IPsec tunnels.
PR: 13178
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
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 0000000..b84f63e --- /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 0000000..8aaa164 --- /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 0000000..03cf242 --- /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/ ++ |