1999-01-18 04:27:03 +00:00
|
|
|
# New ports collection makefile for: stunnel
|
|
|
|
# Date created: Mon Jan 11 11:53:54 EET 1999
|
|
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-01-18 04:27:03 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= stunnel
|
2000-07-07 19:27:28 +00:00
|
|
|
PORTVERSION= 3.8.4
|
1999-01-18 04:27:03 +00:00
|
|
|
CATEGORIES= security
|
2000-07-07 19:27:28 +00:00
|
|
|
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
|
|
|
|
ftp://opensores.thebunker.net/pub/mirrors/stunnel/ \
|
|
|
|
ftp://mike.daewoo.com.pl/pub/stunnel/ \
|
2000-04-30 20:01:47 +00:00
|
|
|
ftp://ftp.cryptoarchive.net/pub/cryptoarchive/mirrors/opensores.thebunker.net/pub/mirrors/stunnel/
|
2000-07-07 19:27:28 +00:00
|
|
|
DISTNAME= ${PORTNAME}-3.8p4
|
|
|
|
EXTRACT_SUFX= .tgz
|
1999-01-18 04:27:03 +00:00
|
|
|
|
|
|
|
MAINTAINER= martti.kuparinen@ericsson.com
|
|
|
|
|
2000-09-22 01:59:06 +00:00
|
|
|
USE_OPENSSL= YES
|
1999-01-18 04:27:03 +00:00
|
|
|
|
2000-07-07 19:27:28 +00:00
|
|
|
USE_AUTOCONF= yes
|
2000-02-20 15:05:06 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var/run
|
|
|
|
|
1999-01-18 04:27:03 +00:00
|
|
|
MAN8= stunnel.8
|
|
|
|
|
2000-07-07 19:27:28 +00:00
|
|
|
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
|
1999-06-06 16:55:02 +00:00
|
|
|
@${ECHO} ""
|
2000-07-07 19:27:28 +00:00
|
|
|
@${ECHO} "**************************************************************************"
|
|
|
|
@${ECHO} "To create and install a new certificate, type \"make cert\""
|
1999-06-06 16:55:02 +00:00
|
|
|
@${ECHO} ""
|
2000-07-07 19:27:28 +00:00
|
|
|
@${ECHO} "And don't forget to check out the FAQ at http://www.stunnel.org/"
|
|
|
|
@${ECHO} "**************************************************************************"
|
1999-06-06 16:55:02 +00:00
|
|
|
@${ECHO} ""
|
|
|
|
|
2000-07-07 19:27:28 +00:00
|
|
|
cert:
|
1999-06-06 16:55:02 +00:00
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "**************************************************************************"
|
2000-07-07 19:27:28 +00:00
|
|
|
@${ECHO} "The new certificate will be saved into ${PREFIX}/etc/stunnel.pem"
|
1999-06-06 16:55:02 +00:00
|
|
|
@${ECHO} "**************************************************************************"
|
|
|
|
@${ECHO} ""
|
2000-07-07 19:27:28 +00:00
|
|
|
@(cd ${WRKSRC}; make cert)
|
|
|
|
${INSTALL} -m 600 ${WRKSRC}/stunnel.pem ${PREFIX}/etc/
|
1999-06-06 16:55:02 +00:00
|
|
|
|
1999-01-18 04:27:03 +00:00
|
|
|
.include <bsd.port.mk>
|