Commit 0c13f629 authored by Francesco Colista's avatar Francesco Colista

community/greenbone-security-assistant: fixed sbin path, improved initd

parent d2ebc68d
......@@ -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"
# 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
......
......@@ -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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment