aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ospd-netstat
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 12:27:44 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 12:27:44 +0000
commitc05505a38610bc4a19c043b49dc64e6f9ed8bc64 (patch)
tree3ec3130160951560293760541c6823cc73e2d71d /testing/ospd-netstat
parentbb89c582cdf278d7a83a66775cb339626d518a2b (diff)
downloadaports-c05505a38610bc4a19c043b49dc64e6f9ed8bc64.tar.bz2
aports-c05505a38610bc4a19c043b49dc64e6f9ed8bc64.tar.xz
Revert "community/ospd-netstat: moved from testing"
Diffstat (limited to 'testing/ospd-netstat')
-rw-r--r--testing/ospd-netstat/APKBUILD43
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"