diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 14:31:26 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 14:31:26 +0000 |
commit | 019906d696b8f7ca77cf63614b56ad80c2752346 (patch) | |
tree | 3603811829e21fc6e2b4c468182a64824013c1c3 /testing/ospd-netstat | |
parent | 859884411bb3bb90efabae722cad4b911faf8167 (diff) | |
download | aports-019906d696b8f7ca77cf63614b56ad80c2752346.tar.bz2 aports-019906d696b8f7ca77cf63614b56ad80c2752346.tar.xz |
testing/ospd-netstat: new aport
Diffstat (limited to 'testing/ospd-netstat')
-rw-r--r-- | testing/ospd-netstat/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/ospd-netstat/APKBUILD b/testing/ospd-netstat/APKBUILD new file mode 100644 index 0000000000..047fa63814 --- /dev/null +++ b/testing/ospd-netstat/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=ospd-netstat +pkgver=1.0b1 +pkgrel=0 +_pkgid=2219 +pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner" +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="2ca9530e30a49594883a70a97269a6de ospd-netstat-1.0b1.tar.gz" +sha256sums="a6c5f86adfaa1ee1622581882c9b8773b6079c93285de51a7865c1a44444d54f ospd-netstat-1.0b1.tar.gz" +sha512sums="f5a439cd0f60073d5d25c4a10743945b8ef7eb041e0364f0ba73d250d0988b90d75f3156464433a7baab116680e3f54be2bb556053b0020177edca008cda0e69 ospd-netstat-1.0b1.tar.gz" |