Date: Sat, 10 Nov 2012 17:07:42 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307295 - in head/security/sslwrap: . files Message-ID: <201211101707.qAAH7gP1063836@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sat Nov 10 17:07:42 2012 New Revision: 307295 URL: http://svnweb.freebsd.org/changeset/ports/307295 Log: - Add LICENSE - Switch to PLIST_FILES, PORTDOCS - Remove bunch of patches, replaced by REINPLACE_CMD PR: ports/172062 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes Deleted: head/security/sslwrap/files/patch-apps.h head/security/sslwrap/files/patch-s_cb.c head/security/sslwrap/files/patch-s_server.c head/security/sslwrap/files/patch-s_socket.c head/security/sslwrap/pkg-plist Modified: head/security/sslwrap/Makefile Modified: head/security/sslwrap/Makefile ============================================================================== --- head/security/sslwrap/Makefile Sat Nov 10 16:56:40 2012 (r307294) +++ head/security/sslwrap/Makefile Sat Nov 10 17:07:42 2012 (r307295) @@ -1,9 +1,5 @@ -# New ports collection makefile for: sslwrap -# Date created: 1999 november 7. -# Whom: Zahemszky, Gabor <ZGabor at CoDe dot HU> -# +# Created by: Zahemszky, Gabor <ZGabor at CoDe dot HU> # $FreeBSD$ -# PORTNAME= sslwrap PORTVERSION= 2.0.6 @@ -15,25 +11,27 @@ 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 +USE_OPENSSL= yes + +PORTDOCS= README docs.html +PLIST_FILES= bin/sslwrap + +.include <bsd.port.options.mk> 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 + @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|SSL_OP_NON_EXPORT_FIRST|SSL_OP_CIPHER_SERVER_PREFERENCE|g ; \ + s|OPENSSL"|"openssl/|g' do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap -.if !defined(NOPORTDOCS) + ${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.for i in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211101707.qAAH7gP1063836>