summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2018-05-29 10:25:37 +0100
committerMarek Szuba <marecki@gentoo.org>2018-05-29 10:26:30 +0100
commit5cd39164b55ee94a0754a89c0069f228e58183ee (patch)
treebef21220dd905b8909975e37a4ba0e649aee6d15 /app-backup/burp/files/burp2.initd
parentnet-misc/freerdp: ppc/ppc64 stable wrt bug #655916 (diff)
downloadgentoo-5cd39164.tar.gz
gentoo-5cd39164.tar.bz2
gentoo-5cd39164.zip
app-backup/burp: remove old following full stabilisation of 2.1.32
There are now no versions left in the tree that are vulnerable to either #628770 or #641842 Bug: https://bugs.gentoo.org/show_bug.cgi?id=628770 Bug: https://bugs.gentoo.org/show_bug.cgi?id=641842 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-backup/burp/files/burp2.initd')
-rw-r--r--app-backup/burp/files/burp2.initd45
1 files changed, 0 insertions, 45 deletions
diff --git a/app-backup/burp/files/burp2.initd b/app-backup/burp/files/burp2.initd
deleted file mode 100644
index 02a7ea856c4..00000000000
--- a/app-backup/burp/files/burp2.initd
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-BURP_CONFIG="/etc/burp/burp-server.conf"
-
-description="Burp is a network backup and restore program"
-
-command="/usr/sbin/burp"
-command_args="-c '${BURP_CONFIG}' -F"
-command_background="yes"
-pidfile="/run/burp/burp.server.pid"
-start_stop_daemon_arg="--wait 500"
-
-extra_started_commands="reload summary"
-description_reload="Reloads configuration"
-description_summary="Displays main status monitor summary"
-
-get_backup_dir() {
- grep '^directory = ' "${BURP_CONFIG}" \
- | sed -e 's/^directory = //'
-}
-
-depend() {
- need localmount
- after bootmisc
- use net
-}
-
-start_pre() {
- checkpath -o root:burp -m 0775 -d /etc/burp
- checkpath -o root:burp -m 0640 -f /etc/burp/burp-server.conf
- checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir
- checkpath -o root:burp -m 0770 -d "$(get_backup_dir)"
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME} configuration"
- start-stop-daemon --exec ${command} --signal HUP
- eend $?
-}
-
-summary() {
- "${command}" -c "${BURP_CONFIG}" -a S
-}