aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-acunetix/APKBUILD
blob: 48e8732c41bfc31088da46b605f5cbab8f2c4eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-acunetix
pkgver=1.0b1
pkgrel=0
_pkgid=2181
pkgdesc="OSP server implementation to allow OpenVAS to remotely control nmap port scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python"
depends_dev=""
makedepends="$depends_dev cmake py-setuptools"
install=""
subpackages=""
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"

_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
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}



md5sums="155898fa60914ed84c9d09b28463417f  ospd-acunetix-1.0b1.tar.gz"
sha256sums="4c2b13056f38626952cc22b7b085025b237ee723d8b35bce2350ce51c52653ae  ospd-acunetix-1.0b1.tar.gz"
sha512sums="2a5b6fde959a890cd2084d1f8414639f8d281c3456239f101d1f353ec4044142cf71d7f7788a4d9aa0ce5d7a8a33204b785f5fd5d372d5c661e1ba9b9a447fd3  ospd-acunetix-1.0b1.tar.gz"