diff --git a/config/software/postgresql-windows.rb b/config/software/postgresql-windows.rb index 4c12e74..32320d6 100644 --- a/config/software/postgresql-windows.rb +++ b/config/software/postgresql-windows.rb @@ -15,7 +15,7 @@ # name "postgresql-windows" -default_version "9.6.20" +default_version "13.6" relative_path "pgsql" @@ -46,6 +46,10 @@ source url: "http://get.enterprisedb.com/postgresql/postgresql-#{version}-1-windows-binaries.zip" else + version "13.6" do + source sha256: "44ba5f480c45afa554bf70688c025a7298a96b5541a1c302e6223988768e83a8" + end + version "9.6.20" do source sha256: "a76e41e3101e09a2e772a26f0b93b405a97482b42b0695893465f3533c76d326" end diff --git a/config/software/postgresql.rb b/config/software/postgresql.rb index fdc55cb..26b7f85 100644 --- a/config/software/postgresql.rb +++ b/config/software/postgresql.rb @@ -15,7 +15,7 @@ # name "postgresql" -default_version "9.6.20" +default_version "13.6" license "PostgreSQL" license_file "COPYRIGHT" @@ -28,6 +28,8 @@ dependency "ncurses" dependency "config_guess" +version("13.6") { source sha256: "bafc7fa3d9d4da8fe71b84c63ba8bdfe8092935c30c0aa85c24b2c08508f67fc" } + version "9.6.20" do source sha256: "3d08cba409d45ab62d42b24431a0d55e7537bcd1db2d979f5f2eefe34d487bb6" end @@ -54,6 +56,8 @@ build do env = with_standard_compiler_flags(with_embedded_path) + # https://stackoverflow.com/questions/68379786/building-postgres-from-source-throws-utils-errcodes-h-file-not-found-when-ca + env['MAKELEVEL'] = '0' update_config_guess(target: "config")