2007-12-02 13:20:12 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2007/12/02 12:21:18 wiz Exp $
|
2002-11-26 14:40:17 +01:00
|
|
|
|
|
|
|
DISTNAME= hackbot-2.15
|
|
|
|
CATEGORIES= security net
|
2007-12-02 13:20:12 +01:00
|
|
|
MASTER_SITES= http://www.xs4all.nl/~mvberkum/hackbot/
|
2002-11-26 14:40:17 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= nk@atki.net
|
|
|
|
HOMEPAGE= http://ws.obit.nl/hackbot/
|
|
|
|
COMMENT= Vulnerability scanner written in Perl
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/hackbot
|
2002-11-26 14:40:17 +01:00
|
|
|
MANCOMPRESSED= YES
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2002-11-26 14:40:17 +01:00
|
|
|
REPLACE_PERL= hackbot.pl
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2002-11-26 14:40:17 +01:00
|
|
|
do-build:
|
|
|
|
${SED} "s,/usr/local/etc,${PREFIX}/share/hackbot,g" ${WRKSRC}/hackbot.pl > ${WRKSRC}/hackbot.pl.done
|
|
|
|
${MV} ${WRKSRC}/hackbot.pl.done ${WRKSRC}/hackbot.pl
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/hackbot
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cgi.db ${WRKSRC}/fingerprint.db ${PREFIX}/share/hackbot
|
2007-01-07 10:13:46 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${PREFIX}/${PKGMANDIR}/man1
|
2002-11-26 14:40:17 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|