diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2025-02-13 15:48:59 +0100 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2025-02-13 16:13:24 +0100 |
commit | 1d902ba9366536c6034cc8c26a89b289046201ec (patch) | |
tree | bd4a1aafe46d32f04523ea5e42162ebeda9409d5 /databases/postgresql17-server | |
parent | security/vuln: Add entry for PostgreSQL (diff) |
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
Diffstat (limited to 'databases/postgresql17-server')
-rw-r--r-- | databases/postgresql17-server/Makefile | 43 | ||||
-rw-r--r-- | databases/postgresql17-server/distinfo | 6 | ||||
-rw-r--r-- | databases/postgresql17-server/pkg-plist-contrib | 1 |
3 files changed, 9 insertions, 41 deletions
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 |