Commit Graph

48 Commits

Author SHA256 Message Date
Ana Guerrero
7f2fc90fcc Accepting request 1195289 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1195289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=20
2024-08-23 20:26:06 +00:00
b696b0b7e2 - update to 1.18.1:
* Use rpm-sequoia on RHEL 10+
  * gpg: Check is_selinux_enabled() before trying to label
  * spec: Correct setting -DENABLE_SELINUX cmake argument
  * tests: Adapt to CURL without NTLM support
  * Fix a memory leak in select_next_target()
  * Fix memory leaks when using zchunk
- update to 1.18.0:
  * API: Add LRO_USERNAME and LRO_PASSWORD options
- update to 1.17.2:
  * Add a private dependency on zck to librepo.pc if zchunk
    support is enabled
  * Hash cache: Improved work with extended file attributes
  * Improve performance of large number of package downloads
  * Fix error handling, Fix examples and build them
- update to 1.17.1:
  * gpg_gpgme.c: fix build errors with older gcc
  * Fix some compiler warnings
  * Change header files to match a configured ABI regarding a
    zchunk support
  * Fix building zchunk code if zchunk is enabled

    friendly

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=46
2024-08-22 11:52:07 +00:00
Ana Guerrero
6779a906bf Accepting request 1123347 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1123347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=19
2023-11-05 11:19:03 +00:00
1890cf0a8e Accepting request 1120749 from home:jgwang:branches:system:packagemanager:dnf
- Update to 1.17.0
  * lr_gpg_check_signature: Forward PGP error messages from RPM
  * PGP: fix: Support importing binary public keys in librpm backend
  * PGP: Enable creating a UID directory for GnuGP agent socket
    in /run/gnupg/user
  * PGP: Set a default creation SELinux labels on GnuPG directories
  * Update PGP test vectors
  * Implement OpenPGP using librpm API
  * Fixes and optimizations in header files
  * Fix lr_gpg_list_keys function when keys are empty
  * Fix CMake warnings
  * Bump glib version

OBS-URL: https://build.opensuse.org/request/show/1120749
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=44
2023-11-04 18:10:59 +00:00
Dominique Leuenberger
59dc1cb96f Accepting request 1045671 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1045671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=18
2022-12-30 10:08:13 +00:00
bb78d454d8 Accepting request 1045670 from home:AndreasStieger:branches:system:packagemanager:dnf
librepo 1.15.1

OBS-URL: https://build.opensuse.org/request/show/1045670
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=42
2022-12-28 16:54:28 +00:00
Dominique Leuenberger
3933e3abc3 Accepting request 1011160 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1011160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=17
2022-10-17 12:57:17 +00:00
af0b957ea0 Accepting request 1011159 from home:AndreasStieger:branches:system:packagemanager:dnf
librepo 1.14.5

OBS-URL: https://build.opensuse.org/request/show/1011159
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=40
2022-10-15 19:37:32 +00:00
Dominique Leuenberger
04e0bb8d0e Accepting request 914470 from system:packagemanager:dnf
- Update to 1.14.2
  + Recover from fsync fail on read-only filesystem (rh#1956361)
  + Reduce time to load metadata
  + Fix resource leaks
  + Fix memory leaks

OBS-URL: https://build.opensuse.org/request/show/914470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=16
2021-08-31 17:54:51 +00:00
de1325e54c Accepting request 914467 from home:qkzhu:branches:system:packagemanager:dnf
Sync SLE changes to factory to do cross Service-Pack merges for SLE

OBS-URL: https://build.opensuse.org/request/show/914467
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=39
2021-08-27 02:28:06 +00:00
d59a963b9a - Update to 1.14.2
+ Recover from fsync fail on read-only filesystem (rh#1956361)
  + Reduce time to load metadata
  + Fix resource leaks
  + Fix memory leaks

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=38
2021-08-25 18:29:00 +00:00
Dominique Leuenberger
0209591edb Accepting request 885032 from system:packagemanager:dnf
- Update to 1.14.0
  + Fix LRO_PRESERVETIME behavior
  + Support multiple checksums in xattr (rh#1931904)
  + Return "calculated" checksum if requested w/caching
  + Fix lr_yum_download_url in case lr_handle is NULL

OBS-URL: https://build.opensuse.org/request/show/885032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=15
2021-04-22 16:03:04 +00:00
83b74b10e3 - Update to 1.14.0
+ Fix LRO_PRESERVETIME behavior
  + Support multiple checksums in xattr (rh#1931904)
  + Return "calculated" checksum if requested w/caching
  + Fix lr_yum_download_url in case lr_handle is NULL

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=36
2021-04-13 13:04:23 +00:00
Dominique Leuenberger
4b51b21681 Accepting request 868794 from system:packagemanager:dnf
- Update to 1.13.0
  + Fix the key string parsing in url_substitution
  + Fix memory leak in 'fastestmirror'
  + Download whole file when server doesn't support ranges (rh#1886706)
  + Various fixes for mirrors without ranges support and zchunk
  + Add support for pkcs11 certificate and key for repository authorization (rh#1859495)
  + Fix lr_perform() - Avoid 100% CPU usage
  + Drop Python 2 support
  + Add support for working with certificates used with proxy (rh#1920991)

OBS-URL: https://build.opensuse.org/request/show/868794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=14
2021-02-07 14:16:35 +00:00
aef52754ff - Update to 1.13.0
+ Fix the key string parsing in url_substitution
  + Fix memory leak in 'fastestmirror'
  + Download whole file when server doesn't support ranges (rh#1886706)
  + Various fixes for mirrors without ranges support and zchunk
  + Add support for pkcs11 certificate and key for repository authorization (rh#1859495)
  + Fix lr_perform() - Avoid 100% CPU usage
  + Drop Python 2 support
  + Add support for working with certificates used with proxy (rh#1920991)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=34
2021-02-03 02:45:49 +00:00
Dominique Leuenberger
484aa9217c Accepting request 828723 from system:packagemanager:dnf
- Upgrade to 1.12.1
  + Validate path read from repomd.xml (rh#1868639, CVE-2020-14352)

OBS-URL: https://build.opensuse.org/request/show/828723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=13
2020-08-28 21:44:56 +00:00
740d7d51dc - Upgrade to 1.12.1
+ Validate path read from repomd.xml (rh#1868639, CVE-2020-14352)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=32
2020-08-22 20:23:21 +00:00
Dominique Leuenberger
d738c44255 Accepting request 819220 from system:packagemanager:dnf
- Upgrade to 1.12.0
  + Prefer mirrorlist/metalink over baseurl (rh#1775184)
  + Decode package URL when using for local filename (rh#1817130)
  + Fix memory leak in lr_download_metadata() and lr_yum_download_remote()
  + Download sources work when at least one of specified is working (rh#1775184)

OBS-URL: https://build.opensuse.org/request/show/819220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=12
2020-07-15 09:22:14 +00:00
57b58ed03b - Upgrade to 1.12.0
+ Prefer mirrorlist/metalink over baseurl (rh#1775184)
  + Decode package URL when using for local filename (rh#1817130)
  + Fix memory leak in lr_download_metadata() and lr_yum_download_remote()
  + Download sources work when at least one of specified is working (rh#1775184)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=30
2020-07-07 10:41:05 +00:00
Dominique Leuenberger
322775ac1e Accepting request 765590 from system:packagemanager:dnf
- Upgrade to 1.11.2
  + Fix calling Python API without holding GIL (rh#1788918)
  + Do not unref LrErr_Exception on exit (rh#1778854)
  + Cleanup zchunk-related error messages (rh#1790625)
- Fix typo in changes entry about version update to 1.11.1

OBS-URL: https://build.opensuse.org/request/show/765590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=11
2020-01-19 19:57:43 +00:00
8c4b904dec - Upgrade to 1.11.2
+ Fix calling Python API without holding GIL (rh#1788918)
  + Do not unref LrErr_Exception on exit (rh#1778854)
  + Cleanup zchunk-related error messages (rh#1790625)
- Fix typo in changes entry about version update to 1.11.1

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=28
2020-01-19 14:54:26 +00:00
Dominique Leuenberger
bcf5b1587c Accepting request 757110 from system:packagemanager:dnf
- Upgrade to 1.1.1
  + Create a directory for gpg sockets in /run/user/ (rh#1769831, rh#1771012)
- Fix bcond declaration for zchunk so defaults are always declared

OBS-URL: https://build.opensuse.org/request/show/757110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=10
2019-12-16 14:19:23 +00:00
546e7409d0 - Upgrade to 1.1.1
+ Create a directory for gpg sockets in /run/user/ (rh#1769831, rh#1771012)
- Fix bcond declaration for zchunk so defaults are always declared

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=26
2019-12-14 22:20:02 +00:00
Dominique Leuenberger
9830a09c53 Accepting request 752743 from system:packagemanager:dnf
- Upgrade to 1.11.0
  + Define LRO_SUPPORTS_CACHEDIR only with zchunk (rh#1726141)
  + Allow to use mirrors multiple times for a target (rh#1678588)
  + Allow to try baseurl multiple times (rh#1678588)
  + Remove librepo xattr when no file descriptor (rh#1690894)
  + Fix verification of checksum from file attr (rh#1700341)
  + Rephrase repository GPG check error message (rh#1741442)
  + Add sleep when all mirrors were tried (rh#1741931)
  + Raise logging level of error messages (rh#1737709)
  + retry mirrorlist/metalink downloads
  + Fix lr_url_substitute() and add ${variable} support
  + Add support for one-time URL flags
  + Fix API - LrHandleOption enum - LRO_ONETIMEFLAG (rh#1761779)

OBS-URL: https://build.opensuse.org/request/show/752743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=9
2019-12-03 14:19:58 +00:00
b2b03a3b6b - Upgrade to 1.11.0
+ Define LRO_SUPPORTS_CACHEDIR only with zchunk (rh#1726141)
  + Allow to use mirrors multiple times for a target (rh#1678588)
  + Allow to try baseurl multiple times (rh#1678588)
  + Remove librepo xattr when no file descriptor (rh#1690894)
  + Fix verification of checksum from file attr (rh#1700341)
  + Rephrase repository GPG check error message (rh#1741442)
  + Add sleep when all mirrors were tried (rh#1741931)
  + Raise logging level of error messages (rh#1737709)
  + retry mirrorlist/metalink downloads
  + Fix lr_url_substitute() and add ${variable} support
  + Add support for one-time URL flags
  + Fix API - LrHandleOption enum - LRO_ONETIMEFLAG (rh#1761779)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=24
2019-12-01 15:45:35 +00:00
Dominique Leuenberger
a47709144b Accepting request 705108 from system:packagemanager:dnf
- Upgrade to 1.10.3
  + Exit gpg-agent after repokey import (rh#1650266)
  + Make sure to check next transfer if current zck transfer already exists (rh#1706627)

OBS-URL: https://build.opensuse.org/request/show/705108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=8
2019-05-24 09:33:21 +00:00
855b36af52 - Upgrade to 1.10.3
+ Exit gpg-agent after repokey import (rh#1650266)
  + Make sure to check next transfer if current zck transfer already exists (rh#1706627)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=22
2019-05-24 03:20:01 +00:00
Dominique Leuenberger
7b4cfeddbd Accepting request 702408 from system:packagemanager:dnf
- Upgrade to 1.10.2
  + Fix librepo isn't able to load zchunk files from next server on failure (rh#1706321)
- Upgrade to 1.10.1
  + Clean up target->curl_handle rather than target->handle (rh#1694411)
  + Add an option to preserve timestamps of the downloaded files (rh#1688537)
  + Fix fetching repositories supplied by SUSE Customer Center
  + [tests] Wait for server to start instead of doing arbitrary sleep
- Drop patch included in this release
  * Patch: librepo-PR148-clean-up-curl-target_handle.patch
- Disable executing test suite on ARM and RISC-V due to performance issues with builders

OBS-URL: https://build.opensuse.org/request/show/702408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=7
2019-05-12 09:46:15 +00:00
d994ace9bb - Upgrade to 1.10.2
+ Fix librepo isn't able to load zchunk files from next server on failure (rh#1706321)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=20
2019-05-12 02:59:53 +00:00
37cdda5223 Fix typo on ifarch statement
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=19
2019-05-11 02:38:54 +00:00
0f4f1caeec - Disable executing test suite on ARM and RISC-V due to performance issues with builders
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=18
2019-05-10 14:57:13 +00:00
f6e0eaa064 - Upgrade to 1.10.1
+ Clean up target->curl_handle rather than target->handle (rh#1694411)
  + Add an option to preserve timestamps of the downloaded files (rh#1688537)
  + Fix fetching repositories supplied by SUSE Customer Center
  + [tests] Wait for server to start instead of doing arbitrary sleep
- Drop patch included in this release
  * Patch: librepo-PR148-clean-up-curl-target_handle.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=17
2019-05-10 14:26:12 +00:00
Dominique Leuenberger
e43b337708 Accepting request 690200 from system:packagemanager:dnf
- Add patch to fix fetching zck-compressed repos (rh#1694411)
  * Patch: librepo-PR148-clean-up-curl-target_handle.patch
- Upgrade to 1.9.6
  + Fix progress reporting with zchunk files
  + Reduce download delays by using still_running correctly
  + Improve error handling, cleanup
  + Simplified lr_perform()'s loop to prevent busy wait
  + Require libcurl >= 7.28.0
- Drop patch included in this release
  * Patch: PR138-Fix-progress-reporting-with-zchunk-files.patch

OBS-URL: https://build.opensuse.org/request/show/690200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=6
2019-04-01 10:40:01 +00:00
3425653d75 - Add patch to fix fetching zck-compressed repos (rh#1694411)
* Patch: librepo-PR148-clean-up-curl-target_handle.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=15
2019-03-31 18:28:24 +00:00
5aea11a671 - Upgrade to 1.9.6
+ Fix progress reporting with zchunk files
  + Reduce download delays by using still_running correctly
  + Improve error handling, cleanup
  + Simplified lr_perform()'s loop to prevent busy wait
  + Require libcurl >= 7.28.0
- Drop patch included in this release
  * Patch: PR138-Fix-progress-reporting-with-zchunk-files.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=14
2019-03-31 15:09:18 +00:00
Yuchen Lin
b3988fcb79 Accepting request 672449 from system:packagemanager:dnf
- Upgrade to 1.9.3
  + Replace expat with libxml2
  + Support using python-gpg instead of pygpgme
  + Fix major performance regression with libcurl-7.61.1
  + Add zchunk support
- Drop patch for backported fix that is part of this release
  * Patch: 0001-stop-requiring-attr-xattr.patch
- Add patch proposed upstream to fix progress reporting for zck
  * Patch: PR138-Fix-progress-reporting-with-zchunk-files.patch
- Fix RPM group and description for Python 3 subpackage
- Drop Python 2 subpackage

OBS-URL: https://build.opensuse.org/request/show/672449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=5
2019-02-20 13:10:08 +00:00
2f8687e7d5 Add missing Obsoletes for python2-librepo
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=12
2019-02-03 19:26:13 +00:00
ba6236d07a - Upgrade to 1.9.3
+ Replace expat with libxml2
  + Support using python-gpg instead of pygpgme
  + Fix major performance regression with libcurl-7.61.1
  + Add zchunk support
- Drop patch for backported fix that is part of this release
  * Patch: 0001-stop-requiring-attr-xattr.patch
- Add patch proposed upstream to fix progress reporting for zck
  * Patch: PR138-Fix-progress-reporting-with-zchunk-files.patch
- Fix RPM group and description for Python 3 subpackage
- Drop Python 2 subpackage

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=11
2019-02-03 18:10:44 +00:00
Yuchen Lin
a2b99bf725 Accepting request 636415 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/636415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=4
2018-09-19 12:30:57 +00:00
eedb4b4b39 Accepting request 636359 from home:jengelh:branches:system:packagemanager:dnf
- Fix RPM gruops. Update descriptions so that librepo0
  (which is going to be installed most of the time) has something
  halfway useful.

OBS-URL: https://build.opensuse.org/request/show/636359
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=9
2018-09-18 16:04:43 +00:00
Yuchen Lin
8367a68ddc Accepting request 635526 from system:packagemanager:dnf
- Backport fix from upstream to use glibc's xattr instead of libattr
  * Add patch: 0001-stop-requiring-attr-xattr.patch
- Use full author identities in changelog entries

OBS-URL: https://build.opensuse.org/request/show/635526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=3
2018-09-13 22:02:42 +00:00
4ee20b8846 - Backport fix from upstream to use glibc's xattr instead of libattr
* Add patch: 0001-stop-requiring-attr-xattr.patch
- Use full author identities in changelog entries

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=7
2018-09-13 11:26:25 +00:00
Dominique Leuenberger
1bb65f5de7 Accepting request 561499 from system:packagemanager:dnf
- Upgrade to 1.8.1
  + Fix memory leaks in Python bindings (gh#rpm-software-management/librepo#83)
  + Fix HTTP header checking to work with proxies (gh#rpm-software-management/librepo#86)
  + Change connection and low-speed default timeouts to sync with DNF/Yum
  + Fix max download speed from repo (rh#1227921)

OBS-URL: https://build.opensuse.org/request/show/561499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=2
2018-01-05 00:02:02 +00:00
2a01902650 Drop unwanted SUSE Linux GmbH line
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=5
2018-01-04 01:02:53 +00:00
38788b8051 - Upgrade to 1.8.1
+ Fix memory leaks in Python bindings (gh#rpm-software-management/librepo#83)
  + Fix HTTP header checking to work with proxies (gh#rpm-software-management/librepo#86)
  + Change connection and low-speed default timeouts to sync with DNF/Yum
  + Fix max download speed from repo (rh#1227921)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=4
2018-01-04 00:54:39 +00:00
Dominique Leuenberger
55cbd79905 Accepting request 517040 from system:packagemanager:dnf
Initial import of librepo into Factory

OBS-URL: https://build.opensuse.org/request/show/517040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librepo?expand=0&rev=1
2017-08-28 13:10:26 +00:00
46517346b6 - Disable running unit tests by default because of random pygpgme failures
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=2
2017-08-13 17:14:35 +00:00
7f28a2ed0a Initial import of librepo
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/librepo?expand=0&rev=1
2017-06-26 13:06:07 +00:00