1999-12-27 01:56:10 +00:00
|
|
|
# New ports collection makefile for: sslwrap
|
|
|
|
# Date created: 1999 november 7.
|
|
|
|
# Whom: Zahemszky, Gabor <ZGabor at CoDe dot HU>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= sslwrap
|
2001-01-10 07:22:04 +00:00
|
|
|
PORTVERSION= 2.0.6
|
2003-10-16 05:34:33 +00:00
|
|
|
PORTREVISION= 1
|
1999-12-27 01:56:10 +00:00
|
|
|
CATEGORIES= security
|
2005-11-25 06:02:46 +00:00
|
|
|
MASTER_SITES= http://www.rickk.com/sslwrap/
|
2000-04-09 18:34:06 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1999-12-27 01:56:10 +00:00
|
|
|
|
2005-11-14 02:12:50 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL
|
1999-12-27 01:56:10 +00:00
|
|
|
|
2000-09-22 01:59:06 +00:00
|
|
|
USE_OPENSSL= YES
|
1999-12-27 01:56:10 +00:00
|
|
|
|
2001-01-10 07:22:04 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
|
1999-12-27 01:56:10 +00:00
|
|
|
|
2003-07-23 16:58:28 +00:00
|
|
|
post-patch:
|
2003-10-16 05:34:33 +00:00
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' \
|
|
|
|
${WRKSRC}/s_server.c
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's,%%OPENSSL%%,openssl/,g' \
|
|
|
|
${WRKSRC}/s_server.c ${WRKSRC}/s_cb.c ${WRKSRC}/apps.h ${WRKSRC}/s_socket.c
|
2003-07-23 16:58:28 +00:00
|
|
|
|
1999-12-27 01:56:10 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/sslwrap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs.html \
|
|
|
|
${PREFIX}/share/doc/sslwrap
|
|
|
|
.endif
|
|
|
|
|
2003-10-16 05:34:33 +00:00
|
|
|
.include <bsd.port.mk>
|