]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
dpkg: update 1.21.9 -> 1.21.13
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 28 Dec 2022 07:36:58 +0000 (08:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Dec 2022 23:53:23 +0000 (23:53 +0000)
libmd is a new dependency.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/dpkg.inc
meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
meta/recipes-devtools/dpkg/dpkg_1.21.13.bb [moved from meta/recipes-devtools/dpkg/dpkg_1.21.9.bb with 95% similarity]

index 0d17a98b8065a346ab3d28b81859df28b8004118..b3e8c05d626affcd706508729cfa7205243f97cd 100644 (file)
@@ -4,8 +4,8 @@ HOMEPAGE = "https://salsa.debian.org/dpkg-team/dpkg"
 DESCRIPTION = "The primary interface for the dpkg suite is the dselect program. A more low-level and less user-friendly interface is available in the form of the dpkg command."
 SECTION = "base"
 
-DEPENDS = "zlib bzip2 perl ncurses"
-DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
+DEPENDS = "zlib bzip2 perl ncurses libmd"
+DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native libmd-native"
 RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
 RDEPENDS:${PN}:class-native = ""
 
index dc0d9bfc2e9998383547de748e89c83d46f46e62..1b5b89644f001a8aca3468899f26b262693336aa 100644 (file)
@@ -1,4 +1,4 @@
-From 839f228556c00739f72534e8635195935eb3752f Mon Sep 17 00:00:00 2001
+From 54ca20a18253bcf0915b2e2985bbee79bf881ebe Mon Sep 17 00:00:00 2001
 From: Paul Eggleton <paul.eggleton@linux.microsoft.com>
 Date: Tue, 16 Jun 2020 03:57:25 +0000
 Subject: [PATCH] build.c: ignore return of 1 from tar -cf
@@ -29,7 +29,7 @@ Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
  1 file changed, 4 insertions(+), 1 deletion(-)
 
 diff --git a/src/deb/build.c b/src/deb/build.c
-index 76613ad..7c216d1 100644
+index 76613adec..7c216d1a9 100644
 --- a/src/deb/build.c
 +++ b/src/deb/build.c
 @@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
@@ -51,6 +51,3 @@ index 76613ad..7c216d1 100644
  }
  
  static intmax_t
--- 
-2.25.1
-
index 75ae8482648a2f247fbde96d0a18f3b2317e456d..bd4d5d535389156bc077744627301a65a5c6b940 100644 (file)
@@ -1,4 +1,4 @@
-From dd11ed66640f79143e42d778b58fdd5a61fb5836 Mon Sep 17 00:00:00 2001
+From ff325b35639a797edd92b373fbebf7b8b9f3f0c3 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Wed, 26 Aug 2015 16:25:45 +0300
 Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a
@@ -11,22 +11,23 @@ RP 2011/12/07
 ALIMON 2016/05/26
 ALIMON 2017/02/21
 KKang 2019/02/20
+
 ---
- src/main/script.c | 54 +++--------------------------------------------
- 1 file changed, 3 insertions(+), 51 deletions(-)
+ src/main/script.c | 53 +++--------------------------------------------
+ 1 file changed, 3 insertions(+), 50 deletions(-)
 
 diff --git a/src/main/script.c b/src/main/script.c
-index abe65b6..0edb8f1 100644
+index ecce4d842..16f4e6ff5 100644
 --- a/src/main/script.c
 +++ b/src/main/script.c
-@@ -96,58 +96,10 @@ setexecute(const char *path, struct stat *stab)
- static const char *
+@@ -97,58 +97,11 @@ static const char *
  maintscript_pre_exec(struct command *cmd)
  {
+       const char *instdir = dpkg_fsys_get_dir();
 -      const char *admindir = dpkg_db_get_dir();
 -      const char *changedir;
 -      size_t instdirlen = strlen(instdir);
--
 -      if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS))
 -              changedir = instdir;
 -      else
@@ -81,6 +82,3 @@ index abe65b6..0edb8f1 100644
  }
  
  /**
--- 
-2.25.1
-
similarity index 95%
rename from meta/recipes-devtools/dpkg/dpkg_1.21.9.bb
rename to meta/recipes-devtools/dpkg/dpkg_1.21.13.bb
index feb579723f67c49f8414e1cb01d9663e4c934eb3..8637dcfaf5082833372201df89ddc78f9e7e8fb9 100644 (file)
@@ -18,6 +18,6 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
 
 SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
 
-SRCREV = "c2d6b7de5849c62d3a4f55f61dbc53c1992f74ee"
+SRCREV = "ff61d6d650e0455d4c070306a482cf757285d58b"
 
 S = "${WORKDIR}/git"