From f23d273a395cbdfd8a1197adc3509ba3dfb4637b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 1 Mar 2010 20:40:50 +0100 Subject: update Signed-off-by: Florian Pritz --- nikto/PKGBUILD | 25 +++++++++++++++++++++++++ nikto/nikto.install | 13 +++++++++++++ nikto/nikto.sh | 4 ++++ 3 files changed, 42 insertions(+) create mode 100644 nikto/PKGBUILD create mode 100644 nikto/nikto.install create mode 100644 nikto/nikto.sh (limited to 'nikto') diff --git a/nikto/PKGBUILD b/nikto/PKGBUILD new file mode 100644 index 0000000..6b4c282 --- /dev/null +++ b/nikto/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Arkham +# Contributor: Arkham + +pkgname=nikto +pkgver=2.1.1 +pkgrel=1 +pkgdesc='A web server scanner which performs comprehensive tests against web servers for multiple items' +url='http://www.cirt.net/code/nikto.shtml' +license=('GPL') +arch=('any') +depends=('perl' 'openssl' 'perl-net-ssleay') +install=$pkgname.install +source=(http://www.cirt.net/nikto/$pkgname-$pkgver.tar.gz + nikto.sh) +md5sums=('a9404c3f464b08f3f48788d5f39e0ca7' + 'eb7b704c8bdae28af9a0353764d0b552') + +build() { + cd $srcdir/$pkgname-$pkgver + + install -d $pkgdir/usr/share/nikto + cp -a * $pkgdir/usr/share/nikto/ + find $pkgdir/usr/share/nikto -type f -exec chmod 644 {} + + install -Dm 755 $srcdir/nikto.sh $pkgdir/usr/bin/nikto +} diff --git a/nikto/nikto.install b/nikto/nikto.install new file mode 100644 index 0000000..aefdd93 --- /dev/null +++ b/nikto/nikto.install @@ -0,0 +1,13 @@ +post_install() { + echo "> Don't forget to update your plugins running as root:" + echo "> nikto -update" + echo "" +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + /bin/true +} diff --git a/nikto/nikto.sh b/nikto/nikto.sh new file mode 100644 index 0000000..8d36d2a --- /dev/null +++ b/nikto/nikto.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /usr/share/nikto +perl nikto.pl $@ -- cgit v1.2.3-24-g4f1b