summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2023-09-02 14:10:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-03 10:34:20 +0100
commite2d82c3691fe932360b9af21a023b6460f815132 (patch)
treea75f6c02837a8c929fe28998e6b754e5fb1b091d /meta/recipes-devtools/dpkg
parent838aaa214dda765a95630ffdfee0a399ee7f39d4 (diff)
downloadpoky-e2d82c3691fe932360b9af21a023b6460f815132.tar.gz
dpkg: upgrade to v1.22.0
Changes: Use main branch Rebase patch (From OE-Core rev: 7620c855b77937b664b18f6aae29541f883a81f0) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch7
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.22.0.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.21.22.bb)4
2 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
index 9fe0ca7600..ef5f7c3ec3 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
@@ -13,14 +13,14 @@ Upstream-Status: Inappropriate [embedded specific]
13 1 file changed, 2 insertions(+), 4 deletions(-) 13 1 file changed, 2 insertions(+), 4 deletions(-)
14 14
15diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c 15diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c
16index 453077fd9..f42ea2882 100644 16index 63a36f55c..81901bd5a 100644
17--- a/lib/dpkg/parsehelp.c 17--- a/lib/dpkg/parsehelp.c
18+++ b/lib/dpkg/parsehelp.c 18+++ b/lib/dpkg/parsehelp.c
19@@ -243,14 +243,12 @@ parseversion(struct dpkg_version *rversion, const char *string, 19@@ -275,14 +275,12 @@ parseversion(struct dpkg_version *rversion, const char *string,
20 ptr = rversion->version; 20 ptr = rversion->version;
21 if (!*ptr) 21 if (!*ptr)
22 return dpkg_put_error(err, _("version number is empty")); 22 return dpkg_put_error(err, _("version number is empty"));
23- if (*ptr && !c_isdigit(*ptr++)) 23- if (!c_isdigit(*ptr++))
24- return dpkg_put_warn(err, _("version number does not start with digit")); 24- return dpkg_put_warn(err, _("version number does not start with digit"));
25 for (; *ptr; ptr++) { 25 for (; *ptr; ptr++) {
26- if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~:", *ptr) == NULL) 26- if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~:", *ptr) == NULL)
@@ -32,7 +32,6 @@ index 453077fd9..f42ea2882 100644
32+ if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~_", *ptr) == NULL) 32+ if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~_", *ptr) == NULL)
33 return dpkg_put_warn(err, _("invalid character in revision number")); 33 return dpkg_put_warn(err, _("invalid character in revision number"));
34 } 34 }
35
36 35
37-- 36--
382.11.0 372.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.21.22.bb b/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb
index 04bcc93321..7eaae9f22e 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.21.22.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb
@@ -1,7 +1,7 @@
1require dpkg.inc 1require dpkg.inc
2LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 2LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
3 3
4SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=1.21.x \ 4SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main \
5 file://noman.patch \ 5 file://noman.patch \
6 file://remove-tar-no-timestamp.patch \ 6 file://remove-tar-no-timestamp.patch \
7 file://arch_pm.patch \ 7 file://arch_pm.patch \
@@ -18,6 +18,6 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=1.21.
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 = "48482e4f16467e05a08aa3b3b8048e08f0024609" 21SRCREV = "744487c98a622b9b38c22c6ca330315af4a30a11"
22 22
23S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"