diff options
author | TBK <tbk@jjtc.dk> | 2018-04-14 03:13:35 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:38:54 +0000 |
commit | 72fa4eda8801255fff7749aea993e8ccab155b08 (patch) | |
tree | fcc7b49fc85c77760609bc642c6a6f941063954a /main/nikto/APKBUILD | |
parent | 4dc7770d041a62dfa8ea91e397fa0167d0de0abe (diff) | |
download | aports-72fa4eda8801255fff7749aea993e8ccab155b08.tar.bz2 aports-72fa4eda8801255fff7749aea993e8ccab155b08.tar.xz |
main/nikto: upgrade to 2.1.6, modernize
Diffstat (limited to 'main/nikto/APKBUILD')
-rw-r--r-- | main/nikto/APKBUILD | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/main/nikto/APKBUILD b/main/nikto/APKBUILD index 9ce05963b4..97b79b2ad2 100644 --- a/main/nikto/APKBUILD +++ b/main/nikto/APKBUILD @@ -1,33 +1,21 @@ # Contributor: Fabio Aires <fabioaires.web@gmail.com> # Maintainer: Fabio Aires <fabioaires.web@gmail.com> pkgname=nikto -pkgver=2.1.5 -pkgrel=2 +pkgver=2.1.6 +pkgrel=0 pkgdesc="A web application security scanner" url="https://www.cirt.net/Nikto2" arch="noarch" license="GPL-2.0" +options="!check" # No test suite depends="perl nmap libressl" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://www.cirt.net/$pkgname/$pkgname-$pkgver.tar.gz +source="$pkgname-$pkgver.tar.gz::https://github.com/sullo/nikto/archive/$pkgver.tar.gz nikto.conf.base" - -builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver/program" build() { cd "$builddir" + return 0 } package() { @@ -41,9 +29,5 @@ package() { install -m 755 nikto.pl "$pkgdir"/usr/bin } -md5sums="efcc98a918becb77471ee9a5df0a7b1e nikto-2.1.5.tar.gz -39d5e2e923344a3624e94d2b17408988 nikto.conf.base" -sha256sums="0e672a6a46bf2abde419a0e8ea846696d7f32e99ad18a6b405736ee6af07509f nikto-2.1.5.tar.gz -f24b1e9007156a1700b32daa763f104423b4dde3a42bd74bc2deef6244953374 nikto.conf.base" -sha512sums="b6a1e7277a501055a4693d2e7179801bda0566350f3718cd169c3baf61003a936b14e9a4ba59f3597a83be8ef509953fdae546ec57e487a33b2b3efbabe84b67 nikto-2.1.5.tar.gz +sha512sums="13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69 nikto-2.1.6.tar.gz d6e349bd20428e45d6ef49db91630e1c6d65d4cf2107a1f4c58e697d8fceeb428fb90c247fbbf8a8ad6f9d27672790d07040079b94c2480dd77dc445fccd6f69 nikto.conf.base" |