Subject: pkg/18757: hackbot pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nk@atki.net>
List: netbsd-bugs
Date: 10/21/2002 22:03:24
>Number: 18757
>Category: pkg
>Synopsis: hackbot pkgsrc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Oct 21 12:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Niilo Kajander
>Release: NetBSD 1.6
>Organization:
>Environment:
System: NetBSD ganon.bsdirc.net 1.6 NetBSD 1.6 (ganon) #0: Thu Sep 12 23:59:32 EEST 2002 nk@ganon.bsdirc.net:/usr/src/sys/arch/sparc/compile/ganon sparc
Architecture: sparc
Machine: sparc
>Description:
pkgsrc stuff for hackbot
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# security
# security/hackbot
# security/hackbot/Makefile
# security/hackbot/DESCR
# security/hackbot/PLIST
# security/hackbot/patches
# security/hackbot/patches/patch-aa
# security/hackbot/distinfo
#
echo c - security
mkdir -p security > /dev/null 2>&1
echo c - security/hackbot
mkdir -p security/hackbot > /dev/null 2>&1
echo x - security/hackbot/Makefile
sed 's/^X//' >security/hackbot/Makefile <<
'END-of-security/hackbot/Makefile'
X# $NetBSD$
X
XDISTNAME= hackbot-2.14
XWRKSRC= ${WRKDIR}/hackbot
XCATEGORIES= security net
XMASTER_SITES= http://ws.obit.nl/hackbot/ \
X http://www.xs4all.nl/~mvberkum/hackbot/ \
X
http://webs.uolsinectis.com.ar/gbarosio/hackbot/
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= nk@atki.net
XHOMEPAGE= http://ws.obit.nl/hackbot/
XCOMMENT= Vulnerability scanner written in Perl
X
XMANCOMPRESSED= YES
XUSE_PERL5= YES
XREPLACE_PERL= hackbot.pl
X
Xpost-patch:
X ${SED} "s,/usr/local/etc,${PREFIX}/etc/hackbot,g"
${WRKSRC}/hackbot.pl >
${WRKSRC}/hackbot.pl.done
X ${MV} ${WRKSRC}/hackbot.pl.done ${WRKSRC}/hackbot.pl
X
X.include "../../mk/bsd.pkg.mk"
END-of-security/hackbot/Makefile
echo x - security/hackbot/DESCR
sed 's/^X//' >security/hackbot/DESCR <<
'END-of-security/hackbot/DESCR'
XHackbot is a vulnerability scanner that started as a joke at first,
but now
Xit has become a serious project. Hackbot scans over 300 CGI's, scans
for
Xbanners of several services, does unicode checks, checks for open
relays,
Xoutsmarts Cisco PIX MailGuard, can do ripe checkup, spamcop db
checkup, X
Xconnect test and lots more.
END-of-security/hackbot/DESCR
echo x - security/hackbot/PLIST
sed 's/^X//' >security/hackbot/PLIST <<
'END-of-security/hackbot/PLIST'
X@comment $NetBSD$
Xbin/hackbot.pl
Xetc/hackbot/cgi.db
Xetc/hackbot/fingerprint.db
Xman/man1/hackbot.1
X@dirrm etc/hackbot
END-of-security/hackbot/PLIST
echo c - security/hackbot/patches
mkdir -p security/hackbot/patches > /dev/null 2>&1
echo x - security/hackbot/patches/patch-aa
sed 's/^X//' >security/hackbot/patches/patch-aa <<
'END-of-security/hackbot/patc
hes/patch-aa'
X$NetBSD$
X
X+++ Makefile
X@@ -1,18 +1,7 @@
X-SRCPL = ./hackbot.pl
X-SRCDB = ./cgi.db
X-FINGDB = ./fingerprint.db
X-SRCMAN = ./hackbot.1.gz
X-DESTPL = /usr/local/bin/
X-DESTDB = /usr/local/etc/
X-DESTMAN = /usr/local/man/man1/
X-MKDIR = `which mkdir`
X-CP = `which cp`
X+all:
X
X install:
X- ${MKDIR} -p ${DESTPL}
X- ${MKDIR} -p ${DESTDB}
X- ${MKDIR} -p ${DESTMAN}
X- ${CP} -f ${SRCPL} ${DESTPL}
X- ${CP} -f ${SRCDB} ${DESTDB}
X- ${CP} -f ${FINGDB} ${DESTDB}
X- ${CP} -f ${SRCMAN} ${DESTMAN}
X+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/etc/hackbot
X+ $(BSD_INSTALL_SCRIPT) hackbot.pl $(PREFIX)/bin
X+ $(BSD_INSTALL_DATA) cgi.db fingerprint.db
$(PREFIX)/etc/hackbot
X+ $(BSD_INSTALL_MAN) hackbot.1.gz $(PREFIX)/man/man1
END-of-security/hackbot/patches/patch-aa
echo x - security/hackbot/distinfo
sed 's/^X//' >security/hackbot/distinfo <<
'END-of-security/hackbot/distinfo'
X$NetBSD$
X
XSHA1 (hackbot-2.14.tgz) = 2544f042c4771e770445eb0dae7a519fb6ec336c
XSize (hackbot-2.14.tgz) = 27992 bytes
XSHA1 (patch-aa) = b6428fab230d89f8a7aca8a1050574252e96a9b5
END-of-security/hackbot/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted: