Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
Nikto is a web server scanner which performs comprehensive tests against web
servers for multiple items, including over 2200 potentially dangerous
files/CGIs, versions on over 140 servers, and problems on over 210 servers.
Scan items and plugins are frequently updated and can be automatically
updated (if desired).
+14
View File
@@ -0,0 +1,14 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/07/02 11:30:01 adrianp Exp $
You may need to create your own config.txt file before running nikto.
A sample file can be found in "${PREFIX}/share/nikto".
Once you have customised this file for your environment it must be in
your current working directory when nikto is run. Alternatively you can use
the new ./nikto -config <filename> directive to specify a config file.
You may want to run "nikto -update" as root once you have customised
your config.txt file. This will ensure you have the latest updates
for the nikto scanner.
===========================================================================
+46
View File
@@ -0,0 +1,46 @@
# $NetBSD: Makefile,v 1.19 2013/05/31 12:41:52 wiz Exp $
DISTNAME= nikto-1.36
PKGREVISION= 2
CATEGORIES= security www
MASTER_SITES= http://www.cirt.net/nikto/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cirt.net/code/nikto.shtml
COMMENT= URL scanner used to search for known vulnerable CGIs on websites
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
DEPENDS+= nmap>=2.00:../../net/nmap
USE_TOOLS+= perl:run
REPLACE_PERL= nikto.pl
NO_BUILD= YES
# NOTE: this package will not work with pkgviews due to a hardcoded
# location for nmap.
#
SUBST_CLASSES+= conf
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= config.txt
SUBST_SED.conf= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_MESSAGE.conf= Fixing PREFIX in files.
CONF_FILES= ${PREFIX}/share/examples/nikto/config.txt \
${PREFIX}/share/nikto/config.txt
INSTALLATION_DIRS= bin libdata/nikto/docs libdata/nikto/plugins \
share/doc/nikto share/examples/nikto share/nikto
do-install:
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DESTDIR}${PREFIX}/share/doc/nikto
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${DESTDIR}${PREFIX}/libdata/nikto/docs
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DESTDIR}${PREFIX}/share/doc/nikto
${INSTALL_DATA} ${WRKSRC}/config.txt ${DESTDIR}${PREFIX}/share/examples/nikto
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${DESTDIR}${PREFIX}/bin/nikto
${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin \
${DESTDIR}${PREFIX}/libdata/nikto/plugins
${INSTALL_DATA} ${WRKSRC}/plugins/LW.pm ${DESTDIR}${PREFIX}/libdata/nikto/plugins
${INSTALL_DATA} ${WRKSRC}/plugins/*.db ${DESTDIR}${PREFIX}/libdata/nikto/plugins
${INSTALL_DATA} ${WRKSRC}/plugins/*.txt ${DESTDIR}${PREFIX}/libdata/nikto/plugins
.include "../../mk/bsd.pkg.mk"
+29
View File
@@ -0,0 +1,29 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 21:21:16 joerg Exp $
bin/nikto
share/doc/nikto/CHANGES.txt
share/doc/nikto/LICENSE.txt
share/doc/nikto/README_plugins.txt
share/doc/nikto/nikto_usage.html
share/doc/nikto/nikto_usage.txt
share/examples/nikto/config.txt
libdata/nikto/docs/CHANGES.txt
libdata/nikto/plugins/LW.pm
libdata/nikto/plugins/nikto_apacheusers.plugin
libdata/nikto/plugins/nikto_core.plugin
libdata/nikto/plugins/nikto_headers.plugin
libdata/nikto/plugins/nikto_httpoptions.plugin
libdata/nikto/plugins/nikto_msgs.plugin
libdata/nikto/plugins/nikto_mutate.plugin
libdata/nikto/plugins/nikto_outdated.plugin
libdata/nikto/plugins/nikto_passfiles.plugin
libdata/nikto/plugins/nikto_plugin_order.txt
libdata/nikto/plugins/nikto_put_del_test.plugin
libdata/nikto/plugins/nikto_realms.plugin
libdata/nikto/plugins/nikto_robots.plugin
libdata/nikto/plugins/nikto_user_enum_apache.plugin
libdata/nikto/plugins/nikto_user_enum_cgiwrap.plugin
libdata/nikto/plugins/outdated.db
libdata/nikto/plugins/realms.db
libdata/nikto/plugins/scan_database.db
libdata/nikto/plugins/server_msgs.db
libdata/nikto/plugins/servers.db
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.7 2007/02/16 00:54:23 adrianp Exp $
SHA1 (nikto-1.36.tar.gz) = b568f2625e3842e31af08546303951a57e03565d
RMD160 (nikto-1.36.tar.gz) = efcda5273851e92256a6a507d123ec4b65556bb3
Size (nikto-1.36.tar.gz) = 209571 bytes
SHA1 (patch-ab) = 5e6b5d3533dbe7076d555efd2f56da6bf8881bae
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.4 2005/09/06 21:11:57 adrianp Exp $
--- config.txt.orig 2005-07-02 11:42:30.000000000 +0100
+++ config.txt
@@ -7,14 +7,14 @@
# location of nmap to use with port scanning (rather than Nikto internals)
# and any options to pass to it
-#NMAP=/usr/bin/nmap
+NMAP=@PREFIX@/bin/nmap
#NMAPOPTS=
# ports never to scan
SKIPPORTS=21 111
# if Nikto is having difficulty finding 'plugins', set the full path here
-# PLUGINDIR=/usr/local/nikto/plugins
+PLUGINDIR=@PREFIX@/libdata/nikto/plugins
# the default HTTP version to try... can/will be changed as necessary
DEFAULTHTTPVER=1.1