diff options
author | steve <steve@FreeBSD.org> | 2000-07-07 19:27:28 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-07 19:27:28 +0000 |
commit | 3e69f4611a56d82c4d8767e546c31de3affc58ae (patch) | |
tree | 543b3297bc36b67e0979e74a714cbb0dd75bf7a7 /security/stunnel/Makefile | |
parent | 9b846c4bff11b836acbf61cd1f7011c2bd94c16a (diff) | |
download | FreeBSD-ports-3e69f4611a56d82c4d8767e546c31de3affc58ae.zip FreeBSD-ports-3e69f4611a56d82c4d8767e546c31de3affc58ae.tar.gz |
Update to version 3.8.4.
PR: 19637
Submitted by: maintainer
Diffstat (limited to 'security/stunnel/Makefile')
-rw-r--r-- | security/stunnel/Makefile | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index 173a5eb..61e0da1 100644 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -6,41 +6,43 @@ # PORTNAME= stunnel -PORTVERSION= 3.8 +PORTVERSION= 3.8.4 CATEGORIES= security -MASTER_SITES= ftp://opensores.thebunker.net/pub/mirrors/stunnel/ \ - http://mike.daewoo.com.pl/computer/stunnel/ \ +MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ + ftp://opensores.thebunker.net/pub/mirrors/stunnel/ \ + ftp://mike.daewoo.com.pl/pub/stunnel/ \ ftp://ftp.cryptoarchive.net/pub/cryptoarchive/mirrors/opensores.thebunker.net/pub/mirrors/stunnel/ +DISTNAME= ${PORTNAME}-3.8p4 +EXTRACT_SUFX= .tgz MAINTAINER= martti.kuparinen@ericsson.com USE_OPENSSL= RSA -GNU_CONFIGURE= yes +USE_AUTOCONF= yes CONFIGURE_ARGS= --localstatedir=/var/run MAN8= stunnel.8 -cert: - @(cd ${WRKSRC}; make cert) - -post-build: +post-install: + @${SED} "s+!!PREFIX!!+${PREFIX}+g" < ${FILESDIR}/stunnel.sh \ + > ${PREFIX}/etc/rc.d/stunnel.sh.sample + @${CHMOD} 755 ${PREFIX}/etc/rc.d/stunnel.sh.sample @${ECHO} "" - @${ECHO} "********************************************************************" - @${ECHO} "To create and install a real certificate, execute \"make cert\" before" - @${ECHO} "\"make install\"." + @${ECHO} "**************************************************************************" + @${ECHO} "To create and install a new certificate, type \"make cert\"" @${ECHO} "" - @${ECHO} "You can also create a real certificate later by executing" - @${ECHO} " # make cert" - @${ECHO} " # cp work/stunnel/stunnel.pem ${PREFIX}/certs/" - @${ECHO} "********************************************************************" + @${ECHO} "And don't forget to check out the FAQ at http://www.stunnel.org/" + @${ECHO} "**************************************************************************" @${ECHO} "" -post-install: +cert: @${ECHO} "" @${ECHO} "**************************************************************************" - @${ECHO} "Please check out the FAQ at http://www.onsight.com/faq/stunnel/" + @${ECHO} "The new certificate will be saved into ${PREFIX}/etc/stunnel.pem" @${ECHO} "**************************************************************************" @${ECHO} "" + @(cd ${WRKSRC}; make cert) + ${INSTALL} -m 600 ${WRKSRC}/stunnel.pem ${PREFIX}/etc/ .include <bsd.port.mk> |