I hope my second version complies to OpenBSD standards. please test / commit.
Regards, Herman Poortermans
Sebastian Stark wrote:
On Tue, Oct 22, 2002 at 01:38:13PM +0200, Herman wrote:
This is my first port of hackbot 2.13
DESCR: Hackbot is a vulnerability scanner that started as a joke at first, but now it has become a serious project. Hackbot scans over 300 CGI's, scans for banners of several services, does unicode checks, checks for open relays, outsmarts Cisco PIX MailGuard, can do ripe checkup, spamcop db checkup, X connect test and lots more.
Feedback if needed, commit if acceptable :)
You install stuff to /usr/local/etc/hackbot.
OpenBSD Policy is to store config in /etc
Further I see that it isn't even config you're storing there. It's just database files and those belong to ${LOCALBASE}/share/hackbot IMO.
The patch-aa is appearently not conforming to the standard. Use "make update-patches" if possible.
You seem to "patch away" nearly the whole Makefile. How about putting a Makefile in the files dir and overwrite the old one? (Particularly because you leave exactly 0 lines of the original)
This is a Perl program so there is no need to build anything. Set NO_BUILD=yes in this case. (You should use the do-configure override then or some other, not the pre-build hook in either case.)
Attachment:
hackbot-2.14.openbsd-port-v2.tgz
Description: application/tar-gz