Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

4 changed files with 12 additions and 159 deletions

BIN
libzypp-17.35.11.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@ -1,139 +1,3 @@
-------------------------------------------------------------------
Fri Feb 28 16:20:03 CET 2025 - ma@suse.de
- Add a transaction package preloader (fixes openSUSE/zypper#104)
This patch adds a preloader that concurrently downloads files
during a transaction commit. It's not yet enabled per default.
To enable the preview set ZYPP_CURL2=1 and ZYPP_PCK_PRELOAD=1
in the environment.
- RpmPkgSigCheck_test: Exchange the test package signingkey
(fixes #622)
- Exclude MediaCurl tests if DISABLE_MEDIABACKEND_TESTS (fixes #626)
- Strip a mediahandler tag from baseUrl querystrings.
- version 17.36.4 (35)
-------------------------------------------------------------------
Thu Feb 27 10:21:22 CET 2025 - ma@suse.de
- Disable zypp.conf:download.use_deltarpm by default (fixes #620)
Measurements show that you don't benefit from using deltarpms
unless your network connection is very slow. That's why most
distributions even stop offering deltarpms. The default remains
unchanged on SUSE-15.6 and older.
- Make sure repo variables are evaluated in the right context
(bsc#1237044)
- Introducing MediaCurl2 a alternative HTTP backend.
This patch adds MediaCurl2 as a testbed for experimenting with a
more simple way to download files. Set ZYPP_CURL2=1 in the
environment to use it.
- version 17.36.3 (35)
-------------------------------------------------------------------
Fri Feb 21 15:08:12 CET 2025 - ma@suse.de
- Filesystem usrmerge must not be done in singletrans mode
(bsc#1236481, bsc#1189788)
Commit will amend the backend in case the transaction would
perform a filesystem usrmerge.
- Workaround bsc#1216091 on Code16.
- version 17.36.2 (35)
-------------------------------------------------------------------
Wed Feb 12 15:58:56 CET 2025 - ma@suse.de
- Don't issue deprecated warnings if -DNDEBUG is set (bsc#1236983)
Released libyui packages compile with -Werror=deprecated-declarations
so we can't add deprecated warnings without breaking them.
- make gcc15 happy (fixes #613)
- version 17.36.1 (35)
-------------------------------------------------------------------
Mon Feb 10 16:18:10 CET 2025 - ma@suse.de
- Drop zypp-CheckAccessDeleted in favor of 'zypper ps'.
- Fix Repoverification plugin not being executed (fixes #614)
- Refresh: Fetch the master index file before key and signature
(bsc#1236820)
- Allow libzypp to compile with C++20.
- Deprecate RepoReports we do not trigger.
- version 17.36.0 (35)
-------------------------------------------------------------------
Wed Jan 22 16:09:09 CET 2025 - ma@suse.de
- Create '.keep_packages' in the package cache dir to enforce
keeping downloaded packages of all repos cahed there (bsc#1232458)
- version 17.35.19 (35)
-------------------------------------------------------------------
Mon Jan 20 17:17:16 CET 2025 - ma@suse.de
- Fix missing UID checks in repomanager workflow (fixes #603)
- version 17.35.18 (35)
-------------------------------------------------------------------
Mon Jan 20 10:36:25 CET 2025 - ma@suse.de
- Move cmake config files to LIB_INSTALL_DIR/cmake/Zypp (fixes #28)
- Fix 'zypper ps' when running in incus container (bsc#1229106)
Should apply to lxc and lxd containers as well.
- Re-enable 'rpm --runposttrans' usage for chrooted systems
(bsc#1216091)
- version 17.35.17 (35)
-------------------------------------------------------------------
Wed Dec 18 22:40:49 CET 2024 - ma@suse.de
- Url: queryparams without value should not have a trailing "=".
- version 17.35.16 (35)
-------------------------------------------------------------------
Mon Dec 9 19:01:14 CET 2024 - ma@suse.de
- Url query part: `=` is a safe char in value (bsc#1234304)
- RpmDb: Recognize rpmdb.sqlite as database file (#593)
- Fix typo (fixes #592)
- cmake: check location of fcgi header and adjust include
accordingly. On Debian and derivatives the fcgi headers
are not stored in a fastcgi/ subdirectory.(#590)
- version 17.35.15 (35)
-------------------------------------------------------------------
Fri Nov 15 10:45:20 CET 2024 - ma@suse.de
- The 20MB download limit must not apply to non-metadata files like
package URLs provided via the CLI (bsc#1233393).
- version 17.35.14 (35)
-------------------------------------------------------------------
Tue Nov 12 14:35:35 CET 2024 - ma@suse.de
- BuildCache: Don't try to retrieve missing raw metadata if no
permission to write the cache (bsc#1225451)
- RepoManager: throw RepoNoPermissionException if the user has no
permission to update(write) the caches (bsc#1225451)
- version 17.35.13 (35)
-------------------------------------------------------------------
Wed Oct 9 18:21:43 CEST 2024 - ma@suse.de
- PluginFrame: Send unescaped colons in header values
(bsc#1231043)
According to the STOMP protocol it would be correct to escape a
colon in a header-value, but it breaks plugin receivers which do
not expect this. The first colon separates header-name from
header-value, so escaping in the header-value is not needed
anyway.
Escaping in the header-value affects especially the urlresolver
plugins. The input URL is passed in a header, but sent back as
raw data in the frames body. If the plugin receiver does not
correctly unescape the URL we may get back a "https\c//" which is
not usable.
- Do not ignore return value of std::remove_if in MediaSyncFacade
(fixes #579)
- Fix hang in curl code with no network connection (bsc#1230912)
- version 17.35.12 (35)
-------------------------------------------------------------------
Thu Sep 12 13:44:05 CEST 2024 - ma@suse.de

View File

@ -15,8 +15,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 || (0%{?is_opensuse} && 0%{?sle_version} >= 150100)
%bcond_without zchunk
%else
@ -59,7 +57,7 @@
%bcond_with enable_preview_single_rpmtrans_as_default_for_zypper
Name: libzypp
Version: 17.36.4
Version: 17.35.11
Release: 0
License: GPL-2.0-or-later
URL: https://github.com/openSUSE/libzypp
@ -92,7 +90,7 @@ Recommends: logrotate
# lsof is used for 'zypper ps':
Recommends: lsof
%endif
BuildRequires: cmake >= 3.10
BuildRequires: cmake >= 3.5
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(libudev)
%if 0%{?suse_version} >= 1330
@ -291,24 +289,16 @@ Developer documentation for libzypp.
%build
mkdir build
cd build
%if 0%{?suse_version} == 1600
# bsc#1216091: rpm-4.18' does not execute 'rpm --runposttrans'
# scripts chroot if --root is used.
export CFLAGS="%{optflags} -DWORKAROUNDDUMPPOSTTRANS_BUG_1216091"
export CXXFLAGS="%{optflags} -DWORKAROUNDDUMPPOSTTRANS_BUG_1216091"
%if 0%{?suse_version} > 1500
# Bug 1189788 - UsrMerge: filesystem package breaks system when upgraded in a single rpm transaction
# While the bug is not fixed, we don't allow ZYPP_SINGLE_RPMTRANS=1 on a not UsrMerged system
export CFLAGS="%{optflags} -DNO_SINGLETRANS_USERMERGE"
export CXXFLAGS="%{optflags} -DNO_SINGLETRANS_USERMERGE"
%else
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%endif
EXTRA_CMAKE_OPTIONS=
%if 0%{?suse_version}
EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DLIBZYPP_CODESTREAM=0%{?suse_version}:0%{?sle_version}:0%{?is_opensuse}"
%endif
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150600
EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DLIBZYPP_CONFIG_USE_DELTARPM_BY_DEFAULT=1"
%endif
unset EXTRA_CMAKE_OPTIONS
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DENABLE_BUILD_DOCS=TRUE \
@ -438,15 +428,14 @@ done
%files devel
%defattr(-,root,root)
%{_libdir}/cmake/Zypp
%{_libdir}/libzypp.so
%{_libdir}/libzypp-tui.a
%{_datadir}/cmake/Modules/*
%{_includedir}/zypp
%{_includedir}/zypp-core
%{_includedir}/zypp-media
%{_includedir}/zypp-curl
%{_includedir}/zypp-tui
%{_includedir}/zypp-common
%{_libdir}/pkgconfig/libzypp.pc
%files devel-doc