net-p2p/syncthing: remove unused patch and init/conf files.
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 8 Jan 2017 12:16:47 +0000 (13:16 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 13 Jan 2017 10:08:22 +0000 (11:08 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3376

net-p2p/syncthing/files/relaysrv.systemd.patch [deleted file]
net-p2p/syncthing/files/syncthing-relaysrv.confd [deleted file]
net-p2p/syncthing/files/syncthing-relaysrv.initd [deleted file]
net-p2p/syncthing/files/syncthing-relaysrv.logrotate [deleted file]

diff --git a/net-p2p/syncthing/files/relaysrv.systemd.patch b/net-p2p/syncthing/files/relaysrv.systemd.patch
deleted file mode 100644 (file)
index 52417ca..0000000
+++ /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 (file)
index 2effc39..0000000
+++ /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 (file)
index 860c5f3..0000000
+++ /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 (file)
index f168cbf..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/var/log/syncthing/relaysrv.log {
-    missingok
-    notifempty
-    sharedscripts
-    copytruncate
-}