From cf8fa9ecc3bfa7297522309e4009cc44172f5c7f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 20 Feb 2017 16:21:44 -0300 Subject: nikto: remove package from [libre] since it is useless without the nonfree databases --- libre/nikto/PKGBUILD | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 libre/nikto/PKGBUILD (limited to 'libre/nikto/PKGBUILD') 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 -# Contributor (Arch): grimsock -# Contributor (Arch): Alessandro Sagratini -# Contributor (Arch): Arkham -# Contributor (Arch): LeCrayonVert < greenarrow at archlinux dot us> -# Maintainer: André Silva - -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: -- cgit v1.2.3