Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Golle
eb5daaee24 postgresql: update to version 14.6
This release contains a variety of fixes from 14.5.

See https://www.postgresql.org/docs/release/14.6/ for details.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-23 13:55:31 +08:00
Daniel Golle
629ba13e76 postgresql: update to version 14.5
Release date: 2022-08-11
Adresses CVE-2022-2625.
For more details, please see the release notes[1].

[1]: https://www.postgresql.org/docs/release/14.5/
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:09 +08:00
Daniel Golle
4e4d33b05d postgresql: update to 14.2
Minor release with a large number of fixes and small changes.
See release notes[1] for details.

[1]: https://www.postgresql.org/docs/release/14.2/
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:09 +08:00
Daniel Golle
9e2311b941 postgresql: update to version 14.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:09 +08:00
Daniel Golle
5d34caac90 postgresql: update to version 14.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:08 +08:00
Daniel Golle
11ce7cab7d postgresql: update to version 13.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:08 +08:00
Daniel Golle
7c37753174 postgresql: improve init script
Use newly introduced procd_add_restart_mount_trigger to make sure
postmaster gets started only once PGDATA becomes available.
Relocate socket directory to /var/lib/postgresql to make it possible
to run postgresql inside a ujail.
Use signal for shutdown, so it works nicely with jail.
Allow multiple script in UCI 'config postgres-db' to be a list and
run them in order listed.
User more silent methods to check for db or role existence and make
it easy to create several databases owned by the same user by passing
the same credentials multiple times.
Remove disfunctional reload handler.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:08 +08:00
Daniel Golle
94e7da7704 postgresql: update to version 13.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:59:08 +08:00
Sebastian Kemper
f9ded54fe7 postgresql: prevent addition of ARM target flag
configure.in checks for "ARMv8 CRC32C intrinsics" and goes as far as
adding "-march=armv8-a+crc" to the target flags if the compiler allows
it. This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:

  cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch

This commit prevents configure.in from adding the mentioned flag. The
addition is unwanted when cross-compiling.

An issue was raised for this recently, see [1].

[1] https://github.com/openwrt/packages/issues/16034

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 14:59:07 +08:00
lean
49b7495639 packages: merge upstream 2021-06-15 17:47:11 +08:00
coolsnowwolf
c36ad692b4 packages: sync to new packages 2020-07-08 14:18:52 +08:00
coolsnowwolf
d17588da1a first commit 2018-10-18 16:56:47 +08:00