summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-08 13:16:47 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-13 11:08:22 +0100
commit8751e2d8d4ed71415f574112d540518749b90a9d (patch)
tree526d853404e228e1ef5e9be267a50fac8f2f70a2 /net-p2p/syncthing/files
parentdev-ml/jsonm: bump uutf dep to 1.0.0 (diff)
downloadgentoo-8751e2d8d4ed71415f574112d540518749b90a9d.tar.gz
gentoo-8751e2d8d4ed71415f574112d540518749b90a9d.tar.bz2
gentoo-8751e2d8d4ed71415f574112d540518749b90a9d.zip
net-p2p/syncthing: remove unused patch and init/conf files.
Closes: https://github.com/gentoo/gentoo/pull/3376
Diffstat (limited to 'net-p2p/syncthing/files')
-rw-r--r--net-p2p/syncthing/files/relaysrv.systemd.patch13
-rw-r--r--net-p2p/syncthing/files/syncthing-relaysrv.confd3
-rw-r--r--net-p2p/syncthing/files/syncthing-relaysrv.initd30
-rw-r--r--net-p2p/syncthing/files/syncthing-relaysrv.logrotate6
4 files changed, 0 insertions, 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 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
-}