From 31a12917d27c848400f13bb7da2907823a583f52 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 19 Aug 2016 15:00:15 +0000 Subject: community/ospd-ancor: moved from testing, now uses only python3 --- community/ospd-ancor/APKBUILD | 32 ++++++++++++++++++++++++++++++++ testing/ospd-ancor/APKBUILD | 42 ------------------------------------------ 2 files changed, 32 insertions(+), 42 deletions(-) create mode 100644 community/ospd-ancor/APKBUILD delete mode 100644 testing/ospd-ancor/APKBUILD diff --git a/community/ospd-ancor/APKBUILD b/community/ospd-ancor/APKBUILD new file mode 100644 index 0000000000..08b5a87bd8 --- /dev/null +++ b/community/ospd-ancor/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=ospd-ancor +pkgver=1.0.0 +pkgrel=0 +_pkgid=2005 +pkgdesc="OSP server implementation to allow OpenVAS to get scan results from an Ancor server" +url="http://openvas.org/" +arch="noarch" +license="GPLV2+" +depends="python3 py3-requests ospd" +makedepends="python3-dev" +install="" +subpackages="" +source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build || return 1 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + + +md5sums="24b279b8928e4ff14bd33e7be4ebde8d ospd-ancor-1.0.0.tar.gz" +sha256sums="b099325ef8c5d06fd58537930bd781d9c34d5d49688003b915b7c2f286711dc8 ospd-ancor-1.0.0.tar.gz" +sha512sums="5bf23798c6bed4ba70e8f9c694c5870ef05d39a92091821687251e92df05363016a700dd9432c94646af7763bc7f6681b69a827f9bd8786a614a356d8c40602a ospd-ancor-1.0.0.tar.gz" diff --git a/testing/ospd-ancor/APKBUILD b/testing/ospd-ancor/APKBUILD deleted file mode 100644 index 1ff64583ae..0000000000 --- a/testing/ospd-ancor/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=ospd-ancor -pkgver=1.0.0 -pkgrel=0 -_pkgid=2005 -pkgdesc="OSP server implementation to allow OpenVAS to get scan results from an Ancor server" -url="http://openvas.org/" -arch="noarch" -license="GPLV2+" -depends="python py-requests ospd" -depends_dev="" -makedepends="$depends_dev 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="24b279b8928e4ff14bd33e7be4ebde8d ospd-ancor-1.0.0.tar.gz" -sha256sums="b099325ef8c5d06fd58537930bd781d9c34d5d49688003b915b7c2f286711dc8 ospd-ancor-1.0.0.tar.gz" -sha512sums="5bf23798c6bed4ba70e8f9c694c5870ef05d39a92091821687251e92df05363016a700dd9432c94646af7763bc7f6681b69a827f9bd8786a614a356d8c40602a ospd-ancor-1.0.0.tar.gz" -- cgit v1.2.3