mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
32 lines
830 B
Makefile
32 lines
830 B
Makefile
# Created by: Steven Kreuzer <skreuzer@exit2shell.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ratproxy
|
|
PORTVERSION= 1.58
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.bit.nl/openbsd/distfiles/ \
|
|
ftp://mirror.wdc1.us.leaseweb.net/gentoo/distfiles/
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= Semi-automated, largely passive web application security audit tool
|
|
|
|
USES= shebangfix ssl
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SHEBANG_FILES= ratproxy-report.sh
|
|
PLIST_FILES= bin/ratproxy \
|
|
bin/ratproxy-report.sh
|
|
|
|
post-patch:
|
|
@${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
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ratproxy-report.sh ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|