Commit graph

18 commits

Author SHA1 Message Date
Daniel Golle
bb300f0635 postgresql: update to version 15.1
https://www.postgresql.org/docs/release/15.0/
https://www.postgresql.org/docs/release/15.1/

A dump/restore using pg_dumpall or use of pg_upgrade or logical
replication is required for those wishing to migrate data from any
previous release.

Do not backport to release branch which should remain on version 14.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-01-14 01:47:56 +00:00
Daniel Golle
db78ead572 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-20 01:45:18 +00:00
Daniel Golle
ead096d6dd
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-09-07 22:56:35 +01:00
Daniel Golle
e88747ef90 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-03-18 23:47:14 +00:00
Daniel Golle
30dabb07ae
postgresql: update to version 14.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:37 +01:00
Sebastian Kemper
9ba7d16a1e 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>
2021-07-07 01:12:53 +01:00
Daniel Golle
e5fc9bedcc
postgresql: update to version 13.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-09-27 22:51:59 +01:00
Daniel Golle
98b09ec89e
postgresql: update to version 12.4
Fixes CVE-2020-14349 and CVE-2020-14350.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-30 18:54:48 +01:00
Sebastian Kemper
00882ebb36 postgresql: fix pkg-config file
Currently the pc file has includedir hard coded to "/usr/include" and
libdir to "/usr/lib". This commit changes this so they can be controlled
via the "prefix" variable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-03-05 22:41:21 +01:00
Daniel Danzberger
d9bd0c19e4 postgresql: Update to version 11.3
Version 11.3 is the current stable relase.

Changes between 9.3 and 11.3:
- pg_receivexlog, pg_resetxlog and pg_xlogdump have been replaced with pg_resetwal
- ZIC config variable must be set when cross compiling
- disable systemd support
- ecpg is no longer needed for building
- MAKELEVEL must be set to 0 when called from another makefile
- Setting AC_CONFIG_AUX_DIR([config]) is no longer requried
- Decrease build time by removing unnecessary configure checks

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2019-06-18 20:00:57 +02:00
Daniel Golle
04e71645c7 postgresql: update to version 9.6.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-01 18:13:23 +02:00
Daniel Golle
d0c3f8b967 postgresql: properly handle pg_config host build
pg_config needs to be build for each target which creates some
extra complications...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-23 20:58:34 +02:00
Daniel Golle
2135991f51 postgresql: fix build and improve packaging
* make sure contrib stuff gets built and installed
* refresh patches and improve Makefile while at it

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 20:49:40 +02:00
Daniel Golle
c14f2ac6da postgresql: move some binaries to pgsql-cli-extra
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-28 14:45:27 +02:00
Daniel Golle
63120640e6 postgresql: update to version 9.5.4 and major rework
* convert package build to use host-build for ecpg, pg_config and zic
 * introduce /lib/functions/postgresql.sh to be used by packages
   requiring a postgres database to exist as well as postgres' init
 * no longer require shadow-su, patch pg_ctl to setuid() ifself instead
 * auto-create database directory if there is enough free space
 * auto-create databases configured in UCI
 * remove some dead uci config options
 * grab maintainership

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-23 20:03:05 +02:00
Daniel Golle
b0f8e994f3 postgresql: update source to 9.5.1 and refresh patches
Setting the additional include path for host-build of ecpg is no
longer required and started breaking the build (PostgeSQL BUG-14033),
remove it.
Also, pgsql-server no longer requires shadow-su since procd can take
care of starting it running under the appropriate user.
Moving the dependency to pgsql-cli makes sense as the 'su' command is
still needed to boot-strap a new data directory and also commonly used
for other administration tasks. However, in that way the CLI and
shadow-su can be removed during production once pgsql-server has been
setup.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-03-21 23:04:28 +01:00
Dirk Neukirchen
6ae54e4075 postgresql: update to 9.4.1
- supports arm64/aarch64

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-08-12 17:30:20 +02:00
Jo-Philipp Wich
022ce86177 postgresql: import from oldpackages, add myself as maintainer, add license information, update to v9.0.17
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-02 12:42:33 +02:00