diff options
author | roam <roam@FreeBSD.org> | 2006-01-31 17:11:38 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2006-01-31 17:11:38 +0800 |
commit | 536a050bfa5fc937ca6c983d9ea5c0b0922ad2eb (patch) | |
tree | c1dc981564f6d99accd5edfeee8524158b91b437 /security/stunnel | |
parent | 5a349959ef05fea3f85a1fa53b9db2db19a18578 (diff) | |
download | freebsd-ports-gnome-536a050bfa5fc937ca6c983d9ea5c0b0922ad2eb.tar.gz freebsd-ports-gnome-536a050bfa5fc937ca6c983d9ea5c0b0922ad2eb.tar.zst freebsd-ports-gnome-536a050bfa5fc937ca6c983d9ea5c0b0922ad2eb.zip |
Catch up with stunnel's tools/Makefile to make the port's "make cert"
target actually work again.
Follow the upstream author's idea of keeping all stunnel-related
configuration files into ${PREFIX}/etc/stunnel/ - now "make cert" also
installs the certificate there instead of ${PREFIX}/etc/.
Bump PORTREVISION and add a note to UPDATING for the certificate
location change.
PR: 91991
Reported by: Jiri Pridal <jiri.pridal@firebrno.cz>
Diffstat (limited to 'security/stunnel')
-rw-r--r-- | security/stunnel/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index ae286e2899ac..db57da0864ac 100644 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -7,6 +7,7 @@ PORTNAME= stunnel PORTVERSION= 4.14 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ ftp://stunnel.mirt.net/stunnel/ \ @@ -17,7 +18,6 @@ MAINTAINER= roam@FreeBSD.org COMMENT= SSL encryption wrapper for standard network daemons USE_OPENSSL= YES -USE_REINPLACE= YES USE_AUTOTOOLS= libtool:15 USE_RC_SUBR= YES @@ -98,11 +98,10 @@ post-install: cert: @${ECHO} "" @${ECHO} "**************************************************************************" - @${ECHO} "The new certificate will be saved into ${PREFIX}/etc/stunnel.pem" + @${ECHO} "The new certificate will be saved into ${PREFIX}/etc/stunnel/stunnel.pem" @${ECHO} "**************************************************************************" @${ECHO} "" - @(cd ${WRKSRC}/tools/; make stunnel.pem) - ${INSTALL} -m 600 ${WRKSRC}/tools/stunnel.pem ${PEM_DIR}/ + @(cd ${WRKSRC}/tools/; make install-data-local) .if ${OSVERSION} > 500000 .if !defined(WITH_STUNNEL_SSL_ENGINE) |