Update buildroot to 2020.02.7 (#923)
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
committed by
Stefan Agner
parent
f9c29ef209
commit
e43d4cd632
@@ -11,12 +11,18 @@ case "$1" in
|
||||
--includedir)
|
||||
echo "$prefix/include"
|
||||
;;
|
||||
--includedir-server)
|
||||
echo "$prefix/include/postgresql/server"
|
||||
;;
|
||||
--libdir)
|
||||
echo "$prefix/lib"
|
||||
;;
|
||||
--version)
|
||||
echo "PostgreSQL @POSTGRESQL_VERSION@"
|
||||
;;
|
||||
--configure)
|
||||
echo "@POSTGRESQL_CONF_OPTIONS@"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {--includedir|--libdir|--version}"
|
||||
echo "Usage: $0 {--includedir|--includedir-server|--libdir|--version|--configure}"
|
||||
esac
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From https://ftp.postgresql.org/pub/source/v12.2/postgresql-12.2.tar.bz2.md5
|
||||
md5 a88ceea8ecf2741307f663e4539b58b7 postgresql-12.2.tar.bz2
|
||||
# From https://ftp.postgresql.org/pub/source/v12.2/postgresql-12.2.tar.bz2.sha256
|
||||
sha256 ad1dcc4c4fc500786b745635a9e1eba950195ce20b8913f50345bb7d5369b5de postgresql-12.2.tar.bz2
|
||||
# From https://ftp.postgresql.org/pub/source/v12.4/postgresql-12.4.tar.bz2.md5
|
||||
md5 80ebbf0e55193b123760e5f8e48c6cff postgresql-12.4.tar.bz2
|
||||
# From https://ftp.postgresql.org/pub/source/v12.4/postgresql-12.4.tar.bz2.sha256
|
||||
sha256 bee93fbe2c32f59419cb162bcc0145c58da9a8644ee154a30b9a5ce47de606cc postgresql-12.4.tar.bz2
|
||||
|
||||
# License file, Locally calculated
|
||||
sha256 739e5d454d81d31a482469338b7c856f1f5c6b4cdda1551cea6f0f6d18eef62c COPYRIGHT
|
||||
sha256 739e5d454d81d31a482469338b7c856f1f5c6b4cdda1551cea6f0f6d18eef62c COPYRIGHT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
POSTGRESQL_VERSION = 12.2
|
||||
POSTGRESQL_VERSION = 12.4
|
||||
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
|
||||
POSTGRESQL_SITE = https://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
|
||||
POSTGRESQL_LICENSE = PostgreSQL
|
||||
@@ -115,6 +115,7 @@ POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP
|
||||
define POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG
|
||||
$(INSTALL) -m 0755 -D package/postgresql/pg_config \
|
||||
$(STAGING_DIR)/usr/bin/pg_config
|
||||
$(SED) "s|@POSTGRESQL_CONF_OPTIONS@|$(POSTGRESQL_CONF_OPTS)|g" $(STAGING_DIR)/usr/bin/pg_config
|
||||
$(SED) "s|@POSTGRESQL_VERSION@|$(POSTGRESQL_VERSION)|g" $(STAGING_DIR)/usr/bin/pg_config
|
||||
endef
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ Group=postgres
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=postgres
|
||||
PIDFile=/var/lib/pgsql/postmaster.pid
|
||||
|
||||
ExecStartPre=/bin/sh -c "if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql; fi"
|
||||
ExecStart=/usr/bin/postgres -D /var/lib/pgsql
|
||||
|
||||
Reference in New Issue
Block a user