Commit graph

25 commits

Author SHA1 Message Date
Palle Girgensohn
8d831eb43a databases/postgresql??-server: rc-script should require DAEMON
Changeset ab83f2b4bb changed the startup order for Postgresql. The cleartmp
rc.d now comes after the Postgresql startup.  Unfortunately, Postgresql likes
to create a socket in /tmp/.s.PGSQL.5432. After cleartmp does its work, that
socket disappears from the filesystem.

Submitted by:	Jeroen Pulles
PR:		256335
2021-06-01 15:59:35 +02:00
Palle Girgensohn
fccc45e5ff databases/postgresql14-*: Add postgresql 14 beta1 the the ports tree.
Release notes:	https://www.postgresql.org/docs/devel/release-14.html

Also reintroduce parallel builds. Some components, namely plperl,
plpython, pltcl and contrib, fail to build properly when using parallel
builds. Something with static linking using `ar` that fails.
MAKE_JOBS_UNSAFE is set for these ports.
2021-05-20 16:38:55 +02:00
Palle Girgensohn
21a4d52359 databases/postgresql1[123]-server: remove trailing space in pkg-plist 2021-05-20 16:35:08 +02:00
Palle Girgensohn
d3cd7c256c postgresql??-*: Revert fix to allow MAKE_JOBS
postgresql??-contrib fails to build for versions below 13 when building
in parallel. Needs more investigation.
2021-05-15 11:45:40 +02:00
Palle Girgensohn
ab83f2b4bb databases/postgresql??-*: Upgrade to latest version
PostgreSQL 13.3, 12.7, 11.12, 10.17, and 9.6.22 Released!

The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 13.3, 12.7, 11.12, 10.17, and
9.6.22. This release closes three security vulnerabilities and fixes over 45
bugs reported over the last three months.

Security fixes in this release:

CVE-2021-32027: Buffer overrun from integer overflow in array subscripting
                calculations

CVE-2021-32028: Memory disclosure in INSERT ... ON CONFLICT ... DO UPDATE

CVE-2021-32029: Memory disclosure in partitioned-table UPDATE ... RETURNING

Also plenty of bug fixes. See the release note for details.

Changes to the port:

Make sure we use the matching version of llvm. This fixes a problem with the
llvm version string not being monotonically increasing with the version
number. [1]

Better pkg message about checksums for postgresql 12+. [2] [4]

Adjust login class parameter to adhere to the documentation in rc.subr(8) [3]:
  The rc.conf parameter for the login class of the postgresql daemon has
  changed name from postgresql_class to postgresql_login_class, since
  rc.subr(8) states that the parameter should be named ${name}_login_class.

Allow parallel builds. [5]

Correct the directory name for the user postgres in pkg message. [6]

PR:		250824 [1], 253558 [2], 236060 [3], 233106 [4],  230656 [5]
PR:		226674 [6]
Submitted by:	Michael Zhilin [2], Michael Zhilin [3], Dmitry Chestnykh [4]
Submitted by:	Steve Wills [5], knezour [6]

Security:	76e0bb86-b4cb-11eb-b9c9-6cc21735f730
Security:	62da9702-b4cc-11eb-b9c9-6cc21735f730

Release notes:	https://www.postgresql.org/docs/release/
2021-05-15 11:12:17 +02:00
Dmitry Marakasov
e4768aedba databases/postgresql1*-server: update comments in rc scripts 2021-04-29 23:15:20 +03:00
Loïc Bartoletti
b91ca3ff36 databases/postgresql*: Fix build on riscv64
Reported by:	tmunro
Reviewed by:	girgen
2021-04-20 06:56:53 +02:00
Jan Beich
69d24a727d devel/icu: update to 69.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-69-1
Reported by:	GitHub (watch releases)
2021-04-08 23:33:31 +00:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Mathieu Arnold
2ba6eb3af7 Fix an obscure sed message while going through check-plist.
The obscure message being:
sed: 4: /tmp/sed_plist_sub.1i0ZNBB8: RE error: trailing backslash (\)

Thanks to:	kevans
2021-03-22 15:13:55 +00:00
Tobias Kortkamp
f2499eec5a Remove redundant option descriptions that match the default ones
(ignoring case)

Reported by:	danfe (for net/mosquitto), portscan
2021-03-07 16:45:48 +00:00
Palle Girgensohn
6d480661d1 PostgreSQL 13.2, 12.6, 11.11, 10.16, 9.6.21, and 9.5.25 released
The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 13.2, 12.6, 11.11, 10.16, 9.6.21,
and 9.5.25. This release closes two security vulnerabilities and fixes over 80
bugs reported over the last three months.

Additionally, this is the final release of PostgreSQL 9.5. If you are running
PostgreSQL 9.5 in a production environment, we suggest that you make plans to
upgrade.

Release notes:	https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/
Security notes:	https://www.postgresql.org/support/security/
Security:	CVE-2021-3393, CVE-2021-20229
2021-02-11 14:34:02 +00:00
Palle Girgensohn
3b1693bb3e Patch to mitigate a crash with LLVM JIT
PR:	251192 (Submitted by Dmitry Marakasov)
2020-12-15 20:50:10 +00:00
Palle Girgensohn
1ae27558a8 PostgreSQL 13.1, 12.5, 11.10, 10.15, 9.6.20 released!
The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 13.1, 12.5, 11.10, 10.15 and 9.6.20.
This release closes three security vulnerabilities and fixes over 65 bugs
reported over the last three months.

Due to the nature of CVE-2020-25695, we advise you to update as soon as possible.

Additionally, this is the second-to-last release of PostgreSQL 9.5. If you are
running PostgreSQL 9.5 in a production environment, we suggest that you make
plans to upgrade.

For the full list of changes, please review the release notes.

Security:	CVE-2020-25695: Multiple features escape "security restricted
				operation" sandbox

Security:	CVE-2020-25694: Reconnection can downgrade connection security
				settings

Security:	CVE-2020-25696: psql's \gset allows overwriting specially
				treated variables
2020-11-12 15:00:39 +00:00
Jan Beich
6d5d6429d5 devel/icu: update to 68.1
Changes:	http://site.icu-project.org/download/68
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
2020-11-03 00:56:26 +00:00
Palle Girgensohn
64cf932dfa Fix options breakage from r551702.
Make LLVM option work again on everything but powerpc64.

PR:		250346
Submitted by:	Christian Ullrich
2020-10-14 21:18:56 +00:00
Palle Girgensohn
38b56a627f Fix PLIST when building with local timezone data
PR:		250241
Submitted by:	O. Hartmann
2020-10-13 09:57:36 +00:00
Piotr Kubaj
6200fdde5c databases/postgresql13-server: make LLVM option unselectable
This will still keep this port and its slaves buildable on the package builder on powerpc64, and I doubt anyone uses it on mips*.

Reported by:	kib@, adamw@
2020-10-08 12:13:10 +00:00
Piotr Kubaj
051046aec9 databases/postgresql13-server: fix build on clang architectures
Move LLVM option configuration after including bsd.port.options.mk.

Reported by:	kib@
2020-10-07 20:53:25 +00:00
Piotr Kubaj
8f388d8002 databases/postgresql13-server: fix build on GCC architectures
Add the previously removed disabling of LLVM when it's not in base.
2020-10-07 13:06:19 +00:00
Palle Girgensohn
f9a1d6bac4 Try to fix build on recent FreeBSD versions where clang version > llvm default
ports version. Fix this by depending on a higher version of llvm if such a
version exixts, and otherwise use a clang version compatible with the latest
llvm.

Using llvm was previously dependant on clang being used, and this did not quite
work for all cases due to some weird order of variables in the Makefile. The
result was that the option set by the used was not really honored. The
portrevision is bumped to reflect that the setting of LLVM might not have
worked before this portrevison.

PR:	244403
2020-09-30 20:52:17 +00:00
Palle Girgensohn
c466515eed Fix building with LLVM
Fix a plist issue [1].

Make sure the LLVM options are correctly handled. Setting the OPTIONS_DEFAULT
conditionally based on wheather the default compiler is cland doesn't work
properly, it is always set even if you deselect it. Just setting it per default
seems to work better.

Attempt a fix for building on FreeBSD-13.0 where clang is newer than the
default LLVM. First attempt is to use an lower version clang to match what LLVM
has as default. [2]

PR:	244403 [2], 249933 [2], 249875 [1]
2020-09-27 20:17:57 +00:00
Palle Girgensohn
a117c64b30 Fix datadir 12->13
Submitted by:	Raivo Hool
2020-09-25 16:23:44 +00:00
Palle Girgensohn
aa1ed0e82c Welcome PostgreSQL 13
Release notes:	https://www.postgresql.org/about/news/2077/
2020-09-24 13:33:10 +00:00