summaryrefslogtreecommitdiff
path: root/databases/postgresql16-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2025-02-20 14:30:32 +0100
committerPalle Girgensohn <girgen@FreeBSD.org>2025-02-20 15:41:24 +0100
commite30c0647036e097b38ed2e56536333f95957f189 (patch)
treea57ccbcb7c335876d0d3b3ce5663f50d09d1868d /databases/postgresql16-server
parentx11/plank: update to 0.11.100 (diff)
databases/postgresql??-*: Upgrade to latest versions
The PostgreSQL Global Development Group has released an update to all supported versions of PostgreSQL, including 17.4, 16.8, 15.12, 14.17, and 13.20. The issues listed below affect PostgreSQL 17. Some of these issues may also affect other supported versions of PostgreSQL. Improve behavior of quoting functions in libpq. The fix for CVE-2025-1094 caused the quoting functions to not honor their string length parameters and, in some cases, cause crashes. This problem could be noticeable from a PostgreSQL client library, based on how it is integrated with libpq. Fix small memory leak in pg_createsubscriber. Also fix a problem in the FreeBSD port, where the rc script wouldn't return properly, messing up orchestration tools like ansible. [1] PR: 272502 [1] Release notes: https://www.postgresql.org/docs/release/
Diffstat (limited to 'databases/postgresql16-server')
-rw-r--r--databases/postgresql16-server/Makefile2
-rw-r--r--databases/postgresql16-server/distinfo6
-rw-r--r--databases/postgresql16-server/files/postgresql.in4
3 files changed, 7 insertions, 5 deletions
diff --git a/databases/postgresql16-server/Makefile b/databases/postgresql16-server/Makefile
index 8f20adf5a53a..4ad9ebbd9ab4 100644
--- a/databases/postgresql16-server/Makefile
+++ b/databases/postgresql16-server/Makefile
@@ -1,5 +1,5 @@
PORTNAME?= postgresql
-DISTVERSION?= 16.7
+DISTVERSION?= 16.8
# 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?= 1
diff --git a/databases/postgresql16-server/distinfo b/databases/postgresql16-server/distinfo
index 92f58d3ef78e..3bccde2d6243 100644
--- a/databases/postgresql16-server/distinfo
+++ b/databases/postgresql16-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739277664
-SHA256 (postgresql/postgresql-16.7.tar.bz2) = 62e02f77ebfc4a37f1700c20cc3ccd85ff797b5613766ebf949a7899bb2113fe
-SIZE (postgresql/postgresql-16.7.tar.bz2) = 24905167
+TIMESTAMP = 1739873709
+SHA256 (postgresql/postgresql-16.8.tar.bz2) = 9468083a56ce0ee7d294601b74dad3dd9fc69d87aff61f0a9fb63c813ff7efd8
+SIZE (postgresql/postgresql-16.8.tar.bz2) = 24911337
diff --git a/databases/postgresql16-server/files/postgresql.in b/databases/postgresql16-server/files/postgresql.in
index 3cf6475a9a9b..073d3a64c004 100644
--- a/databases/postgresql16-server/files/postgresql.in
+++ b/databases/postgresql16-server/files/postgresql.in
@@ -104,10 +104,11 @@ else
fi
fi
-command_args="-D ${postgresql_data} ${postgresql_flags}"
+command_args="-l /dev/null -D ${postgresql_data} ${postgresql_flags}"
postgresql_command()
{
+ echo "${rc_arg} ${name}"
${su_cmd} ${postgresql_login_class:+-c ${postgresql_login_class}} \
-l ${postgresql_user} \
-c "exec ${command} ${command_args} ${rc_arg}"
@@ -115,6 +116,7 @@ postgresql_command()
postgresql_initdb()
{
+ echo "${rc_arg} ${name}"
${su_cmd} ${postgresql_login_class:+-c ${postgresql_login_class}} \
-l ${postgresql_user} \
-c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}"