1999-01-18 04:27:03 +00:00
|
|
|
# New ports collection makefile for: stunnel
|
1999-09-06 19:29:23 +00:00
|
|
|
# Version required: 3.4a
|
1999-01-18 04:27:03 +00:00
|
|
|
# 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
|
|
|
#
|
|
|
|
|
1999-09-06 19:29:23 +00:00
|
|
|
DISTNAME= stunnel-3.4a
|
1999-01-18 04:27:03 +00:00
|
|
|
CATEGORIES= security
|
1999-09-06 19:29:23 +00:00
|
|
|
MASTER_SITES= http://opensores.thebunker.net/pub/mirrors/stunnel/ \
|
|
|
|
http://mike.daewoo.com.pl/computer/stunnel/ \
|
1999-01-18 04:27:03 +00:00
|
|
|
ftp://ftp.fu-berlin.de/unix/security/stunnel/ \
|
|
|
|
ftp://ftp.uni-freiburg.de/pub/net/stunnel/ \
|
1999-01-27 21:57:23 +00:00
|
|
|
ftp://ftp.all.de/pub2/unix/security/stunnel/
|
1999-01-18 04:27:03 +00:00
|
|
|
|
|
|
|
MAINTAINER= martti.kuparinen@ericsson.com
|
|
|
|
|
1999-03-29 14:54:37 +00:00
|
|
|
BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl \
|
|
|
|
${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
|
|
|
|
${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl
|
|
|
|
RUN_DEPENDS= openssl:${PORTSDIR}/security/openssl
|
1999-05-03 02:10:08 +00:00
|
|
|
|
|
|
|
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
1999-03-29 14:54:37 +00:00
|
|
|
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
|
1999-05-03 02:10:08 +00:00
|
|
|
.endif
|
1999-01-18 04:27:03 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN8= stunnel.8
|
|
|
|
|
1999-06-06 16:55:02 +00:00
|
|
|
cert:
|
|
|
|
@(cd ${WRKSRC}; make cert)
|
|
|
|
|
1999-10-26 19:12:46 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
.if ${OSVERSION} >= 400000
|
|
|
|
${CP} files/patch-aa patches/
|
|
|
|
.endif
|
|
|
|
|
1999-06-06 16:55:02 +00:00
|
|
|
post-build:
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "********************************************************************"
|
|
|
|
@${ECHO} "To create and install a real certificate, execute \"make cert\" before"
|
|
|
|
@${ECHO} "\"make install\"."
|
|
|
|
@${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} ""
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "**************************************************************************"
|
|
|
|
@${ECHO} "Please check out the FAQ at http://mike.daewoo.com.pl/computer/stunnel/FAQ"
|
|
|
|
@${ECHO} "**************************************************************************"
|
|
|
|
@${ECHO} ""
|
|
|
|
|
1999-01-18 04:27:03 +00:00
|
|
|
.include <bsd.port.mk>
|