summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/nikto/PKGBUILD49
-rw-r--r--libre/nikto/nikto.sh3
2 files changed, 0 insertions, 52 deletions
diff --git a/libre/nikto/PKGBUILD b/libre/nikto/PKGBUILD
deleted file mode 100644
index ed29b5273..000000000
--- a/libre/nikto/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor (Arch): grimsock <lord.grimsock at gmail dot com>
-# Contributor (Arch): Alessandro Sagratini <ale_sagra at hotmail dot com>
-# Contributor (Arch): Arkham <arkham at archlinux dot us>
-# Contributor (Arch): LeCrayonVert < greenarrow at archlinux dot us>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-pkgname=nikto
-pkgver=2.1.6
-pkgrel=1.parabola1
-pkgdesc='A web server scanner which performs comprehensive tests against web servers for multiple items, without nonfree databases'
-url='https://github.com/sullo/nikto'
-arch=('any')
-license=('GPL')
-depends=('sh' 'openssl' 'perl-net-ssleay' 'perl-json')
-backup=('etc/nikto.conf')
-mksource=(${pkgname}-${pkgver}.tar.gz::https://github.com/sullo/${pkgname}/archive/${pkgver}.tar.gz)
-source=(https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.xz
- nikto.sh)
-mksha512sums=('13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69')
-sha512sums=('93dbf03a74b40f6ec0cedacf798b73129cadeec35f34cd6d70fbdc14973175a1638f4333a234806c1ef27855f4d44526eebb56f27e524f1f17548b6148669d7d'
- '75b9be1f1cacbca09a5e72f8125aadc24938a3ac36b2337bf68916231af52e2af846a0dedb36782f45716d2c6d590a3606cb5879339528e7a744f1d2d880120d')
-
-mksource(){
- cd "${pkgname}-${pkgver}"
-
- # Remove nonfree databases
- rm -rv $(grep -rlI 'not be used with any software product')
-}
-
-prepare() {
- cd ${pkgname}-${pkgver}
- find . -type f ! -name nikto.pl -exec chmod 644 {} +
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- install -d "${pkgdir}/usr/share/nikto"
- cp -a program/* "${pkgdir}/usr/share/nikto"
-
- install -Dm 755 "${srcdir}/nikto.sh" "${pkgdir}/usr/bin/nikto"
- install -Dm 644 program/nikto.conf "${pkgdir}/etc/nikto.conf"
- install -Dm 644 documentation/nikto.1 "${pkgdir}/usr/share/man/man1/nikto.1"
- install -Dm 644 program/docs/nikto_manual.html "${pkgdir}/usr/share/doc/${pkgname}/manual.html"
- install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
-}
-
-# vim: ts=2 sw=2 et:
diff --git a/libre/nikto/nikto.sh b/libre/nikto/nikto.sh
deleted file mode 100644
index c3ea9bf24..000000000
--- a/libre/nikto/nikto.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd /usr/share/nikto
-exec /usr/bin/perl nikto.pl "$@"