summaryrefslogtreecommitdiff
path: root/databases/postgresql16-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2025-02-13 15:48:59 +0100
committerPalle Girgensohn <girgen@FreeBSD.org>2025-02-13 16:13:24 +0100
commit1d902ba9366536c6034cc8c26a89b289046201ec (patch)
treebd4a1aafe46d32f04523ea5e42162ebeda9409d5 /databases/postgresql16-server
parentsecurity/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/postgresql16-server')
-rw-r--r--databases/postgresql16-server/Makefile37
-rw-r--r--databases/postgresql16-server/distinfo6
-rw-r--r--databases/postgresql16-server/pkg-plist-contrib1
3 files changed, 7 insertions, 37 deletions
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