aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd/APKBUILD
blob: fa29bbbc463abbf768a72ba22fb61023fd1a462d (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd
pkgver=1.2b1
pkgrel=0
pkgdesc="Collection of scanner wrappers for OpenVAS"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python"
depends_dev=""
makedepends="$depends_dev py-paramiko py-setuptools"
install=""
subpackages=""
source="http://wald.intevation.org/frs/download.php/2217/$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="87b583b732c6efe1cc3632ec5136c278  ospd-1.2b1.tar.gz"
sha256sums="ab85e8b6e2bed5ce98b5911446e49e843c59354f1bc1d8d34a9ea26f8e013813  ospd-1.2b1.tar.gz"
sha512sums="604180037fdbd6a093ee92ec1a5f80fb89c82de8931cf1fc904e4425b69017a489f33a5e59d0b81d2e58c95ad38c9dec8b616514612422781c0adea720a69f04  ospd-1.2b1.tar.gz"