2006-12-05 03:40:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2006/12/05 08:40:44 jakob Exp $
|
2001-03-24 14:55:27 -05:00
|
|
|
|
2003-04-10 14:08:56 -04:00
|
|
|
COMMENT= "SSL encryption wrapper for standard network daemons"
|
1999-12-05 13:25:54 -05:00
|
|
|
|
2006-12-05 03:40:44 -05:00
|
|
|
VERSION= 4.20
|
2004-02-16 07:33:18 -05:00
|
|
|
DISTNAME= stunnel-${VERSION}
|
2006-09-27 11:30:10 -04:00
|
|
|
PKGNAME= ${DISTNAME}
|
1999-12-05 13:25:54 -05:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
1999-12-05 13:25:54 -05:00
|
|
|
|
2004-02-16 07:33:18 -05:00
|
|
|
# GPL
|
2000-06-20 15:36:24 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-11-16 21:50:55 -05:00
|
|
|
WANTLIB= c crypto pthread ssl util wrap z
|
2000-03-05 17:55:44 -05:00
|
|
|
|
2004-02-16 07:33:18 -05:00
|
|
|
HOMEPAGE= http://www.stunnel.org/
|
2000-03-05 17:55:44 -05:00
|
|
|
|
2001-07-23 04:55:25 -04:00
|
|
|
MASTER_SITES= ftp://stunnel.mirt.net/stunnel/ \
|
|
|
|
http://www.stunnel.org/download/stunnel/src/ \
|
1999-12-05 13:25:54 -05:00
|
|
|
http://mike.daewoo.com.pl/computer/stunnel/ \
|
2000-03-05 17:55:44 -05:00
|
|
|
http://opensores.thebunker.net/pub/mirrors/stunnel/ \
|
1999-12-05 13:25:54 -05:00
|
|
|
ftp://ftp.fu-berlin.de/unix/security/stunnel/ \
|
|
|
|
ftp://ftp.uni-freiburg.de/pub/net/stunnel/ \
|
|
|
|
ftp://ftp.all.de/pub2/unix/security/stunnel/
|
|
|
|
|
2002-10-30 06:10:35 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-06-20 15:36:24 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-08-13 04:15:14 -04:00
|
|
|
CONFIGURE_ARGS+= --with-tcp-wrappers \
|
2002-10-30 06:10:35 -05:00
|
|
|
--with-random=/dev/arandom \
|
|
|
|
--with-ssl=/usr \
|
2005-02-28 02:03:09 -05:00
|
|
|
--enable-ipv6 \
|
2004-02-16 07:33:18 -05:00
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
2003-11-22 21:06:46 -05:00
|
|
|
--localstatedir=/var \
|
|
|
|
${CONFIGURE_SHARED}
|
2004-08-04 10:51:31 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/auto
|
2002-10-30 06:10:35 -05:00
|
|
|
NO_REGRESS= Yes
|
2004-12-27 03:24:44 -05:00
|
|
|
USE_GMAKE= Yes
|
2005-11-16 21:50:55 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2000-03-05 17:55:44 -05:00
|
|
|
|
1999-12-05 13:25:54 -05:00
|
|
|
do-install:
|
2002-10-30 06:10:35 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/stunnel ${PREFIX}/sbin
|
2004-12-27 03:24:44 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/stunnel.8 ${PREFIX}/man/man8
|
2002-10-31 13:02:36 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stunnel
|
2002-10-30 06:10:35 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/tools/stunnel.conf-sample \
|
2002-10-31 13:02:36 -05:00
|
|
|
${PREFIX}/share/examples/stunnel
|
1999-12-05 13:25:54 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|