aboutsummaryrefslogtreecommitdiff
path: root/security/stunnel
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-11-07 11:01:38 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-11-07 11:01:38 +0000
commit71ffdb8e0c1dd749dc123c787f10d3dc8d7c2ea6 (patch)
tree09e11ac58535485daa5e54bbe069453605b5c28c /security/stunnel
parent6ec5103bc6a2806350a137be67530c4285947083 (diff)
downloadports-71ffdb8e0c1dd749dc123c787f10d3dc8d7c2ea6.tar.gz
ports-71ffdb8e0c1dd749dc123c787f10d3dc8d7c2ea6.zip
Notes
Diffstat (limited to 'security/stunnel')
-rw-r--r--security/stunnel/Makefile8
-rw-r--r--security/stunnel/distinfo2
2 files changed, 6 insertions, 4 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 96052f56b5eb..b29eff051e86 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= stunnel
-PORTVERSION= 3.21
+PORTVERSION= 3.21b
CATEGORIES= security
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
ftp://stunnel.mirt.net/stunnel/ \
@@ -19,10 +19,12 @@ USE_OPENSSL= YES
IS_INTERACTIVE= YES # prompts for information while generating certificate
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var/run
+CONFIGURE_ARGS= --localstatedir=/var/run --with-pem-dir=${PEM_DIR}
MAN8= stunnel.8
+PEM_DIR?= ${PREFIX}/etc
+
post-install:
@${SED} "s+!!PREFIX!!+${PREFIX}+g" < ${FILESDIR}/stunnel.sh \
> ${PREFIX}/etc/rc.d/stunnel.sh.sample
@@ -42,6 +44,6 @@ cert:
@${ECHO} "**************************************************************************"
@${ECHO} ""
@(cd ${WRKSRC}; make cert)
- ${INSTALL} -m 600 ${WRKSRC}/stunnel.pem ${PREFIX}/etc/
+ ${INSTALL} -m 600 ${WRKSRC}/stunnel.pem ${PEM_DIR}/
.include <bsd.port.mk>
diff --git a/security/stunnel/distinfo b/security/stunnel/distinfo
index 157c4d851c3b..1cf83898d0f3 100644
--- a/security/stunnel/distinfo
+++ b/security/stunnel/distinfo
@@ -1 +1 @@
-MD5 (stunnel-3.21.tar.gz) = b4c71ef60a7a8810132881b69ebf680a
+MD5 (stunnel-3.21b.tar.gz) = f0f830e935f8ba39860722df320220b5