[arch-commits] Commit in nikto/repos (3 files)

Levente Polyak anthraxx at archlinux.org
Fri Sep 11 14:49:20 UTC 2015


    Date: Friday, September 11, 2015 @ 16:49:19
  Author: anthraxx
Revision: 139930

archrelease: copy trunk to community-any

Added:
  nikto/repos/community-any/
  nikto/repos/community-any/PKGBUILD
    (from rev 139929, nikto/trunk/PKGBUILD)
  nikto/repos/community-any/nikto.sh
    (from rev 139929, nikto/trunk/nikto.sh)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 nikto.sh |    3 +++
 2 files changed, 42 insertions(+)

Copied: nikto/repos/community-any/PKGBUILD (from rev 139929, nikto/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-09-11 14:49:19 UTC (rev 139930)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: grimsock <lord.grimsock at gmail dot com>
+# Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
+# Contributor: Arkham <arkham at archlinux dot us>
+# Contributor: LeCrayonVert < greenarrow at archlinux dot us>
+
+pkgname=nikto
+pkgver=2.1.6
+pkgrel=1
+pkgdesc='A web server scanner which performs comprehensive tests against web servers for multiple items'
+url='https://github.com/sullo/nikto'
+arch=('any')
+license=('GPL')
+depends=('sh' 'openssl' 'perl-net-ssleay' 'perl-json')
+backup=('etc/nikto.conf')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sullo/${pkgname}/archive/${pkgver}.tar.gz
+        nikto.sh)
+sha512sums=('13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69'
+            '75b9be1f1cacbca09a5e72f8125aadc24938a3ac36b2337bf68916231af52e2af846a0dedb36782f45716d2c6d590a3606cb5879339528e7a744f1d2d880120d')
+
+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:

Copied: nikto/repos/community-any/nikto.sh (from rev 139929, nikto/trunk/nikto.sh)
===================================================================
--- community-any/nikto.sh	                        (rev 0)
+++ community-any/nikto.sh	2015-09-11 14:49:19 UTC (rev 139930)
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/share/nikto
+exec /usr/bin/perl nikto.pl "$@"



More information about the arch-commits mailing list