aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvas-smb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openvas-smb/APKBUILD')
-rw-r--r--testing/openvas-smb/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/openvas-smb/APKBUILD b/testing/openvas-smb/APKBUILD
index 5e3df9c8a6..215fc6e1cb 100644
--- a/testing/openvas-smb/APKBUILD
+++ b/testing/openvas-smb/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="openvas-smb"
pkgver="1.0.5"
-pkgrel=0
+pkgrel=1
pkgdesc="SMB module for OpenVAS Scanner"
url="https://github.com/greenbone/openvas-smb"
arch="x86 x86_64"
license="GPL-2.0"
options="!check" #no check available
makedepends="cmake mingw-w64-gcc mingw-w64-binutils mingw-w64-headers mingw-w64-crt
-gvm-libs-dev gnutls-dev popt-dev perl-dev
+gvm-libs-dev gnutls-dev popt-dev perl-dev
glib-dev xmltoman doxygen graphviz heimdal-dev sqlite-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$pkgname/archive/v$pkgver.tar.gz
@@ -25,6 +25,9 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON .
+ # generate winexesvc_exe.c early to work around parallel build issue
+ make -C winexe bin2c
+ make -j1 -C winexe winexesvc_exe.c.o
make
}