aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 15:02:40 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 15:02:40 +0000
commitbed7a4939e578302cbb6ab130861f0894d9c3139 (patch)
tree6e6ca1ad69d662bd75fcfb90f3b49eedd62e3240 /community/greenbone-security-assistant
parent0c13f62901744fb0a4415578a9ac50804f892c01 (diff)
downloadaports-bed7a4939e578302cbb6ab130861f0894d9c3139.tar.bz2
aports-bed7a4939e578302cbb6ab130861f0894d9c3139.tar.xz
community/greenbone-security-assistant: added patch for run dir
Diffstat (limited to 'community/greenbone-security-assistant')
-rw-r--r--community/greenbone-security-assistant/002-cmakelist.patch13
-rw-r--r--community/greenbone-security-assistant/APKBUILD8
2 files changed, 18 insertions, 3 deletions
diff --git a/community/greenbone-security-assistant/002-cmakelist.patch b/community/greenbone-security-assistant/002-cmakelist.patch
new file mode 100644
index 0000000000..0501cb785e
--- /dev/null
+++ b/community/greenbone-security-assistant/002-cmakelist.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d583ef1..8049da4 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -222,7 +222,7 @@ if (NOT DATADIR)
+ endif (NOT DATADIR)
+
+ if (NOT GSAD_PID_DIR)
+- set (GSAD_PID_DIR "${LOCALSTATEDIR}/run")
++ set (GSAD_PID_DIR "/run")
+ endif (NOT GSAD_PID_DIR)
+
+ set (OPENVAS_STATE_DIR "${LOCALSTATEDIR}/lib/openvas")
diff --git a/community/greenbone-security-assistant/APKBUILD b/community/greenbone-security-assistant/APKBUILD
index 3b209b1e50..b5bbfff294 100644
--- a/community/greenbone-security-assistant/APKBUILD
+++ b/community/greenbone-security-assistant/APKBUILD
@@ -4,7 +4,7 @@ pkgname=greenbone-security-assistant
_pkgname=gsad
pkgver=7.0.2
_pkgid=2429
-pkgrel=1
+pkgrel=2
pkgdesc="Greenbone Security Assistant (gsa) - OpenVAS web frontend"
url="http://www.openvas.org/"
arch="all"
@@ -17,7 +17,8 @@ source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar
$_pkgname.confd
$_pkgname.logrotate
000-sys_siglist.patch
- 001-malloc-trim.patch"
+ 001-malloc-trim.patch
+ 002-cmakelist.patch"
builddir="$srcdir"/$pkgname-$pkgver
@@ -44,4 +45,5 @@ a9eeb08743ac1565dec52d117daf7d9de87e162555eb63b4142bf5957a36f2da90d3f41a96968ec5
aea96cef16ca7a63570c2d94a1fc7ef27d4163c28e1d729fd11821295f88a96864add0146d407e7b6de296dd6ca6f2c97d72097dd4ffe786b575f128abdbb1bf gsad.confd
0d459084f95e00dfb06912b9d89af011fac117a32687ffd3da3887c24e80c074b681c0d87532a4a7511e42c540f8d8b2ceaa04208fff531b94047a08decddd0f gsad.logrotate
7074ab472761d44f401dd34feeba62c5c47f97ec9aec9a8be51bc1ceb8d32ebd4de162fb6563cd58859354dccd3f3874e5012433c81e45bfaab368188a9b481f 000-sys_siglist.patch
-e2cf8dd79a029d8c6dd7c3a67424a1b345da60582eedc7419395a751a118d0e2fbf21cd7e68db81ae5e403858107a9ecbbd4aaafa3f2b851a77c6ab953ed0dd8 001-malloc-trim.patch"
+e2cf8dd79a029d8c6dd7c3a67424a1b345da60582eedc7419395a751a118d0e2fbf21cd7e68db81ae5e403858107a9ecbbd4aaafa3f2b851a77c6ab953ed0dd8 001-malloc-trim.patch
+6752bb6834811fc7c1259d2c8a0ae5f25a01de881008f6f6635b1f7a43672b5c1862de5b3591f81d7a2f22258614b71bb6ab588a3930648d9d74ef8a75d28c92 002-cmakelist.patch"