Hi,

below a little patch to security/nikto to let it use the installed DTD when 
saving xml files out of the box.
While there, switch homepage to https.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/nikto/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile    27 Aug 2017 21:47:43 -0000      1.24
+++ Makefile    25 Apr 2019 08:50:11 -0000
@@ -5,11 +5,12 @@
 GH_ACCOUNT =   sullo
 GH_PROJECT =   nikto
 GH_TAGNAME =   2.1.6
+REVISION =     0

 EPOCH =        0
 CATEGORIES =   security www

-HOMEPAGE =     http://www.cirt.net/nikto2
+HOMEPAGE =     https://www.cirt.net/nikto2

 MAINTAINER =   Nigel Taylor <ni...@openbsd.org>

@@ -25,7 +26,8 @@
 pre-configure:
        sed -i 's%# EXECDIR=.*%EXECDIR=${PREFIX}/share/nikto%; \
                s%# DOCDIR=.*%DOCDIR=${PREFIX}/share/doc/nikto%; \
-               s%# DBDIR=.*%DBDIR=/var/db/nikto/databases%' \
+               s%# DBDIR=.*%DBDIR=/var/db/nikto/databases%; \
+               s%NIKTODTD=.*%NIKTODTD=${PREFIX}/share/doc/nikto/nikto.dtd%' \
                ${WRKSRC}/program/nikto.conf

 do-install:

Attachment: nikto.diff
Description: Binary data

Reply via email to