Skip to contentSkip to conversation

*** Upgrade 7 recipes ***

PATCH New [email protected] 1 participant 8 messages Nov 27, 2018

lore
Share & tools
lore
#0 lore raw

cover *** Upgrade 7 recipes ***

From: Changqing Li <[email protected]>

*** BLURB HERE ***

Changqing Li (7):
sg3-utils: upgrade to 1.44
satyr: upgrade to 0.27
multipath-tools: upgrade to 0.7.9
pangomm: upgrade to 2.42.0
libblockdev: upgrade to 2.20
postgresql: upgrade to 11.1
phoronix-test-suite: upgrade to 8.2.0

 ...suite_8.0.1.bb => phoronix-test-suite_8.2.0.bb} |    4 +-
 ...py-of-the-timezone-library-with-IANA-rele.patch | 1164 ----
 ...e-zone-data-files-to-tzdata-release-2018f.patch | 6452 --------------------
 .../postgresql/files/not-check-libperl.patch       |   25 +-
 meta-oe/recipes-dbs/postgresql/postgresql_10.5.bb  |   12 -
 meta-oe/recipes-dbs/postgresql/postgresql_11.1.bb  |   10 +
 .../{libblockdev_2.18.bb => libblockdev_2.20.bb}   |    2 +-
 .../pango/{pangomm_2.40.1.bb => pangomm_2.42.0.bb} |    4 +-
 ...ools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch |   42 -
 ...ools-remove-c-from-__cpluscplus-misspelle.patch |   33 -
 ...ools-remove-emacs-autoconfig-of-kpartx-gp.patch |   43 -
 ...ools-replace-FSF-address-with-a-www-point.patch |  191 -
 ...ools-Remove-trailing-leading-whitespaces-.patch |  156 -
 ...path-tools-fix-compilation-with-musl-libc.patch |   58 -
 ...ools-add-x-to-doc-preclean.pl-and-split-m.patch |   27 -
 ...ools-refresh-kernel-doc-from-kernel-sourc.patch |  784 ---
 ...ools-configure-hitachi-ams2000-and-hus100.patch |   56 -
 ...ath-don-t-reject-maps-with-undefined-prio.patch |   42 -
 ...ltipathd-handle-errors-in-uxlsnr-as-fatal.patch |   57 -
 ...h-fix-error-parsing-find_multipaths-stric.patch |   36 -
 ...h-print-correct-default-for-delay_-_check.patch |   40 -
 ...onf.5-clarify-property-whitelist-handling.patch |   31 -
 .../0015-mpathpersist-add-all_tg_pt-option.patch   |  317 -
 .../files/0016-libmultipath-remove-rbd-code.patch  | 1093 ----
 .../0017-mpathpersist-fix-aptpl-support.patch      |  543 --
 ...ath-don-t-check-timestamps-without-a-path.patch |   34 -
 ...-libmultipath-fix-detect-alua-corner-case.patch |   35 -
 .../0020-multipath-fix-setting-conf-version.patch  |   39 -
 ...-the-property-blacklist-exception-builtin.patch |   91 +-
 ...0023-RH-don-t-start-without-a-config-file.patch |   51 +-
 .../0024-RH-use-rpm-optflags-if-present.patch      |   53 +-
 .../files/0025-RH-add-mpathconf.patch              |   22 +-
 ...ds-from-kernel-cmdline-mpath.wwids-with-A.patch |  134 +-
 ...-warn-on-invalid-regex-instead-of-failing.patch |   76 +-
 ...reset-default-find_mutipaths-value-to-off.patch |   21 +-
 ...ools-modify-Makefile.inc-for-cross-compil.patch |   18 +-
 .../files/0030-Always-use-devmapper.patch          |   11 +-
 .../0031-Always-use-devmapper-for-kpartx.patch     |    9 +-
 ...ath-tools_0.7.7.bb => multipath-tools_0.7.9.bb} |   22 +-
 .../satyr/{satyr_0.26.bb => satyr_0.27.bb}         |    2 +-
 .../sg3-utils/sg3-utils/glibc-2.28.patch           |   24 -
 .../{sg3-utils_1.42.bb => sg3-utils_1.44.bb}       |    5 +-
 42 files changed, 296 insertions(+), 11573 deletions(-)
 rename meta-oe/recipes-benchmark/phoronix-test-suite/{phoronix-test-suite_8.0.1.bb => phoronix-test-suite_8.2.0.bb} (90%)
 delete mode 100644 meta-oe/recipes-dbs/postgresql/files/0001-Sync-our-copy-of-the-timezone-library-with-IANA-rele.patch
 delete mode 100644 meta-oe/recipes-dbs/postgresql/files/0001-Update-time-zone-data-files-to-tzdata-release-2018f.patch
 delete mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_10.5.bb
 create mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_11.1.bb
 rename meta-oe/recipes-extended/libblockdev/{libblockdev_2.18.bb => libblockdev_2.20.bb} (97%)
 rename meta-oe/recipes-graphics/pango/{pangomm_2.40.1.bb => pangomm_2.42.0.bb} (83%)
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-multipath-tools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0003-multipath-tools-remove-emacs-autoconfig-of-kpartx-gp.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0004-multipath-tools-replace-FSF-address-with-a-www-point.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0005-multipath-tools-Remove-trailing-leading-whitespaces-.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0006-multipath-tools-fix-compilation-with-musl-libc.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0007-multipath-tools-add-x-to-doc-preclean.pl-and-split-m.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0008-multipath-tools-refresh-kernel-doc-from-kernel-sourc.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0010-libmultipath-don-t-reject-maps-with-undefined-prio.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0011-multipathd-handle-errors-in-uxlsnr-as-fatal.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0012-libmultipath-fix-error-parsing-find_multipaths-stric.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0013-libmultipath-print-correct-default-for-delay_-_check.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0014-multipath.conf.5-clarify-property-whitelist-handling.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0015-mpathpersist-add-all_tg_pt-option.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0016-libmultipath-remove-rbd-code.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0017-mpathpersist-fix-aptpl-support.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0018-multipath-don-t-check-timestamps-without-a-path.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0019-libmultipath-fix-detect-alua-corner-case.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0020-multipath-fix-setting-conf-version.patch
 rename meta-oe/recipes-support/multipath-tools/{multipath-tools_0.7.7.bb => multipath-tools_0.7.9.bb} (72%)
 rename meta-oe/recipes-support/satyr/{satyr_0.26.bb => satyr_0.27.bb} (94%)
 delete mode 100644 meta-oe/recipes-support/sg3-utils/sg3-utils/glibc-2.28.patch
 rename meta-oe/recipes-support/sg3-utils/{sg3-utils_1.42.bb => sg3-utils_1.44.bb} (78%)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/7 sg3-utils: upgrade to 1.44

From: Changqing Li <[email protected]>

---
 .../sg3-utils/sg3-utils/glibc-2.28.patch           | 24 ----------------------
 .../{sg3-utils_1.42.bb => sg3-utils_1.44.bb}       |  5 ++---
 2 files changed, 2 insertions(+), 27 deletions(-)
 delete mode 100644 meta-oe/recipes-support/sg3-utils/sg3-utils/glibc-2.28.patch
 rename meta-oe/recipes-support/sg3-utils/{sg3-utils_1.42.bb => sg3-utils_1.44.bb} (78%)
meta-oe/recipes-support/sg3-utils/sg3-utils/glibc-2.28.patch deleted +0 -24
deleted file mode 100644
index fbad413..0000000
@@ -1,24 +0,0 @@
-Fixes:
-http://errors.yoctoproject.org/Errors/Details/185896/
-
-TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld: sg_map26.o: in function `nd_match_scandir_select':
-/usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:359: undefined reference to `major'
-TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld: /usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:361: undefined reference to `minor'
-TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld: sg_map26.o: in function `nt_typ_from_filename':
-/usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:218: undefined reference to `major'
-TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld: /usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:219: undefined reference to `minor'
-collect2: error: ld returned 1 exit status
-Makefile:806: recipe for target 'sg_map26' failed
-
-Upstream-Status: Pending
-
---- sg3_utils-1.42.orig/src/sg_map26.c	2018-08-09 11:53:26.907493996 +0000
-+++ sg3_utils-1.42/src/sg_map26.c	2018-08-09 11:51:56.713490763 +0000
-@@ -33,6 +33,7 @@
- #include <sys/ioctl.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <linux/major.h>
- 
- #ifdef HAVE_CONFIG_H
meta-oe/recipes-support/sg3-utils/sg3-utils_1.44.bb renamed from meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb +2 -3
similarity index 78%
rename from meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb
rename to meta-oe/recipes-support/sg3-utils/sg3-utils_1.44.bb
index c37c5e9..4909035 100644
@@ -9,14 +9,13 @@ LICENSE = "GPLv2+ & BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f90da7fc52172599dbf082d7620f18ca"
 
 SRC_URI = "http://sg.danny.cz/sg/p/sg3_utils-${PV}.tgz \
-    file://glibc-2.28.patch \
 "
 MIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc"
 
 UPSTREAM_CHECK_REGEX = "sg3_utils-(?P<pver>\d+(\.\d+)+)\.tgz"
 
-SRC_URI[md5sum] = "28080de5bf2222f8b55a29093bec8aea"
-SRC_URI[sha256sum] = "1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3"
+SRC_URI[md5sum] = "c11d2b3ca4cc2fd01796473e5330afed"
+SRC_URI[sha256sum] = "8dae684d22e71b11353a48b16c95597af90f0cbe9bbd57f98d7f5544da5cae7b"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/7 satyr: upgrade to 0.27

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 meta-oe/recipes-support/satyr/{satyr_0.26.bb => satyr_0.27.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/satyr/{satyr_0.26.bb => satyr_0.27.bb} (94%)
meta-oe/recipes-support/satyr/satyr_0.27.bb renamed from meta-oe/recipes-support/satyr/satyr_0.26.bb +1 -1
similarity index 94%
rename from meta-oe/recipes-support/satyr/satyr_0.26.bb
rename to meta-oe/recipes-support/satyr/satyr_0.27.bb
index a09bea2..10dfc2b 100644
@@ -10,7 +10,7 @@ inherit autotools-brokensep python3native pkgconfig
 SRC_URI = "git://github.com/abrt/satyr.git \
            file://0002-fix-compile-failure-against-musl-C-library.patch \
 "
-SRCREV = "4baa0c765071054314d1e7e78547ce6b7c133fbc"
+SRCREV = "dff1b877d42bf2153f8f090905d9cc8fb333bf1e"
 S = "${WORKDIR}/git"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/7 multipath-tools: upgrade to 0.7.9

In reply to [email protected]

From: Changqing Li <[email protected]>

delete patch 0001-0020 since already merged to upstream update patch 0021-0031 to version 0.7.9

---
 ...ools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch |   42 -
 ...ools-remove-c-from-__cpluscplus-misspelle.patch |   33 -
 ...ools-remove-emacs-autoconfig-of-kpartx-gp.patch |   43 -
 ...ools-replace-FSF-address-with-a-www-point.patch |  191 ----
 ...ools-Remove-trailing-leading-whitespaces-.patch |  156 ---
 ...path-tools-fix-compilation-with-musl-libc.patch |   58 --
 ...ools-add-x-to-doc-preclean.pl-and-split-m.patch |   27 -
 ...ools-refresh-kernel-doc-from-kernel-sourc.patch |  784 --------------
 ...ools-configure-hitachi-ams2000-and-hus100.patch |   56 -
 ...ath-don-t-reject-maps-with-undefined-prio.patch |   42 -
 ...ltipathd-handle-errors-in-uxlsnr-as-fatal.patch |   57 -
 ...h-fix-error-parsing-find_multipaths-stric.patch |   36 -
 ...h-print-correct-default-for-delay_-_check.patch |   40 -
 ...onf.5-clarify-property-whitelist-handling.patch |   31 -
 .../0015-mpathpersist-add-all_tg_pt-option.patch   |  317 ------
 .../files/0016-libmultipath-remove-rbd-code.patch  | 1093 --------------------
 .../0017-mpathpersist-fix-aptpl-support.patch      |  543 ----------
 ...ath-don-t-check-timestamps-without-a-path.patch |   34 -
 ...-libmultipath-fix-detect-alua-corner-case.patch |   35 -
 .../0020-multipath-fix-setting-conf-version.patch  |   39 -
 ...-the-property-blacklist-exception-builtin.patch |   91 +-
 ...0023-RH-don-t-start-without-a-config-file.patch |   51 +-
 .../0024-RH-use-rpm-optflags-if-present.patch      |   53 +-
 .../files/0025-RH-add-mpathconf.patch              |   22 +-
 ...ds-from-kernel-cmdline-mpath.wwids-with-A.patch |  134 +--
 ...-warn-on-invalid-regex-instead-of-failing.patch |   76 +-
 ...reset-default-find_mutipaths-value-to-off.patch |   21 +-
 ...ools-modify-Makefile.inc-for-cross-compil.patch |   18 +-
 .../files/0030-Always-use-devmapper.patch          |   11 +-
 .../0031-Always-use-devmapper-for-kpartx.patch     |    9 +-
 ...ath-tools_0.7.7.bb => multipath-tools_0.7.9.bb} |   22 +-
 31 files changed, 261 insertions(+), 3904 deletions(-)
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-multipath-tools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0003-multipath-tools-remove-emacs-autoconfig-of-kpartx-gp.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0004-multipath-tools-replace-FSF-address-with-a-www-point.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0005-multipath-tools-Remove-trailing-leading-whitespaces-.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0006-multipath-tools-fix-compilation-with-musl-libc.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0007-multipath-tools-add-x-to-doc-preclean.pl-and-split-m.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0008-multipath-tools-refresh-kernel-doc-from-kernel-sourc.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0010-libmultipath-don-t-reject-maps-with-undefined-prio.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0011-multipathd-handle-errors-in-uxlsnr-as-fatal.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0012-libmultipath-fix-error-parsing-find_multipaths-stric.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0013-libmultipath-print-correct-default-for-delay_-_check.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0014-multipath.conf.5-clarify-property-whitelist-handling.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0015-mpathpersist-add-all_tg_pt-option.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0016-libmultipath-remove-rbd-code.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0017-mpathpersist-fix-aptpl-support.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0018-multipath-don-t-check-timestamps-without-a-path.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0019-libmultipath-fix-detect-alua-corner-case.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0020-multipath-fix-setting-conf-version.patch
 rename meta-oe/recipes-support/multipath-tools/{multipath-tools_0.7.7.bb => multipath-tools_0.7.9.bb} (72%)
meta-oe/recipes-support/multipath-tools/files/0001-multipath-tools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch deleted +0 -42
deleted file mode 100644
index 1d983e9..0000000
@@ -1,42 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Xose Vazquez Perez <[email protected]>
-Date: Wed, 11 Apr 2018 15:14:13 +0200
-Subject: [PATCH] multipath-tools: add RDAC SUN/ArrayStorage to hwtable
-
-Already in scsi_dh: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/scsi_dh.c#n70
-
-Cc: NetApp RDAC team <[email protected]>
-Cc: Christophe Varoqui <[email protected]>
-Cc: DM ML <[email protected]>
-Signed-off-by: Xose Vazquez Perez <[email protected]>
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libmultipath/hwtable.c | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
-index 88b4700..827e899 100644
---- a/libmultipath/hwtable.c
-+++ b/libmultipath/hwtable.c
-@@ -890,6 +890,18 @@ static struct hwentry default_hw[] = {
- 		.no_path_retry = 30,
- 	},
- 	{
-+		.vendor        = "SUN",
-+		.product       = "ArrayStorage",
-+		.bl_product    = "Universal Xport",
-+		.pgpolicy      = GROUP_BY_PRIO,
-+		.checker_name  = RDAC,
-+		.features      = "2 pg_init_retries 50",
-+		.hwhandler     = "1 rdac",
-+		.prio_name     = PRIO_RDAC,
-+		.pgfailback    = -FAILBACK_IMMEDIATE,
-+		.no_path_retry = 30,
-+	},
-+	{
- 		/* ZFS Storage Appliances */
- 		.vendor        = "SUN",
- 		.product       = "(Sun Storage|ZFS Storage|COMSTAR)",
--- 
-2.7.4
-
meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch deleted +0 -33
deleted file mode 100644
index 73f000a..0000000
@@ -1,33 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Xose Vazquez Perez <[email protected]>
-Date: Tue, 24 Apr 2018 15:03:40 +0200
-Subject: [PATCH] multipath-tools: remove "c" from __cpluscplus, misspelled
-
-found by cppcheck(http://cppcheck.sf.net/):
-[libmpathcmd/mpath_cmd.h:24]: (error) Invalid number of character '{' when these macros are defined: '__cpluscplus'.
-
-Cc: Benjamin Marzinski <[email protected]>
-Cc: Christophe Varoqui <[email protected]>
-Cc: DM ML <[email protected]>
-Signed-off-by: Xose Vazquez Perez <[email protected]>
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libmpathcmd/mpath_cmd.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h
-index aaa8da9..df9d938 100644
---- a/libmpathcmd/mpath_cmd.h
-+++ b/libmpathcmd/mpath_cmd.h
-@@ -20,7 +20,7 @@
- #ifndef LIB_MPATH_CMD_H
- #define LIB_MPATH_CMD_H
- 
--#ifdef __cpluscplus
-+#ifdef __cplusplus
- extern "C" {
- #endif
- 
--- 
-2.7.4
-
meta-oe/recipes-support/multipath-tools/files/0003-multipath-tools-remove-emacs-autoconfig-of-kpartx-gp.patch deleted +0 -43

43 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0004-multipath-tools-replace-FSF-address-with-a-www-point.patch deleted +0 -191

191 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0005-multipath-tools-Remove-trailing-leading-whitespaces-.patch deleted +0 -156

156 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0006-multipath-tools-fix-compilation-with-musl-libc.patch deleted +0 -58

58 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0007-multipath-tools-add-x-to-doc-preclean.pl-and-split-m.patch deleted +0 -27
deleted file mode 100644
index 9e608e1..0000000
@@ -1,27 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Xose Vazquez Perez <[email protected]>
-Date: Sun, 13 May 2018 00:39:41 +0200
-Subject: [PATCH] multipath-tools: add +x to doc-preclean.pl and split-man.pl
-
-It is not strictly necessary, but it helps identify bin files.
-
-Cc: Christophe Varoqui <[email protected]>
-Cc: DM ML <[email protected]>
-Signed-off-by: Xose Vazquez Perez <[email protected]>
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libdmmp/docs/doc-preclean.pl | 0
- libdmmp/docs/split-man.pl    | 0
- 2 files changed, 0 insertions(+), 0 deletions(-)
- mode change 100644 => 100755 libdmmp/docs/doc-preclean.pl
- mode change 100644 => 100755 libdmmp/docs/split-man.pl
-
-diff --git a/libdmmp/docs/doc-preclean.pl b/libdmmp/docs/doc-preclean.pl
-old mode 100644
-new mode 100755
-diff --git a/libdmmp/docs/split-man.pl b/libdmmp/docs/split-man.pl
-old mode 100644
-new mode 100755
--- 
-2.7.4
-
meta-oe/recipes-support/multipath-tools/files/0008-multipath-tools-refresh-kernel-doc-from-kernel-sourc.patch deleted +0 -784

784 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch deleted +0 -56

56 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0010-libmultipath-don-t-reject-maps-with-undefined-prio.patch deleted +0 -42

42 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0011-multipathd-handle-errors-in-uxlsnr-as-fatal.patch deleted +0 -57

57 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0012-libmultipath-fix-error-parsing-find_multipaths-stric.patch deleted +0 -36
deleted file mode 100644
index 8ce2431..0000000
@@ -1,36 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Martin Wilck <[email protected]>
-Date: Tue, 15 May 2018 14:32:44 +0200
-Subject: [PATCH] libmultipath: fix error parsing "find_multipaths strict"
-
-If "find_multipaths strict" is set in multipath.conf, the error message
-"illegal value for find_multipaths: strict" is printed. This causes no
-functional problem, as "strict" happens to be the default, fallback
-value. It should be fixed nonetheless. FIND_MULTIPATHS_STRICT, having
-the highest numeric value, must be last in the enum.
-
-Fixes: c36f2f42 "libmultipath: change find_multipaths option to multi-value"
-Signed-off-by: Martin Wilck <[email protected]>
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libmultipath/structs.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libmultipath/structs.h b/libmultipath/structs.h
-index eb6a178..e424b15 100644
---- a/libmultipath/structs.h
-+++ b/libmultipath/structs.h
-@@ -122,9 +122,9 @@ enum find_multipaths_states {
- 	FIND_MULTIPATHS_UNDEF = YNU_UNDEF,
- 	FIND_MULTIPATHS_OFF = YNU_NO,
- 	FIND_MULTIPATHS_ON = _FIND_MULTIPATHS_F,
--	FIND_MULTIPATHS_STRICT = _FIND_MULTIPATHS_F|_FIND_MULTIPATHS_N,
- 	FIND_MULTIPATHS_GREEDY = _FIND_MULTIPATHS_I,
- 	FIND_MULTIPATHS_SMART = _FIND_MULTIPATHS_F|_FIND_MULTIPATHS_I,
-+	FIND_MULTIPATHS_STRICT = _FIND_MULTIPATHS_F|_FIND_MULTIPATHS_N,
- 	__FIND_MULTIPATHS_LAST,
- };
- 
--- 
-2.7.4
-
meta-oe/recipes-support/multipath-tools/files/0013-libmultipath-print-correct-default-for-delay_-_check.patch deleted +0 -40
deleted file mode 100644
index c767804..0000000
@@ -1,40 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Benjamin Marzinski <[email protected]>
-Date: Mon, 7 May 2018 17:16:05 -0500
-Subject: [PATCH] libmultipath: print correct default for delay_*_checks
-
-These options default to "no", so they should display that when the
-config is printed.
-
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libmultipath/dict.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/libmultipath/dict.c b/libmultipath/dict.c
-index 4040611..3e7c5d6 100644
---- a/libmultipath/dict.c
-+++ b/libmultipath/dict.c
-@@ -1115,7 +1115,8 @@ print_off_int_undef(char * buff, int len, long v)
- }
- 
- declare_def_handler(delay_watch_checks, set_off_int_undef)
--declare_def_snprint(delay_watch_checks, print_off_int_undef)
-+declare_def_snprint_defint(delay_watch_checks, print_off_int_undef,
-+			   DEFAULT_DELAY_CHECKS)
- declare_ovr_handler(delay_watch_checks, set_off_int_undef)
- declare_ovr_snprint(delay_watch_checks, print_off_int_undef)
- declare_hw_handler(delay_watch_checks, set_off_int_undef)
-@@ -1123,7 +1124,8 @@ declare_hw_snprint(delay_watch_checks, print_off_int_undef)
- declare_mp_handler(delay_watch_checks, set_off_int_undef)
- declare_mp_snprint(delay_watch_checks, print_off_int_undef)
- declare_def_handler(delay_wait_checks, set_off_int_undef)
--declare_def_snprint(delay_wait_checks, print_off_int_undef)
-+declare_def_snprint_defint(delay_wait_checks, print_off_int_undef,
-+			   DEFAULT_DELAY_CHECKS)
- declare_ovr_handler(delay_wait_checks, set_off_int_undef)
- declare_ovr_snprint(delay_wait_checks, print_off_int_undef)
- declare_hw_handler(delay_wait_checks, set_off_int_undef)
--- 
-2.7.4
-
meta-oe/recipes-support/multipath-tools/files/0014-multipath.conf.5-clarify-property-whitelist-handling.patch deleted +0 -31
deleted file mode 100644
index 0ab4e06..0000000
@@ -1,31 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Benjamin Marzinski <[email protected]>
-Date: Wed, 9 May 2018 14:32:59 -0500
-Subject: [PATCH] multipath.conf.5: clarify property whitelist handling
-
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- multipath/multipath.conf.5 | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
-index f689795..96d1b66 100644
---- a/multipath/multipath.conf.5
-+++ b/multipath/multipath.conf.5
-@@ -1181,10 +1181,9 @@ and
- keywords. For a full description of these keywords please see the \fIdevices\fR
- section description.
- .LP
--The \fIproperty\fR blacklist and whitelist handling is different from the usual
--handling in the sense that the whitelist \fIhas\fR to be set, otherwise the
--device will be blacklisted. In these cases the message \fIblacklisted, udev
--property missing\fR will be displayed.
-+The \fIproperty\fR whitelist handling is different from the usual
-+handling in the sense that the device \fIhas\fR to have a udev property that
-+matches the whitelist, otherwise the device will be blacklisted. In these cases the message \fIblacklisted, udev property missing\fR will be displayed.
- .
- .
- .\" ----------------------------------------------------------------------------
--- 
-2.7.4
-
meta-oe/recipes-support/multipath-tools/files/0015-mpathpersist-add-all_tg_pt-option.patch deleted +0 -317

317 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0016-libmultipath-remove-rbd-code.patch deleted +0 -1093

1,087 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0017-mpathpersist-fix-aptpl-support.patch deleted +0 -543

543 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0018-multipath-don-t-check-timestamps-without-a-path.patch deleted +0 -34
deleted file mode 100644
index 5a3fd83..0000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0019-libmultipath-fix-detect-alua-corner-case.patch deleted +0 -35
deleted file mode 100644
index 23908fa..0000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0020-multipath-fix-setting-conf-version.patch deleted +0 -39
deleted file mode 100644
index 624f45e..0000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0022-RH-Remove-the-property-blacklist-exception-builtin.patch +32 -59

91 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0023-RH-don-t-start-without-a-config-file.patch +31 -20

51 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0024-RH-use-rpm-optflags-if-present.patch +31 -22

53 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0025-RH-add-mpathconf.patch +15 -7
index 5cad22b..a140771 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch +67 -67

134 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0027-RH-warn-on-invalid-regex-instead-of-failing.patch +44 -32

76 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0028-RH-reset-default-find_mutipaths-value-to-off.patch +15 -6
index 05e6864..ad03b8a 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch +12 -6
index 45cd32a..4fa7960 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch +7 -4
index 1281180..3e88b41 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch +6 -3
index 88a758d..418c020 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.9.bb renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb +1 -21
similarity index 72%
rename from meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb
rename to meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.9.bb
index 5cc1546..9cf104e 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.7.4

Part of the diff is not shown here. View the raw message.

#4 lore raw

PATCH 4/7 pangomm: upgrade to 2.42.0

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../recipes-graphics/pango/{pangomm_2.40.1.bb => pangomm_2.42.0.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-graphics/pango/{pangomm_2.40.1.bb => pangomm_2.42.0.bb} (83%)
meta-oe/recipes-graphics/pango/pangomm_2.42.0.bb renamed from meta-oe/recipes-graphics/pango/pangomm_2.40.1.bb +2 -2
similarity index 83%
rename from meta-oe/recipes-graphics/pango/pangomm_2.40.1.bb
rename to meta-oe/recipes-graphics/pango/pangomm_2.42.0.bb
index e0f72cd..8a85db4 100644
@@ -9,8 +9,8 @@ DEPENDS = "mm-common cairomm glibmm pango"
 SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/pangomm/${SHRT_VER}/pangomm-${PV}.tar.xz"
-SRC_URI[md5sum] = "874eadd9434613dbacf0272c82c3ac23"
-SRC_URI[sha256sum] = "9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af"
+SRC_URI[md5sum] = "6cffedf2225c4e72645a7d757fb5b832"
+SRC_URI[sha256sum] = "ca6da067ff93a6445780c0b4b226eb84f484ab104b8391fb744a45cbc7edbf56"
 
 inherit distro_features_check autotools pkgconfig
 
Signature · 1 line
2.7.4
#5 lore raw

PATCH 5/7 libblockdev: upgrade to 2.20

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../libblockdev/{libblockdev_2.18.bb => libblockdev_2.20.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/libblockdev/{libblockdev_2.18.bb => libblockdev_2.20.bb} (97%)
meta-oe/recipes-extended/libblockdev/libblockdev_2.20.bb renamed from meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb +1 -1
similarity index 97%
rename from meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb
rename to meta-oe/recipes-extended/libblockdev/libblockdev_2.20.bb
index 35f0cc0..2169c62 100644
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
 
 inherit autotools python3native gobject-introspection
 
-SRCREV = "0debeb45562ac3d8f6f43f6f942b238abab55be9"
+SRCREV = "cb308566c3c5222b8422f78997a1742713b265a9"
 SRC_URI = " \
     git://github.com/rhinstaller/libblockdev;branch=master \
 "
Signature · 1 line
2.7.4
#6 lore raw

PATCH 6/7 postgresql: upgrade to 11.1

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 ...py-of-the-timezone-library-with-IANA-rele.patch | 1164 ----
 ...e-zone-data-files-to-tzdata-release-2018f.patch | 6452 --------------------
 .../postgresql/files/not-check-libperl.patch       |   25 +-
 meta-oe/recipes-dbs/postgresql/postgresql_10.5.bb  |   12 -
 meta-oe/recipes-dbs/postgresql/postgresql_11.1.bb  |   10 +
 5 files changed, 27 insertions(+), 7636 deletions(-)
 delete mode 100644 meta-oe/recipes-dbs/postgresql/files/0001-Sync-our-copy-of-the-timezone-library-with-IANA-rele.patch
 delete mode 100644 meta-oe/recipes-dbs/postgresql/files/0001-Update-time-zone-data-files-to-tzdata-release-2018f.patch
 delete mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_10.5.bb
 create mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_11.1.bb
meta-oe/recipes-dbs/postgresql/files/0001-Sync-our-copy-of-the-timezone-library-with-IANA-rele.patch deleted +0 -1164
deleted file mode 100644
index 6d8c46e..0000000
@@ -1,1164 +0,0 @@
-From 12bfb778ce688fc662a6cb35f6298734fcf4856f Mon Sep 17 00:00:00 2001
-From: Tom Lane <[email protected]>
-Date: Fri, 19 Oct 2018 19:36:34 -0400
-Subject: [PATCH] Sync our copy of the timezone library with IANA release
- tzcode2018f.
-
-About half of this is purely cosmetic changes to reduce the diff between
-our code and theirs, like inserting "const" markers where they have them.
-
-The other half is tracking actual code changes in zic.c and localtime.c.
-I don't think any of these represent near-term compatibility hazards, but
-it seems best to stay up to date.
-
-I also fixed longstanding bugs in our code for producing the
-known_abbrevs.txt list, which by chance hadn't been exposed before,
-but which resulted in some garbage output after applying the upstream
-changes in zic.c.  Notably, because upstream removed their old phony
-transitions at the Big Bang, it's now necessary to cope with TZif files
-containing no DST transition times at all.
-
-Upstream-Status: Backport
-Signed-off-by: Armin Kuster <[email protected]>
-
----
- src/timezone/README      |   2 +-
- src/timezone/localtime.c | 126 ++++++++++++------
- src/timezone/pgtz.h      |  10 +-
- src/timezone/private.h   |   3 +
- src/timezone/strftime.c  |  10 +-
- src/timezone/tzfile.h    |   7 +-
- src/timezone/zic.c       | 330 ++++++++++++++++++++++++++---------------------
- 7 files changed, 291 insertions(+), 197 deletions(-)
-
-Index: postgresql-10.5/src/timezone/README
-===================================================================
---- postgresql-10.5.orig/src/timezone/README
-+++ postgresql-10.5/src/timezone/README
-@@ -55,7 +55,7 @@ match properly on the old version.
- Time Zone code
- ==============
- 
--The code in this directory is currently synced with tzcode release 2018e.
-+The code in this directory is currently synced with tzcode release 2018f.
- There are many cosmetic (and not so cosmetic) differences from the
- original tzcode library, but diffs in the upstream version should usually
- be propagated to our version.  Here are some notes about that.
-Index: postgresql-10.5/src/timezone/localtime.c
-===================================================================
---- postgresql-10.5.orig/src/timezone/localtime.c
-+++ postgresql-10.5/src/timezone/localtime.c
-@@ -1,3 +1,5 @@
-+/* Convert timestamp from pg_time_t to struct pg_tm.  */
-+
- /*
-  * This file is in the public domain, so clarified as of
-  * 1996-06-05 by Arthur David Olson.
-@@ -117,7 +119,7 @@ init_ttinfo(struct ttinfo *s, int32 gmto
- }
- 
- static int32
--detzcode(const char *codep)
-+detzcode(const char *const codep)
- {
- 	int32		result;
- 	int			i;
-@@ -143,7 +145,7 @@ detzcode(const char *codep)
- }
- 
- static int64
--detzcode64(const char *codep)
-+detzcode64(const char *const codep)
- {
- 	uint64		result;
- 	int			i;
-@@ -258,8 +260,13 @@ tzloadbody(char const *name, char *canon
- 		int32		charcnt = detzcode(up->tzhead.tzh_charcnt);
- 		char const *p = up->buf + tzheadsize;
- 
-+		/*
-+		 * Although tzfile(5) currently requires typecnt to be nonzero,
-+		 * support future formats that may allow zero typecnt in files that
-+		 * have a TZ string and no transitions.
-+		 */
- 		if (!(0 <= leapcnt && leapcnt < TZ_MAX_LEAPS
--			  && 0 < typecnt && typecnt < TZ_MAX_TYPES
-+			  && 0 <= typecnt && typecnt < TZ_MAX_TYPES
- 			  && 0 <= timecnt && timecnt < TZ_MAX_TIMES
- 			  && 0 <= charcnt && charcnt < TZ_MAX_CHARS
- 			  && (ttisstdcnt == typecnt || ttisstdcnt == 0)
-@@ -416,8 +423,7 @@ tzloadbody(char const *name, char *canon
- 		struct state *ts = &lsp->u.st;
- 
- 		up->buf[nread - 1] = '\0';
--		if (tzparse(&up->buf[1], ts, false)
--			&& ts->typecnt == 2)
-+		if (tzparse(&up->buf[1], ts, false))
- 		{
- 			/*
- 			 * Attempt to reuse existing abbreviations. Without this,
-@@ -430,7 +436,7 @@ tzloadbody(char const *name, char *canon
- 			int			gotabbr = 0;
- 			int			charcnt = sp->charcnt;
- 
--			for (i = 0; i < 2; i++)
-+			for (i = 0; i < ts->typecnt; i++)
- 			{
- 				char	   *tsabbr = ts->chars + ts->ttis[i].tt_abbrind;
- 				int			j;
-@@ -455,7 +461,7 @@ tzloadbody(char const *name, char *canon
- 					}
- 				}
- 			}
--			if (gotabbr == 2)
-+			if (gotabbr == ts->typecnt)
- 			{
- 				sp->charcnt = charcnt;
- 
-@@ -470,7 +476,8 @@ tzloadbody(char const *name, char *canon
- 					sp->timecnt--;
- 
- 				for (i = 0; i < ts->timecnt; i++)
--					if (sp->ats[sp->timecnt - 1] < ts->ats[i])
-+					if (sp->timecnt == 0
-+						|| sp->ats[sp->timecnt - 1] < ts->ats[i])
- 						break;
- 				while (i < ts->timecnt
- 					   && sp->timecnt < TZ_MAX_TIMES)
-@@ -481,11 +488,13 @@ tzloadbody(char const *name, char *canon
- 					sp->timecnt++;
- 					i++;
- 				}
--				sp->ttis[sp->typecnt++] = ts->ttis[0];
--				sp->ttis[sp->typecnt++] = ts->ttis[1];
-+				for (i = 0; i < ts->typecnt; i++)
-+					sp->ttis[sp->typecnt++] = ts->ttis[i];
- 			}
- 		}
- 	}
-+	if (sp->typecnt == 0)
-+		return EINVAL;
- 	if (sp->timecnt > 1)
- 	{
- 		for (i = 1; i < sp->timecnt; ++i)
-@@ -507,6 +516,18 @@ tzloadbody(char const *name, char *canon
- 	}
- 
- 	/*
-+	 * Infer sp->defaulttype from the data.  Although this default type is
-+	 * always zero for data from recent tzdb releases, things are trickier for
-+	 * data from tzdb 2018e or earlier.
-+	 *
-+	 * The first set of heuristics work around bugs in 32-bit data generated
-+	 * by tzdb 2013c or earlier.  The workaround is for zones like
-+	 * Australia/Macquarie where timestamps before the first transition have a
-+	 * time type that is not the earliest standard-time type.  See:
-+	 * https://mm.icann.org/pipermail/tz/2013-May/019368.html
-+	 */
-+
-+	/*
- 	 * If type 0 is unused in transitions, it's the type to use for early
- 	 * times.
- 	 */
-@@ -529,6 +550,11 @@ tzloadbody(char const *name, char *canon
- 	}
- 
- 	/*
-+	 * The next heuristics are for data generated by tzdb 2018e or earlier,
-+	 * for zones like EST5EDT where the first transition is to DST.
-+	 */
-+
-+	/*
- 	 * If no result yet, find the first standard type. If there is none, punt
- 	 * to type zero.
- 	 */
-@@ -542,7 +568,14 @@ tzloadbody(char const *name, char *canon
- 				break;
- 			}
- 	}
-+
-+	/*
-+	 * A simple 'sp->defaulttype = 0;' would suffice here if we didn't have to
-+	 * worry about 2018e-or-earlier data.  Even simpler would be to remove the
-+	 * defaulttype member and just use 0 in its place.
-+	 */
- 	sp->defaulttype = i;
-+
- 	return 0;
- }
- 
-@@ -601,10 +634,11 @@ static const int year_lengths[2] = {
- };
- 
- /*
-- * Given a pointer into a time zone string, scan until a character that is not
-- * a valid character in a zone name is found. Return a pointer to that
-- * character.
-+ * Given a pointer into a timezone string, scan until a character that is not
-+ * a valid character in a time zone abbreviation is found.
-+ * Return a pointer to that character.
-  */
-+
- static const char *
- getzname(const char *strp)
- {
-@@ -617,15 +651,17 @@ getzname(const char *strp)
- }
- 
- /*
-- * Given a pointer into an extended time zone string, scan until the ending
-- * delimiter of the zone name is located. Return a pointer to the delimiter.
-+ * Given a pointer into an extended timezone string, scan until the ending
-+ * delimiter of the time zone abbreviation is located.
-+ * Return a pointer to the delimiter.
-  *
-  * As with getzname above, the legal character set is actually quite
-  * restricted, with other characters producing undefined results.
-  * We don't do any checking here; checking is done later in common-case code.
-  */
-+
- static const char *
--getqzname(const char *strp, int delim)
-+getqzname(const char *strp, const int delim)
- {
- 	int			c;
- 
-@@ -635,13 +671,14 @@ getqzname(const char *strp, int delim)
- }
- 
- /*
-- * Given a pointer into a time zone string, extract a number from that string.
-+ * Given a pointer into a timezone string, extract a number from that string.
-  * Check that the number is within a specified range; if it is not, return
-  * NULL.
-  * Otherwise, return a pointer to the first character not part of the number.
-  */
-+
- static const char *
--getnum(const char *strp, int *nump, int min, int max)
-+getnum(const char *strp, int *const nump, const int min, const int max)
- {
- 	char		c;
- 	int			num;
-@@ -663,14 +700,15 @@ getnum(const char *strp, int *nump, int
- }
- 
- /*
-- * Given a pointer into a time zone string, extract a number of seconds,
-+ * Given a pointer into a timezone string, extract a number of seconds,
-  * in hh[:mm[:ss]] form, from the string.
-  * If any error occurs, return NULL.
-  * Otherwise, return a pointer to the first character not part of the number
-  * of seconds.
-  */
-+
- static const char *
--getsecs(const char *strp, int32 *secsp)
-+getsecs(const char *strp, int32 *const secsp)
- {
- 	int			num;
- 
-@@ -704,13 +742,14 @@ getsecs(const char *strp, int32 *secsp)
- }
- 
- /*
-- * Given a pointer into a time zone string, extract an offset, in
-+ * Given a pointer into a timezone string, extract an offset, in
-  * [+-]hh[:mm[:ss]] form, from the string.
-  * If any error occurs, return NULL.
-  * Otherwise, return a pointer to the first character not part of the time.
-  */
-+
- static const char *
--getoffset(const char *strp, int32 *offsetp)
-+getoffset(const char *strp, int32 *const offsetp)
- {
- 	bool		neg = false;
- 
-@@ -730,13 +769,14 @@ getoffset(const char *strp, int32 *offse
- }
- 
- /*
-- * Given a pointer into a time zone string, extract a rule in the form
-+ * Given a pointer into a timezone string, extract a rule in the form
-  * date[/time]. See POSIX section 8 for the format of "date" and "time".
-  * If a valid rule is not found, return NULL.
-  * Otherwise, return a pointer to the first character not part of the rule.
-  */
-+
- static const char *
--getrule(const char *strp, struct rule *rulep)
-+getrule(const char *strp, struct rule *const rulep)
- {
- 	if (*strp == 'J')
- 	{
-@@ -795,9 +835,10 @@ getrule(const char *strp, struct rule *r
-  * Given a year, a rule, and the offset from UT at the time that rule takes
-  * effect, calculate the year-relative time that rule takes effect.
-  */
-+
- static int32
--transtime(int year, const struct rule *rulep,
--		  int32 offset)
-+transtime(const int year, const struct rule *const rulep,
-+		  const int32 offset)
- {
- 	bool		leapyear;
- 	int32		value;
-@@ -981,7 +1022,7 @@ tzparse(const char *name, struct state *
- 		{
- 			dstname = name;
- 			name = getzname(name);
--			dstlen = name - dstname;	/* length of DST zone name */
-+			dstlen = name - dstname;	/* length of DST abbr. */
- 		}
- 		if (!dstlen)
- 			return false;
-@@ -1023,8 +1064,8 @@ tzparse(const char *name, struct state *
- 			/*
- 			 * Two transitions per year, from EPOCH_YEAR forward.
- 			 */
--			init_ttinfo(&sp->ttis[0], -dstoffset, true, stdlen + 1);
--			init_ttinfo(&sp->ttis[1], -stdoffset, false, 0);
-+			init_ttinfo(&sp->ttis[0], -stdoffset, false, 0);
-+			init_ttinfo(&sp->ttis[1], -dstoffset, true, stdlen + 1);
- 			sp->defaulttype = 0;
- 			timecnt = 0;
- 			janfirst = 0;
-@@ -1073,19 +1114,15 @@ tzparse(const char *name, struct state *
- 					if (!increment_overflow_time
- 						(&sp->ats[timecnt],
- 						 janoffset + starttime))
--						sp->types[timecnt++] = reversed;
--					else if (janoffset)
--						sp->defaulttype = reversed;
-+						sp->types[timecnt++] = !reversed;
- 					sp->ats[timecnt] = janfirst;
- 					if (!increment_overflow_time
- 						(&sp->ats[timecnt],
- 						 janoffset + endtime))
- 					{
--						sp->types[timecnt++] = !reversed;
-+						sp->types[timecnt++] = reversed;
- 						yearlim = year + YEARSPERREPEAT + 1;
- 					}
--					else if (janoffset)
--						sp->defaulttype = !reversed;
- 				}
- 				if (increment_overflow_time
- 					(&janfirst, janoffset + yearsecs))
-@@ -1094,7 +1131,10 @@ tzparse(const char *name, struct state *
- 			}
- 			sp->timecnt = timecnt;
- 			if (!timecnt)
-+			{
-+				sp->ttis[0] = sp->ttis[1];
- 				sp->typecnt = 1;	/* Perpetual DST.  */
-+			}
- 			else if (YEARSPERREPEAT < year - yearbeg)
- 				sp->goback = sp->goahead = true;
- 		}
-@@ -1163,7 +1203,6 @@ tzparse(const char *name, struct state *
- 					 * otherwise, add the standard time offset to the
- 					 * transition time.
- 					 */
--
- 					/*
- 					 * Transitions from DST to DDST will effectively disappear
- 					 * since POSIX provides for only one DST offset.
-@@ -1217,7 +1256,7 @@ tzparse(const char *name, struct state *
- }
- 
- static void
--gmtload(struct state *sp)
-+gmtload(struct state *const sp)
- {
- 	if (tzload(gmt, NULL, sp, true) != 0)
- 		tzparse(gmt, sp, true);
-@@ -1232,7 +1271,7 @@ gmtload(struct state *sp)
-  */
- static struct pg_tm *
- localsub(struct state const *sp, pg_time_t const *timep,
--		 struct pg_tm *tmp)
-+		 struct pg_tm *const tmp)
- {
- 	const struct ttinfo *ttisp;
- 	int			i;
-@@ -1300,6 +1339,11 @@ localsub(struct state const *sp, pg_time
- 	}
- 	ttisp = &sp->ttis[i];
- 
-+	/*
-+	 * To get (wrong) behavior that's compatible with System V Release 2.0
-+	 * you'd replace the statement below with t += ttisp->tt_gmtoff;
-+	 * timesub(&t, 0L, sp, tmp);
-+	 */
- 	result = timesub(&t, ttisp->tt_gmtoff, sp, tmp);
- 	if (result)
- 	{
-@@ -1322,8 +1366,10 @@ pg_localtime(const pg_time_t *timep, con
-  *
-  * Except we have a private "struct state" for GMT, so no sp is passed in.
-  */
-+
- static struct pg_tm *
--gmtsub(pg_time_t const *timep, int32 offset, struct pg_tm *tmp)
-+gmtsub(pg_time_t const *timep, int32 offset,
-+	   struct pg_tm *tmp)
- {
- 	struct pg_tm *result;
- 
-@@ -1337,6 +1383,7 @@ gmtsub(pg_time_t const *timep, int32 off
- 		gmt_is_set = true;
- 		gmtload(gmtptr);
- 	}
-+
- 	result = timesub(timep, offset, gmtptr, tmp);
- 
- 	/*
-@@ -1361,6 +1408,7 @@ pg_gmtime(const pg_time_t *timep)
-  * Return the number of leap years through the end of the given year
-  * where, to make the math easy, the answer for year zero is defined as zero.
-  */
-+
- static int
- leaps_thru_end_of_nonneg(int y)
- {
-Index: postgresql-10.5/src/timezone/pgtz.h
-===================================================================
---- postgresql-10.5.orig/src/timezone/pgtz.h
-+++ postgresql-10.5/src/timezone/pgtz.h
-@@ -49,10 +49,16 @@ struct state
- 	pg_time_t	ats[TZ_MAX_TIMES];
- 	unsigned char types[TZ_MAX_TIMES];
- 	struct ttinfo ttis[TZ_MAX_TYPES];
--	char		chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, 3 /* sizeof gmt */ ),
-+	char		chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, 4 /* sizeof gmt */ ),
- 							  (2 * (TZ_STRLEN_MAX + 1)))];
- 	struct lsinfo lsis[TZ_MAX_LEAPS];
--	int			defaulttype;	/* for early times or if no transitions */
-+
-+	/*
-+	 * The time type to use for early times or if no transitions. It is always
-+	 * zero for recent tzdb releases. It might be nonzero for data from tzdb
-+	 * 2018e or earlier.
-+	 */
-+	int			defaulttype;
- };
- 
- 
-Index: postgresql-10.5/src/timezone/private.h
-===================================================================
---- postgresql-10.5.orig/src/timezone/private.h
-+++ postgresql-10.5/src/timezone/private.h
-@@ -1,4 +1,7 @@
-+/* Private header for tzdb code.  */
-+
- #ifndef PRIVATE_H
-+
- #define PRIVATE_H
- 
- /*
-Index: postgresql-10.5/src/timezone/strftime.c
-===================================================================
---- postgresql-10.5.orig/src/timezone/strftime.c
-+++ postgresql-10.5/src/timezone/strftime.c
-@@ -1,4 +1,4 @@
--/* Convert a broken-down timestamp to a string. */
-+/* Convert a broken-down timestamp to a string.  */
- 
- /*
-  * Copyright 1989 The Regents of the University of California.
-@@ -115,7 +115,7 @@ static char *_add(const char *, char *,
- static char *_conv(int, const char *, char *, const char *);
- static char *_fmt(const char *, const struct pg_tm *, char *, const char *,
- 	 enum warn *);
--static char *_yconv(int, int, bool, bool, char *, const char *);
-+static char *_yconv(int, int, bool, bool, char *, char const *);
- 
- 
- size_t
-@@ -441,7 +441,8 @@ _fmt(const char *format, const struct pg
- 
- 					/*
- 					 * C99 and later say that %Z must be replaced by the empty
--					 * string if the time zone is not determinable.
-+					 * string if the time zone abbreviation is not
-+					 * determinable.
- 					 */
- 					continue;
- 				case 'z':
-@@ -519,6 +520,7 @@ _add(const char *str, char *pt, const ch
-  * same output as %Y, and that %Y contains at least 4 bytes,
-  * with more only if necessary.
-  */
-+
- static char *
- _yconv(int a, int b, bool convert_top, bool convert_yy,
- 	   char *pt, const char *ptlim)
-@@ -526,7 +528,7 @@ _yconv(int a, int b, bool convert_top, b
- 	int			lead;
- 	int			trail;
- 
--#define DIVISOR 100
-+#define DIVISOR	100
- 	trail = a % DIVISOR + b % DIVISOR;
- 	lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
- 	trail %= DIVISOR;
-Index: postgresql-10.5/src/timezone/tzfile.h
-===================================================================
---- postgresql-10.5.orig/src/timezone/tzfile.h
-+++ postgresql-10.5/src/timezone/tzfile.h
-@@ -1,4 +1,7 @@
-+/* Layout and location of TZif files.  */
-+
- #ifndef TZFILE_H
-+
- #define TZFILE_H
- 
- /*
-@@ -21,14 +24,14 @@
-  * Information about time zone files.
-  */
- 
--#define TZDEFAULT	"localtime"
-+#define TZDEFAULT	"/etc/localtime"
- #define TZDEFRULES	"posixrules"
- 
- /*
-  * Each file begins with. . .
-  */
- 
--#define TZ_MAGIC	"TZif"
-+#define	TZ_MAGIC	"TZif"
- 
- struct tzhead
- {
-Index: postgresql-10.5/src/timezone/zic.c
-===================================================================
---- postgresql-10.5.orig/src/timezone/zic.c
-+++ postgresql-10.5/src/timezone/zic.c
-@@ -1,3 +1,5 @@
-+/* Compile .zi time zone data into TZif binary files.  */
-+
- /*
-  * This file is in the public domain, so clarified as of
-  * 2006-07-17 by Arthur David Olson.
-@@ -130,8 +132,7 @@ static void adjleap(void);
- static void associate(void);
- static void dolink(const char *, const char *, bool);
- static char **getfields(char *buf);
--static zic_t gethms(const char *string, const char *errstring,
--	   bool);
-+static zic_t gethms(const char *string, const char *errstring);
- static zic_t getstdoff(char *, bool *);
- static void infile(const char *filename);
- static void inleap(char **fields, int nfields);
-@@ -162,7 +163,7 @@ enum
- PERCENT_Z_LEN_BOUND = sizeof "+995959" - 1};
- 
- /* If true, work around a bug in Qt 5.6.1 and earlier, which mishandles
--   tz binary files whose POSIX-TZ-style strings contain '<'; see
-+   TZif files whose POSIX-TZ-style strings contain '<'; see
-    QTBUG-53071 <https://bugreports.qt.io/browse/QTBUG-53071>.  This
-    workaround will no longer be needed when Qt 5.6.1 and earlier are
-    obsolete, say in the year 2021.  */
-@@ -211,7 +212,7 @@ static int	typecnt;
- #define ZF_RULE		3
- #define ZF_FORMAT	4
- #define ZF_TILYEAR	5
--#define ZF_TILMONTH 6
-+#define ZF_TILMONTH	6
- #define ZF_TILDAY	7
- #define ZF_TILTIME	8
- #define ZONE_MINFIELDS	5
-@@ -224,12 +225,12 @@ static int	typecnt;
- #define ZFC_GMTOFF	0
- #define ZFC_RULE	1
- #define ZFC_FORMAT	2
--#define ZFC_TILYEAR 3
-+#define ZFC_TILYEAR	3
- #define ZFC_TILMONTH	4
- #define ZFC_TILDAY	5
--#define ZFC_TILTIME 6
--#define ZONEC_MINFIELDS 3
--#define ZONEC_MAXFIELDS 7
-+#define ZFC_TILTIME	6
-+#define ZONEC_MINFIELDS	3
-+#define ZONEC_MAXFIELDS	7
- 
- /*
-  * Which files are which on a Rule line.
-@@ -244,7 +245,7 @@ static int	typecnt;
- #define RF_TOD		7
- #define RF_STDOFF	8
- #define RF_ABBRVAR	9
--#define RULE_FIELDS 10
-+#define RULE_FIELDS	10
- 
- /*
-  * Which fields are which on a Link line.
-@@ -252,7 +253,7 @@ static int	typecnt;
- 
- #define LF_FROM		1
- #define LF_TO		2
--#define LINK_FIELDS 3
-+#define LINK_FIELDS	3
- 
- /*
-  * Which fields are which on a Leap line.
-@@ -264,7 +265,7 @@ static int	typecnt;
- #define LP_TIME		4
- #define LP_CORR		5
- #define LP_ROLL		6
--#define LEAP_FIELDS 7
-+#define LEAP_FIELDS	7
- 
- /*
-  * Year synonyms.
-@@ -998,48 +999,6 @@ dolink(char const *fromfield, char const
- static zic_t const min_time = MINVAL(zic_t, TIME_T_BITS_IN_FILE);
- static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE);
- 
--/*
-- * Estimated time of the Big Bang, in seconds since the POSIX epoch.
-- * rounded downward to the negation of a power of two that is
-- * comfortably outside the error bounds.
-- *
-- * For the time of the Big Bang, see:
-- *
-- * Ade PAR, Aghanim N, Armitage-Caplan C et al.  Planck 2013 results.
-- * I. Overview of products and scientific results.
-- * arXiv:1303.5062 2013-03-20 20:10:01 UTC
-- * <https://arxiv.org/pdf/1303.5062v1> [PDF]
-- *
-- * Page 36, Table 9, row Age/Gyr, column Planck+WP+highL+BAO 68% limits
-- * gives the value 13.798 plus-or-minus 0.037 billion years.
-- * Multiplying this by 1000000000 and then by 31557600 (the number of
-- * seconds in an astronomical year) gives a value that is comfortably
-- * less than 2**59, so BIG_BANG is - 2**59.
-- *
-- * BIG_BANG is approximate, and may change in future versions.
-- * Please do not rely on its exact value.
-- */
--
--#ifndef BIG_BANG
--#define BIG_BANG (- (((zic_t) 1) << 59))
--#endif
--
--/* If true, work around GNOME bug 730332
--   <https://bugzilla.gnome.org/show_bug.cgi?id=730332>
--   by refusing to output time stamps before BIG_BANG.
--   Such time stamps are physically suspect anyway.
--
--   The GNOME bug is scheduled to be fixed in GNOME 3.22, and if so
--   this workaround will no longer be needed when GNOME 3.21 and
--   earlier are obsolete, say in the year 2021.  */
--enum
--{
--WORK_AROUND_GNOME_BUG_730332 = true};
--
--static const zic_t early_time = (WORK_AROUND_GNOME_BUG_730332
--								 ? BIG_BANG
--								 : MINVAL(zic_t, TIME_T_BITS_IN_FILE));
--
- /* Return true if NAME is a directory.  */
- static bool
- itsdir(char const *name)
-@@ -1281,8 +1240,9 @@ infile(const char *name)
-  * A null string maps to zero.
-  * Call error with errstring and return zero on errors.
-  */
-+
- static zic_t
--gethms(char const *string, char const *errstring, bool signable)
-+gethms(char const *string, char const *errstring)
- {
- 	/* PG: make hh be int not zic_t to avoid sscanf portability issues */
- 	int			hh;
-@@ -1299,9 +1259,7 @@ gethms(char const *string, char const *e
- 
- 	if (string == NULL || *string == '\0')
- 		return 0;
--	if (!signable)
--		sign = 1;
--	else if (*string == '-')
-+	if (*string == '-')
- 	{
- 		sign = -1;
- 		++string;
-@@ -1384,7 +1342,7 @@ getstdoff(char *field, bool *isdst)
- 				break;
- 		}
- 	}
--	stdoff = gethms(field, _("invalid saved time"), true);
-+	stdoff = gethms(field, _("invalid saved time"));
- 	*isdst = dst < 0 ? stdoff != 0 : dst;
- 	return stdoff;
- }
-@@ -1399,10 +1357,29 @@ inrule(char **fields, int nfields)
- 		error(_("wrong number of fields on Rule line"));
- 		return;
- 	}
--	if (*fields[RF_NAME] == '\0')
-+	switch (*fields[RF_NAME])
- 	{
--		error(_("nameless rule"));
--		return;
-+		case '\0':
-+		case ' ':
-+		case '\f':
-+		case '\n':
-+		case '\r':
-+		case '\t':
-+		case '\v':
-+		case '+':
-+		case '-':
-+		case '0':
-+		case '1':
-+		case '2':
-+		case '3':
-+		case '4':
-+		case '5':
-+		case '6':
-+		case '7':
-+		case '8':
-+		case '9':
-+			error(_("Invalid rule name \"%s\""), fields[RF_NAME]);
-+			return;
- 	}
- 	r.r_filename = filename;
- 	r.r_linenum = linenum;
-@@ -1507,7 +1484,7 @@ inzsub(char **fields, int nfields, bool
- 	}
- 	z.z_filename = filename;
- 	z.z_linenum = linenum;
--	z.z_gmtoff = gethms(fields[i_gmtoff], _("invalid UT offset"), true);
-+	z.z_gmtoff = gethms(fields[i_gmtoff], _("invalid UT offset"));
- 	if ((cp = strchr(fields[i_format], '%')) != NULL)
- 	{
- 		if ((*++cp != 's' && *cp != 'z') || strchr(cp, '%')
-@@ -1649,7 +1626,7 @@ inleap(char **fields, int nfields)
- 		return;
- 	}
- 	t = dayoff * SECSPERDAY;
--	tod = gethms(fields[LP_TIME], _("invalid time of day"), false);
-+	tod = gethms(fields[LP_TIME], _("invalid time of day"));
- 	cp = fields[LP_CORR];
- 	{
- 		bool		positive;
-@@ -1757,7 +1734,7 @@ rulesub(struct rule *rp, const char *loy
- 				break;
- 		}
- 	}
--	rp->r_tod = gethms(dp, _("invalid time of day"), false);
-+	rp->r_tod = gethms(dp, _("invalid time of day"));
- 	free(dp);
- 
- 	/*
-@@ -1942,7 +1919,43 @@ is32(const zic_t x)
- }
- 
- static void
--writezone(const char *const name, const char *const string, char version)
-+swaptypes(int i, int j)
-+{
-+	{
-+		zic_t		t = gmtoffs[i];
-+
-+		gmtoffs[i] = gmtoffs[j];
-+		gmtoffs[j] = t;
-+	}
-+	{
-+		char		t = isdsts[i];
-+
-+		isdsts[i] = isdsts[j];
-+		isdsts[j] = t;
-+	}
-+	{
-+		unsigned char t = abbrinds[i];
-+
-+		abbrinds[i] = abbrinds[j];
-+		abbrinds[j] = t;
-+	}
-+	{
-+		bool		t = ttisstds[i];
-+
-+		ttisstds[i] = ttisstds[j];
-+		ttisstds[j] = t;
-+	}
-+	{
-+		bool		t = ttisgmts[i];
-+
-+		ttisgmts[i] = ttisgmts[j];
-+		ttisgmts[j] = t;
-+	}
-+}
-+
-+static void
-+writezone(const char *const name, const char *const string, char version,
-+		  int defaulttype)
- {
- 	FILE	   *fp;
- 	ptrdiff_t	i,
-@@ -1977,14 +1990,12 @@ writezone(const char *const name, const
- 
- 		toi = 0;
- 		fromi = 0;
--		while (fromi < timecnt && attypes[fromi].at < early_time)
--			++fromi;
- 		for (; fromi < timecnt; ++fromi)
- 		{
--			if (toi > 1 && ((attypes[fromi].at +
--							 gmtoffs[attypes[toi - 1].type]) <=
--							(attypes[toi - 1].at +
--							 gmtoffs[attypes[toi - 2].type])))
-+			if (toi != 0 && ((attypes[fromi].at +
-+							  gmtoffs[attypes[toi - 1].type]) <=
-+							 (attypes[toi - 1].at + gmtoffs[toi == 1 ? 0
-+															: attypes[toi - 2].type])))
- 			{
- 				attypes[toi - 1].type =
- 					attypes[fromi].type;
-@@ -2019,8 +2030,8 @@ writezone(const char *const name, const
- 	}
- 
- 	/*
--	 * Work around QTBUG-53071 for time stamps less than y2038_boundary - 1,
--	 * by inserting a no-op transition at time y2038_boundary - 1. This works
-+	 * Work around QTBUG-53071 for timestamps less than y2038_boundary - 1, by
-+	 * inserting a no-op transition at time y2038_boundary - 1. This works
- 	 * only for timestamps before the boundary, which should be good enough in
- 	 * practice as QTBUG-53071 should be long-dead by 2038.
- 	 */
-@@ -2116,7 +2127,8 @@ writezone(const char *const name, const
- 		int			thisleapi,
- 					thisleapcnt,
- 					thisleaplim;
--		int			writetype[TZ_MAX_TYPES];
-+		int			old0;
-+		char		omittype[TZ_MAX_TYPES];
- 		int			typemap[TZ_MAX_TYPES];
- 		int			thistypecnt;
- 		char		thischars[TZ_MAX_CHARS];
-@@ -2144,28 +2156,19 @@ writezone(const char *const name, const
- 			error(_("too many transition times"));
- 		thistimelim = thistimei + thistimecnt;
- 		thisleaplim = thisleapi + thisleapcnt;
--		for (i = 0; i < typecnt; ++i)
--			writetype[i] = thistimecnt == timecnt;
--		if (thistimecnt == 0)
--		{
--			/*
--			 * No transition times fall in the current (32- or 64-bit) window.
--			 */
--			if (typecnt != 0)
--				writetype[typecnt - 1] = true;
--		}
--		else
--		{
--			for (i = thistimei - 1; i < thistimelim; ++i)
--				if (i >= 0)
--					writetype[types[i]] = true;
-+		memset(omittype, true, typecnt);
-+		omittype[defaulttype] = false;
-+		for (i = thistimei; i < thistimelim; i++)
-+			omittype[types[i]] = false;
-+
-+		/*
-+		 * Reorder types to make DEFAULTTYPE type 0. Use TYPEMAP to swap OLD0
-+		 * and DEFAULTTYPE so that DEFAULTTYPE appears as type 0 in the output
-+		 * instead of OLD0.  TYPEMAP also omits unused types.
-+		 */
-+		old0 = strlen(omittype);
-+		swaptypes(old0, defaulttype);
- 
--			/*
--			 * For America/Godthab and Antarctica/Palmer
--			 */
--			if (thistimei == 0)
--				writetype[0] = true;
--		}
- #ifndef LEAVE_SOME_PRE_2011_SYSTEMS_IN_THE_LURCH
- 
- 		/*
-@@ -2187,8 +2190,8 @@ writezone(const char *const name, const
- 					mrudst = types[i];
- 				else
- 					mrustd = types[i];
--			for (i = 0; i < typecnt; ++i)
--				if (writetype[i])
-+			for (i = old0; i < typecnt; i++)
-+				if (!omittype[i])
- 				{
- 					if (isdsts[i])
- 						hidst = i;
-@@ -2205,7 +2208,7 @@ writezone(const char *const name, const
- 							   ttisstds[mrudst],
- 							   ttisgmts[mrudst]);
- 				isdsts[mrudst] = 1;
--				writetype[type] = true;
-+				omittype[type] = false;
- 			}
- 			if (histd >= 0 && mrustd >= 0 && histd != mrustd &&
- 				gmtoffs[histd] != gmtoffs[mrustd])
-@@ -2217,22 +2220,26 @@ writezone(const char *const name, const
- 							   ttisstds[mrustd],
- 							   ttisgmts[mrustd]);
- 				isdsts[mrustd] = 0;
--				writetype[type] = true;
-+				omittype[type] = false;
- 			}
- 		}
- #endif							/* !defined
- 								 * LEAVE_SOME_PRE_2011_SYSTEMS_IN_THE_LURCH */
- 		thistypecnt = 0;
--		for (i = 0; i < typecnt; ++i)
--			typemap[i] = writetype[i] ? thistypecnt++ : -1;
-+		for (i = old0; i < typecnt; i++)
-+			if (!omittype[i])
-+				typemap[i == old0 ? defaulttype
-+						: i == defaulttype ? old0 : i]
-+					= thistypecnt++;
-+
- 		for (i = 0; i < sizeof indmap / sizeof indmap[0]; ++i)
- 			indmap[i] = -1;
- 		thischarcnt = 0;
--		for (i = 0; i < typecnt; ++i)
-+		for (i = old0; i < typecnt; i++)
- 		{
- 			char	   *thisabbr;
- 
--			if (!writetype[i])
-+			if (omittype[i])
- 				continue;
- 			if (indmap[abbrinds[i]] >= 0)
- 				continue;
-@@ -2267,23 +2274,16 @@ writezone(const char *const name, const
- 		DO(tzh_typecnt);
- 		DO(tzh_charcnt);
- #undef DO
--		for (i = thistimei; i < thistimelim; ++i)
--			if (pass == 1)
- 
--				/*
--				 * Output an INT32_MIN "transition" if appropriate; see above.
--				 */
--				puttzcode(((ats[i] < PG_INT32_MIN) ?
--						   PG_INT32_MIN : ats[i]), fp);
--			else
-+		/* PG: print current timezone abbreviations if requested */
-+		if (print_abbrevs && pass == 2)
-+		{
-+			/* Print "type" data for periods ending after print_cutoff */
-+			for (i = thistimei; i < thistimelim; ++i)
- 			{
--				puttzcode64(ats[i], fp);
--
--				/* Print current timezone abbreviations if requested */
--				if (print_abbrevs &&
--					(i == thistimelim - 1 || ats[i + 1] > print_cutoff))
-+				if (i == thistimelim - 1 || ats[i + 1] > print_cutoff)
- 				{
--					unsigned char tm = typemap[types[i]];
-+					unsigned char tm = types[i];
- 					char	   *thisabbrev = &thischars[indmap[abbrinds[tm]]];
- 
- 					/* filter out assorted junk entries */
-@@ -2295,6 +2295,32 @@ writezone(const char *const name, const
- 								isdsts[tm] ? "\tD" : "");
- 				}
- 			}
-+			/* Print the default type if we have no transitions at all */
-+			if (thistimei >= thistimelim)
-+			{
-+				unsigned char tm = defaulttype;
-+				char	   *thisabbrev = &thischars[indmap[abbrinds[tm]]];
-+
-+				/* filter out assorted junk entries */
-+				if (strcmp(thisabbrev, GRANDPARENTED) != 0 &&
-+					strcmp(thisabbrev, "zzz") != 0)
-+					fprintf(stdout, "%s\t" INT64_FORMAT "%s\n",
-+							thisabbrev,
-+							gmtoffs[tm],
-+							isdsts[tm] ? "\tD" : "");
-+			}
-+		}
-+
-+		for (i = thistimei; i < thistimelim; ++i)
-+			if (pass == 1)
-+
-+				/*
-+				 * Output an INT32_MIN "transition" if appropriate; see above.
-+				 */
-+				puttzcode(((ats[i] < PG_INT32_MIN) ?
-+						   PG_INT32_MIN : ats[i]), fp);
-+			else
-+				puttzcode64(ats[i], fp);
- 		for (i = thistimei; i < thistimelim; ++i)
- 		{
- 			unsigned char uc;
-@@ -2302,8 +2328,8 @@ writezone(const char *const name, const
- 			uc = typemap[types[i]];
- 			fwrite(&uc, sizeof uc, 1, fp);
- 		}
--		for (i = 0; i < typecnt; ++i)
--			if (writetype[i])
-+		for (i = old0; i < typecnt; i++)
-+			if (!omittype[i])
- 			{
- 				puttzcode(gmtoffs[i], fp);
- 				putc(isdsts[i], fp);
-@@ -2346,12 +2372,13 @@ writezone(const char *const name, const
- 				puttzcode64(todo, fp);
- 			puttzcode(corr[i], fp);
- 		}
--		for (i = 0; i < typecnt; ++i)
--			if (writetype[i])
-+		for (i = old0; i < typecnt; i++)
-+			if (!omittype[i])
- 				putc(ttisstds[i], fp);
--		for (i = 0; i < typecnt; ++i)
--			if (writetype[i])
-+		for (i = old0; i < typecnt; i++)
-+			if (!omittype[i])
- 				putc(ttisgmts[i], fp);
-+		swaptypes(old0, defaulttype);
- 	}
- 	fprintf(fp, "\n%s\n", string);
- 	close_file(fp, directory, name);
-@@ -2757,6 +2784,7 @@ outzone(const struct zone *zpfirst, ptrd
- 	zic_t		one = 1;
- 	zic_t		y2038_boundary = one << 31;
- 	zic_t		max_year0;
-+	int			defaulttype = -1;
- 
- 	max_abbr_len = 2 + max_format_len + max_abbrvar_len;
- 	max_envvar_len = 2 * max_abbr_len + 5 * 9;
-@@ -2880,9 +2908,9 @@ outzone(const struct zone *zpfirst, ptrd
- 		 */
- 		stdoff = 0;
- 		zp = &zpfirst[i];
--		usestart = i > 0 && (zp - 1)->z_untiltime > early_time;
-+		usestart = i > 0 && (zp - 1)->z_untiltime > min_time;
- 		useuntil = i < (zonecount - 1);
--		if (useuntil && zp->z_untiltime <= early_time)
-+		if (useuntil && zp->z_untiltime <= min_time)
- 			continue;
- 		gmtoff = zp->z_gmtoff;
- 		eat(zp->z_filename, zp->z_linenum);
-@@ -2901,7 +2929,7 @@ outzone(const struct zone *zpfirst, ptrd
- 				usestart = false;
- 			}
- 			else
--				addtt(early_time, type);
-+				defaulttype = type;
- 		}
- 		else
- 			for (year = min_year; year <= max_year; ++year)
-@@ -3032,6 +3060,8 @@ outzone(const struct zone *zpfirst, ptrd
- 					offset = oadd(zp->z_gmtoff, rp->r_stdoff);
- 					type = addtype(offset, ab, rp->r_isdst,
- 								   rp->r_todisstd, rp->r_todisgmt);
-+					if (defaulttype < 0 && !rp->r_isdst)
-+						defaulttype = type;
- 					if (rp->r_hiyear == ZIC_MAX
- 						&& !(0 <= lastatmax
- 							 && ktime < attypes[lastatmax].at))
-@@ -3050,11 +3080,15 @@ outzone(const struct zone *zpfirst, ptrd
- 			if (*startbuf == '\0')
- 				error(_("cannot determine time zone abbreviation to use just after until time"));
- 			else
--				addtt(starttime,
--					  addtype(startoff, startbuf,
--							  startoff != zp->z_gmtoff,
--							  startttisstd,
--							  startttisgmt));
-+			{
-+				bool		isdst = startoff != zp->z_gmtoff;
-+
-+				type = addtype(startoff, startbuf, isdst,
-+							   startttisstd, startttisgmt);
-+				if (defaulttype < 0 && !isdst)
-+					defaulttype = type;
-+				addtt(starttime, type);
-+			}
- 		}
- 
- 		/*
-@@ -3071,6 +3105,8 @@ outzone(const struct zone *zpfirst, ptrd
- 				starttime = tadd(starttime, -gmtoff);
- 		}
- 	}
-+	if (defaulttype < 0)
-+		defaulttype = 0;
- 	if (0 <= lastatmax)
- 		attypes[lastatmax].dontmerge = true;
- 	if (do_extend)
-@@ -3100,7 +3136,7 @@ outzone(const struct zone *zpfirst, ptrd
- 			attypes[timecnt - 1].dontmerge = true;
- 		}
- 	}
--	writezone(zpfirst->z_name, envvar, version);
-+	writezone(zpfirst->z_name, envvar, version, defaulttype);
- 	free(startbuf);
- 	free(ab);
- 	free(envvar);
-@@ -3109,21 +3145,6 @@ outzone(const struct zone *zpfirst, ptrd
- static void
- addtt(zic_t starttime, int type)
- {
--	if (starttime <= early_time
--		|| (timecnt == 1 && attypes[0].at < early_time))
--	{
--		gmtoffs[0] = gmtoffs[type];
--		isdsts[0] = isdsts[type];
--		ttisstds[0] = ttisstds[type];
--		ttisgmts[0] = ttisgmts[type];
--		if (abbrinds[type] != 0)
--			strcpy(chars, &chars[abbrinds[type]]);
--		abbrinds[0] = 0;
--		charcnt = strlen(chars) + 1;
--		typecnt = 1;
--		timecnt = 0;
--		type = 0;
--	}
- 	attypes = growalloc(attypes, sizeof *attypes, timecnt, &timecnt_alloc);
- 	attypes[timecnt].at = starttime;
- 	attypes[timecnt].dontmerge = false;
-@@ -3361,7 +3382,7 @@ is_alpha(char a)
- }
- 
- /* If A is an uppercase character in the C locale, return its lowercase
-- * counterpart.  Otherwise, return A.  */
-+   counterpart.  Otherwise, return A.  */
- static char
- lowerit(char a)
- {
-@@ -3628,6 +3649,18 @@ rpytime(const struct rule *rp, zic_t wan
- 	dayoff = 0;
- 	m = TM_JANUARY;
- 	y = EPOCH_YEAR;
-+	if (y < wantedy)
-+	{
-+		wantedy -= y;
-+		dayoff = (wantedy / YEARSPERREPEAT) * (SECSPERREPEAT / SECSPERDAY);
-+		wantedy %= YEARSPERREPEAT;
-+		wantedy += y;
-+	}
-+	else if (wantedy < 0)
-+	{
-+		dayoff = (wantedy / YEARSPERREPEAT) * (SECSPERREPEAT / SECSPERDAY);
-+		wantedy %= YEARSPERREPEAT;
-+	}
- 	while (wantedy != y)
- 	{
- 		if (wantedy > y)
-@@ -3706,7 +3739,6 @@ will not work with pre-2004 versions of
- 	if (dayoff > max_time / SECSPERDAY)
- 		return max_time;
- 	t = (zic_t) dayoff * SECSPERDAY;
--
- 	return tadd(t, rp->r_tod);
- }
- 
meta-oe/recipes-dbs/postgresql/files/0001-Update-time-zone-data-files-to-tzdata-release-2018f.patch deleted +0 -6452

1,836 lines not on this page · raw message

meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +17 -8
index 9715109..22b62d9 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-dbs/postgresql/postgresql_10.5.bb deleted +0 -12
deleted file mode 100644
index 1a02f15..0000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-dbs/postgresql/postgresql_11.1.bb new file +10 -0
new file mode 100644
index 0000000..9713cb8

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.7.4

Part of the diff is not shown here. View the raw message.

#7 lore raw

PATCH 7/7 phoronix-test-suite: upgrade to 8.2.0

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../{phoronix-test-suite_8.0.1.bb => phoronix-test-suite_8.2.0.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-benchmark/phoronix-test-suite/{phoronix-test-suite_8.0.1.bb => phoronix-test-suite_8.2.0.bb} (90%)
meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_8.2.0.bb renamed from meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_8.0.1.bb +2 -2
similarity index 90%
rename from meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_8.0.1.bb
rename to meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_8.2.0.bb
index b1fa51b..2214931 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 SECTION = "console/tests"
 
 SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz"
-SRC_URI[md5sum] = "3dc3a0e490e909f188379a9e05fd4780"
-SRC_URI[sha256sum] = "6306549109c7254baf31edb385265b19557b5692217d2dfcf96f6fb17de8e842"
+SRC_URI[md5sum] = "33e7b9ba5a65e7fcef91d47117450e6c"
+SRC_URI[sha256sum] = "d7160df5ab15fbd65ade82c6cc13c02a4826d46eff10113f615e38316c9c01f1"
 
 S = "${WORKDIR}/phoronix-test-suite"
 
Signature · 1 line
2.7.4