summaryrefslogtreecommitdiff
path: root/databases/postgresql15-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/postgresql15-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/postgresql15-server')
-rw-r--r--databases/postgresql15-server/Makefile2
-rw-r--r--databases/postgresql15-server/distinfo6
-rw-r--r--databases/postgresql15-server/files/postgresql.in4
3 files changed, 7 insertions, 5 deletions
diff --git a/databases/postgresql15-server/Makefile b/databases/postgresql15-server/Makefile
index 073ad7eea660..959c02e355a5 100644
--- a/databases/postgresql15-server/Makefile
+++ b/databases/postgresql15-server/Makefile
@@ -1,4 +1,4 @@
-DISTVERSION?= 15.11
+DISTVERSION?= 15.12
# 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/postgresql15-server/distinfo b/databases/postgresql15-server/distinfo
index 6edb93347405..cd3b74a3a24e 100644
--- a/databases/postgresql15-server/distinfo
+++ b/databases/postgresql15-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739277663
-SHA256 (postgresql/postgresql-15.11.tar.bz2) = 5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
-SIZE (postgresql/postgresql-15.11.tar.bz2) = 23167652
+TIMESTAMP = 1739873912
+SHA256 (postgresql/postgresql-15.12.tar.bz2) = 3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
+SIZE (postgresql/postgresql-15.12.tar.bz2) = 23170228
diff --git a/databases/postgresql15-server/files/postgresql.in b/databases/postgresql15-server/files/postgresql.in
index 3cf6475a9a9b..073d3a64c004 100644
--- a/databases/postgresql15-server/files/postgresql.in
+++ b/databases/postgresql15-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}"