From 0782cccb139e9c7982cd27d695075990a46e5095 Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Thu, 13 Feb 2020 19:14:36 +0000 Subject: The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 12.2, 11.7, 10.12, 9.6.17, 9.5.21, and 9.4.26. This release fixes one security issue found in the PostgreSQL server and over 75 bugs reported over the last three months. Users should plan to update as soon as possible. PostgreSQL 9.4 Now EOL This is the last release for PostgreSQL 9.4, which will no longer receive security updates and bug fixes. PostgreSQL 9.4 introduced new features such as JSONB support, the `ALTER SYSTEM` command, the ability to stream logical changes to an output plugin, and more: https://www.postgresql.org/about/news/1557/ https://www.postgresql.org/docs/9.4/release-9-4.html While we are very proud of this release, these features are also found in newer versions of PostgreSQL. Many of these features have also received improvements, and, per our versioning policy, it is time to retire PostgreSQL 9.4. To receive continued support, we suggest that you make plans to upgrade to a newer, supported version of PostgreSQL. Please see the PostgreSQL versioning policy for more information. Security Issues * CVE-2020-1720: `ALTER ... DEPENDS ON EXTENSION` is missing authorization checks. Versions Affected: 9.6 - 12 The `ALTER ... DEPENDS ON EXTENSION` sub-commands do not perform authorization checks, which can allow an unprivileged user to drop any function, procedure, materialized view, index, or trigger under certain conditions. This attack is possible if an administrator has installed an extension and an unprivileged user can `CREATE`, or an extension owner either executes `DROP EXTENSION` predictably or can be convinced to execute `DROP EXTENSION`. Release notes: https://www.postgresql.org/docs/current/release.html --- databases/postgresql12-server/Makefile | 7 ++++--- databases/postgresql12-server/distinfo | 6 +++--- databases/postgresql12-server/pkg-plist-client | 5 +++++ databases/postgresql12-server/pkg-plist-server | 13 +++++++++++++ 4 files changed, 25 insertions(+), 6 deletions(-) (limited to 'databases/postgresql12-server') diff --git a/databases/postgresql12-server/Makefile b/databases/postgresql12-server/Makefile index 9697ecc62eac..5c38d79a6894 100644 --- a/databases/postgresql12-server/Makefile +++ b/databases/postgresql12-server/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME?= postgresql -DISTVERSION?= 12.1 +DISTVERSION?= 12.2 # 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 @@ -92,8 +92,9 @@ TZDATA_DESC= Use internal timezone database XML_DESC= Build with XML data type .if ${DISTVERSION:C/([0-9]*).*/\1/} >= 11 -OPTIONS_DEFINE+=LLVM -LLVM_DESC= Build with support for JIT-compiling expressions +OPTIONS_DEFINE+= LLVM +LLVM_DESC= Build with support for JIT-compiling expressions +OPTIONS_DEFAULT+= LLVM .endif .if ${DISTVERSION:C/([0-9]*).*/\1/} < 10 diff --git a/databases/postgresql12-server/distinfo b/databases/postgresql12-server/distinfo index d61f0768e27e..61f6a6f0d5db 100644 --- a/databases/postgresql12-server/distinfo +++ b/databases/postgresql12-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1573552509 -SHA256 (postgresql/postgresql-12.1.tar.bz2) = a09bf3abbaf6763980d0f8acbb943b7629a8b20073de18d867aecdb7988483ed -SIZE (postgresql/postgresql-12.1.tar.bz2) = 20213711 +TIMESTAMP = 1581419817 +SHA256 (postgresql/postgresql-12.2.tar.bz2) = ad1dcc4c4fc500786b745635a9e1eba950195ce20b8913f50345bb7d5369b5de +SIZE (postgresql/postgresql-12.2.tar.bz2) = 20363545 diff --git a/databases/postgresql12-server/pkg-plist-client b/databases/postgresql12-server/pkg-plist-client index 4d2a9efb40aa..cc15abac37de 100644 --- a/databases/postgresql12-server/pkg-plist-client +++ b/databases/postgresql12-server/pkg-plist-client @@ -1143,6 +1143,8 @@ man/man7/WITH.7.gz %%NLS%%share/locale/fr/LC_MESSAGES/ecpglib6-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/libpq5-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_config-12.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_dump-12.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pgscripts-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/psql-12.mo %%NLS%%share/locale/he/LC_MESSAGES/libpq5-12.mo %%NLS%%share/locale/he/LC_MESSAGES/pg_config-12.mo @@ -1162,6 +1164,9 @@ man/man7/WITH.7.gz %%NLS%%share/locale/ko/LC_MESSAGES/ecpglib6-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/libpq5-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_config-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_dump-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pgscripts-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/psql-12.mo %%NLS%%share/locale/pl/LC_MESSAGES/ecpg-12.mo %%NLS%%share/locale/pl/LC_MESSAGES/ecpglib6-12.mo %%NLS%%share/locale/pl/LC_MESSAGES/pg_config-12.mo diff --git a/databases/postgresql12-server/pkg-plist-server b/databases/postgresql12-server/pkg-plist-server index b92fe281f4df..f1f69cab2fe7 100644 --- a/databases/postgresql12-server/pkg-plist-server +++ b/databases/postgresql12-server/pkg-plist-server @@ -777,8 +777,12 @@ lib/libpgcommon.a %%NLS%%share/locale/es/LC_MESSAGES/postgres-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/initdb-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_archivecleanup-12.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_basebackup-12.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_checksums-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_controldata-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_ctl-12.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_resetwal-12.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_rewind-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_test_fsync-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_test_timing-12.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_upgrade-12.mo @@ -804,11 +808,18 @@ lib/libpgcommon.a %%NLS%%share/locale/ja/LC_MESSAGES/pg_waldump-12.mo %%NLS%%share/locale/ja/LC_MESSAGES/plpgsql-12.mo %%NLS%%share/locale/ja/LC_MESSAGES/postgres-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/initdb-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_archivecleanup-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_basebackup-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_checksums-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_controldata-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_ctl-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_resetwal-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_rewind-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_test_fsync-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_test_timing-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_upgrade-12.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_waldump-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/plpgsql-12.mo %%NLS%%share/locale/ko/LC_MESSAGES/postgres-12.mo %%NLS%%share/locale/pl/LC_MESSAGES/pg_controldata-12.mo @@ -860,6 +871,8 @@ lib/libpgcommon.a %%NLS%%share/locale/tr/LC_MESSAGES/pg_waldump-12.mo %%NLS%%share/locale/tr/LC_MESSAGES/plpgsql-12.mo %%NLS%%share/locale/tr/LC_MESSAGES/postgres-12.mo +%%NLS%%share/locale/uk/LC_MESSAGES/initdb-12.mo +%%NLS%%share/locale/uk/LC_MESSAGES/pg_archivecleanup-12.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_controldata-12.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_ctl-12.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_test_fsync-12.mo -- cgit v1.3