From: Luca Boccassi Date: Tue, 10 Sep 2024 10:19:14 +0000 (+0200) Subject: Import libzypp_17.35.10-1.debian.tar.xz X-Git-Tag: archive/raspbian/17.35.10-1+rpi1^2~3^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5eb1a96afe5c024ccbf5e699c3fe10b12e499d17;p=libzypp.git Import libzypp_17.35.10-1.debian.tar.xz [dgit import tarball libzypp 17.35.10-1 libzypp_17.35.10-1.debian.tar.xz] --- 5eb1a96afe5c024ccbf5e699c3fe10b12e499d17 diff --git a/changelog b/changelog new file mode 100644 index 0000000..15e1284 --- /dev/null +++ b/changelog @@ -0,0 +1,492 @@ +libzypp (17.35.10-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.10' + + -- Luca Boccassi Tue, 10 Sep 2024 12:19:14 +0200 + +libzypp (17.35.9-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.9' + + -- Luca Boccassi Fri, 09 Aug 2024 11:19:16 +0100 + +libzypp (17.35.8-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.8' + + -- Luca Boccassi Sun, 04 Aug 2024 12:39:17 +0100 + +libzypp (17.35.7-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.7' + + -- Luca Boccassi Fri, 02 Aug 2024 09:56:34 +0100 + +libzypp (17.35.4-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.4' + + -- Luca Boccassi Sat, 27 Jul 2024 14:58:37 +0100 + +libzypp (17.35.3-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.3' + + -- Luca Boccassi Fri, 19 Jul 2024 14:18:06 +0100 + +libzypp (17.35.2-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.2' + + -- Luca Boccassi Thu, 11 Jul 2024 10:16:11 +0100 + +libzypp (17.35.1-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.1' + + -- Luca Boccassi Sun, 07 Jul 2024 11:49:17 +0100 + +libzypp (17.35.0-2) unstable; urgency=medium + + * Source-only upload. + + -- Luca Boccassi Mon, 01 Jul 2024 09:40:32 +0100 + +libzypp (17.35.0-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.35.0' + * Drop protobuf dependencies, no longer used + * Rename libzypp package for soname bump + + -- Luca Boccassi Fri, 28 Jun 2024 21:13:59 +0100 + +libzypp (17.34.1-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.34.1' + + -- Luca Boccassi Tue, 04 Jun 2024 10:39:20 +0100 + +libzypp (17.34.0-1) unstable; urgency=medium + + * Upload to unstable + + -- Luca Boccassi Wed, 15 May 2024 17:15:28 +0100 + +libzypp (17.34.0-1~exp) experimental; urgency=medium + + * Update upstream source from tag 'upstream/17.34.0' + * Rename libzypp package for SONAME bump + + -- Luca Boccassi Wed, 15 May 2024 11:27:27 +0100 + +libzypp (17.33.3-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.33.3' + + -- Luca Boccassi Fri, 10 May 2024 11:23:05 +0100 + +libzypp (17.33.1-1) unstable; urgency=medium + + * Upload to unstable + + -- Luca Boccassi Sun, 05 May 2024 12:14:49 +0100 + +libzypp (17.33.1-1~exp) experimental; urgency=medium + + * Update upstream source from tag 'upstream/17.33.1' + * Recommend libproxy1v5, it is now dlopen'ed when needed + * Rename libzypp package for new SONAME version + + -- Luca Boccassi Sat, 04 May 2024 14:12:01 +0100 + +libzypp (17.32.6-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.32.6' + + -- Luca Boccassi Fri, 03 May 2024 11:29:08 +0100 + +libzypp (17.32.5-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.32.5' + * Bump Standards-Version to 4.7.0, no changes + + -- Luca Boccassi Sat, 20 Apr 2024 19:39:40 +0100 + +libzypp (17.32.3-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.32.3' + * Add support for nodoc profile + * Use nodoc profile on Salsa + + -- Luca Boccassi Sun, 14 Apr 2024 15:14:07 +0100 + +libzypp (17.32.2-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.32.2' + + -- Luca Boccassi Fri, 05 Apr 2024 23:16:45 +0100 + +libzypp (17.32.1-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.32.1' + + -- Luca Boccassi Mon, 01 Apr 2024 14:21:30 +0100 + +libzypp (17.32.0-1) unstable; urgency=medium + + * Upload to unstable. + + -- Luca Boccassi Sun, 24 Mar 2024 18:28:24 +0000 + +libzypp (17.32.0-1~exp1) experimental; urgency=medium + + * Update upstream source from tag 'upstream/17.32.0' + * Rename libzyp1722 -> libzypp1732 for new soname version + + -- Luca Boccassi Sat, 23 Mar 2024 19:41:39 +0000 + +libzypp (17.31.31-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.31.31' + * Build depend on pkgconf instead of pkg-config + + -- Luca Boccassi Thu, 08 Feb 2024 12:25:59 +0000 + +libzypp (17.31.29-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.31.29' + + -- Luca Boccassi Thu, 25 Jan 2024 23:52:52 +0000 + +libzypp (17.31.28-1) unstable; urgency=medium + + * Move package to pkg-rpm-team + * Update upstream source from tag 'upstream/17.31.28' + * Bump copyright year ranges in d/copyright + + -- Luca Boccassi Sat, 13 Jan 2024 12:01:01 +0000 + +libzypp (17.31.27-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.31.27' + (Closes: #1058996) + * Add build dependency on vsftpd + + -- Luca Boccassi Tue, 26 Dec 2023 18:17:14 +0100 + +libzypp (17.31.25-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.31.25' + + -- Luca Boccassi Mon, 18 Dec 2023 19:00:50 +0100 + +libzypp (17.31.23-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.31.23' + + -- Luca Boccassi Thu, 26 Oct 2023 15:19:54 +0100 + +libzypp (17.31.22-1) unstable; urgency=medium + + * Update upstream source from tag 'upstream/17.31.22' + * Drop 1010_gpgme-pkg_search_module.diff and RpmHeader-include.patch, + merged upstream + + -- Luca Boccassi Sat, 14 Oct 2023 10:49:12 +0100 + +libzypp (17.31.21-2) unstable; urgency=medium + + * Merge tag '17.31.21' into debian/sid + * Switch to git-buildpackage workflow + * Switch to debhelper + * Disable flaky tests (Closes: #1053289) + * Fix build without 'all' packages + * Override Lintian error about documentation + + -- Luca Boccassi Sun, 01 Oct 2023 22:00:33 +0100 + +libzypp (17.31.21-1) unstable; urgency=medium + + * Mark libzypp-common as MA: foreign + * d/copyright: use common stanzas for same license and wildcards + * d/copyright: update upstream-contact to project mailing list + * New upstream release 17.31.21 + + -- Luca Boccassi Sat, 30 Sep 2023 14:03:06 +0100 + +libzypp (17.31.20-1) unstable; urgency=medium + + * New upstream release 17.31.20 + + -- Luca Boccassi Sun, 27 Aug 2023 01:48:46 +0100 + +libzypp (17.31.17-1) unstable; urgency=medium + + * New upstream release 17.31.17-1 + + -- Luca Boccassi Mon, 31 Jul 2023 21:10:25 +0100 + +libzypp (17.31.16-1) unstable; urgency=medium + + * New upstream release 17.31.16 + * Install new static libs in -dev package + + -- Luca Boccassi Wed, 26 Jul 2023 23:07:13 +0100 + +libzypp (17.31.15-1) unstable; urgency=medium + + * New upstream release 17.31.15 + * Drop 1003_various-typo-fixes.patch, fixed or obsolete + * Drop 0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch, applied + upstream + * Drop 0001-Fix-building-with-GCC-12.x-release.patch, applied upstream + * Refresh patches for new upstream release 17.31.15 + * Bump Standards-Version to 4.6.2, no changes + * Add new build dependency on protobuf + * Install new header files + * Install new zypp-rpm binary + * Bump dependency on libsolv to 0.7.24 + * Add myself as uploader + + -- Luca Boccassi Thu, 06 Jul 2023 11:11:32 +0100 + +libzypp (17.25.7-2.4) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS due to missing #include. (Closes: #1028680) + + -- Adrian Bunk Sat, 25 Feb 2023 22:30:40 +0200 + +libzypp (17.25.7-2.3) unstable; urgency=low + + * Non-maintainer upload. + * 1010_gpgme-pkg_search_module.diff: Fix FTBFS against libgpgme-dev >= + 1.18.0-2 by using pkg_search_module(). Closes: #1024577 + + -- Andreas Metzler Thu, 08 Dec 2022 12:07:05 +0100 + +libzypp (17.25.7-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for FTBFS with gcc 12. (Closes: #1016279) + + -- Adrian Bunk Thu, 06 Oct 2022 23:17:51 +0300 + +libzypp (17.25.7-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for FTBFS with gcc 11. (Closes: #984214) + + -- Adrian Bunk Thu, 09 Dec 2021 19:34:44 +0200 + +libzypp (17.25.7-2) unstable; urgency=medium + + * debian/watch: + + Fix Github watch URL. + + -- Mike Gabriel Thu, 29 Apr 2021 14:26:29 +0200 + +libzypp (17.25.7-1) unstable; urgency=medium + + * New upstream release. + * debian/control: + + Update versioned B-D: libsolv-dev (>= 0.7.17). + + -- Mike Gabriel Tue, 23 Feb 2021 12:08:04 +0100 + +libzypp (17.25.6-1) unstable; urgency=medium + + * New upstream release. + * debian/control: + + Fix D (in bin:pkg libzypp-dev): libsolv0-dev -> libsolv-dev. (Also fix + minimal version required). + + Fix S (in libzypp-doc): libzypp1702 -> libzypp1722. + * debian/patches: + + Trivial rebase of all patches. + + -- Mike Gabriel Wed, 20 Jan 2021 16:48:04 +0100 + +libzypp (17.25.5-2) unstable; urgency=medium + + * Upload to unstable. + + * debian/patches: + + Update 1003_various-typo-fixes.patch. More typo fixes. + + Add patch header to 1004_fix-fastcgi-includes.patch. + + -- Mike Gabriel Wed, 06 Jan 2021 16:04:21 +0100 + +libzypp (17.25.5-1) experimental; urgency=medium + + * Upload to experimental. + + * New upstream release. + - Fix FTBFS in MediaSetAccess_test. (Closes: #977228). + - CVE-2019-18900: Fix cookies file permissions. (Closes: #953362). + * debian/*: + + SONAME change (1702 -> 1722). + * debian/patches: + + Add 1004_fix-fastcgi-includes.patch. Fix include paths for fastcgi + headers. + + Trivial rebase of patches 1002 and 1003. + * debian/control: + + Bump Standards-Version: to 4.5.1. No changes needed. + + Add Rules-Requires-Root: field and set it to 'no'. + + Various adaptations in B-D field. (Closes: #960619). + * debian/copyright: + + Update auto-generated copyright.in file. + + Update copyright attributions. + * debian/watch: + + Switch to format version 4. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. Thanks, lintian-brush. + + -- Mike Gabriel Tue, 05 Jan 2021 22:31:18 +0100 + +libzypp (17.7.0-1) unstable; urgency=medium + + * New upstream release. + + -- Mike Gabriel Mon, 17 Sep 2018 13:31:02 +0200 + +libzypp (17.6.3-1) unstable; urgency=medium + + * New upstream release. + * debian/control: + + Bump Standards-Version: to 4.2.1. No changes needed. + * debian/rules: + + Drop repacking of orig tarball. Use the Github exported tarball + directly. + * debian/copyright: + + Update auto-generated copyright.in file. + + Update copyright attributions. + + -- Mike Gabriel Fri, 31 Aug 2018 08:40:21 +0200 + +libzypp (17.6.1-1) unstable; urgency=medium + + * New upstream release. + * debian/rules: + + Create orig tarball in ../ rather than in ./. + * debian/patches: + + Rebase 1003_various-typo-fixes.patch. + * debian/copyright: + + Update auto-generated copyright.in template file. + + Update copyright attributions. + + -- Mike Gabriel Mon, 20 Aug 2018 16:07:46 +0200 + +libzypp (17.3.1-2) unstable; urgency=medium + + * debian/control: Add all dev:pkgs from B-D under D of libzypp-dev. + + -- Mike Gabriel Sun, 03 Jun 2018 01:13:54 +0200 + +libzypp (17.3.1-1) unstable; urgency=medium + + * New upstream release (after a long time...). + - Fixes CVE-2017-7435, CVE-2017-7436, CVE-2017-9269. (Closes: #899065). + - SONAME version bump by upstream. (Closes: #797867) + - FTBFS of previous / old-in-Debian version likely solved. (Closes: + #841769). + * debian/patches: + + Drop 1003-Add-support-for-openssl-1.1.patch. Fixed upstream. + + Rebase 1002_cmake-module-path-fix.patch. + + Add 1003_various-typo-fixes.patch. Fix some typo flaws in output messages. + * debian/control: + + SONAME bump, rename bin:pkg. Use SONAME based bin:pkg names in the first + place. (Closes: #797869). + + Add B-D asciidoctor. + + Add B-D: libgpgme-dev. + + Update B-D: librpm-dev (>= 4.4). + + Add B-D: libcurl4-openssl-dev (>= 7.19.4). + + Update B-D: libsolv0-dev (>= 0.6.27). + + Add B-Ds: libpopt-dev and dejagnu. + + Drop Thomas Bechthold from Uploader: field again. (Closes: #892674). + Thanks for previous contributions. + + Fix LONG_DESCRIPTION (libzypp-common). Remove duplicated paragraph. + (Closes: #861995). + + Set Priority: from extra to optional. + + Bump Standards-Version: to 4.1.4. + + Add S (libzypp1702): libzypp-doc. (Closes: #849899). + + Update Vcs-*: fields. Packaging Git has been migrated to salsa.debian.org. + + Add B:/R: for older libzypp bin:pkg versions. + + Add B (libzypp(1702): zypper (<< 1.14). We very possibly break zypper + (<< 1.14). + * debian/{control,rules}: + + Enable all hardening flags. + + Drop manually crafted dbg:package. + * debian/{control,compat}: Bump to DH compat version level 10. + * debian/rules: + + Drop chmod on nofify-message. Not shipped anymore. + + Provide a writeable home to gnupg. Needed for some unit tests. + + Stop parsing dpkg-parsechangelog's output. + * debian/libzypp-bin.install: + + No files in /usr/lib/zypp anymore. + * lintian: + + Drop binary-without-manpage man page override (bin:pkg libzypp-bin). The + non-documented binaries have been removed by upstream. + * debian/copyright: + + Update auto-generated copyright.in file. + + Update copyright attributions. + + Use secure URI for copyright format reference. + + -- Mike Gabriel Mon, 28 May 2018 14:34:46 +0200 + +libzypp (16.4.3-1) unstable; urgency=medium + + * New upstream version. + * Drop 2001_fix-repo2solv-call-on-Debian.patch . No longer needed. + * Add 1003-Add-support-for-openssl-1.1.patch for newer openssl + versions. + * Add myself as a uploader. + * Bump Standards to 3.9.8. No changes needed. + + -- Thomas Bechtold Mon, 20 Feb 2017 14:15:34 -0500 + +libzypp (15.3.0-1) unstable; urgency=medium + + * New upstream version. + - Fix Downloader_test to use noarch data (works on all archs). Fix + FTBFS on several architectures. (Closes: #778320). + * debian/patches: + + Drop 1001_configurable-include-dir.patch, + 1003_fix-typos-in-output-messages.patch, + 1004_enable-tests-on-Debian.patch, + 2002_enable-autodoc.patch, + 2003_enable-translations.patch. + Similar patches (with configure option at build time) + have been applied upstream. + + Update 1002_cmake-module-path-fix.patch, + 2001_fix-repo2solv-call-on-Debian.patch. + Make sure patches apply cleanly against latest upstream code. + * debian/copyright{,.in}: + + Update copyright information for new upstream release. + + Update script-generated copyright file template. + * debian/control: + + Bump Standards: to 3.9.6. No changes needed. + + B-D -> versioned B-D: libsolv-dev -> libsolv0-dev (>= 0.6.10). + + Add B-Ds: libboost-dev, libboost-program-options-dev, libboost-test-dev, + libboost-thread-dev; drop B-Ds: libboost-all-dev, dejagnu, + libgettextpo-dev, zsync. (Closes: #775675). + * debian/rules: + + Enable -DDEBIAN=1 build logic (tests, translations, docs). + + -- Mike Gabriel Tue, 02 Jun 2015 05:16:04 +0200 + +libzypp (14.29.1-2) unstable; urgency=medium + + * debian/libzypp-config.postinst: + + Fix package installation failure if /etc/zypp/locks is not present. + * debian/patches: + + Fix /1002_cmake-module-path-fix.patch. Install cmake configs to + /usr/lib//Zypp/ZyppConfig.cmake (instead of + LibZypp/LibZyppConfig.cmake). + + -- Mike Gabriel Thu, 25 Sep 2014 15:20:43 +0200 + +libzypp (14.29.1-1) unstable; urgency=medium + + * Initial release. (Closes: #761988). + + -- Mike Gabriel Thu, 25 Sep 2014 12:33:58 +0200 diff --git a/control b/control new file mode 100644 index 0000000..f76567b --- /dev/null +++ b/control @@ -0,0 +1,247 @@ +Source: libzypp +Section: libs +Maintainer: RPM packaging team +Uploaders: Luca Boccassi , + Mike Gabriel , +Priority: optional +Standards-Version: 4.7.0 +Build-Depends: asciidoctor, + debhelper-compat (= 13), + dh-exec, + dpkg-dev (>= 1.16.1.1~), + cmake, + pkgconf, + librpm-dev (>= 4.4), + rpm, + libboost-dev, + libboost-program-options-dev, + libboost-test-dev, + libboost-thread-dev, + libfcgi-dev, + libglib2.0-dev, + libgpgme-dev, + libsigc++-2.0-dev, + libssl-dev, + libyaml-cpp-dev, + doxygen , + ruby, + libcurl4-openssl-dev (>= 7.19.4), + libudev-dev, + libxml2-dev, + libsolv-dev (>= 0.7.24), + libsolv-tools, + libexpat-dev, + libpopt-dev, + libproxy-dev, + graphviz , + gnupg2, + dejagnu, + nginx, + vsftpd, +Rules-Requires-Root: no +Homepage: https://github.com/openSUSE/libzypp +Vcs-Git: https://salsa.debian.org/pkg-rpm-team/libzypp.git +Vcs-Browser: https://salsa.debian.org/pkg-rpm-team/libzypp + +Package: libzypp1735 +Architecture: any +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends}, +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + rpm, + gnupg | gnupg2, + libsolv-tools, +Recommends: + libproxy1v5, + libzypp-common (>= ${source:Version}), + libzypp-config (>= ${source:Version}), + libzypp-bin (>= ${source:Version}), + logrotate, + lsof, +Suggests: + libzypp-doc (>= ${source:Version}), +Breaks: + libzypp (<< 17.22), + zypper (<< 1.14), +Replaces: + libzypp (<< 17.22), +Description: openSUSE/SLES package management system (library) + libzypp is the package management library that powers applications like + YaST, zypper and the openSUSE/SLE implementation of PackageKit. + . + libzypp provides all the functionality for a package manager: + . + - an API for package repository management, supporting most common + repository metadata formats and signed repositories + - an API for solving packages, products, patterns and patches (installation, + removal, update and distribution upgrade operations) dependencies, with + additional features like locking + - an API for comitting the transaction to the system over a rpm target; + supporting deltarpm calculation, media changing and installation order + calculation + - an API for browsing available and installed software, with some facilities + for programs with an user interface + - a suite of maintained solving testcases representing common and uncommon + operations on Linux software management + . + This package contains the main shared library for the zypper package + management system. + +Package: libzypp-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librpm-dev (>= 4.4), + libboost-dev, + libboost-program-options-dev, + libboost-test-dev, + libboost-thread-dev, + libgpgme-dev, + libssl-dev, + libcurl4-openssl-dev (>= 7.19.4), + libudev-dev, + libxml2-dev, + libsolv-dev (>= 0.7.16-2~), + libexpat-dev, + libpopt-dev, + libproxy-dev, + libzypp1735 (= ${binary:Version}), +Description: openSUSE/SLES package management system library (development files) + libzypp is the package management library that powers applications like + YaST, zypper and the openSUSE/SLE implementation of PackageKit. + . + libzypp provides all the functionality for a package manager: + . + - an API for package repository management, supporting most common + repository metadata formats and signed repositories + - an API for solving packages, products, patterns and patches (installation, + removal, update and distribution upgrade operations) dependencies, with + additional features like locking + - an API for comitting the transaction to the system over a rpm target; + supporting deltarpm calculation, media changing and installation order + calculation + - an API for browsing available and installed software, with some facilities + for programs with an user interface + - a suite of maintained solving testcases representing common and uncommon + operations on Linux software management + . + This package contains the development files for the libzypp library. + +Package: libzypp-common +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Description: openSUSE/SLES package management system library (common files) + libzypp is the package management library that powers applications like + YaST, zypper and the openSUSE/SLE implementation of PackageKit. + . + libzypp provides all the functionality for a package manager: + . + - an API for package repository management, supporting most common + repository metadata formats and signed repositories + - an API for solving packages, products, patterns and patches (installation, + removal, update and distribution upgrade operations) dependencies, with + additional features like locking + - an API for comitting the transaction to the system over a rpm target; + supporting deltarpm calculation, media changing and installation order + calculation + - an API for browsing available and installed software, with some facilities + for programs with an user interface + - a suite of maintained solving testcases representing common and uncommon + operations on Linux software management + . + This package contains the architecture-independent files for the libzypp + library. + +Package: libzypp-bin +Architecture: any +Multi-Arch: foreign +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + libzypp-config (>= ${source:Version}), +Description: openSUSE/SLES package management system library (library tools) + libzypp is the package management library that powers applications like + YaST, zypper and the openSUSE/SLE implementation of PackageKit. + . + libzypp provides all the functionality for a package manager: + . + - an API for package repository management, supporting most common + repository metadata formats and signed repositories + - an API for solving packages, products, patterns and patches (installation, + removal, update and distribution upgrade operations) dependencies, with + additional features like locking + - an API for comitting the transaction to the system over a rpm target; + supporting deltarpm calculation, media changing and installation order + calculation + - an API for browsing available and installed software, with some facilities + for programs with an user interface + - a suite of maintained solving testcases representing common and uncommon + operations on Linux software management + . + This package contains command line tools shipped with the libzypp library. + +Package: libzypp-config +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, + libzypp-common (>= ${source:Version}), +Description: openSUSE/SLES package management system library (configuration) + libzypp is the package management library that powers applications like + YaST, zypper and the openSUSE/SLE implementation of PackageKit. + . + libzypp provides all the functionality for a package manager: + . + - an API for package repository management, supporting most common + repository metadata formats and signed repositories + - an API for solving packages, products, patterns and patches (installation, + removal, update and distribution upgrade operations) dependencies, with + additional features like locking + - an API for comitting the transaction to the system over a rpm target; + supporting deltarpm calculation, media changing and installation order + calculation + - an API for browsing available and installed software, with some facilities + for programs with an user interface + - a suite of maintained solving testcases representing common and uncommon + operations on Linux software management + . + This package ships the configuration files for the libzypp library. + +Package: libzypp-doc +Section: doc +Architecture: all +Multi-Arch: foreign +Build-Profiles: +Depends: + ${misc:Depends}, + libjs-jquery, +Suggests: + libzypp1735, + libzypp-dev, +Description: openSUSE/SLES package management system library (documentation) + libzypp is the package management library that powers applications like + YaST, zypper and the openSUSE/SLE implementation of PackageKit. + . + libzypp provides all the functionality for a package manager: + . + - an API for package repository management, supporting most common + repository metadata formats and signed repositories + - an API for solving packages, products, patterns and patches (installation, + removal, update and distribution upgrade operations) dependencies, with + additional features like locking + - an API for comitting the transaction to the system over a rpm target; + supporting deltarpm calculation, media changing and installation order + calculation + - an API for browsing available and installed software, with some facilities + for programs with an user interface + - a suite of maintained solving testcases representing common and uncommon + operations on Linux software management + . + This package contains the API documentation of the libzypp library. diff --git a/copyright b/copyright new file mode 100644 index 0000000..71b3716 --- /dev/null +++ b/copyright @@ -0,0 +1,167 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libzypp +Upstream-Contact: zypp-devel@lists.opensuse.org +Source: https://github.com/openSUSE/libzypp + +Files: * +Copyright: 2000-2002, Ximian, Inc. + 2005-2018, SUSE Linux Products GmbH + 2023-2024, SUSE LLC +License: GPL-2+~OpenSSL-Exception +Comment: + Assuming license and copyright holders as found in COPYING file. + . + Applying libzypp (COPYING) here: + . + All modifications and additions to the file contributed by third parties + remain the property of their copyright owners, unless otherwise agreed + upon. The license for this file, and modifications and additions to the + file, is the same license as for the pristine package itself (unless the + license for the pristine package is not an Open Source License, in which + case the license is the MIT License). An "Open Source License" is a + license that conforms to the Open Source Definition (Version 1.9) + published by the Open Source Initiative + +Files: libzypp.spec.cmake + zypp/ProblemSolution.cc + zypp/ProblemTypes.h + zypp/ResolverProblem.cc + zypp/solver/detail/ProblemSolutionCombi.cc + zypp/solver/detail/ProblemSolutionCombi.h + zypp/solver/detail/ProblemSolutionIgnore.cc + zypp/solver/detail/ProblemSolutionIgnore.h + zypp/solver/detail/Resolver.cc + zypp/solver/detail/Resolver.h + zypp/solver/detail/SATResolver.cc + zypp/solver/detail/SATResolver.h + zypp/solver/detail/SolutionAction.cc + zypp/solver/detail/SolverQueueItem.cc + zypp/solver/detail/SolverQueueItem.h + zypp/solver/detail/SolverQueueItemDelete.cc + zypp/solver/detail/SolverQueueItemDelete.h + zypp/solver/detail/SolverQueueItemInstall.cc + zypp/solver/detail/SolverQueueItemInstall.h + zypp/solver/detail/SolverQueueItemInstallOneOf.cc + zypp/solver/detail/SolverQueueItemInstallOneOf.h + zypp/solver/detail/SolverQueueItemLock.cc + zypp/solver/detail/SolverQueueItemLock.h + zypp/solver/detail/SolverQueueItemUpdate.cc + zypp/solver/detail/SolverQueueItemUpdate.h + zypp/solver/detail/Types.h +Copyright: 2000-2002, Ximian, Inc. + 2005, SUSE Linux Products GmbH + 2008, SUSE Linux Products GmbH + 2023, SUSE LLC +License: GPL-2 + +Files: cmake/modules/FindGpgme.cmake + zypp-core/zyppng/rpc/zerocopystreams.cc + zypp-core/zyppng/rpc/zerocopystreams.h +Copyright: g10 Code GmbH, + Free Software Foundation, Inc., + Werner Koch + 2008, Google Inc. +License: BSD-3-clause +Comment: + Assuming copyright holders as found in libgpgme + debian/copyright file. + +Files: zypp-core/parser/xml/XmlEscape.cc +Copyright: 2003, Jonathan de Halleux +License: Zlib + +Files: debian/* +Copyright: 2014, Mike Gabriel +License: GPL-2+~OpenSSL-Exception or Zlib or BSD-3-clause + +License: GPL-2+~OpenSSL-Exception + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. + . + You must obey the GNU General Public License in all respects for all + of the code used other than OpenSSL. If you modify file(s) with this + exception, you may extend this exception to your version of the + file(s), but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. If you delete + this exception statement from all source files in the program, then + also delete it here. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, version 2, as + published by the Free Software Foundation + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: Zlib + This software is provided 'as-is', without any express or implied warranty. + In no event will the authors be held liable for any damages arising from the + use of this software. + . + Permission is granted to anyone to use this software for any purpose, including + commercial applications, and to alter it and redistribute it freely, subject to + the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, + an acknowledgment in the product documentation would be appreciated but is + not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..f7ff1ff --- /dev/null +++ b/gbp.conf @@ -0,0 +1,11 @@ +[DEFAULT] +debian-branch = debian/sid +upstream-branch = upstream +pristine-tar = True +sign-tags = True + +[import-orig] +upstream-vcs-tag = %(version)s + +[dch] +git-log = --first-parent diff --git a/libzypp-bin.install b/libzypp-bin.install new file mode 100644 index 0000000..0b8b32e --- /dev/null +++ b/libzypp-bin.install @@ -0,0 +1,2 @@ +usr/bin/ +usr/libexec/ diff --git a/libzypp-common.install b/libzypp-common.install new file mode 100644 index 0000000..3312360 --- /dev/null +++ b/libzypp-common.install @@ -0,0 +1,2 @@ +usr/share/zypp/ +usr/share/locale/ diff --git a/libzypp-config.dirs b/libzypp-config.dirs new file mode 100644 index 0000000..95be13f --- /dev/null +++ b/libzypp-config.dirs @@ -0,0 +1,9 @@ +etc/zypp/ +etc/logrotate.d/ +etc/zypp/repos.d/ +etc/zypp/services.d/ +etc/zypp/vendors.d/ +etc/zypp/multiversion.d/ +var/lib/zypp/ +var/log/zypp/ +var/cache/zypp/ diff --git a/libzypp-config.install b/libzypp-config.install new file mode 100755 index 0000000..3eb372b --- /dev/null +++ b/libzypp-config.install @@ -0,0 +1,4 @@ +#!/usr/bin/dh-exec +etc/zypp/ +etc/logrotate.d/zypp-history.lr => etc/logrotate.d/zypp-history +usr/share/man/ diff --git a/libzypp-config.postinst b/libzypp-config.postinst new file mode 100755 index 0000000..93a5344 --- /dev/null +++ b/libzypp-config.postinst @@ -0,0 +1,82 @@ +#!/bin/sh + +set -e + +is_old() { + RES=1 + # if no such file, exit with false (1 in bash) + if [ -f ${LOCKSFILE} ]; then + TEMP_FILE=`mktemp` + cat ${LOCKSFILE} | sed '/^\#.*/ d;/.*:.*/d;/^[^[a-zA-Z\*?.0-9]*$/d' > ${TEMP_FILE} + if [ -s ${TEMP_FILE} ]; then + RES=0 + else + RES=1 + fi + fi + rm -f ${TEMP_FILE} + return ${RES} +} + +append_new_lock(){ + case "$#" in + 1 ) + echo " +solvable_name: $1 +match_type: glob +" >> ${LOCKSFILE} + ;; + 2 ) #TODO version + echo " +solvable_name: $1 +match_type: glob +version: $2 +" >> ${LOCKSFILE} + ;; + 3 ) #TODO version + echo " +solvable_name: $1 +match_type: glob +version: $2 $3 +" >> ${LOCKSFILE} + ;; + esac +} + +die() { + echo $1 + exit 1 +} + +# We exit unless the package is being configured +case "$1" in + abort*upgrade) + exit 0 + ;; + abort*remove) + exit 0 + ;; + abort*deconfigure) + exit 0 + ;; + configure) + if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi + # convert old lock file to new + # TODO make this a separate file? + # TODO run the sript only when updating form pre-11.0 libzypp versions + LOCKSFILE=/etc/zypp/locks + OLDLOCKSFILE=/etc/zypp/locks.old + + if is_old ${LOCKSFILE}; then + mv -f ${LOCKSFILE} ${OLDLOCKSFILE} || die "cannot backup old locks" + cat ${OLDLOCKSFILE} | sed "/^\#.*/d"| while read line; do + append_new_lock $line + done + fi + ;; + *) + exit 0; + ;; +esac + +#DEBHELPER# diff --git a/libzypp-dev.install b/libzypp-dev.install new file mode 100644 index 0000000..f0be02f --- /dev/null +++ b/libzypp-dev.install @@ -0,0 +1,5 @@ +usr/include/*/zypp* +usr/lib/*/libzypp.so +usr/lib/*/pkgconfig/ +usr/lib/*/cmake/ +usr/lib/*/lib*.a diff --git a/libzypp-doc.doc-base b/libzypp-doc.doc-base new file mode 100644 index 0000000..ad2999f --- /dev/null +++ b/libzypp-doc.doc-base @@ -0,0 +1,10 @@ +Document: libzypp-doc +Title: libzypp API documentation +Author: Ximian, Inc. and SUSE Linux Products GmbH +Abstract: This document describes the API of the libzypp library. +Section: Programming/C++ + +Format: HTML +Index: /usr/share/doc/libzypp-doc/html/index.html +Files: /usr/share/doc/libzypp-doc/html/* + diff --git a/libzypp-doc.install b/libzypp-doc.install new file mode 100644 index 0000000..6092bea --- /dev/null +++ b/libzypp-doc.install @@ -0,0 +1,2 @@ +usr/share/doc/libzypp/html +usr/share/doc/libzypp/libzypp.doxytag/libzypp.doxytag \ No newline at end of file diff --git a/libzypp-doc.links b/libzypp-doc.links new file mode 100644 index 0000000..6c49421 --- /dev/null +++ b/libzypp-doc.links @@ -0,0 +1,3 @@ +usr/share/doc/libzypp/html usr/share/doc/libzypp-doc/html +usr/share/doc/libzypp/libzypp.doxytag usr/share/doc/libzypp-doc/libzypp.doxytag +usr/share/javascript/jquery/jquery.js usr/share/doc/libzypp/html/jquery.js diff --git a/libzypp-doc.lintian-overrides b/libzypp-doc.lintian-overrides new file mode 100644 index 0000000..8b7865e --- /dev/null +++ b/libzypp-doc.lintian-overrides @@ -0,0 +1 @@ +libzypp-doc: privacy-breach-uses-embedded-file diff --git a/libzypp1735.install b/libzypp1735.install new file mode 100644 index 0000000..74eb87e --- /dev/null +++ b/libzypp1735.install @@ -0,0 +1 @@ +/usr/lib/*/libzypp.so.* diff --git a/not-installed b/not-installed new file mode 100644 index 0000000..cf8600c --- /dev/null +++ b/not-installed @@ -0,0 +1 @@ +etc/logrotate.d/zypp-history.lr diff --git a/patches/1002_cmake-module-path-fix.patch b/patches/1002_cmake-module-path-fix.patch new file mode 100644 index 0000000..abe5ba3 --- /dev/null +++ b/patches/1002_cmake-module-path-fix.patch @@ -0,0 +1,19 @@ +Description: Rename FindLibSolv.cmake to LibZyppConfig.cmake after installation. +Author: Mike Gabriel +Forwarded: https://github.com/openSUSE/libzypp/issues/28 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -289,9 +289,9 @@ + CONFIGURE_FILE(${LIBZYPP_SOURCE_DIR}/libzypp.pc.cmake ${LIBZYPP_BINARY_DIR}/libzypp.pc @ONLY) + INSTALL( FILES ${LIBZYPP_BINARY_DIR}/libzypp.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig ) + +-MESSAGE(STATUS "FindZypp.cmake will be installed in ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules") +-INSTALL( FILES ${LIBZYPP_SOURCE_DIR}/cmake/modules/FindZypp.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules ) +-INSTALL( FILES ${LIBZYPP_SOURCE_DIR}/cmake/modules/ZyppCommon.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules ) ++MESSAGE(STATUS "ZyppConfig.cmake will be installed in ${LIB_INSTALL_DIR}/cmake/Zypp/") ++INSTALL( FILES ${LIBZYPP_SOURCE_DIR}/cmake/modules/FindZypp.cmake RENAME ZyppConfig.cmake DESTINATION ${LIB_INSTALL_DIR}/cmake/Zypp/ ) ++INSTALL( FILES ${LIBZYPP_SOURCE_DIR}/cmake/modules/ZyppCommon.cmake DESTINATION ${LIB_INSTALL_DIR}/cmake/Zypp/ ) + + #################################################################### + # config templates diff --git a/patches/2000_fix-fastcgi-includes.patch b/patches/2000_fix-fastcgi-includes.patch new file mode 100644 index 0000000..b9813d2 --- /dev/null +++ b/patches/2000_fix-fastcgi-includes.patch @@ -0,0 +1,18 @@ +Description: Include fcgi headers from fastcgi/ subfolder. + fcgi include files location differs between distributions, so this is a Debian + specific change +Author: Mike Gabriel + +--- a/tests/lib/WebServer.cc ++++ b/tests/lib/WebServer.cc +@@ -24,8 +24,8 @@ + #include + #include + #include +-#include +-#include ++#include ++#include + #include + #include + diff --git a/patches/README b/patches/README new file mode 100644 index 0000000..80c1584 --- /dev/null +++ b/patches/README @@ -0,0 +1,3 @@ +0xxx: Grabbed from upstream development. +1xxx: Possibly relevant for upstream adoption. +2xxx: Only relevant for official Debian release. diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..6104d20 --- /dev/null +++ b/patches/series @@ -0,0 +1,2 @@ +1002_cmake-module-path-fix.patch +2000_fix-fastcgi-includes.patch diff --git a/rules b/rules new file mode 100755 index 0000000..d2102c4 --- /dev/null +++ b/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +export HOME=$(CURDIR)/debian/deb_build_home +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/default.mk + +ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) +ENABLE_DOCS = FALSE +DISABLE_DOCS = TRUE +else +ENABLE_DOCS = TRUE +DISABLE_DOCS = FALSE +endif + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DDOC_INSTALL_DIR=/usr/share/doc \ + -DLIB=lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \ + -DINCLUDE=include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=FALSE \ + -DCMAKE_SKIP_RPATH_INSTALL=TRUE \ + -DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypp} \ + -DENABLE_BUILD_DOCS=$(ENABLE_DOCS) \ + -DDISABLE_AUTODOCS=$(DISABLE_DOCS) \ + -DDEBIAN=1 + +override_dh_auto_test: + mkdir -p $(HOME)/.gnupg + dh_auto_test -- ARGS+='--exclude-regex \(NetworkRequestDispatcher_test\|EvDownloader_test\|Provider_test\|RepoInfo_test\|MirrorList_test\)' diff --git a/salsa-ci.yml b/salsa-ci.yml new file mode 100644 index 0000000..0d70e9a --- /dev/null +++ b/salsa-ci.yml @@ -0,0 +1,9 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + SALSA_CI_ENABLE_BUILD_PACKAGE_PROFILES: 1 + BUILD_PROFILES: nodoc + DEB_BUILD_PROFILES: nodoc diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..4be4dad --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/openSUSE/libzypp/issues +Bug-Submit: https://github.com/openSUSE/libzypp/issues/new +Repository: https://github.com/openSUSE/libzypp.git +Repository-Browse: https://github.com/openSUSE/libzypp diff --git a/watch b/watch new file mode 100644 index 0000000..2741ae3 --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.*\/([\d\.-]+)\.tar\.gz/libzypp-$1.tar.gz/,dversionmangle=s/\+dfsg// \ +https://github.com/openSUSE/libzypp/tags .*/archive/refs/tags/([\d\.]+).tar.gz +