svn commit: r421792 - head/security/ratproxy

John Marino marino at FreeBSD.org
Sun Sep 11 05:00:57 UTC 2016


Author: marino
Date: Sun Sep 11 05:00:56 2016
New Revision: 421792
URL: https://svnweb.freebsd.org/changeset/ports/421792

Log:
  security/ratproxy: Add SSL flags and honor them
  
  Approved by:	SSL blanket

Modified:
  head/security/ratproxy/Makefile

Modified: head/security/ratproxy/Makefile
==============================================================================
--- head/security/ratproxy/Makefile	Sun Sep 11 04:51:28 2016	(r421791)
+++ head/security/ratproxy/Makefile	Sun Sep 11 05:00:56 2016	(r421792)
@@ -9,8 +9,9 @@ MASTER_SITES=	GOOGLE_CODE
 MAINTAINER=	skreuzer at FreeBSD.org
 COMMENT=	Semi-automated, largely passive web application security audit tool
 
-USES=		shebangfix
-USE_OPENSSL=	YES
+USES=		shebangfix ssl
+CFLAGS+=	-I${OPENSSLINC}
+LDFLAGS+=	-L${OPENSSLLIB}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -19,7 +20,8 @@ PLIST_FILES=	bin/ratproxy \
 		bin/ratproxy-report.sh
 
 post-patch:
-	@${REINPLACE_CMD} -e 's#-Wno-pointer-sign##g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's#-Wno-pointer-sign##g' \
+		-e "s|\(-lcrypto\)|${LDFLAGS} \1|g" ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ratproxy ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-head mailing list