From 341683a1e61fd9f3a9436167fbf039418264d493 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 23 Oct 2022 17:29:24 +0200 Subject: [PATCH] overpass: update to 0.7.59 Also remove the patch version hack. Roland says that this is fixed in the download directory. --- cookbooks/overpass/attributes/default.rb | 3 +-- cookbooks/overpass/recipes/default.rb | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cookbooks/overpass/attributes/default.rb b/cookbooks/overpass/attributes/default.rb index 5c7cfcaaf..e8b736781 100644 --- a/cookbooks/overpass/attributes/default.rb +++ b/cookbooks/overpass/attributes/default.rb @@ -1,6 +1,5 @@ default[:overpass][:fqdn] = "overpass.openstreetmap.org" -default[:overpass][:version] = "0.7.57" -default[:overpass][:full_version] = "0.7.57.2" +default[:overpass][:version] = "0.7.59" # One of: no, meta, attic default[:overpass][:meta_mode] = "attic" # One of: no, gz, lz4 diff --git a/cookbooks/overpass/recipes/default.rb b/cookbooks/overpass/recipes/default.rb index 2b338c0be..6b98b623a 100644 --- a/cookbooks/overpass/recipes/default.rb +++ b/cookbooks/overpass/recipes/default.rb @@ -38,7 +38,7 @@ end ## Install overpass from source -srcdir = "#{basedir}/src/osm-3s_v#{node[:overpass][:full_version]}" +srcdir = "#{basedir}/src/osm-3s_v#{node[:overpass][:version]}" package %w[ build-essential @@ -70,6 +70,8 @@ execute "install_overpass" do user username cwd srcdir command "./configure --enable-lz4 --prefix=#{basedir} && make install" + notifies :restart, "service[overpass-dispatcher]" + notifies :restart, "service[overpass-area-dispatcher]" end ## Setup Apache -- 2.39.5