aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ospd-paloalto/APKBUILD
blob: b240ffb360293849d0a7db426e42022976cf8dee (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-paloalto
pkgver=1.0b1
pkgrel=0
_pkgid=2149
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a PaloAlto"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python ospd"
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="a0440a621728c7b469228415af1cda43  ospd-paloalto-1.0b1.tar.gz"
sha256sums="e9f132bc759e2f21acca55f54b2115f33c2e3221e845d71add16848ee6f7a37c  ospd-paloalto-1.0b1.tar.gz"
sha512sums="33e0645a467e08c0836096568859917beee9abc2131b22ca35e280c1a0f5ace36047cec93cbfb42c679f30e81ed1f238b7fdf8bf1ecbb90fe1f5beb1a1d0cc55  ospd-paloalto-1.0b1.tar.gz"