security/ratproxy: Add SSL flags and honor them

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-11 05:00:56 +00:00
parent c04bb4a974
commit a4fa58f3c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421792

View file

@ -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