pkgsrc-wip/ratproxy/Makefile
Blair Sadewitz ddff6b63af Import ratproxy-1.51 as wip/ratproxy.
Ratproxy is a semi-automated, largely passive web application security
audit tool. It is meant to complement active crawlers and manual proxies
more commonly used for this task, and is optimized specifically for an
accurate and sensitive detection, and automatic annotation, of potential
problems and security-relevant design patterns based on the observation
of existing, user-initiated traffic in complex web 2.0 environments.
The approach taken with ratproxy offers several important advantages over
more traditional methods; please consult ratproxy's home page or the
installed README file for more information.

[HOMEPAGE:http://code.google.com/p/ratproxy]
2008-07-12 01:35:10 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/07/12 01:35:10 bsadewitz Exp $
#
DISTNAME= ratproxy-1.51
CATEGORIES= security
MASTER_SITES= http://ratproxy.googlecode.com/files/
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://code.google.com/p/ratproxy
COMMENT= Passive web application security assessment tool
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/ratproxy
GCC_REQD+= 3.0
LIBS+= -lcrypto -lssl
LIBS.SunOS+= -lsocket -lnsl
BINDIR= ${PREFIX}/bin
DATAROOTDIR= ${PREFIX}/share
DATADIR= ${DATAROOTDIR}/${PKGBASE}
DOCDIR= ${DATAROOTDIR}/doc/${PKGBASE}
REPLACE_SH= ratproxy-report.sh
SUBST_CLASSES+= fix-paths
SUBST_FILES.fix-paths= ssl.c ratproxy-report.sh
SUBST_MESSAGE.fix-paths= Performing pathname substitutions
SUBST_STAGE.fix-paths= pre-build
SUBST_VARS.fix-paths= DATADIR
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${BINDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
cd ${WRKSRC} && \
${INSTALL_PROGRAM} ${WRKSRC}/ratproxy ${DESTDIR}${BINDIR} && \
${INSTALL_DATA} ratproxy-back.png keyfile.pem messages.list \
${DESTDIR}${DATADIR} && \
${INSTALL_SCRIPT} ratproxy-report.sh \
${DESTDIR}${BINDIR}/ratproxy-report
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOCDIR}
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"