summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-12-28 08:36:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-28 23:59:55 +0000
commit25e2d493aa2617b056d6fb81e4a243f96386a0c2 (patch)
tree1591210ef63a393e41e875fdb6d635f5d4c463f9 /meta/recipes-devtools/dpkg
parent77d8b2cc80f2cd12b3267367dc453ef0d53c2af2 (diff)
downloadpoky-25e2d493aa2617b056d6fb81e4a243f96386a0c2.tar.gz
dpkg: update 1.21.9 -> 1.21.13
libmd is a new dependency. (From OE-Core rev: 53862dd494c849db771d986752ca5dab464dc6cb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch7
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch18
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.21.13.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.21.9.bb)2
4 files changed, 13 insertions, 18 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 0d17a98b80..b3e8c05d62 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -4,8 +4,8 @@ HOMEPAGE = "https://salsa.debian.org/dpkg-team/dpkg"
4DESCRIPTION = "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." 4DESCRIPTION = "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."
5SECTION = "base" 5SECTION = "base"
6 6
7DEPENDS = "zlib bzip2 perl ncurses" 7DEPENDS = "zlib bzip2 perl ncurses libmd"
8DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" 8DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native libmd-native"
9RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" 9RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
10RDEPENDS:${PN}:class-native = "" 10RDEPENDS:${PN}:class-native = ""
11 11
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
index dc0d9bfc2e..1b5b89644f 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
@@ -1,4 +1,4 @@
1From 839f228556c00739f72534e8635195935eb3752f Mon Sep 17 00:00:00 2001 1From 54ca20a18253bcf0915b2e2985bbee79bf881ebe Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.microsoft.com> 2From: Paul Eggleton <paul.eggleton@linux.microsoft.com>
3Date: Tue, 16 Jun 2020 03:57:25 +0000 3Date: Tue, 16 Jun 2020 03:57:25 +0000
4Subject: [PATCH] build.c: ignore return of 1 from tar -cf 4Subject: [PATCH] build.c: ignore return of 1 from tar -cf
@@ -29,7 +29,7 @@ Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
29 1 file changed, 4 insertions(+), 1 deletion(-) 29 1 file changed, 4 insertions(+), 1 deletion(-)
30 30
31diff --git a/src/deb/build.c b/src/deb/build.c 31diff --git a/src/deb/build.c b/src/deb/build.c
32index 76613ad..7c216d1 100644 32index 76613adec..7c216d1a9 100644
33--- a/src/deb/build.c 33--- a/src/deb/build.c
34+++ b/src/deb/build.c 34+++ b/src/deb/build.c
35@@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, 35@@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
@@ -51,6 +51,3 @@ index 76613ad..7c216d1 100644
51 } 51 }
52 52
53 static intmax_t 53 static intmax_t
54--
552.25.1
56
diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
index 75ae848264..bd4d5d5353 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
@@ -1,4 +1,4 @@
1From dd11ed66640f79143e42d778b58fdd5a61fb5836 Mon Sep 17 00:00:00 2001 1From ff325b35639a797edd92b373fbebf7b8b9f3f0c3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:25:45 +0300 3Date: Wed, 26 Aug 2015 16:25:45 +0300
4Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a 4Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a
@@ -11,22 +11,23 @@ RP 2011/12/07
11ALIMON 2016/05/26 11ALIMON 2016/05/26
12ALIMON 2017/02/21 12ALIMON 2017/02/21
13KKang 2019/02/20 13KKang 2019/02/20
14
14--- 15---
15 src/main/script.c | 54 +++-------------------------------------------- 16 src/main/script.c | 53 +++--------------------------------------------
16 1 file changed, 3 insertions(+), 51 deletions(-) 17 1 file changed, 3 insertions(+), 50 deletions(-)
17 18
18diff --git a/src/main/script.c b/src/main/script.c 19diff --git a/src/main/script.c b/src/main/script.c
19index abe65b6..0edb8f1 100644 20index ecce4d842..16f4e6ff5 100644
20--- a/src/main/script.c 21--- a/src/main/script.c
21+++ b/src/main/script.c 22+++ b/src/main/script.c
22@@ -96,58 +96,10 @@ setexecute(const char *path, struct stat *stab) 23@@ -97,58 +97,11 @@ static const char *
23 static const char *
24 maintscript_pre_exec(struct command *cmd) 24 maintscript_pre_exec(struct command *cmd)
25 { 25 {
26 const char *instdir = dpkg_fsys_get_dir();
26- const char *admindir = dpkg_db_get_dir(); 27- const char *admindir = dpkg_db_get_dir();
27- const char *changedir; 28- const char *changedir;
28- size_t instdirlen = strlen(instdir); 29- size_t instdirlen = strlen(instdir);
29- 30
30- if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS)) 31- if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS))
31- changedir = instdir; 32- changedir = instdir;
32- else 33- else
@@ -81,6 +82,3 @@ index abe65b6..0edb8f1 100644
81 } 82 }
82 83
83 /** 84 /**
84--
852.25.1
86
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.21.9.bb b/meta/recipes-devtools/dpkg/dpkg_1.21.13.bb
index feb579723f..8637dcfaf5 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.21.9.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.21.13.bb
@@ -18,6 +18,6 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
18 18
19SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch" 19SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
20 20
21SRCREV = "c2d6b7de5849c62d3a4f55f61dbc53c1992f74ee" 21SRCREV = "ff61d6d650e0455d4c070306a482cf757285d58b"
22 22
23S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"