diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-04 10:34:34 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-04 10:34:34 +0000 |
commit | 987091923bd8a9d066a3f86ae1cf42870f018bc1 (patch) | |
tree | cdca11cfcac91d81a66e0d9362a18a2f5b3e8cf1 /community/openvas-manager/APKBUILD | |
parent | 9b02248ef56438695854abc7da5756eb3d50cd54 (diff) | |
download | aports-987091923bd8a9d066a3f86ae1cf42870f018bc1.tar.bz2 aports-987091923bd8a9d066a3f86ae1cf42870f018bc1.tar.xz |
community/openvas-manager: added patch not yet included in upstream (r29475). Modernize APKBUILD
As described here: https://lists.wald.intevation.org/pipermail/openvas-commits/2017-August/029526.html
Backport r29475.
* src/gvmd.c (fork_connection_internal): Use the client cert to connect
back to ourself, because the server cert may not be marked for such usage,
which would result in a key usage violation.
Diffstat (limited to 'community/openvas-manager/APKBUILD')
-rw-r--r-- | community/openvas-manager/APKBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/community/openvas-manager/APKBUILD b/community/openvas-manager/APKBUILD index 614c252811..e1e5341538 100644 --- a/community/openvas-manager/APKBUILD +++ b/community/openvas-manager/APKBUILD @@ -4,7 +4,7 @@ pkgname=openvas-manager _pkgname=openvasmd pkgver=7.0.2 _pkgid=2448 -pkgrel=0 +pkgrel=1 pkgdesc="A layer between the OpenVAS Scanner and various client applications" url="http://www.openvas.org/" arch="all" @@ -18,14 +18,10 @@ source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-${pkgver}.t $_pkgname.initd $_pkgname.confd $_pkgname.logrotate - 000-sys-siglist.patch" + 000-sys-siglist.patch + backport-r29476.patch" builddir="$srcdir"/$pkgname-$pkgver -check() { - cd "$builddir" - make check -} - build() { cd "$builddir" cmake -DCMAKE_BUILD_TYPE=Release \ @@ -33,7 +29,12 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONFDIR=/etc \ -DLOCALSTATEDIR=/var . - make || return 1 + make +} + +check() { + cd "$builddir" + make check } package() { @@ -48,4 +49,5 @@ sha512sums="82b35b8bfcfbc781acabec71133d87352887a1e51e4af5a757c0f0a8b3eb86c37137 932ba8dd818faf5158472da4d1305c6f6c84834334721aa358e2e9f1d7419cdd6e366f4e9ea9b19412e00010f919dc9155346ed0566eca533e973abe80f3ee67 openvasmd.initd 5946db68bb5f7b3bf7cbae208a0fea6c9e023631d9fcd610539d2cf7c6290c8f7c2f55e0b4c7011c2263584b9eb42c7eae07db338917e8cc49acb63eb3950e1f openvasmd.confd a86f156ca822b7b9844dc1cb1cb65c0d2bc146fa4dde64fec851b13b3eaa54fd984946b9336a2ffd0efbaf1c2053ab417067519fb18b807c5c1ce66cf1ee4a9b openvasmd.logrotate -f4ce7cb1fc4f34e5679f9e1005cf2ea57cbb3b5807910d5d44cea9499f2ff780feac6b93d1a66d5533106414f60631b274d993b281e4bd5089cd7827d08a5306 000-sys-siglist.patch" +f4ce7cb1fc4f34e5679f9e1005cf2ea57cbb3b5807910d5d44cea9499f2ff780feac6b93d1a66d5533106414f60631b274d993b281e4bd5089cd7827d08a5306 000-sys-siglist.patch +90d71203566d282b83c480440300805f46fb93bccde67e905f020d3e651d20b55040bdd4692c1ce12a47e7384b1e10c196a5e3d857afc752b8b4f66238b0e57b backport-r29476.patch" |