1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

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>
This commit is contained in:
Peter Pentchev 2006-01-31 09:11:38 +00:00
parent c2f55c02b3
commit f8e10eeed7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154873
2 changed files with 11 additions and 4 deletions

View File

@ -6,6 +6,14 @@ You should get into the habit of checking this file for changes each
time you update your ports collection, before attempting any port
upgrades.
20060131:
AFFECTS: users of security/stunnel
AUTHOR: roam@FreeBSD.org
Since stunnel-4.14_1, the stunnel.pem certificate generated by
"make cert" is installed into /usr/local/etc/stunnel/ instead of
/usr/local/etc/.
20060130:
AFFECTS: users of sysutils/portsnap
AUTHOR: cperciva@FreeBSD.org

View File

@ -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)