diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 14:24:53 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 14:24:53 +0000 |
commit | 8c196d3f79b3a56747b13d38d6c326ee709917f9 (patch) | |
tree | be79ecb0239a7bd4ae767860533c482b64d81976 /testing/ospd-debsecan | |
parent | ac87107a1c1d3fa654637537eda848b967596df5 (diff) | |
download | aports-8c196d3f79b3a56747b13d38d6c326ee709917f9.tar.bz2 aports-8c196d3f79b3a56747b13d38d6c326ee709917f9.tar.xz |
testing/ospd-debsecan: new aport
Diffstat (limited to 'testing/ospd-debsecan')
-rw-r--r-- | testing/ospd-debsecan/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/ospd-debsecan/APKBUILD b/testing/ospd-debsecan/APKBUILD new file mode 100644 index 0000000000..ba603355b6 --- /dev/null +++ b/testing/ospd-debsecan/APKBUILD @@ -0,0 +1,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" |