1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/security/sqlninja/Makefile

47 lines
1.1 KiB
Makefile

# Created by: Valerio Daelli <valerio.daelli@gmail.com>
# $FreeBSD$
PORTNAME= sqlninja
DISTVERSION= 0.2.6
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Sql Server exploit toolkit
LICENSE= GPLv2
RUN_DEPENDS= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
p5-Net-Pcap>=0:${PORTSDIR}/net/p5-Net-Pcap \
p5-Net-RawIP>=0:${PORTSDIR}/net/p5-Net-RawIP \
p5-NetPacket>=0:${PORTSDIR}/net/p5-NetPacket
USES= perl5
NO_BUILD= yes
NO_STAGE= yes
do-install:
${MKDIR} ${ETCDIR}
${MKDIR} ${ETCDIR}/scripts
${MKDIR} ${ETCDIR}/apps
. for i in sqlninja
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
. endfor
. for i in churrasco.scr dnstun.scr nc.scr
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${i} ${ETCDIR}/scripts
. endfor
. for i in churrasco.exe dnstun.exe nc.exe
${INSTALL_SCRIPT} ${WRKSRC}/apps/${i} ${ETCDIR}/apps
. endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for i in sqlninja-howto.html sqlninja.conf.example
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>