aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ospd-ikescan/APKBUILD
blob: cd7bf7d5c4c1aac75bc707531031f3e1882802ed (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-ikescan
pkgver=1.0b1
pkgrel=0
_pkgid=2185
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a ike-scan scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python ospd py-pexpect"
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="e95a89454c1bca370b989f2f8d3c3b61  ospd-ikescan-1.0b1.tar.gz"
sha256sums="24a268c508a55b30a492dde732d8910be92da0954797d9b3efa2631117305500  ospd-ikescan-1.0b1.tar.gz"
sha512sums="4035656008d9cae579a836a4d69a7d1d2b5a45610fcfdab9b4311c942788bf4dc10b8db1dba6325fb162b4dd19cd3a522f44cff1d70152af7bfb096095a00e60  ospd-ikescan-1.0b1.tar.gz"