2012-11-10 18:07:42 +01:00
|
|
|
# Created by: Zahemszky, Gabor <ZGabor at CoDe dot HU>
|
1999-12-27 02:56:10 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= sslwrap
|
2001-01-10 08:22:04 +01:00
|
|
|
PORTVERSION= 2.0.6
|
2003-10-16 07:34:33 +02:00
|
|
|
PORTREVISION= 1
|
1999-12-27 02:56:10 +01:00
|
|
|
CATEGORIES= security
|
2005-11-25 07:02:46 +01:00
|
|
|
MASTER_SITES= http://www.rickk.com/sslwrap/
|
2000-04-09 20:34:06 +02:00
|
|
|
DISTNAME= ${PORTNAME}
|
1999-12-27 02:56:10 +01:00
|
|
|
|
2005-11-14 03:12:50 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL
|
1999-12-27 02:56:10 +01:00
|
|
|
|
2001-01-10 08:22:04 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
|
1999-12-27 02:56:10 +01:00
|
|
|
|
2012-11-10 18:07:42 +01:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
|
|
|
PORTDOCS= README docs.html
|
|
|
|
PLIST_FILES= bin/sslwrap
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2008-09-12 10:51:36 +02:00
|
|
|
|
2003-07-23 18:58:28 +02:00
|
|
|
post-patch:
|
2012-11-10 18:07:42 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|SSL_OP_NON_EXPORT_FIRST|SSL_OP_CIPHER_SERVER_PREFERENCE|g ; \
|
|
|
|
s|OPENSSL"|"openssl/|g'
|
2003-07-23 18:58:28 +02:00
|
|
|
|
1999-12-27 02:56:10 +01:00
|
|
|
do-install:
|
2012-11-10 18:07:42 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2008-09-12 10:51:36 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2012-11-10 18:07:42 +01:00
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
1999-12-27 02:56:10 +01:00
|
|
|
.endif
|
|
|
|
|
2003-10-16 07:34:33 +02:00
|
|
|
.include <bsd.port.mk>
|