From 3c7e8fb2b0c038be14b6432b0c06db93e6f208b2 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 21 Aug 2014 00:35:54 +0100 Subject: [PATCH 1/1] Update svn for apache 2.4 --- cookbooks/otrs/recipes/default.rb | 2 ++ cookbooks/subversion/recipes/default.rb | 12 ++++++++++-- cookbooks/subversion/templates/default/apache.erb | 4 ++++ 3 files changed, 16 insertions(+), 2 deletions(-) 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 -- 2.39.5