* [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1
@ 2023-01-24 5:47 Maxim Kochetkov via buildroot
2023-01-24 5:47 ` [Buildroot] [PATCH 2/3] DEVELOPERS: add myself to postgresql package Maxim Kochetkov
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Maxim Kochetkov via buildroot @ 2023-01-24 5:47 UTC (permalink / raw)
To: buildroot; +Cc: Maxim Kochetkov
Release notes: https://www.postgresql.org/docs/release/15.1/
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
package/postgresql/postgresql.hash | 4 ++--
package/postgresql/postgresql.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/postgresql/postgresql.hash b/package/postgresql/postgresql.hash
index 26bb626943..ef2806c2dd 100644
--- a/package/postgresql/postgresql.hash
+++ b/package/postgresql/postgresql.hash
@@ -1,4 +1,4 @@
-# From https://ftp.postgresql.org/pub/source/v14.6/postgresql-14.6.tar.bz2.sha256
-sha256 508840fc1809d39ab72274d5f137dabb9fd7fb4f933da4168aeebb20069edf22 postgresql-14.6.tar.bz2
+# From https://ftp.postgresql.org/pub/source/v14.6/postgresql-15.1.tar.bz2.sha256
+sha256 64fdf23d734afad0dfe4077daca96ac51dcd697e68ae2d3d4ca6c45cb14e21ae postgresql-15.1.tar.bz2
# License file, Locally calculated
sha256 f6d6616acdb598742e2a7c64fa0551c1c72c309d279fd2d90370e5fdd41c8945 COPYRIGHT
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 502860bc99..5313e03b12 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -4,7 +4,7 @@
#
################################################################################
-POSTGRESQL_VERSION = 14.6
+POSTGRESQL_VERSION = 15.1
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
POSTGRESQL_SITE = https://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
POSTGRESQL_LICENSE = PostgreSQL
--
2.38.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH 2/3] DEVELOPERS: add myself to postgresql package
2023-01-24 5:47 [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Maxim Kochetkov via buildroot
@ 2023-01-24 5:47 ` Maxim Kochetkov
2023-01-28 20:03 ` Thomas Petazzoni via buildroot
2023-01-24 5:47 ` [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support Maxim Kochetkov
2023-01-28 20:03 ` [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Thomas Petazzoni via buildroot
2 siblings, 1 reply; 6+ messages in thread
From: Maxim Kochetkov @ 2023-01-24 5:47 UTC (permalink / raw)
To: buildroot; +Cc: Maxim Kochetkov
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
DEVELOPERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index e8e0dffcd3..db52288707 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2084,6 +2084,7 @@ F: package/libgeos/
F: package/libosmium/
F: package/osm2pgsql/
F: package/postgis/
+F: package/postgresql/
F: package/protozero/
F: package/timescaledb/
--
2.38.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support
2023-01-24 5:47 [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Maxim Kochetkov via buildroot
2023-01-24 5:47 ` [Buildroot] [PATCH 2/3] DEVELOPERS: add myself to postgresql package Maxim Kochetkov
@ 2023-01-24 5:47 ` Maxim Kochetkov
2023-01-28 20:04 ` Thomas Petazzoni via buildroot
2023-01-28 20:03 ` [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Thomas Petazzoni via buildroot
2 siblings, 1 reply; 6+ messages in thread
From: Maxim Kochetkov @ 2023-01-24 5:47 UTC (permalink / raw)
To: buildroot; +Cc: Maxim Kochetkov
PostgreSQL has optional compression support (LZ4 and Zstandard).
So enable it if libraries are available.
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
package/postgresql/postgresql.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 5313e03b12..1f787231f8 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -58,6 +58,16 @@ else
POSTGRESQL_CONF_OPTS += --without-zlib
endif
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+POSTGRESQL_DEPENDENCIES += zstd
+POSTGRESQL_CONF_OPTS += --with-zstd
+endif
+
+ifeq ($(BR2_PACKAGE_LZ4),y)
+POSTGRESQL_DEPENDENCIES += lz4
+POSTGRESQL_CONF_OPTS += --with-lz4
+endif
+
ifeq ($(BR2_PACKAGE_TZDATA),y)
POSTGRESQL_DEPENDENCIES += tzdata
POSTGRESQL_CONF_OPTS += --with-system-tzdata=/usr/share/zoneinfo
--
2.38.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support
2023-01-24 5:47 ` [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support Maxim Kochetkov
@ 2023-01-28 20:04 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-01-28 20:04 UTC (permalink / raw)
To: Maxim Kochetkov; +Cc: buildroot
On Tue, 24 Jan 2023 08:47:48 +0300
Maxim Kochetkov <fido_max@inbox.ru> wrote:
> PostgreSQL has optional compression support (LZ4 and Zstandard).
> So enable it if libraries are available.
>
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---
> package/postgresql/postgresql.mk | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
> index 5313e03b12..1f787231f8 100644
> --- a/package/postgresql/postgresql.mk
> +++ b/package/postgresql/postgresql.mk
> @@ -58,6 +58,16 @@ else
> POSTGRESQL_CONF_OPTS += --without-zlib
> endif
>
> +ifeq ($(BR2_PACKAGE_ZSTD),y)
> +POSTGRESQL_DEPENDENCIES += zstd
> +POSTGRESQL_CONF_OPTS += --with-zstd
Could add an explicit else clause here to pass --without-zstd ?
> +endif
> +
> +ifeq ($(BR2_PACKAGE_LZ4),y)
> +POSTGRESQL_DEPENDENCIES += lz4
> +POSTGRESQL_CONF_OPTS += --with-lz4
Same here ?
Thanks a lot!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1
2023-01-24 5:47 [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Maxim Kochetkov via buildroot
2023-01-24 5:47 ` [Buildroot] [PATCH 2/3] DEVELOPERS: add myself to postgresql package Maxim Kochetkov
2023-01-24 5:47 ` [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support Maxim Kochetkov
@ 2023-01-28 20:03 ` Thomas Petazzoni via buildroot
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-01-28 20:03 UTC (permalink / raw)
To: Maxim Kochetkov via buildroot; +Cc: Maxim Kochetkov
On Tue, 24 Jan 2023 08:47:46 +0300
Maxim Kochetkov via buildroot <buildroot@buildroot.org> wrote:
> Release notes: https://www.postgresql.org/docs/release/15.1/
>
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---
> package/postgresql/postgresql.hash | 4 ++--
> package/postgresql/postgresql.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-01-28 20:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-24 5:47 [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Maxim Kochetkov via buildroot
2023-01-24 5:47 ` [Buildroot] [PATCH 2/3] DEVELOPERS: add myself to postgresql package Maxim Kochetkov
2023-01-28 20:03 ` Thomas Petazzoni via buildroot
2023-01-24 5:47 ` [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support Maxim Kochetkov
2023-01-28 20:04 ` Thomas Petazzoni via buildroot
2023-01-28 20:03 ` [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox