summaryrefslogtreecommitdiff
path: root/app-backup/burp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-backup/burp/files
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-backup/burp/files')
-rw-r--r--app-backup/burp/files/burp-2.0.54-server_user.patch13
-rw-r--r--app-backup/burp/files/burp-2.1.20-no_mkdir_run.patch10
-rw-r--r--app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch24
-rw-r--r--app-backup/burp/files/burp.initd45
-rw-r--r--app-backup/burp/files/burp.service10
5 files changed, 0 insertions, 102 deletions
diff --git a/app-backup/burp/files/burp-2.0.54-server_user.patch b/app-backup/burp/files/burp-2.0.54-server_user.patch
deleted file mode 100644
index 979bb4bd4c91..000000000000
--- a/app-backup/burp/files/burp-2.0.54-server_user.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/configs/server/burp.conf.in
-+++ b/configs/server/burp.conf.in
-@@ -68,8 +68,8 @@
- # keep = 6
-
- # Run as different user/group.
--# user=graham
--# group=nogroup
-+user=burp
-+group=burp
-
- # CA options.
- # If you want your server to be a certificate authority and generate its own
diff --git a/app-backup/burp/files/burp-2.1.20-no_mkdir_run.patch b/app-backup/burp/files/burp-2.1.20-no_mkdir_run.patch
deleted file mode 100644
index 5dbdcf9e7c4c..000000000000
--- a/app-backup/burp/files/burp-2.1.20-no_mkdir_run.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -417,7 +417,6 @@
-
- install-data-local:
- $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(localstatedir)/spool/$(PACKAGE_TARNAME)
-- $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(runstatedir)
-
- clean-local: clean-local-check
-
diff --git a/app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch b/app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch
deleted file mode 100644
index db9e9b6a9de5..000000000000
--- a/app-backup/burp/files/burp-2.1.20-protocol1_by_default.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/configs/client/burp.conf.in
-+++ b/configs/client/burp.conf.in
-@@ -10,7 +10,8 @@
- # 0 to decide automatically, 1 to force protocol1 mode (file level granularity
- # with a pseudo mirrored storage on the server and optional rsync). 2 forces
- # protocol2 mode (inline deduplication with variable length blocks).
--# protocol = 0
-+# WARNING: as of September 2017 protocol2 is still considered experimental.
-+protocol = 1
- pidfile = @runstatedir@/@name@.client.pid
- syslog = 0
- stdout = 1
---- a/configs/server/burp.conf.in
-+++ b/configs/server/burp.conf.in
-@@ -21,7 +21,8 @@
- # protocol2 mode (inline deduplication with variable length blocks).
- # Like many other settings, this can be set per client in the clientconfdir
- # files.
--# protocol = 0
-+# WARNING: as of September 2017 protocol2 is still considered experimental.
-+protocol = 1
- pidfile = @runstatedir@/@name@.server.pid
- hardlinked_archive = 0
- working_dir_recovery_method = delete
diff --git a/app-backup/burp/files/burp.initd b/app-backup/burp/files/burp.initd
deleted file mode 100644
index a0b0dccacbcc..000000000000
--- a/app-backup/burp/files/burp.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.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
-}
diff --git a/app-backup/burp/files/burp.service b/app-backup/burp/files/burp.service
deleted file mode 100644
index 121753629607..000000000000
--- a/app-backup/burp/files/burp.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=BackUp and Restore Program server
-After=network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/sbin/burp -F -c /etc/burp/burp-server.conf
-
-[Install]
-WantedBy=multi-user.target