commit:     8751e2d8d4ed71415f574112d540518749b90a9d
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail 
<DOT> com>
AuthorDate: Sun Jan  8 12:16:47 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 10:08:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8751e2d8

net-p2p/syncthing: remove unused patch and init/conf files.

Closes: https://github.com/gentoo/gentoo/pull/3376

 net-p2p/syncthing/files/relaysrv.systemd.patch     | 13 ----------
 net-p2p/syncthing/files/syncthing-relaysrv.confd   |  3 ---
 net-p2p/syncthing/files/syncthing-relaysrv.initd   | 30 ----------------------
 .../syncthing/files/syncthing-relaysrv.logrotate   |  6 -----
 4 files changed, 52 deletions(-)

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

Reply via email to