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'
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'
--- /dev/null
+<IfDefine SVN>
+LoadModule dav_svn_module modules/mod_dav_svn.so
+<IfDefine SVN_AUTHZ>
+LoadModule authz_svn_module modules/mod_authz_svn.so
+</IfDefine>
+
+# Example configuration:
+#<Location /svn/repos>
+# DAV svn
+# SVNPath ${SVN_REPOS_LOC}/repos
+# AuthType Basic
+# AuthName "Subversion repository"
+# AuthUserFile ${SVN_REPOS_LOC}/conf/svnusers
+# Require valid-user
+#</Location>
+</IfDefine>
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