aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-manager/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-22 07:23:42 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-22 07:23:42 +0000
commit8f8bc2ac60811eed233940b5773f0c1db6fd9e8f (patch)
treeeaba90c7d3e30d3eabc4dcdf8d44bec394e66b0f /community/openvas-manager/APKBUILD
parent2f4e5bf5dd611e0bb1b45f5932a380bb9071af94 (diff)
downloadaports-8f8bc2ac60811eed233940b5773f0c1db6fd9e8f.tar.bz2
aports-8f8bc2ac60811eed233940b5773f0c1db6fd9e8f.tar.xz
community/openvas-manager: upgrade to 7.0.2, added check() function
Diffstat (limited to 'community/openvas-manager/APKBUILD')
-rw-r--r--community/openvas-manager/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/openvas-manager/APKBUILD b/community/openvas-manager/APKBUILD
index d0166579e5..6214ec2076 100644
--- a/community/openvas-manager/APKBUILD
+++ b/community/openvas-manager/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openvas-manager
_pkgname=openvasmd
-pkgver=7.0.1
-_pkgid=2426
+pkgver=7.0.2
+_pkgid=2448
pkgrel=0
pkgdesc="A layer between the OpenVAS Scanner and various client applications"
url="http://www.openvas.org/"
@@ -12,7 +12,7 @@ license="GPL"
depends="rsync sqlite libxslt sed gnutls-utils"
makedepends="cmake openvas-libraries-dev sqlite-dev
libxslt-dev doxygen xmltoman perl-sql-translator"
-install=""
+checkdepends="cppcheck"
subpackages="$pkgname-doc"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-${pkgver}.tar.gz
$_pkgname.initd
@@ -21,6 +21,11 @@ source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-${pkgver}.t
000-sys-siglist.patch"
builddir="$srcdir"/$pkgname-$pkgver
+check() {
+ cd "$builddir"
+ make check
+}
+
build() {
cd "$builddir"
cmake -DCMAKE_BUILD_TYPE=Release \
@@ -39,7 +44,7 @@ package() {
install -Dm755 "$srcdir/$_pkgname.confd" "$pkgdir/etc/conf.d/$_pkgname"
}
-sha512sums="c9276a6b5376d5cd6a42cfbd8b26e09c977bd97c3b30002087e5010cc32148c976bf24f8ecbbe0557a4465c1861e96e3d33ce0b83ecb22e895b0a947a1480859 openvas-manager-7.0.1.tar.gz
+sha512sums="82b35b8bfcfbc781acabec71133d87352887a1e51e4af5a757c0f0a8b3eb86c37137022fdac693cc8802971c2628b52b900b1ec2af3c6434c3e2401bdbd8bfe2 openvas-manager-7.0.2.tar.gz
932ba8dd818faf5158472da4d1305c6f6c84834334721aa358e2e9f1d7419cdd6e366f4e9ea9b19412e00010f919dc9155346ed0566eca533e973abe80f3ee67 openvasmd.initd
5946db68bb5f7b3bf7cbae208a0fea6c9e023631d9fcd610539d2cf7c6290c8f7c2f55e0b4c7011c2263584b9eb42c7eae07db338917e8cc49acb63eb3950e1f openvasmd.confd
a86f156ca822b7b9844dc1cb1cb65c0d2bc146fa4dde64fec851b13b3eaa54fd984946b9336a2ffd0efbaf1c2053ab417067519fb18b807c5c1ce66cf1ee4a9b openvasmd.logrotate