From 0cebec26d63817b79ca5d426e13d400a7ec95015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Thu, 1 Oct 2020 19:48:42 +0200 Subject: groups/231.native_packages_etc.group: rpm: bump to v4.16.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/rpm-4.15.1.local.patch | 37 ------------------------------------- patches/rpm-4.15.1_pre.local.patch | 12 ------------ patches/rpm-4.16.0.local.patch | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 49 deletions(-) delete mode 100644 patches/rpm-4.15.1.local.patch delete mode 100644 patches/rpm-4.15.1_pre.local.patch create mode 100644 patches/rpm-4.16.0.local.patch (limited to 'patches') diff --git a/patches/rpm-4.15.1.local.patch b/patches/rpm-4.15.1.local.patch deleted file mode 100644 index f1646034..00000000 --- a/patches/rpm-4.15.1.local.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -ru rpm-4.15.1.orig/lib/rpmchroot.c rpm-4.15.1/lib/rpmchroot.c ---- rpm-4.15.1.orig/lib/rpmchroot.c 2019-11-13 10:19:29.309710594 +0100 -+++ rpm-4.15.1/lib/rpmchroot.c 2020-01-04 18:36:56.323408444 +0100 -@@ -66,7 +66,7 @@ - setup_map("/proc/self/gid_map", 0, gid); - unshared = 1; - } -- rpmlog(RPMLOG_DEBUG, "user ns: %d original user %d:%d current %d:%d\n", -+ rpmlog(RPMLOG_DEBUG, "user ns: %d original user %ld:%ld current %ld:%ld\n", - unshared, uid, gid, getuid(), getgid()); - } - #else -diff -ru rpm-4.15.1.orig/macros.in rpm-4.15.1/macros.in ---- rpm-4.15.1.orig/macros.in 2019-11-13 10:19:29.311710606 +0100 -+++ rpm-4.15.1/macros.in 2020-01-04 18:41:36.981113433 +0100 -@@ -619,7 +619,7 @@ - # lmdb Lightning Memory-mapped Database - # ndb new data base format - # --%_db_backend bdb -+%_db_backend ndb - - # - # Macros used to configure Berkley db parameters. -diff --git a/rpmio/digest_libgcrypt.c b/rpmio/digest_libgcrypt.c -index b31fda569..291187f60 100644 ---- a/rpmio/digest_libgcrypt.c -+++ b/rpmio/digest_libgcrypt.c -@@ -20,6 +20,8 @@ struct DIGEST_CTX_s { - /**************************** init ************************************/ - - int rpmInitCrypto(void) { -+ gcry_check_version (NULL); -+ gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); - return 0; - } - diff --git a/patches/rpm-4.15.1_pre.local.patch b/patches/rpm-4.15.1_pre.local.patch deleted file mode 100644 index 95d8d4ce..00000000 --- a/patches/rpm-4.15.1_pre.local.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru rpm-4.15.1.orig/configure rpm-4.15.1/configure ---- rpm-4.15.1.orig/configure 2019-11-13 10:29:18.226316044 +0100 -+++ rpm-4.15.1/configure 2020-01-04 18:33:46.211414396 +0100 -@@ -22112,7 +22112,7 @@ - enable_bdb=yes - fi - -- -+have_bdb="no" - if test "x$enable_bdb" != "xno"; then : - - if test -x db/dist/configure ; then diff --git a/patches/rpm-4.16.0.local.patch b/patches/rpm-4.16.0.local.patch new file mode 100644 index 00000000..9a3382e5 --- /dev/null +++ b/patches/rpm-4.16.0.local.patch @@ -0,0 +1,35 @@ +diff -ru rpm-4.15.1.orig/lib/rpmchroot.c rpm-4.15.1/lib/rpmchroot.c +--- rpm-4.15.1.orig/lib/rpmchroot.c 2019-11-13 10:19:29.309710594 +0100 ++++ rpm-4.15.1/lib/rpmchroot.c 2020-01-04 18:36:56.323408444 +0100 +@@ -66,7 +66,7 @@ + setup_map("/proc/self/gid_map", 0, gid); + unshared = 1; + } +- rpmlog(RPMLOG_DEBUG, "user ns: %d original user %d:%d current %d:%d\n", ++ rpmlog(RPMLOG_DEBUG, "user ns: %d original user %ld:%ld current %ld:%ld\n", + unshared, uid, gid, getuid(), getgid()); + } + #else +diff -ru rpm-4.15.1.orig/macros.in rpm-4.15.1/macros.in +--- rpm-4.15.1.orig/macros.in 2019-11-13 10:19:29.311710606 +0100 ++++ rpm-4.15.1/macros.in 2020-01-04 18:41:36.981113433 +0100 +@@ -619,7 +619,7 @@ + # lmdb Lightning Memory-mapped Database + # ndb new data base format + # +-%_db_backend bdb ++%_db_backend ndb + + # + # Macros used to configure Berkley db parameters. +diff -ru rpm-4.16.0.orig/lib/rpmdb.c rpm-4.16.0/lib/rpmdb.c +--- rpm-4.16.0.orig/lib/rpmdb.c 2020-05-28 12:04:25.037136686 +0200 ++++ rpm-4.16.0/lib/rpmdb.c 2020-10-01 19:31:18.944641154 +0200 +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + + #ifndef DYING /* XXX already in "system.h" */ + #include -- cgit v1.2.3