]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
committing changes in /etc after emerge run
authorFrank Brehm <frank@brehm-online.com>
Tue, 20 Dec 2016 13:15:53 +0000 (14:15 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 20 Dec 2016 13:15:53 +0000 (14:15 +0100)
Package changes:
+dev-vcs/subversion-1.9.4

.etckeeper
conf.d/svnserve [new file with mode: 0644]
init.d/svnserve [new file with mode: 0755]
xinetd.d/svnserve [new file with mode: 0644]

index 3f3a39ed6bf0487f953543e49f882767bca77743..46dbead3a5445e7d1b3431e61ec4e07d9acd0a23 100755 (executable)
@@ -70,6 +70,7 @@ maybe chmod 0644 'conf.d/rsyslog'
 maybe chmod 0644 'conf.d/snmpd'
 maybe chmod 0644 'conf.d/snmptrapd'
 maybe chmod 0644 'conf.d/sshd'
+maybe chmod 0644 'conf.d/svnserve'
 maybe chmod 0644 'conf.d/swap'
 maybe chmod 0644 'conf.d/tmpfiles'
 maybe chmod 0644 'conf.d/udev'
@@ -270,6 +271,7 @@ maybe chmod 0755 'init.d/savecache'
 maybe chmod 0755 'init.d/snmpd'
 maybe chmod 0755 'init.d/snmptrapd'
 maybe chmod 0755 'init.d/sshd'
+maybe chmod 0755 'init.d/svnserve'
 maybe chmod 0755 'init.d/swap'
 maybe chmod 0755 'init.d/swclock'
 maybe chmod 0755 'init.d/sysctl'
@@ -556,6 +558,7 @@ maybe chmod 0755 'xdg'
 maybe chmod 0755 'xdg/systemd'
 maybe chmod 0755 'xinetd.d'
 maybe chmod 0644 'xinetd.d/rsyncd'
+maybe chmod 0644 'xinetd.d/svnserve'
 maybe chmod 0755 'xml'
 maybe chmod 0644 'xml/.keep'
 maybe chmod 0644 'xml/.keep_app-text_docbook-xml-dtd-4.1.2'
diff --git a/conf.d/svnserve b/conf.d/svnserve
new file mode 100644 (file)
index 0000000..83997ce
--- /dev/null
@@ -0,0 +1,10 @@
+# The commented variables in this file are the defaults that are used
+# in the init-script.  You don't need to uncomment them except to
+# customize them to different values.
+
+# Options for svnserve
+#SVNSERVE_OPTS="--root=/var/svn"
+
+# User and group as which to run svnserve
+#SVNSERVE_USER="svn"
+#SVNSERVE_GROUP="svnusers"
diff --git a/init.d/svnserve b/init.d/svnserve
new file mode 100755 (executable)
index 0000000..8c1e21a
--- /dev/null
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Id$
+
+description="svn server"
+pidfile="/var/run/svnserve.pid"
+command="/usr/bin/svnserve"
+command_args="--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}"
+command_background="true"
+start_stop_daemon_args="-u ${SVNSERVE_USER:-svn} -g ${SVNSERVE_GROUP:-svnusers}"
+
+depend() {
+       need net
+}
+
+start_pre() {
+       # Ensure that we run from a readable working dir, and that we do not
+       # lock filesystems when being run from such a location.
+       cd /
+}
diff --git a/xinetd.d/svnserve b/xinetd.d/svnserve
new file mode 100644 (file)
index 0000000..7803465
--- /dev/null
@@ -0,0 +1,14 @@
+service svn
+{
+    socket_type     = stream
+    wait            = no
+    user            = svn
+    group           = svnusers
+    umask           = 002
+    protocol        = tcp
+    log_on_failure += USERID HOST
+    port            = 3690
+    server          = /usr/bin/svnserve
+    server_args     = -i
+    disable         = yes
+}