diff options
Diffstat (limited to 'community/ospd-debsecan')
-rw-r--r-- | community/ospd-debsecan/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/ospd-debsecan/APKBUILD b/community/ospd-debsecan/APKBUILD new file mode 100644 index 0000000000..ba603355b6 --- /dev/null +++ b/community/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" |