Commit Graph

367 Commits

Author SHA1 Message Date
jeremy 4f7c018110 Update to PostgreSQL 17.5
Fixes CVE-2025-4207: PostgreSQL GB18030 encoding validation can read one
byte past end of allocation for text that fails validation
2025-05-13 01:19:35 +00:00
jeremy 1e7a37710f Update to PostgreSQL 17.4
Fixes CVE-2025-1094

OK sthen@
2025-02-22 03:15:44 +00:00
sthen f538075c64 add BDEP on bison to avoid "configure: error: bison not found" 2024-11-24 12:29:26 +00:00
jeremy 53dbd018d5 Update to PostgreSQL 17.2
Bulk testing by tb@
OK tb@
2024-11-23 06:54:15 +00:00
tb dced168092 postgresql: enable DEBUG_PACKAGES and tests (they work with non-broken libc)
ok jeremy (maintainer)
2024-08-27 06:51:18 +00:00
jeremy d5e1a06b9f Update to PostgreSQL 16.4
Fixes CVE-2024-7348: PostgreSQL relation replacement during pg_dump
executes arbitrary SQL
2024-08-12 17:32:01 +00:00
landry cae2746438 databases/postgresql: drop mention of pgadmin3, was removed a year ago 2024-06-01 05:36:58 +00:00
jeremy 96d54f1366 Update to PostgreSQL 16.3
Fixes CVE-2024-4317
2024-05-20 19:14:05 +00:00
sthen b980bb5574 bump REVISION for py3.10 -> py3.11 switch 2024-05-06 12:22:30 +00:00
jeremy 150dbd716c Update to PostgreSQL 16.2
Fixes CVE-2024-0985: PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY
executes arbitrary SQL
2024-02-10 19:18:10 +00:00
jeremy e18d6ac6e8 Update to PostgreSQL 16.1
This adds textproc/icu4c as a dependency, since PostgreSQL 16 requires
that by default.  This allows additional collations to work.

Bulk testing by tb@

Input from tb@ and sthen@

OK tb@, sthen@
2023-11-29 23:41:15 +00:00
sthen 14edb0c50b Following the update to LLVM 16 in base, change PostgreSQL to building
with clang, gcc is no longer necessary.  ok jeremy@
2023-11-17 17:46:55 +00:00
espie a56cd77418 -> SITES, no fetch change 2023-09-20 13:30:05 +00:00
jeremy eb3f6212bf Have initdb recommend use of rcctl if appropriate
Requested by espie@
OK sthen@, espie@
2023-09-11 20:04:47 +00:00
jeremy 147439efcd Update to PostgreSQL 15.4
Use UPDATE_PLIST_ARGS to avoid unnecessary changes by update-plist.

OK sthen@
2023-08-13 20:23:27 +00:00
jeremy 07f39fda04 Update to PostgreSQL 15.3 2023-05-19 17:10:09 +00:00
jeremy 4961e498bb Update recommended kern.seminfo.semmn{i,s} sysctl values in README
Based on ports@ discussion with vtamara.

OK sthen@
2023-02-21 20:14:36 +00:00
jeremy ff4ef95c17 Update to PostgreSQL 15.2 2023-02-11 20:07:27 +00:00
jeremy 105ddce147 Update to PostgreSQL 15.1
Bulk testing and help tb@

OK tb@
2022-11-16 02:59:22 +00:00
sthen 81d581665c bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:27:35 +00:00
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
jeremy ee5f673c7c Update to PostgreSQL 14.5 2022-08-15 18:07:16 +00:00
ajacoutot 28c1ab6219 Add comment as to why we use rc_exec() for other actions than "start". 2022-05-21 15:36:16 +00:00
ajacoutot 9e45440fb2 Use the rc_exec function instead of ${rcexec}. 2022-05-21 10:50:49 +00:00
jeremy 60aeb449b1 Update to PostgreSQL 14.3
OK danj@
2022-05-14 17:51:54 +00:00
naddy 7a958849ed drop RCS Ids 2022-03-11 18:31:17 +00:00
robert 9658a18f5b set tc back to daemon now that it is limited 2022-02-21 12:51:50 +00:00
robert 2ec574abe3 ship a default login class configuration for postgresql and also remove the
_postgresql user's login class so that it defaults to 'default' instead of
daemon

ok jeremy@
2022-02-17 21:26:30 +00:00
jeremy e369262d2e Update to PostgreSQL 14.2 2022-02-12 21:10:34 +00:00
sthen 51683c6405 register @conflict on old postgresql-docs; errcodes.txt moved
to -main in 12.1.  ok jeremy@
2022-02-04 23:29:30 +00:00
jeremy 8368d58199 Update to PostgreSQL 14.1
Take MAINTAINER.

OK pea@ (previous MAINTAINER), sthen@
2022-01-13 15:59:34 +00:00
espie 737fb8bb76 zap a few PKGNAME-sub which are now default
(and also duplicated EPOCH-sub which make little sense in db/{v3,v4}
2021-11-22 13:55:54 +00:00
robert 0940bd958a set daemon timeout to 300 by default;
databases can take a long time to gracefully shutdown
especially if you have a lot of cached data or you are
swapping and we do not want to kill these processes to
avoid potential dataloss
2021-11-07 14:27:44 +00:00
sthen 8ad2bb9a3a bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:00:12 +00:00
sthen cf1ee95c1f bump to keep -current version above -stable due to difference in deps 2021-09-10 14:10:43 +00:00
sthen 089f5a9a63 update to postgresql-13.4, from Mark Patruck, ok pea@
https://www.postgresql.org/docs/13/release-13-4.html
2021-09-10 14:07:45 +00:00
jca b4aabb96cb Work around the lack of a native spinlock implementation on riscv64 2021-07-11 23:05:06 +00:00
sthen 350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
jeremy 7dacf44dc3 Update to PostgreSQL 13.3
Fixes CVE-2021-32029, CVE-2021-32028, CVE-2021-32027.

From Mark Patruck <mark@wrapped.cx>

MAINTAINER (pea@) timeout
2021-06-07 15:14:27 +00:00
sthen 761161322d move postgresql-plsql to python 3, ok jeremy@ daniel@ kn@ pea@ 2021-03-02 15:22:32 +00:00
sthen 68a4d4f55a postgresql tweaks:
- add hidden dep on libexecinfo, which i hadn't disabled as well as i had hoped
- add missing -D in initdb command line in pkg-readme for some use cases
- put back the @ask-update warning as people using some pgsql extensions can't
use pg_upgrade
2021-03-01 13:40:08 +00:00
sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
pea 00253e8c09 Security update to 13.2
ok sthen@
2021-02-11 17:08:42 +00:00
sthen 31563071fe update to PostgreSQL 13.1, mostly from jeremy@, ok jeremy pea danj 2021-02-09 20:01:36 +00:00
sthen bf8415787b adjust postgresql upgrade readme steps; edit pg_hba.conf to support
connecting without passwords *before* copying to the new dir. saves
manually making the same change to two copies of the same file.
ok pea@
2020-11-14 13:03:49 +00:00
pea 942c3665be Security update to 12.5
ok danj@ jeremy@
2020-11-13 19:00:10 +00:00
pea 9bb75d02b2 Update to 12.4
ok jeremy@
2020-09-24 13:11:46 +00:00
jasper 4dacd7479c don't hardcode the PHP version of phppgadmin in README; it was outdated and
in this context it suffices to say it uses PHP
2020-06-14 10:19:46 +00:00
pea 0f9dab0c87 update to 12.3
ok jeremy@
2020-06-02 14:30:32 +00:00
pea fcea4edab5 Update to 12.2
Diff from jeremy@ with small change from me.
ok jeremy@
2020-02-18 15:27:03 +00:00