From 3e69f4611a56d82c4d8767e546c31de3affc58ae Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 7 Jul 2000 19:27:28 +0000 Subject: Update to version 3.8.4. PR: 19637 Submitted by: maintainer --- security/stunnel/Makefile | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'security/stunnel/Makefile') diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index 173a5eb3ad7..61e0da16f39 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 -- cgit