From: Tom Hughes Date: Wed, 20 Aug 2014 23:35:54 +0000 (+0100) Subject: Update svn for apache 2.4 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/3c7e8fb2b0c038be14b6432b0c06db93e6f208b2 Update svn for apache 2.4 --- diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 9644dc667..5f74ae9f6 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -34,6 +34,8 @@ package "libmail-imapclient-perl" package "libnet-ldap-perl" package "libpdf-api2-perl" package "libsoap-lite-perl" +package "libyaml-libyaml-perl" +package "libcrypt-eksblowfish-perl" apache_module "headers" diff --git a/cookbooks/subversion/recipes/default.rb b/cookbooks/subversion/recipes/default.rb index f9398d8cc..3f0242599 100644 --- a/cookbooks/subversion/recipes/default.rb +++ b/cookbooks/subversion/recipes/default.rb @@ -35,14 +35,22 @@ remote_directory "#{repository_directory}/hooks" do purge false end -apache_module "authz_svn" do - package "libapache2-svn" +apache_module "dav" do + package "apache2" +end + +apache_module "dav_fs" do + package "apache2" end apache_module "dav_svn" do package "libapache2-svn" end +apache_module "authz_svn" do + package "libapache2-svn" +end + apache_site site_name do template "apache.erb" directory repository_directory diff --git a/cookbooks/subversion/templates/default/apache.erb b/cookbooks/subversion/templates/default/apache.erb index 90bdd4f27..507379fd5 100644 --- a/cookbooks/subversion/templates/default/apache.erb +++ b/cookbooks/subversion/templates/default/apache.erb @@ -19,6 +19,10 @@ LimitXMLRequestBody 0 LimitRequestBody 0 + + Require all granted + + Require valid-user