diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 14:33:42 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 14:33:42 +0000 |
commit | a654312ea0596bc53ec41ace91b2b1bb0d96375c (patch) | |
tree | 23955ded0d8e05da93d4fb298249a4eadd0c8f81 | |
parent | d96a70e3d88a8b69a18fddc5421b88337bbefab8 (diff) | |
download | aports-a654312ea0596bc53ec41ace91b2b1bb0d96375c.tar.bz2 aports-a654312ea0596bc53ec41ace91b2b1bb0d96375c.tar.xz |
testing/ospd-paloalto: new aport
-rw-r--r-- | testing/ospd-paloalto/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/ospd-paloalto/APKBUILD b/testing/ospd-paloalto/APKBUILD new file mode 100644 index 0000000000..b240ffb360 --- /dev/null +++ b/testing/ospd-paloalto/APKBUILD @@ -0,0 +1,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" |