Compare commits

..

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

4 changed files with 14 additions and 290 deletions

BIN
libzypp-17.34.1.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,241 +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
- Deprecate librpmDb::db_const_iterator default ctor (bsc#1230267)
It's preferred to explicitly tell the root directory of the
system whose database you want to query.
- version 17.35.11 (35)
-------------------------------------------------------------------
Fri Sep 6 11:55:42 CEST 2024 - ma@suse.de
- API refactoring. Prevent zypper from using now private libzypp
symbols (bsc#1230267)
- Conflicts: zypper <= 1.14.76
- version 17.35.10 (35)
-------------------------------------------------------------------
Mon Aug 5 12:04:25 CEST 2024 - ma@suse.de
- single_rpmtrans: fix installation of .src.rpms (bsc#1228647)
- version 17.35.9 (35)
-------------------------------------------------------------------
Fri Aug 2 12:46:50 CEST 2024 - ma@suse.de
- Make sure not to statically linked installed tools (bsc#1228787)
- version 17.35.8 (35)
-------------------------------------------------------------------
Thu Aug 1 17:35:44 CEST 2024 - ma@suse.de
- MediaPluginType must be resolved to a valid MediaHandler
(bsc#1228208)
- version 17.35.7 (35)
-------------------------------------------------------------------
Tue Jul 30 16:59:53 CEST 2024 - ma@suse.de
- Export CredentialManager for legacy YAST versions (bsc#1228420)
- version 17.35.6 (35)
-------------------------------------------------------------------
Tue Jul 30 15:55:38 CEST 2024 - ma@suse.de
- Export asSolvable for YAST (bsc#1228420)
- Fix 4 typos in zypp.conf.
- version 17.35.5 (35)
-------------------------------------------------------------------
Tue Jul 23 14:19:39 CEST 2024 - ma@suse.de
- Fix typo in the geoip update pipeline (bsc#1228206)
- Export RepoVariablesStringReplacer for yast2 (bsc#1228138)
- version 17.35.4 (35)
-------------------------------------------------------------------
Mon Jul 15 16:13:25 CEST 2024 - ma@suse.de
- Translation: updated .pot file.
- Conflict with python zypp-plugin < 0.6.4 (bsc#1227793)
Older zypp-plugins reject stomp headers including a '-'. Like the
'content-length' header we may send.
- Fix int overflow in Provider (fixes #559)
This patch fixes an issue in safe_strtonum which caused
timestamps to overflow in the Provider message parser.
- Fix error reporting on repoindex.xml parse error (bsc#1227625)
- version 17.35.3 (35)
-------------------------------------------------------------------
Tue Jul 9 11:28:36 CEST 2024 - ma@suse.de
- Keep UrlResolverPlugin API public (fixes #560)
- Blacklist /snap executables for 'zypper ps' (bsc#1226014)
- Fix handling of buddies when applying locks (bsc#1225267)
Buddy pairs (like -release package and product) internally share
the same status object. When applying locks from query results
the locked bit must be set if either item is locked.
- version 17.35.2 (35)
-------------------------------------------------------------------
Tue Jul 2 12:30:20 CEST 2024 - ma@suse.de
- Install zypp/APIConfig.h legacy include (fixes #557)
- version 17.35.1 (35)
-------------------------------------------------------------------
Fri Jun 28 17:48:09 CEST 2024 - ma@suse.de
- Update soname due to RepoManager refactoring and cleanup.
- version 17.35.0 (35)
-------------------------------------------------------------------
Mon Jun 24 12:48:00 CEST 2024 - ma@suse.de
- Workaround broken libsolv-tools-base requirements (fixes
openSUSE/zypper#551)
- Strip ssl_clientkey from repo urls (bsc#1226030)
- Remove protobuf build dependency.
- Lazily attach medium during refresh workflows (bsc#1223094)
- Refactor RepoManager and add Service workflows.
- version 17.34.2 (34)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 31 12:19:45 CEST 2024 - ma@suse.de Fri May 31 12:19:45 CEST 2024 - ma@suse.de

View File

@ -15,27 +15,17 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # 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) %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 || (0%{?is_opensuse} && 0%{?sle_version} >= 150100)
%bcond_without zchunk %bcond_without zchunk
%else %else
%bcond_with zchunk %bcond_with zchunk
%endif %endif
# libsolvs external references require us to link against it:
# libsolvs external references might require us to link against zstd, bz2, xz
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500 %if 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
%bcond_without zstd %bcond_without zstd
%else %else
%bcond_with zstd %bcond_with zstd
%endif %endif
%if 0%{?sle_version} >= 120300 || 0%{?suse_version} >= 1330 || !0%{?suse_version}
%bcond_without bz2
%bcond_without xz
%else
%bcond_with bz2
%bcond_with xz
%endif
%bcond_without mediabackend_tests %bcond_without mediabackend_tests
@ -59,7 +49,7 @@
%bcond_with enable_preview_single_rpmtrans_as_default_for_zypper %bcond_with enable_preview_single_rpmtrans_as_default_for_zypper
Name: libzypp Name: libzypp
Version: 17.36.4 Version: 17.34.1
Release: 0 Release: 0
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://github.com/openSUSE/libzypp URL: https://github.com/openSUSE/libzypp
@ -71,12 +61,6 @@ Source1: %{name}-rpmlintrc
Provides: yast2-packagemanager Provides: yast2-packagemanager
Obsoletes: yast2-packagemanager Obsoletes: yast2-packagemanager
# bsc#1227793: python zypp-plugin < 0.6.4 rejects stomp headers including a '-'
Conflicts: python2-zypp-plugin < 0.6.4
Conflicts: python3-zypp-plugin < 0.6.4
# API refactoring. Prevent zypper from using (now) private symbols
Conflicts: zypper <= 1.14.76
# Features we provide (update doc/autoinclude/FeatureTest.doc): # Features we provide (update doc/autoinclude/FeatureTest.doc):
Provides: libzypp(plugin) = 0.1 Provides: libzypp(plugin) = 0.1
Provides: libzypp(plugin:appdata) = 0 Provides: libzypp(plugin:appdata) = 0
@ -92,7 +76,7 @@ Recommends: logrotate
# lsof is used for 'zypper ps': # lsof is used for 'zypper ps':
Recommends: lsof Recommends: lsof
%endif %endif
BuildRequires: cmake >= 3.10 BuildRequires: cmake >= 3.1
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
@ -136,7 +120,6 @@ BuildRequires: libsolv-devel >= 0.7.24
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150600 %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150600
BuildRequires: libsolv-tools-base >= 0.7.29 BuildRequires: libsolv-tools-base >= 0.7.29
%requires_eq libsolv-tools-base %requires_eq libsolv-tools-base
Requires: ( findutils if libsolv-tools-base <= 0.7.31 )
%else %else
BuildRequires: libsolv-tools BuildRequires: libsolv-tools
%requires_eq libsolv-tools %requires_eq libsolv-tools
@ -144,6 +127,7 @@ BuildRequires: libsolv-tools
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libsigc++2-devel BuildRequires: libsigc++2-devel
BuildRequires: protobuf-devel
BuildRequires: readline-devel >= 5.1 BuildRequires: readline-devel >= 5.1
# required for testsuite # required for testsuite
@ -203,23 +187,10 @@ BuildRequires: libxslt-tools
%if %{with zchunk} %if %{with zchunk}
BuildRequires: libzck-devel BuildRequires: libzck-devel
%endif %endif
%if %{with zstd} %if %{with zstd}
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
%endif %endif
%if %{with bz2}
%if 0%{?suse_version}
BuildRequires: libbz2-devel
%else
BuildRequires: bzip2-devel
%endif
%endif
%if %{with xz}
BuildRequires: xz-devel
%endif
%description %description
libzypp is the package management library that powers applications libzypp is the package management library that powers applications
like YaST, zypper and the openSUSE/SLE implementation of PackageKit. like YaST, zypper and the openSUSE/SLE implementation of PackageKit.
@ -291,24 +262,16 @@ Developer documentation for libzypp.
%build %build
mkdir build mkdir build
cd build cd build
%if 0%{?suse_version} > 1500
%if 0%{?suse_version} == 1600 # Bug 1189788 - UsrMerge: filesystem package breaks system when upgraded in a single rpm transaction
# bsc#1216091: rpm-4.18' does not execute 'rpm --runposttrans' # While the bug is not fixed, we don't allow ZYPP_SINGLE_RPMTRANS=1 on a not UsrMerged system
# scripts chroot if --root is used. export CFLAGS="%{optflags} -DNO_SINGLETRANS_USERMERGE"
export CFLAGS="%{optflags} -DWORKAROUNDDUMPPOSTTRANS_BUG_1216091" export CXXFLAGS="%{optflags} -DNO_SINGLETRANS_USERMERGE"
export CXXFLAGS="%{optflags} -DWORKAROUNDDUMPPOSTTRANS_BUG_1216091"
%else %else
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}" export CXXFLAGS="%{optflags}"
%endif %endif
unset EXTRA_CMAKE_OPTIONS
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
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DENABLE_BUILD_DOCS=TRUE \ -DENABLE_BUILD_DOCS=TRUE \
@ -438,15 +401,14 @@ done
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/cmake/Zypp
%{_libdir}/libzypp.so %{_libdir}/libzypp.so
%{_libdir}/libzypp-tui.a %{_libdir}/libzypp-tui.a
%{_datadir}/cmake/Modules/*
%{_includedir}/zypp %{_includedir}/zypp
%{_includedir}/zypp-core %{_includedir}/zypp-core
%{_includedir}/zypp-media %{_includedir}/zypp-media
%{_includedir}/zypp-curl %{_includedir}/zypp-curl
%{_includedir}/zypp-tui %{_includedir}/zypp-tui
%{_includedir}/zypp-common
%{_libdir}/pkgconfig/libzypp.pc %{_libdir}/pkgconfig/libzypp.pc
%files devel-doc %files devel-doc