aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ospd-debsecan/APKBUILD
blob: ba603355b63e5d496dd420b66993ad751b97081d (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-debsecan
pkgver=1.0.0
pkgrel=0
_pkgid=2097
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python ospd"
depends_dev=""
makedepends="$depends_dev cmake py-setuptools py-paramiko"
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="53ddeab6623b568eb0ddf77952588857  ospd-debsecan-1.0.0.tar.gz"
sha256sums="eae0b4b0793f7a8fad1c0f3000aeac997171a70c90b3eb72a45e903d753f4a6d  ospd-debsecan-1.0.0.tar.gz"
sha512sums="b004a705cd43fb17dace04f70f7bbb1178073c17aa8a7391670327e5adda5124e6d0864986c96a750ea1a16ab9857a79a8e6340bd583901bb142020ecda6fe93  ospd-debsecan-1.0.0.tar.gz"