Date: Tue, 17 Dec 2013 02:51:05 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/184847: security/symbion-sslproxy: Support CC/CFLAGS properly Message-ID: <20131217025105.dd6bfb61f146de2222871157@yahoo.com> Resent-Message-ID: <201312161810.rBGIACvG016163@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184847 >Category: ports >Synopsis: security/symbion-sslproxy: Support CC/CFLAGS properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 16 18:10:12 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Support CC/CFLAGS properly - Add LICENSE >How-To-Repeat: >Fix: diff -urN /usr/ports/security/symbion-sslproxy/Makefile security/symbion-sslproxy/Makefile --- /usr/ports/security/symbion-sslproxy/Makefile 2013-11-06 22:03:01.000000000 +0900 +++ security/symbion-sslproxy/Makefile 2013-12-17 00:00:00.000000000 +0900 @@ -3,6 +3,7 @@ PORTNAME= symbion-sslproxy PORTVERSION= 1.0.5 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/sslproxy/sslproxy/${PORTVERSION} DISTNAME= sslproxy-${PORTVERSION} @@ -11,31 +12,26 @@ MAINTAINER= ports@FreeBSD.org COMMENT= SSL proxy for securing insecure connections -USE_OPENSSL= YES -USE_GMAKE= YES -PLIST_FILES= sbin/ssl_proxy -SUB_FILES+= pkg-message +LICENSE= GPLv2 # (or later) + +USES= gmake +USE_OPENSSL= yes -NO_STAGE= yes -.include <bsd.port.pre.mk> +SUB_FILES= pkg-message -.if !defined(NOPORTDOCS) PORTDOCS= README -.endif +PLIST_FILES= sbin/ssl_proxy post-patch: - ${REINPLACE_CMD} -e 's|CC =|CC ?=|' \ - -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile.global + @${REINPLACE_CMD} -e \ + 's|^CC =|CC ?=| ; \ + s|^LD =.*|LD = $$(CC)| ; \ + s|^CFLAGS =|#CFLAGS =| ; \ + s|^LDFLAGS =|#LDFLAGS =|' ${WRKSRC}/Makefile.global do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ssl_proxy ${PREFIX}/sbin - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif - -post-install: - ${CAT} ${PKGMESSAGE} + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ssl_proxy ${STAGEDIR}${PREFIX}/sbin) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.post.mk> +.include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131217025105.dd6bfb61f146de2222871157>