mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
d2d7c7dc32
Approved by: portmgr (erwin)
40 lines
945 B
Makefile
40 lines
945 B
Makefile
# New ports collection makefile for: sslwrap
|
|
# Date created: 1999 november 7.
|
|
# Whom: Zahemszky, Gabor <ZGabor at CoDe dot HU>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sslwrap
|
|
PORTVERSION= 2.0.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.rickk.com/sslwrap/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL
|
|
|
|
USE_OPENSSL= YES
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
DOCS= README docs.html
|
|
|
|
post-patch:
|
|
${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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|