Juan RP
1c20086896
Package remove: disable file owner checks if euid==0.
...
All package files even not owned by root should be removed, so make sure
that those checks return success while being root.
This fixes package removal for polkit, that had /etc/polkit/rules.d
files owned by the polkitd user.
2014-10-17 09:17:07 +02:00
Juan RP
b3d105cbc3
NEWS: update.
2014-10-17 09:14:15 +02:00
Juan RP
fe76af7702
proplib: use GCC atomic builtins if supported.
2014-10-09 14:41:43 +02:00
Juan RP
f7841f98eb
NEWS: prepare 0.41.
2014-09-29 15:54:15 +02:00
Juan RP
df71b40968
NEWS: mention last bugfix.
2014-09-29 15:50:56 +02:00
Juan RP
2711b07b77
Fix package files removal with only read bit set.
...
The previous code was checking incorrectly if the file had the write
bit set, and this is wrong because a package could have files with
only the read bit set (0444).
2014-09-28 13:33:15 +02:00
Enno Boland
2fe65dccec
rename xbps-packages to void-packages
2014-09-26 14:24:06 +02:00
Enno Boland
162845023e
NEWS: correct reverts description.
2014-09-23 21:05:28 +02:00
Enno Boland
66e697ffc4
NEWS: explain new reverts field.
2014-09-23 21:00:24 +02:00
Juan RP
202ab0d375
NEWS: mention recent changes.
2014-09-23 09:42:20 +02:00
Juan RP
c51d0fcbd8
Post release bump.
2014-09-18 17:29:10 +02:00
Juan RP
15e416dc59
NEWS: prepare 0.40.
2014-09-18 17:25:56 +02:00
Juan RP
f52eea34d4
xbps-install: abort transaction if there's insufficient disk space on rootdir.
...
The free disk space wasn't computed correctly and xbps-install(8) wasn't
handling ENOSPC rval in xbps_transaction_prepare().
2014-09-18 12:11:02 +02:00
Juan RP
2550d3d006
xbps-query: do not print ANSI escape codes if stdout is not a tty.
2014-09-18 10:14:42 +02:00
Juan RP
3b88cbb025
NEWS: mention zsh changes by @chneukirchen.
2014-09-17 18:57:01 +02:00
Juan RP
72c64c7626
xbps_file_hash: reduce memory footprint and process file in small chunks.
...
With xbps-rindex(8) -c/-r being multithreaded, the memory usage was
insanely high in the build server, with peaks of almost 4GB (this depends
on the file size being processed and number of threads).
Process the file in small chunks instead to compute the SHA256 hash.
2014-09-17 06:50:46 +02:00
Juan RP
94b9455175
NEWS: another change.
2014-09-16 09:58:27 +02:00
Juan RP
fe6d79fa46
NEWS: mention recent changes.
2014-09-16 09:58:27 +02:00
Juan RP
3efd345e84
Post release bump.
2014-09-15 12:47:01 +02:00
Juan RP
d1a1f00ca0
NEWS: prepare 0.39.
2014-09-15 12:45:56 +02:00
Juan RP
e4484133a6
NEWS: mention musl build fix.
2014-09-15 12:26:17 +02:00
Juan RP
6d4b326b13
NEWS: mention recent changes.
2014-09-15 12:25:39 +02:00
Juan RP
dee7852af8
xbps-rindex: fix -a/--add mode repodata archive permissions.
...
The repodata archive wasn't group writable, resulting in a new archive
created from scratch if the fd wasn't writable.
repodata archives are now created with 0664 mode, this way its main group
also can write to it.
2014-09-15 12:15:42 +02:00
Juan RP
0e6f2870cc
Post release bump.
2014-09-14 19:00:19 +02:00
Juan RP
71dfbd23a1
NEWS: prepare 0.38.
2014-09-14 18:58:12 +02:00
Juan RP
8c25d56fcd
NEWS: improve wording.
2014-09-12 12:02:41 +02:00
Juan RP
d959502311
NEWS: do not mention repodeltas, it's not ready yet.
2014-09-11 12:23:48 +02:00
Juan RP
2207517e13
Disable best pkg matching code; see NEWS for more information.
2014-09-11 12:19:52 +02:00
Juan RP
787f0e2751
NEWS: mention bash/zsh completions.
2014-09-11 07:45:33 +02:00
Juan RP
ed67cad564
xbps-query(8): added local search mode support (-s [-p]).
2014-09-11 01:15:51 +02:00
Juan RP
01dbb968dd
Welcome pkgdb-0.38.
2014-09-11 00:12:12 +02:00
Juan RP
fb9c94fab9
Added support to use pkg shlib-{provides,requires} objects.
...
This effectively checks that all pkgs in a transaction to be installed
or updated, have not unmatched shared libraries, which might happen with
pkgs that had major soname bumps.
This implementation slow downs xbps_transaction_prepare() 2x, due to
the use of xbps_pkgdb_get_pkg_metadata(). A new pkgdb format is required
that adds the pkg shlib-provides objects to pkgdb, avoiding the need
to use xbps_pkgdb_get_pkg_metadata().
2014-09-09 11:08:54 +02:00
Juan RP
57a7967f0d
NEWS: mention recent performance improvements.
2014-09-06 08:10:23 +02:00
Juan RP
013731c502
Acquire/release a POSIX file lock on repository archives.
...
- xbps_repo_open() accepts a third argument (bool) to acquire a POSIX file
lock on the repository archive.
- xbps_repo_close() accepts a second argument (bool) to release a POSIX file
lock on the repository archive.
This avoids the issue of multiple xbps-rindex(8) processes being blocked
even for different repositories on the same architecture, resulting in
unnecessary contention.
2014-09-05 12:26:42 +02:00
Juan RP
25e8002737
fetch: hardcode HTTPS port and fallback to /etc/services for other unknown ports.
2014-08-25 16:07:47 +02:00
Juan RP
74b3cb0e64
Only build/install xbps-uchroot(8) on linux.
2014-08-23 09:06:46 +02:00
Juan RP
7cef93ce07
Added support to replace vpkgs when the real pkgname matches any installed vpkg.
2014-08-22 12:44:18 +02:00
Juan RP
d7c7783ac2
xbps-query(8): added --fulldeptree to print a full dependency tree with -x.
...
This fixes the regression introduced in 0.37 with -xx; -xx is not supported
anymore, use `--fulldeptree -x`.
2014-08-19 13:14:37 +02:00
Juan RP
4257f0b914
NEWS: tyops
2014-08-19 10:55:35 +02:00
Juan RP
3cc8929ce1
xbps_get_pkg_plist_from_binpkg: fix a double free, found by Gottox.
...
xbps-query -Rf foo without network was enough to trigger it.
2014-08-19 10:45:46 +02:00
Juan RP
b8d22c9091
NEWS: improve xdelta entry.
2014-08-13 21:52:37 +02:00
Juan RP
f83fed1ea6
Merge pull request #52 from Gottox/xdelta
...
support for fetching file deltas for repo_sync.
2014-08-13 21:38:35 +02:00
Enno Boland
858d226adc
NEWS: announce xdelta support
2014-08-12 09:47:36 +02:00
Juan RP
c5d56bbf83
xbps-uchroot(8): do not remount / unnecessarily.
2014-08-12 07:53:59 +02:00
Juan RP
c301cc32e5
xbps-query(8): -S mode prints keys with ANSI bold escape code.
2014-08-05 01:22:58 +02:00
Juan RP
0b116a0f3f
xbps-query(8): --search --property now works with <number> objects.
...
For example to find a package where its binpkg file is bigger than 1GB:
$ xbps-query --regex -s [0-9][0-9][0-9][0-9]MB -p filename-size
2014-08-02 12:11:28 +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
f8d8f91a08
Implement support to "preserve" existent on-disk files.
...
See NEWS for more information. Fix #51
2014-08-01 15:09:51 +02:00
Juan RP
cc6f9901f1
Fix #50 (Existent files on disk might be overwritten by packages with conf_files).
2014-07-30 16:18:57 +02:00
Juan RP
70818c09ee
NEWS: grammar.
2014-07-27 11:31:39 +02:00