Commit 52f5d9e9 authored by Palle Girgensohn's avatar Palle Girgensohn
Browse files

databases/postgresql*-*: Update to latest version

The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 18.2, 17.8, 16.12, 15.16,
and 14.21. This release fixes 5 security vulnerabilities and over 65
bugs reported over the last several months.

Release notes:
https://www.postgresql.org/about/news/postgresql-182-178-1612-1516-and-1421-released-3235/
https://www.postgresql.org/docs/release/

Security:
CVE-2026-2003: PostgreSQL oidvector discloses a few bytes of memory
CVE-2026-2004: PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code
CVE-2026-2005: PostgreSQL pgcrypto heap buffer overflow executes arbitrary code
CVE-2026-2006: PostgreSQL missing validation of multibyte character length executes arbitrary code
CVE-2026-2007: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

Remove postgresql13* since it is now EoL.
parent 3671d470
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -5138,3 +5138,11 @@ textproc/rubygem-loofah222|textproc/rubygem-loofah|2026-02-10|Remove obsoleted p
databases/rubygem-flipper-active_record-rails70|databases/rubygem-flipper-active_record|2026-02-10|Remove obsoleted port. Use databases/rubygem-flipper-active_record instead
devel/rubygem-flipper-active_support_cache_store-rails70|devel/rubygem-flipper-active_support_cache_store|2026-02-10|Remove obsoleted port. Use devel/rubygem-flipper-active_support_cache_store instead
sysutils/android-file-transfer-qt5||2026-02-11|Removed as qt5 is being deprecated
databases/postgresql13-contrib||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-client||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-plperl||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-pltcl||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-plpython||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-docs||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-pgtcl||2026-02-12|Removed, PostgreSQL-13 is end-of-life
databases/postgresql13-server||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
+0 −8
Original line number Diff line number Diff line
@@ -669,14 +669,6 @@
    SUBDIR += postgresql-tds_fdw
    SUBDIR += postgresql-wal2json
    SUBDIR += postgresql-zhparser
    SUBDIR += postgresql13-client
    SUBDIR += postgresql13-contrib
    SUBDIR += postgresql13-docs
    SUBDIR += postgresql13-pgtcl
    SUBDIR += postgresql13-plperl
    SUBDIR += postgresql13-plpython
    SUBDIR += postgresql13-pltcl
    SUBDIR += postgresql13-server
    SUBDIR += postgresql14-client
    SUBDIR += postgresql14-contrib
    SUBDIR += postgresql14-docs
+0 −24
Original line number Diff line number Diff line
PORTNAME=	postgresql
PORTREVISION=	2

COMMENT=	PostgreSQL database (client)

MASTERDIR=	${.CURDIR}/../postgresql13-server

BUILD_DIRS=	config src/include src/interfaces src/port src/fe_utils \
		src/bin/pg_dump src/bin/psql src/bin/scripts src/bin/pg_config \
		src/bin/pgbench doc src/makefiles src/test/regress
INSTALL_DIRS=	${BUILD_DIRS}

CLIENT_ONLY=	yes
COMPONENT=	-client
USE_LDCONFIG=	yes
USES=		pkgconfig

OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC=	Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES=	libedit
LIBEDIT_USES_OFF=readline

.include "${MASTERDIR}/Makefile"
+0 −41
Original line number Diff line number Diff line
PORTNAME=	postgresql
PORTREVISION=	1
CATEGORIES=	databases

MAINTAINER=	pgsql@FreeBSD.org
COMMENT=	The contrib utilities from the PostgreSQL distribution

MASTERDIR=	${.CURDIR}/../postgresql13-server

USES=		bison pgsql:${PORTVERSION:R}

BUILD_DIRS=	src/port src/include src/common contrib
INSTALL_DIRS=	contrib

# this port fails to build in parallel
MAKE_JOBS_UNSAFE=	yes

SLAVE_ONLY=	yes
COMPONENT=	-contrib
CONFIGURE_ARGS=	--disable-nls --with-uuid=bsd
LDFLAGS+=	-lpthread -L${PREFIX}/lib

OPTIONS_DEFINE=	DOCS OPENSSL XML
OPTIONS_DEFAULT=OPENSSL XML
OPTIONS_SUB=	yes

OPENSSL_DESC=		Build with OpenSSL support
OPENSSL_USES=		ssl
OPENSSL_CONFIGURE_WITH=	openssl

XML_CONFIGURE_WITH=	libxslt libxml
XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
		libxml2.so:textproc/libxml2

post-configure:
	@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks

post-install:
	@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README

.include "${MASTERDIR}/Makefile"
+0 −21
Original line number Diff line number Diff line
This is the port for all stuff that comes in the contrib subtree of
the postgresql distribution. This subtree contains porting tools,
analysis utilities, and plug-in features that are not part of the core
PostgreSQL system, mainly because they address a limited audience or
are too experimental to be part of the main source tree.  This does
not preclude their usefulness.

Each subdirectory contains a README file with information about the
module. Some directories supply new user-defined functions, operators,
or types.  After you have installed the files you need to register the
new entities in the database system by running the commands in the
supplied .sql file.  For example,

        $ psql -d dbname -f module.sql

The .sql files are installed into /usr/local/share/postgresql/contrib

For more information, please see
/usr/local/share/doc/postgresql/contrib/README*

This software is part of the standard PostgreSQL distribution.
Loading