aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-11 14:35:07 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-11 14:35:07 +0200
commit81aa241a140f6c492f21129deb52c55996de7542 (patch)
tree84aaad49e2a9ee5f7218031007178db7e52dfe13 /main
parent33c74bab4693a583b46b1a007c5e3c5c76dab80d (diff)
downloadaports-81aa241a140f6c492f21129deb52c55996de7542.tar.bz2
aports-81aa241a140f6c492f21129deb52c55996de7542.tar.xz
main/nikto: use openssl binary from libressl
Diffstat (limited to 'main')
-rw-r--r--main/nikto/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/nikto/APKBUILD b/main/nikto/APKBUILD
index 36f359d511..a6d2958267 100644
--- a/main/nikto/APKBUILD
+++ b/main/nikto/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Fabio Aires <fabioaires.web@gmail.com>
pkgname=nikto
pkgver=2.1.5
-pkgrel=1
+pkgrel=2
pkgdesc="A web application security scanner"
url="https://www.cirt.net/Nikto2"
arch="noarch"
license="GPL2"
-depends="perl nmap openssl"
+depends="perl nmap libressl"
depends_dev=""
makedepends="$depends_dev"
install=""
@@ -15,10 +15,10 @@ subpackages=""
source="https://www.cirt.net/$pkgname/$pkgname-$pkgver.tar.gz
nikto.conf.base"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
- cd "$_builddir"
+ cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -27,11 +27,11 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$pkgdir"/etc/nikto "$pkgdir"/usr/bin
cp "$srcdir"/nikto.conf.base "$pkgdir"/etc/nikto.conf
cp -r databases "$pkgdir"/etc/nikto