blob: 6d30b5a6170e4dd375b8c0ba6f780eefa17c8ec6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Yonatan <Yonatan@xpert.com>
# $FreeBSD$
PORTNAME= spike-proxy
PORTVERSION= 1.4.8
CATEGORIES= security
MASTER_SITES= http://www.immunitysec.com/downloads/
DISTNAME= SP${PORTVERSION:L:C/\.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= onatan@gmail.com
COMMENT= Tool for looking for vulnerabilities in web applications
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl
WRKSRC= ${WRKDIR}/spkproxy
USE_PYTHON= yes
NO_BUILD= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} "s|\#\!/usr/bin/python|\#\!${LOCALBASE}/bin/python|" ${WRKSRC}/*.py
do-install:
@${MKDIR} ${DATADIR}
@${RM} -rf ${WRKSRC}/*.bak
${CP} -Rp ${WRKSRC}/* ${DATADIR}/
${SED} "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/spkproxy.sh > ${PREFIX}/bin/spkproxy.sh
@${CHMOD} 755 ${PREFIX}/bin/spkproxy.sh
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in WHYGPL.txt TODO.txt SpikeUsage.txt README.txt CHANGELOG.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|