From: Frank Brehm Date: Tue, 20 Dec 2016 15:47:37 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=ebcfcec2879a0b250a98708aae4fd4e6f52fe108;p=config%2Fberta%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/.etckeeper b/.etckeeper index b2a1f01..b920f21 100755 --- a/.etckeeper +++ b/.etckeeper @@ -23,6 +23,7 @@ maybe chmod 0755 'apache2' maybe chmod 0644 'apache2/httpd.conf' maybe chmod 0644 'apache2/magic' maybe chmod 0755 'apache2/modules.d' +maybe chmod 0644 'apache2/modules.d/.keep_dev-vcs_subversion-0' maybe chmod 0644 'apache2/modules.d/.keep_www-servers_apache-2' maybe chmod 0644 'apache2/modules.d/00_default_settings.conf' maybe chmod 0644 'apache2/modules.d/00_error_documents.conf' @@ -39,6 +40,7 @@ maybe chmod 0644 'apache2/modules.d/40_mod_ssl.conf' maybe chmod 0644 'apache2/modules.d/41_mod_http2.conf' maybe chmod 0644 'apache2/modules.d/45_mod_dav.conf' maybe chmod 0644 'apache2/modules.d/46_mod_ldap.conf' +maybe chmod 0644 'apache2/modules.d/47_mod_dav_svn.conf' maybe chmod 0755 'apache2/vhosts.d' maybe chmod 0644 'apache2/vhosts.d/.keep_www-servers_apache-2' maybe chmod 0644 'apache2/vhosts.d/00_default_ssl_vhost.conf' diff --git a/apache2/modules.d/.keep_dev-vcs_subversion-0 b/apache2/modules.d/.keep_dev-vcs_subversion-0 new file mode 100644 index 0000000..e69de29 diff --git a/apache2/modules.d/47_mod_dav_svn.conf b/apache2/modules.d/47_mod_dav_svn.conf new file mode 100644 index 0000000..52d08b7 --- /dev/null +++ b/apache2/modules.d/47_mod_dav_svn.conf @@ -0,0 +1,16 @@ + +LoadModule dav_svn_module modules/mod_dav_svn.so + +LoadModule authz_svn_module modules/mod_authz_svn.so + + +# Example configuration: +# +# DAV svn +# SVNPath ${SVN_REPOS_LOC}/repos +# AuthType Basic +# AuthName "Subversion repository" +# AuthUserFile ${SVN_REPOS_LOC}/conf/svnusers +# Require valid-user +# + diff --git a/init.d/svnserve b/init.d/svnserve index 8c1e21a..28a69f3 100755 --- a/init.d/svnserve +++ b/init.d/svnserve @@ -8,7 +8,7 @@ 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}" +start_stop_daemon_args="-u ${SVNSERVE_USER:-apache} -g ${SVNSERVE_GROUP:-apache}" depend() { need net diff --git a/xinetd.d/svnserve b/xinetd.d/svnserve index 7803465..e29f906 100644 --- a/xinetd.d/svnserve +++ b/xinetd.d/svnserve @@ -2,8 +2,8 @@ service svn { socket_type = stream wait = no - user = svn - group = svnusers + user = apache + group = apache umask = 002 protocol = tcp log_on_failure += USERID HOST