From: Michael Mair-Keimberger (asterix) Date: Sun, 8 Jan 2017 12:16:47 +0000 (+0100) Subject: net-p2p/syncthing: remove unused patch and init/conf files. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8751e2d8d4ed71415f574112d540518749b90a9d;p=gentoo.git net-p2p/syncthing: remove unused patch and init/conf files. Closes: https://github.com/gentoo/gentoo/pull/3376 --- diff --git a/net-p2p/syncthing/files/relaysrv.systemd.patch b/net-p2p/syncthing/files/relaysrv.systemd.patch deleted file mode 100644 index 52417ca2ab14..000000000000 --- a/net-p2p/syncthing/files/relaysrv.systemd.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service b/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service -index b9d3173..7f8e2c0 100644 ---- a/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service -+++ b/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service -@@ -5,7 +5,7 @@ After=network.target - [Service] - User=syncthing-relaysrv - Group=syncthing-relaysrv --ExecStart=/usr/bin/relaysrv -+ExecStart=/usr/libexec/syncthing/relaysrv - WorkingDirectory=/var/lib/syncthing-relaysrv - - PrivateTmp=true diff --git a/net-p2p/syncthing/files/syncthing-relaysrv.confd b/net-p2p/syncthing/files/syncthing-relaysrv.confd deleted file mode 100644 index 2effc3997209..000000000000 --- a/net-p2p/syncthing/files/syncthing-relaysrv.confd +++ /dev/null @@ -1,3 +0,0 @@ -# Options to pass to relaysrv -# see relaysrv --help for more information -SR_OPTS= diff --git a/net-p2p/syncthing/files/syncthing-relaysrv.initd b/net-p2p/syncthing/files/syncthing-relaysrv.initd deleted file mode 100644 index 860c5f38aa8d..000000000000 --- a/net-p2p/syncthing/files/syncthing-relaysrv.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -SR_USER=syncthing-relaysrv -SR_GROUP=syncthing-relaysrv -SR_HOMEDIR=/var/lib/syncthing-relaysrv -SR_LOGFILE=/var/log/syncthing/relaysrv.log - - -description="Relay service for syncthing" -command="/usr/libexec/syncthing/relaysrv" -command_args="${SR_OPTS}" -pidfile="/run/relaysrv.pid" -start_stop_daemon_args="--background - --user ${SR_USER} - --group ${SR_GROUP} - --chdir \"${SR_HOMEDIR}\" - --make-pidfile - --stdout \"${SR_LOGFILE}\" - --stderr \"${SR_LOGFILE}\" - " - -depend() { - need net -} - -start_pre() { - checkpath -q -d -o ${SR_USER}:${SR_GROUP} ${SR_HOMEDIR} - checkpath -q -f -o ${SR_USER}:${SR_GROUP} ${SR_LOGFILE} -} diff --git a/net-p2p/syncthing/files/syncthing-relaysrv.logrotate b/net-p2p/syncthing/files/syncthing-relaysrv.logrotate deleted file mode 100644 index f168cbfc413e..000000000000 --- a/net-p2p/syncthing/files/syncthing-relaysrv.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/syncthing/relaysrv.log { - missingok - notifempty - sharedscripts - copytruncate -}