security/ratproxy: Add SSL flags and honor them
Approved by: SSL blanket
This commit is contained in:
parent
c04bb4a974
commit
a4fa58f3c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421792
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue