Accepting request 979484 from system:packagemanager

OBS-URL: https://build.opensuse.org/request/show/979484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dpkg?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2022-05-30 10:42:29 +00:00 committed by Git OBS Bridge
commit 708ffc3b82
7 changed files with 48 additions and 33 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri May 27 09:40:32 UTC 2022 - pgajdos@suse.com
- version update to 1.21.8
* fix CVE-2022-1664 [bsc#1199944], dpkg -- security update
* lot of changes, see changelog
- modified patches
% update-alternatives-suse.patch (refreshed)
-------------------------------------------------------------------
Mon Jan 3 12:15:28 UTC 2022 - Dan Čermák <dcermak@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package dpkg
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: dpkg
Version: 1.21.1
Version: 1.21.8
Release: 0
Summary: Debian package management system
License: GPL-2.0-or-later

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1eb9fd5228b3199284ea5134904bb45b7a5bc12fb044b8e4964d89d2e5bbb563
size 4986936

BIN
dpkg_1.21.8.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -10,10 +10,10 @@ Subject: [PATCH 3/4] update-alternatives-suse
utils/update-alternatives.c | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/man/update-alternatives.pod b/man/update-alternatives.pod
index 7f3e0e66f..54e91f26b 100644
--- a/man/update-alternatives.pod
+++ b/man/update-alternatives.pod
Index: dpkg-1.21.8/man/update-alternatives.pod
===================================================================
--- dpkg-1.21.8.orig/man/update-alternatives.pod
+++ dpkg-1.21.8/man/update-alternatives.pod
@@ -37,7 +37,7 @@ B<update-alternatives>
B<update-alternatives>
@ -23,7 +23,7 @@ index 7f3e0e66f..54e91f26b 100644
It is possible for several programs fulfilling the same or similar
functions to be installed on a single system at the same time.
@@ -47,7 +47,7 @@ different editor, if desired, but makes it difficult for a program
@@ -47,7 +47,7 @@ different editor, if desired, but makes
to make a good choice for an editor to invoke if the
user has not specified a particular preference.
@ -43,11 +43,11 @@ index 7f3e0e66f..54e91f26b 100644
(configure) to install the alternative and from
B<prerm> and B<postrm>
(remove) to remove the alternative.
diff --git a/utils/Makefile.am b/utils/Makefile.am
index a86cba32b..d19007073 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -45,8 +45,8 @@ update_alternatives_SOURCES = \
Index: dpkg-1.21.8/utils/Makefile.am
===================================================================
--- dpkg-1.21.8.orig/utils/Makefile.am
+++ dpkg-1.21.8/utils/Makefile.am
@@ -47,8 +47,8 @@ update_alternatives_SOURCES = \
update_alternatives_CPPFLAGS = \
-DALT_TMP_EXT=\".dpkg-tmp\" \
@ -55,10 +55,10 @@ index a86cba32b..d19007073 100644
- -DINSTDIR_ENVVAR=\"DPKG_ROOT\" \
+ -DADMINDIR_ENVVAR=\"RPM_ADMINDIR\" \
+ -DINSTDIR_ENVVAR=\"RPM_ROOT\" \
$(AM_CPPFLAGS)
$(AM_CPPFLAGS) \
# EOL
update_alternatives_LDADD = \
@@ -81,9 +81,9 @@ uninstall-local:
@@ -85,9 +85,9 @@ uninstall-local:
rm -f $(DESTDIR)$(sysconfdir)/alternatives/README
TEST_ENV_VARS = \
@ -71,11 +71,11 @@ index a86cba32b..d19007073 100644
UA_ADMINDIR_DEFAULT=$(admindir) \
# EOL
diff --git a/utils/t/update_alternatives.t b/utils/t/update_alternatives.t
index a4885dda9..a0959e5d9 100644
--- a/utils/t/update_alternatives.t
+++ b/utils/t/update_alternatives.t
@@ -32,8 +32,8 @@ my $bindir = File::Spec->rel2abs("$tmpdir/bin");
Index: dpkg-1.21.8/utils/t/update_alternatives.t
===================================================================
--- dpkg-1.21.8.orig/utils/t/update_alternatives.t
+++ dpkg-1.21.8/utils/t/update_alternatives.t
@@ -32,8 +32,8 @@ my $bindir = File::Spec->rel2abs("$tmpdi
my @ua = ("$ENV{builddir}/update-alternatives", '--log', '/dev/null',
'--quiet', '--admindir', "$admindir", '--altdir', "$altdir");
@ -86,11 +86,11 @@ index a4885dda9..a0959e5d9 100644
delete $ENV{$rootdir_envvar};
delete $ENV{$admindir_envvar};
diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c
index 716035876..eee59d590 100644
--- a/utils/update-alternatives.c
+++ b/utils/update-alternatives.c
@@ -115,7 +115,7 @@ static int opt_force = 0;
Index: dpkg-1.21.8/utils/update-alternatives.c
===================================================================
--- dpkg-1.21.8.orig/utils/update-alternatives.c
+++ dpkg-1.21.8/utils/update-alternatives.c
@@ -116,7 +116,7 @@ static int opt_force = 0;
static void
version(void)
{
@ -99,6 +99,3 @@ index 716035876..eee59d590 100644
printf("\n");
printf(_(
--
2.33.1

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri May 27 09:40:32 UTC 2022 - pgajdos@suse.com
- version update to 1.21.8
* fix CVE-2022-1664 [bsc#1199944], dpkg -- security update
* lot of changes, see changelog
- modified patches
% update-alternatives-suse.patch (refreshed)
-------------------------------------------------------------------
Mon Jan 3 12:15:28 UTC 2022 - Dan Čermák <dcermak@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package update-alternatives
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: update-alternatives
Version: 1.21.1
Version: 1.21.8
Release: 0
Summary: Maintain symbolic links determining default commands
License: GPL-2.0-or-later