diff options
author | roam <roam@FreeBSD.org> | 2001-11-07 19:01:38 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-11-07 19:01:38 +0800 |
commit | 1d1fea76c647c5e443f0e0e59493df3dfe78895f (patch) | |
tree | 0aa759a2491394f93a6abb7bd0b755dea21bc5c3 /security | |
parent | ba207254663bb2de1ebf8acc841fc58765902f7e (diff) | |
download | freebsd-ports-gnome-1d1fea76c647c5e443f0e0e59493df3dfe78895f.tar.gz freebsd-ports-gnome-1d1fea76c647c5e443f0e0e59493df3dfe78895f.tar.zst freebsd-ports-gnome-1d1fea76c647c5e443f0e0e59493df3dfe78895f.zip |
Update to 3.21b, fixing a Makefile bogon and a file descriptor leak.
Add a new knob, PEM_DIR, to specify the path to install the certificate
generated during the stunnel build, and later, the one generated using
the 'cert' target of the port Makefile.
Approved by: maintainer
Diffstat (limited to 'security')
-rw-r--r-- | security/stunnel/Makefile | 8 | ||||
-rw-r--r-- | security/stunnel/distinfo | 2 |
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 |