classabbyamp
406f109100
lib/, bin/: fix signature type, now called *.sig2
...
Since 8d5c48b, xbps has used a sha1 ASN1 prefix with a sha256 hash, and
as of openssl v3, openssl cares about this. This works around that in a
compatible way by moving to a second sig file, binpkg.sig2.
For xbps-remove -O and xbps-rindex -r, also clean up obselete .sig files.
2023-08-30 21:00:37 +02:00
Duncan Overbruck
ee770cb8e4
bin/xbps-remove: allow removing uninstalled packages from the cache
...
Change "obsolete packages" to "outdated packages" when describing the
old behaviour.
2023-06-24 18:58:22 +02:00
Duncan Overbruck
de484e9369
lib: change xbps_dbg_printf to not require xbps_handle
...
This allows to simplify a lot of code by not having to pass around
the xbps handle everywhere just to print some debug information.
2022-12-24 14:29:23 +01:00
Duncan Overbruck
10bfeec8a3
bin/xbps-remove: avoid allocations while cache cleaning
2021-12-27 18:37:47 +01:00
Duncan Overbruck
4fb621c6c5
bin/xbps-remove: error logging for cache cleaning
...
Fixes #357
2021-12-25 16:07:20 +01:00
Duncan Overbruck
44cd938115
Revert "Use shared LICENSE file for all xbps code."
...
This reverts commit be7d8cfaf1d303cc460ec32207b6f05cd0f86293.
This commit missed some previous copyrights mentioned,
in general I think its better to have this per-file to
follow who wrote what and when.
2020-04-29 14:12:10 +02:00
Juan RP
be7d8cfaf1
Use shared LICENSE file for all xbps code.
2020-04-24 11:44:19 +02:00
Duncan Overbruck
0d90534236
libxbps: ABI/API break due to hash function changes
2020-02-10 13:32:17 +01:00
Foxlet
0f33859701
Fix namespace violation
2018-09-25 22:11:30 -04:00
Jan Tatje
46be602e28
xbps-remove: fix --dry-run for --clean-cache
...
`xbps-remove --clean-cache --dry-run` did not consider the
--dry-run flag, this has been fixed.
2016-09-07 21:56:01 +02:00
Juan RP
283fb4bc06
xbps-remove: misc changes to the clean-cache mode.
...
- If orphans mode is not set, exit directly.
- Simplify the clean-cache code to avoid unnecessary allocs in some cases.
2015-01-10 11:13:26 +01:00
Juan RP
b157407684
bin/xbps-remove/clean-cache.c: CID 62747 (toctou)
2014-10-08 10:09:58 +02:00
Juan RP
0af6db77e6
bin/xbps-remove/clean-cache.c: resource leak (CID 62680)
2014-10-05 08:00:31 +02:00
Juan RP
1a024773af
xbps-remove: use xbps_binpkg_{arch,pkgver} for -O (clean-cache).
...
The new implementation is almost 1s faster than before on my system.
2014-09-05 21:09:27 +02:00
Juan RP
766cbcf683
xbps-remove(8): fix assertion when the cachedir is empty.
2014-08-02 10:00:54 +02:00
Juan RP
bbae14f187
xbps-remove(8): -O,--clean-cache is now multithreaded.
2014-05-06 12:17:18 +02:00