diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-26 08:36:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-26 08:39:04 +0100 |
commit | 8d5c8a631b3e112b0a420dffa3069ff2494320ac (patch) | |
tree | 37eb6766685c41195cd580b5e5f01abc1915234a /net-analyzer/sguil-server/files | |
parent | net-analyzer/tcpflow: Remove last-rited pkg (diff) | |
download | gentoo-8d5c8a631b3e112b0a420dffa3069ff2494320ac.tar.gz gentoo-8d5c8a631b3e112b0a420dffa3069ff2494320ac.tar.bz2 gentoo-8d5c8a631b3e112b0a420dffa3069ff2494320ac.zip |
net-analyzer/sguil-server: Remove last-rited pkg
Closes: https://bugs.gentoo.org/741420
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-analyzer/sguil-server/files')
-rw-r--r-- | net-analyzer/sguil-server/files/sguild.confd | 25 | ||||
-rw-r--r-- | net-analyzer/sguil-server/files/sguild.initd | 44 |
2 files changed, 0 insertions, 69 deletions
diff --git a/net-analyzer/sguil-server/files/sguild.confd b/net-analyzer/sguil-server/files/sguild.confd deleted file mode 100644 index 216f6e60ad87..000000000000 --- a/net-analyzer/sguil-server/files/sguild.confd +++ /dev/null @@ -1,25 +0,0 @@ -# Config file for /etc/init.d/sguild -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -#PATH to the sguild config (sguild.conf) file. -CONF=/etc/sguil/sguild.conf - -#PATH to the sguild config (autocat.conf) file. -AUTOCAT=/etc/sguil/autocat.conf - -#PATH to the sguild global queries (sguild.queries) file. -QUERIES=/etc/sguil/sguild.queries - -#PATH to the sguild users (sguild.users) file. -USERS=/etc/sguil/sguild.users - -#PATH to the sguild access file -ACCESS=/etc/sguil/sguild.access - -#Directory that contains sguild.pem and sguild.key -#Uncomment to enable openssl connectivity -#OPENSSLPATH="/etc/sguil/" - -#For any other options you wish to add -#EXTRA_SGUILD_OPTS= diff --git a/net-analyzer/sguil-server/files/sguild.initd b/net-analyzer/sguil-server/files/sguild.initd deleted file mode 100644 index e4fec500feb9..000000000000 --- a/net-analyzer/sguil-server/files/sguild.initd +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -[ -z "${CONF}" ] && CONF="/etc/sguil/sguild.conf" -[ -z "${AUTOCAT}" ] && AUTOCAT="/etc/sguil/autocat.conf" -[ -z "${QUERIES}" ] && QUERIES="/etc/sguil/sguild.queries" -[ -z "${USERS}" ] && USERS="/etc/sguil/sguild.users" -[ -z "${ACCESS}" ] && AUTOCAT="/etc/sguil/sguild.access" - -SGUILD_OPTS="-D -c ${CONF} -u ${USERS} -A ${ACCESS}" - -[ -n "${OPENSSLPATH}" ] && SGUILD_OPTS="${SGUILD_OPTS} -o -C ${OPENSSLPATH}" - -depend() { - need net - use mysql -} - -checkconfig() { - [ -f "${CONF}" ] || return 1 - [ -f "${AUTOCAT}" ] || return 1 - [ -f "${QUERIES}" ] || return 1 - [ -f "${USERS}" ] || return 1 - [ -f "${ACCESS}" ] || return 1 - if [ -n "${OPENSSLPATH}" ]; then - [ -f "${OPENSSLPATH}/sguild.key" ] || return 1 - [ -f "${OPENSSLPATH}/sguild.pem" ] || return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting sguild" - start-stop-daemon --start --quiet -c sguil --exec /usr/bin/sguild \ - -- ${SGUILD_OPTS} ${EXTRA_SGUILD_OPTS} -D -P /run/sguild.pid - eend $? -} - -stop() { - ebegin "Stopping sguild" - start-stop-daemon --stop --quiet --pidfile /run/sguild.pid - eend $? -} |