aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 14:54:16 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 14:54:16 +0000
commit0c13f62901744fb0a4415578a9ac50804f892c01 (patch)
tree7584e792f23cb754b0eb51f37027040638c0dec4 /community/greenbone-security-assistant
parentd2ebc68d4a88f80416efef48567183f7a20c20b8 (diff)
downloadaports-0c13f62901744fb0a4415578a9ac50804f892c01.tar.bz2
aports-0c13f62901744fb0a4415578a9ac50804f892c01.tar.xz
community/greenbone-security-assistant: fixed sbin path, improved initd
Diffstat (limited to 'community/greenbone-security-assistant')
-rw-r--r--community/greenbone-security-assistant/APKBUILD8
-rw-r--r--community/greenbone-security-assistant/gsad.confd2
-rw-r--r--community/greenbone-security-assistant/gsad.initd6
3 files changed, 9 insertions, 7 deletions
diff --git a/community/greenbone-security-assistant/APKBUILD b/community/greenbone-security-assistant/APKBUILD
index 9da4e30732..3b209b1e50 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=0
+pkgrel=1
pkgdesc="Greenbone Security Assistant (gsa) - OpenVAS web frontend"
url="http://www.openvas.org/"
arch="all"
@@ -26,7 +26,7 @@ build() {
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
- -DSBINDIR=/usr/bin \
+ -DSBINDIR=/usr/sbin \
-DLOCALSTATEDIR=/var .
make || return 1
}
@@ -40,8 +40,8 @@ package() {
}
sha512sums="e3ccc8704845d8271a8628a19f7a79aea6c19f2cd52f4c69ee698b314c3b8de1099831394c8b474fa79fb1bba4dc5c42e88351edeca82e1c1b4f46f625f746ae greenbone-security-assistant-7.0.2.tar.gz
-d4bd227aeb31393bc147cb638515871bb7a8096a8ebc9bfb9e15f7d41e8c0e289042c2490ee46ca69b039d31d4c7b401523c7496732ee695af8743a75eb83ba5 gsad.initd
-60758afbeaf7b0938bee3f9f16d444bb0265a274dd85f2acf878583648b5a4cc2ebc5430fd21a04b3e37d242055466a7b2b2636361bbbd6acb8197c4bf83111c gsad.confd
+a9eeb08743ac1565dec52d117daf7d9de87e162555eb63b4142bf5957a36f2da90d3f41a96968ec581ca489099a3bb7d7f32180959282add9cbc2363c5189eb5 gsad.initd
+aea96cef16ca7a63570c2d94a1fc7ef27d4163c28e1d729fd11821295f88a96864add0146d407e7b6de296dd6ca6f2c97d72097dd4ffe786b575f128abdbb1bf gsad.confd
0d459084f95e00dfb06912b9d89af011fac117a32687ffd3da3887c24e80c074b681c0d87532a4a7511e42c540f8d8b2ceaa04208fff531b94047a08decddd0f gsad.logrotate
7074ab472761d44f401dd34feeba62c5c47f97ec9aec9a8be51bc1ceb8d32ebd4de162fb6563cd58859354dccd3f3874e5012433c81e45bfaab368188a9b481f 000-sys_siglist.patch
e2cf8dd79a029d8c6dd7c3a67424a1b345da60582eedc7419395a751a118d0e2fbf21cd7e68db81ae5e403858107a9ecbbd4aaafa3f2b851a77c6ab953ed0dd8 001-malloc-trim.patch"
diff --git a/community/greenbone-security-assistant/gsad.confd b/community/greenbone-security-assistant/gsad.confd
index 96e77367b1..f18d71979d 100644
--- a/community/greenbone-security-assistant/gsad.confd
+++ b/community/greenbone-security-assistant/gsad.confd
@@ -1,5 +1,7 @@
# If you want ssl, you need a certificate
GSAD_EXTRA_ARGS="--http-only"
+#By default on 9392
+GSAD_PORT="--port=9392"
#By default on locallhost, but you might want to use a reachable ip address
GSAD_LISTEN="--listen=127.0.0.1"
#Manager listens on given address - by default manager listens on all addresses
diff --git a/community/greenbone-security-assistant/gsad.initd b/community/greenbone-security-assistant/gsad.initd
index 9655c7bf7f..83e7f890c5 100644
--- a/community/greenbone-security-assistant/gsad.initd
+++ b/community/greenbone-security-assistant/gsad.initd
@@ -3,14 +3,14 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-command_args="${GSAD_LISTEN} ${MANAGER_LISTEN} ${MANAGER_PORT} ${GSAD_EXTRA_ARGS}"
+command_args="${GSAD_LISTEN} ${GSAD_PORT} ${MANAGER_LISTEN} ${MANAGER_PORT} ${GSAD_EXTRA_ARGS}"
name="Greenbone Security Assistant (GSA)"
-command=/usr/bin/gsad
+command=/usr/sbin/gsad
pidfile="/run/gsad.pid"
depend() {
after bootmisc
- need net
+ need net openvasmd
}