summaryrefslogtreecommitdiff
path: root/security/ratproxy
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-11 05:00:56 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-11 05:00:56 +0000
commita4fa58f3c25954a6581426ccce1535c3909a9d9e (patch)
tree409d0638e0b23bb34106493f287275f3273650f9 /security/ratproxy
parentsecurity/pev: Add SSL flags (diff)
security/ratproxy: Add SSL flags and honor them
Approved by: SSL blanket
Notes
Notes: svn path=/head/; revision=421792
Diffstat (limited to 'security/ratproxy')
-rw-r--r--security/ratproxy/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/ratproxy/Makefile b/security/ratproxy/Makefile
index ae1a4ee634da..a8ef607eb5c9 100644
--- a/security/ratproxy/Makefile
+++ b/security/ratproxy/Makefile
@@ -9,8 +9,9 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= skreuzer@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