git: 1d902ba93665 - main - databases/postgresql??-*: Update to latest versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Feb 2025 15:13:55 UTC
The branch main has been updated by girgen: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d902ba9366536c6034cc8c26a89b289046201ec commit 1d902ba9366536c6034cc8c26a89b289046201ec Author: Palle Girgensohn <girgen@FreeBSD.org> AuthorDate: 2025-02-13 14:48:59 +0000 Commit: Palle Girgensohn <girgen@FreeBSD.org> CommitDate: 2025-02-13 15:13:24 +0000 databases/postgresql??-*: Update to latest versions The PostgreSQL Global Development Group has released an update to all supported versions of PostgreSQL, including 17.3, 16.7, 15.11, 14.16, and 13.19. This release fixes 1 security vulnerability and over 70 bugs reported over the last several months. For the full list of changes, please review the release notes. This commit also removes the broken support for Heimdal and fixes the build when using MIT Kerberos. [1] PR: 220325 suggested by Cullum Smith and many others. [1] Release notes: https://www.postgresql.org/docs/release/ Security: fadf3b41-ea19-11ef-a540-6cc21735f730 --- databases/postgresql13-server/Makefile | 2 +- databases/postgresql13-server/distinfo | 6 ++-- databases/postgresql14-server/Makefile | 2 +- databases/postgresql14-server/distinfo | 6 ++-- databases/postgresql15-server/Makefile | 2 +- databases/postgresql15-server/distinfo | 6 ++-- databases/postgresql16-server/Makefile | 37 ++------------------- databases/postgresql16-server/distinfo | 6 ++-- databases/postgresql16-server/pkg-plist-contrib | 1 + databases/postgresql17-server/Makefile | 43 +++---------------------- databases/postgresql17-server/distinfo | 6 ++-- databases/postgresql17-server/pkg-plist-contrib | 1 + 12 files changed, 28 insertions(+), 90 deletions(-) diff --git a/databases/postgresql13-server/Makefile b/databases/postgresql13-server/Makefile index 064a9ec1ba88..329da9b96264 100644 --- a/databases/postgresql13-server/Makefile +++ b/databases/postgresql13-server/Makefile @@ -1,4 +1,4 @@ -DISTVERSION?= 13.18 +DISTVERSION?= 13.19 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. PORTREVISION?= 0 diff --git a/databases/postgresql13-server/distinfo b/databases/postgresql13-server/distinfo index 4909a3ea7cb5..7ecf676fdd4d 100644 --- a/databases/postgresql13-server/distinfo +++ b/databases/postgresql13-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732004003 -SHA256 (postgresql/postgresql-13.18.tar.bz2) = ceea92abee2a8c19408d278b68de6a78b6bd3dbb4fa2d653fa7ca745d666aab1 -SIZE (postgresql/postgresql-13.18.tar.bz2) = 21687645 +TIMESTAMP = 1739277660 +SHA256 (postgresql/postgresql-13.19.tar.bz2) = 482cce0a9f8d24c2447cfc7b2817e55f86d51afe5f7f1a85214bf93644e774ea +SIZE (postgresql/postgresql-13.19.tar.bz2) = 21729020 diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile index 9f8055f04052..3f503eaef227 100644 --- a/databases/postgresql14-server/Makefile +++ b/databases/postgresql14-server/Makefile @@ -1,4 +1,4 @@ -DISTVERSION?= 14.15 +DISTVERSION?= 14.16 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. PORTREVISION?= 0 diff --git a/databases/postgresql14-server/distinfo b/databases/postgresql14-server/distinfo index 0a9b1f062bf6..8e5538ebe19c 100644 --- a/databases/postgresql14-server/distinfo +++ b/databases/postgresql14-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732004004 -SHA256 (postgresql/postgresql-14.15.tar.bz2) = 02e891e314b4e9ee24cbd78028dab7c73f9c1ba3e30835bcbef71fe220401fc5 -SIZE (postgresql/postgresql-14.15.tar.bz2) = 22458243 +TIMESTAMP = 1739277661 +SHA256 (postgresql/postgresql-14.16.tar.bz2) = 673c26f15ebb14306ad0ea051d8acfb3915dd342de942f5b502e5354a0ab760c +SIZE (postgresql/postgresql-14.16.tar.bz2) = 22491073 diff --git a/databases/postgresql15-server/Makefile b/databases/postgresql15-server/Makefile index 9f28e60a756a..8a241425839a 100644 --- a/databases/postgresql15-server/Makefile +++ b/databases/postgresql15-server/Makefile @@ -1,4 +1,4 @@ -DISTVERSION?= 15.10 +DISTVERSION?= 15.11 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. PORTREVISION?= 0 diff --git a/databases/postgresql15-server/distinfo b/databases/postgresql15-server/distinfo index 8e18bebef22f..6edb93347405 100644 --- a/databases/postgresql15-server/distinfo +++ b/databases/postgresql15-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732004005 -SHA256 (postgresql/postgresql-15.10.tar.bz2) = 55abe738d441f0e58658b3ec6f88097a713b5e3b73139f6230d7b5c4c389e573 -SIZE (postgresql/postgresql-15.10.tar.bz2) = 23138615 +TIMESTAMP = 1739277663 +SHA256 (postgresql/postgresql-15.11.tar.bz2) = 5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0 +SIZE (postgresql/postgresql-15.11.tar.bz2) = 23167652 diff --git a/databases/postgresql16-server/Makefile b/databases/postgresql16-server/Makefile index 61b7ddeaa5ea..c64f66d9fe06 100644 --- a/databases/postgresql16-server/Makefile +++ b/databases/postgresql16-server/Makefile @@ -1,5 +1,5 @@ PORTNAME?= postgresql -DISTVERSION?= 16.6 +DISTVERSION?= 16.7 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. PORTREVISION?= 0 @@ -118,17 +118,15 @@ CONFIGURE_ARGS+= --without-icu .if !defined(SLAVE_ONLY) OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG DOCS SSL -KRB5_DESC= Build with kerberos provider support NLS_DESC= Use internationalized messages PAM_DESC= Build with PAM Support -MIT_KRB5_DESC= Build with MIT kerberos support -HEIMDAL_KRB5_DESC= Builds with Heimdal kerberos -GSSAPI_DESC= Build with GSSAPI support +GSSAPI_DESC= Build with GSSAPI from base (security/krb5) OPTIMIZED_CFLAGS_DESC= Builds with compiler optimizations (-O3) SSL_DESC= Build with OpenSSL support OPTIONS_DEFAULT+= SSL +GSSAPI_USES= gssapi:mit GSSAPI_CONFIGURE_WITH= gssapi .endif # !SLAVE_ONLY @@ -172,36 +170,7 @@ CFLAGS+= -msse2 .endif .if !defined(SLAVE_ONLY) - PATCH_DIST_STRIP=-p1 - -.if ${PORT_OPTIONS:MGSSAPI} -.if empty(PORT_OPTIONS:MMIT_KRB5) && empty(PORT_OPTIONS:MHEIMDAL_KRB5) -# Kerberos libraries will pull the proper GSSAPI library -# via linker dependencies, but otherwise we must specify -# it explicitely: ld --as-needed is used for compilation, -# so configure's -lgssapi_krb5 won't go. -LDFLAGS+= -lgssapi -LDFLAGS_SL+= -lgssapi -.endif -.endif - -. if ${PORT_OPTIONS:MMIT_KRB5} -. if defined(IGNORE_WITH_SRC_KRB5) && (exists(/usr/lib/libkrb5.so) || exists(/usr/bin/krb5-config)) -IGNORE= requires that you remove heimdal\'s /usr/bin/krb5-config and /usr/lib/libkrb5.so*, and set NO_KERBEROS=true in /etc/src.conf to build successfully with MIT-KRB -. else -CONFIGURE_ARGS+=--with-krb5 -# Allow defining a home built MIT Kerberos by setting KRB5_HOME -. if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) && exists(${KRB5_HOME}/bin/krb5-config) -LIB_DEPENDS+= libkrb5.so.3:security/krb5 -. endif -. endif -. endif - -. if ${PORT_OPTIONS:MHEIMDAL_KRB5} -CONFIGURE_ARGS+=--with-krb5 -. endif - .endif # !SLAVE_ONLY # For testing files in FILESDIR diff --git a/databases/postgresql16-server/distinfo b/databases/postgresql16-server/distinfo index c5bccd434b11..92f58d3ef78e 100644 --- a/databases/postgresql16-server/distinfo +++ b/databases/postgresql16-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732004006 -SHA256 (postgresql/postgresql-16.6.tar.bz2) = 23369cdaccd45270ac5dcc30fa9da205d5be33fa505e1f17a0418d2caeca477b -SIZE (postgresql/postgresql-16.6.tar.bz2) = 24856956 +TIMESTAMP = 1739277664 +SHA256 (postgresql/postgresql-16.7.tar.bz2) = 62e02f77ebfc4a37f1700c20cc3ccd85ff797b5613766ebf949a7899bb2113fe +SIZE (postgresql/postgresql-16.7.tar.bz2) = 24905167 diff --git a/databases/postgresql16-server/pkg-plist-contrib b/databases/postgresql16-server/pkg-plist-contrib index 9010a8b464f3..c9cb5846e202 100644 --- a/databases/postgresql16-server/pkg-plist-contrib +++ b/databases/postgresql16-server/pkg-plist-contrib @@ -114,6 +114,7 @@ lib/postgresql/uuid-ossp.so %%DATADIR%%/extension/dict_xsyn--1.0.sql %%DATADIR%%/extension/dict_xsyn.control %%DATADIR%%/extension/earthdistance--1.0--1.1.sql +%%DATADIR%%/extension/earthdistance--1.1--1.2.sql %%DATADIR%%/extension/earthdistance--1.1.sql %%DATADIR%%/extension/earthdistance.control %%DATADIR%%/extension/file_fdw--1.0.sql diff --git a/databases/postgresql17-server/Makefile b/databases/postgresql17-server/Makefile index 20c681c36b09..52e6f130b2be 100644 --- a/databases/postgresql17-server/Makefile +++ b/databases/postgresql17-server/Makefile @@ -1,5 +1,5 @@ PORTNAME?= postgresql -DISTVERSION?= 17.2 +DISTVERSION?= 17.3 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. PORTREVISION?= 0 @@ -120,18 +120,18 @@ CONFIGURE_ARGS+= --without-icu .if !defined(SLAVE_ONLY) OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG DOCS SSL -KRB5_DESC= Build with kerberos provider support NLS_DESC= Use internationalized messages PAM_DESC= Build with PAM Support -MIT_KRB5_DESC= Build with MIT kerberos support -HEIMDAL_KRB5_DESC= Builds with Heimdal kerberos -GSSAPI_DESC= Build with GSSAPI support +GSSAPI_DESC= Build with GSSAPI from base (security/krb5) OPTIMIZED_CFLAGS_DESC= Builds with compiler optimizations (-O3) SSL_DESC= Build with OpenSSL support OPTIONS_DEFAULT+= SSL +GSSAPI_USES= gssapi:mit GSSAPI_CONFIGURE_WITH= gssapi + +PATCH_DIST_STRIP=-p1 .endif # !SLAVE_ONLY SSL_USES= ssl @@ -173,39 +173,6 @@ SUB_LIST+= PG_VERSION=${PORTVERSION:R} \ CFLAGS+= -msse2 .endif -.if !defined(SLAVE_ONLY) - -PATCH_DIST_STRIP=-p1 - -.if ${PORT_OPTIONS:MGSSAPI} -.if empty(PORT_OPTIONS:MMIT_KRB5) && empty(PORT_OPTIONS:MHEIMDAL_KRB5) -# Kerberos libraries will pull the proper GSSAPI library -# via linker dependencies, but otherwise we must specify -# it explicitely: ld --as-needed is used for compilation, -# so configure's -lgssapi_krb5 won't go. -LDFLAGS+= -lgssapi -LDFLAGS_SL+= -lgssapi -.endif -.endif - -. if ${PORT_OPTIONS:MMIT_KRB5} -. if defined(IGNORE_WITH_SRC_KRB5) && (exists(/usr/lib/libkrb5.so) || exists(/usr/bin/krb5-config)) -IGNORE= requires that you remove heimdal\'s /usr/bin/krb5-config and /usr/lib/libkrb5.so*, and set NO_KERBEROS=true in /etc/src.conf to build successfully with MIT-KRB -. else -CONFIGURE_ARGS+=--with-krb5 -# Allow defining a home built MIT Kerberos by setting KRB5_HOME -. if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) && exists(${KRB5_HOME}/bin/krb5-config) -LIB_DEPENDS+= libkrb5.so.3:security/krb5 -. endif -. endif -. endif - -. if ${PORT_OPTIONS:MHEIMDAL_KRB5} -CONFIGURE_ARGS+=--with-krb5 -. endif - -.endif # !SLAVE_ONLY - # For testing files in FILESDIR .include <bsd.port.pre.mk> diff --git a/databases/postgresql17-server/distinfo b/databases/postgresql17-server/distinfo index 0c89d35fe33b..9487a5b669c8 100644 --- a/databases/postgresql17-server/distinfo +++ b/databases/postgresql17-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732004007 -SHA256 (postgresql/postgresql-17.2.tar.bz2) = 82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164 -SIZE (postgresql/postgresql-17.2.tar.bz2) = 21408880 +TIMESTAMP = 1739277665 +SHA256 (postgresql/postgresql-17.3.tar.bz2) = 13c18b35bf67a97bd639925fc581db7fd2aae4d3548eac39fcdb8da74ace2bea +SIZE (postgresql/postgresql-17.3.tar.bz2) = 21520115 diff --git a/databases/postgresql17-server/pkg-plist-contrib b/databases/postgresql17-server/pkg-plist-contrib index 392ccfd8e912..d78987043402 100644 --- a/databases/postgresql17-server/pkg-plist-contrib +++ b/databases/postgresql17-server/pkg-plist-contrib @@ -108,6 +108,7 @@ lib/postgresql/uuid-ossp.so %%DATADIR%%/extension/dict_xsyn--1.0.sql %%DATADIR%%/extension/dict_xsyn.control %%DATADIR%%/extension/earthdistance--1.0--1.1.sql +%%DATADIR%%/extension/earthdistance--1.1--1.2.sql %%DATADIR%%/extension/earthdistance--1.1.sql %%DATADIR%%/extension/earthdistance.control %%DATADIR%%/extension/file_fdw--1.0.sql