aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/pipsecd/Makefile5
-rw-r--r--net/pipsecd/files/patch-ad5
2 files changed, 8 insertions, 2 deletions
diff --git a/net/pipsecd/Makefile b/net/pipsecd/Makefile
index 1433f384f97f..672e747a7ef0 100644
--- a/net/pipsecd/Makefile
+++ b/net/pipsecd/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: pipsecd
-# Version required: 19990831
+# Version required: 19991014
# Date created: 16 Aug 1999
# Whom: Patrick Bihan-Faou <patrick@mindstep.com>
#
@@ -22,7 +22,8 @@ ALL_TARGET= pipsecd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pipsecd ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/pipsecd.sh ${PREFIX}/etc/rc.d
+ ${INSTALL_DATA} ${WRKSRC}/pipsecd.sh ${PREFIX}/etc/rc.d
+ ${CHMOD} 755 ${PREFIX}/etc/rc.d/pipsecd.sh;
${MKDIR} ${PREFIX}/etc/ipsec
${INSTALL_DATA} ${WRKSRC}/pipsecd.conf.sample ${PREFIX}/etc/ipsec
.if !defined(NOPORTDOCS)
diff --git a/net/pipsecd/files/patch-ad b/net/pipsecd/files/patch-ad
new file mode 100644
index 000000000000..fb9465d3b653
--- /dev/null
+++ b/net/pipsecd/files/patch-ad
@@ -0,0 +1,5 @@
+--- pipsecd.sh.orig Thu Oct 14 12:58:43 1999
++++ pipsecd.sh Thu Oct 14 13:00:38 1999
+@@ -0,0 +1,2 @@
++#!/bin/sh
++cd /usr/local; [ -x sbin/pipsecd -a -f etc/ipsec/pipsecd.conf ] && sbin/pipsecd & && echo -n ' pipsecd'