Juan RP
52dae50075
xbps-uunshare: replace clone/exec with unshare/exec cmd.
...
There's no reason to clone and run cmd in the child, replace the
execution environment with cmd directly to avoid the child process.
2015-03-13 21:14:28 +01:00
Juan RP
1597727814
xbps-uunshare: do not fail if /proc/self/setgroups does not exist.
...
3.16 supports user_namespaces(7) but does not have /proc/self/setgroups.
Found by @cheneukirchen.
2015-03-09 12:34:57 +01:00
Juan RP
345183c13e
NEWS: mention some items for 0.44.1.
2015-03-08 10:22:15 +01:00
Juan RP
38fb0aabe5
NEWS: prepare 0.44.
2015-03-06 09:04:02 +01:00
Juan RP
58e6d71d24
New utility: xbps-uunshare(8) - like xbps-uchroot(8) with user_namespaces(7).
2015-03-05 18:44:20 +01:00
Juan RP
927254c43e
xbps-rindex(8): fix -s short option (omitted in shortopts).
2015-03-03 16:10:03 +01:00
Juan RP
4922c808f4
Implemented feature #77 (Add package repository locked mode)
...
Close #77
2015-03-03 12:11:28 +01:00
Juan RP
b6b446d32e
libxbps: properly detect obsolete files with files being between pkgs.
...
120 test cases now successfully pass, and all known issues about
pkg updates that move files between them should be gone (hopefully).
2015-02-26 19:37:46 +01:00
Juan RP
c712c99ced
xbps-pkgdb: exit with error if any test fails.
2015-02-26 12:01:20 +01:00
Juan RP
cbe493858c
libxbps: apply file timestamps to unmodified files on-disk while unpacking.
2015-02-25 11:10:18 +01:00
Juan RP
3855d2e2fb
xbps-pkgdb(8): check pkg file mtime (iff the obj is available).
2015-02-22 18:45:47 +01:00
Juan RP
2cae0cba01
xbps-create(8): store file mtime in metadata for upcoming changes.
2015-02-22 18:20:32 +01:00
Juan RP
ae8ce64542
Restore pkg file timestamps while unpacking as regular user.
...
Requested by @dominikh.
2015-02-21 16:52:27 +01:00
Juan RP
a05e039cce
Revert "Stop converting relative symlinks to absolute."
...
This reverts commit 9ae3638429
.
This change is ok, but cannot be used right now because all existing
binpkgs were created with an old xbps-create(8).
2015-02-19 11:11:58 +01:00
Juan RP
9ae3638429
Stop converting relative symlinks to absolute.
...
There's no reason to make them absolute, simply store in the metadata
the target file as is. This vastly simplifies the code and makes all
test pass correctly.
2015-02-19 11:04:34 +01:00
Juan RP
2f9dd7237b
NEWS: mention xbps-pkgdb(8) recent fixes.
2015-02-19 10:33:43 +01:00
Juan RP
3c34c300d1
xbps-create(8): record target file or relative symlinks correctly.
2015-02-18 14:55:54 +01:00
Juan RP
1403826fa6
libxbps: detect and remove properly symlinks with relative targets.
...
Close #78
2015-02-17 11:59:05 +01:00
Juan RP
7cdba2ed14
xbps-checkvers(8): fixed segfaults with missing vars on templates.
2015-02-16 18:53:45 +01:00
Juan RP
d607655371
libxbps: globally check for unresolved reverse dependencies.
...
Close #46 . See NEWS for more information.
2015-02-03 10:20:13 +01:00
Juan RP
0c208bb744
xbps-query(8): ownedby: do not follow symlinks and print target file too.
2015-01-29 17:32:14 +01:00
Juan RP
20276fc068
xbps-install: add additional actions to the column output.
...
- downgrade if new version in repos is less than installed one.
- reinstall if both versions are equal.
and additionally always print installed pkg version, irrespectively of
the transaction mode.
Close #72
2015-01-29 09:58:32 +01:00
Juan RP
076b3f8c44
libxbps: add pkgs on hold mode to the transaction, but ignore them.
...
Those are there mostly to be shown by the clients and notify that
there's an update in repos that is being ignored.
Idea by @chneukirchen.
2015-01-28 12:07:47 +01:00
Juan RP
571d96fa92
libxbps: make sure to remove pkg metadata file on upgrades with skip-obsoletes.
...
This fixes the following case:
- A-1.0_1 is installed and owns bin/foo.
- A-1.1_1 is in the transaction and depends on B-1.0_1 that owns bin/foo.
- B-1.0_1 is in the transaction and replaces A<1.1_1.
- A-1.1_1 in the transaction now has "skip-obsoletes".
- A is updated to 1.1_1, its metadata file (<pkgname>-files.plist) wasn't removed.
Added two new test cases to verify moving files from/to a dependency.
2015-01-27 17:53:37 +01:00
Juan RP
94d0e4e131
xbps-query(8): --regex now matches EREs in case insensitive mode.
2015-01-18 17:50:26 +01:00
Juan RP
f9eef6aa0d
Perform global tracking of unresolved shlibs before accepting transaction.
...
Rather than checking per package being installed or updated, check
all installed packages to have all its shlib-requires resolved.
2015-01-18 10:23:52 +01:00
Juan RP
d11230a29d
libxbps: abort pkg unpacking as soon as a file cannot be written.
...
Close #74
2015-01-18 10:22:05 +01:00
Juan RP
676888b5c1
xbps-query: optimize the search mode with --regex (compile ERE once).
2015-01-14 20:53:01 +01:00
Juan RP
f7142412c9
utils: implement issue #73 (only pay attention to the first char).
...
The answer can now just be 'y/Y' to accept it or 'n/N' to deny it.
Close #73
2015-01-11 16:52:04 +01:00
Juan RP
91b7b2fd5a
Use a sane umask(2) before unpacking package files.
...
See https://github.com/voidlinux/void-packages/issues/835
for more information.
2015-01-11 11:01:09 +01:00
Juan RP
9aaff4e2d0
xbps-dgraph: -m --metadata was documented but not enabled in getopt (oops).
2015-01-11 08:58:02 +01:00
Juan RP
b09faadebc
xbps-{install,query}: --repository now accepts relative paths in local repos.
2015-01-10 11:59:31 +01:00
Juan RP
7b3a500139
libxbps: the provides obj now expects exact pkgver strings.
...
This reduces extra allocs and simplifies the code, which was just
there to workaround some broken pkgs anyway.
2015-01-10 07:26:23 +01:00
Juan RP
1f6a5c0e47
libxbps: detection of orphaned packages is now 66% faster.
2015-01-10 05:43:35 +01:00
Juan RP
0ec2dd98ce
NEWS: mention another performance improvement.
2015-01-08 10:35:07 +01:00
Juan RP
cdf7fc81af
xbps-query(8): performance improvement to the ownedby mode with --regex.
...
Only compile the ERE once, rather than on any file. Found and suggested
by Christian Neukirchen (@chneukirchen).
2015-01-08 10:32:08 +01:00
Juan RP
f05dcb2378
Bump to 0.43.1.
2015-01-05 16:08:41 +01:00
Juan RP
9d582abe0f
Fixed a regression with virtual packages declared via xbps.d(5).
...
Added a new test case to verify its correctness. Somehow virtual packages
declared via xbps.d(5) were not working correctly for dependencies.
This now works as expected with vpkgs declared with and without a version
component.
2015-01-05 16:04:22 +01:00
Juan RP
3e01986864
Post release bump.
2014-12-31 08:59:34 +01:00
Juan RP
fa46c853c5
NEWS: prepare 0.43.
2014-12-31 08:58:32 +01:00
Juan RP
576000307d
NEWS: mention that pcc>=1.1.0 is a supported compiler.
2014-12-31 08:56:30 +01:00
Juan RP
65f9a43b5e
Fallback to -fstack-protector if -strong is not supported.
2014-12-31 08:55:09 +01:00
Juan RP
eee895c6d8
Fixed a regression in vpkgs and improve xbps.d(5) virtualpkg declarations.
...
See the NEWS file for more information.
2014-12-31 08:51:45 +01:00
Juan RP
b1b0264a4e
configure: build with -fstack-protector-strong if supported.
2014-12-28 03:36:40 +01:00
Juan RP
df1608d47d
xbps-pkgdb: drop packaged-with
from pkgdb; unnecessary and obsolete.
2014-12-26 15:53:02 +01:00
Juan RP
4ee6f943dd
libfetch: fix races in the cache connection code.
...
Tested by @Gottox.
2014-12-23 10:52:54 +01:00
Juan RP
6a985190aa
xbps_archive_fetch_xxx: avoid races with multiple threads in the libfetch code.
...
Protect our critical sections with a mutex for now, until libfetch
is really fixed to work correctly with multiple threads.
2014-12-22 18:18:20 +01:00
Juan RP
8593f21848
Post release version bump.
2014-12-22 11:06:49 +01:00
Juan RP
9edb4f368e
NEWS: prepare 0.42.
2014-12-22 10:58:51 +01:00
Juan RP
c8ecf4ac6c
xbps-reconfigure(8): new option -i, --ignore to ignore pkgs with -a, --all.
...
-i, --ignore can be specified multiple times and can be used to
ignore configuration of those packages while configuration of all
packages is being performed.
Close #67
2014-12-09 13:10:48 +01:00
Juan RP
b4ce0f1d0f
Fix #71 (Tiny display bug in the column output mode)
2014-12-09 12:33:58 +01:00
Juan RP
395e147c6c
xbps.d(5) - XBPS configuration directory
2014-12-09 11:41:35 +01:00
Juan RP
b78d78a1cd
xbps-dgraph: wrote a manual page.
2014-11-29 08:18:36 +01:00
Juan RP
fe9a795995
xbps-{install,query}: added -M --memory-sync option.
...
This explicitly enables the in memory fetch/store of remote repository
data archives mode, ignoring existing on-disk repodata archives.
This changes the previous behaviour of falling back to this mode if no
on-disk repodata archives were found.
Thanks to @Gottox and @dominikh for comments.
2014-11-27 10:42:05 +01:00
Juan RP
7401ea3e64
Added support to fetch remote repodata on the fly.
...
See the NEWS file for more information.
2014-11-26 16:07:16 +01:00
Juan RP
89d11e871f
xbps-{install,query}: added -i to ignore repos defined in xbps.d.
...
See the NEWS file for more information.
2014-11-21 10:56:41 +01:00
Juan RP
428a747fad
Fix #69 (No way to set globally a custom architecture)
...
The "architecture" configuration keyword is now available to override
the native machine architecture returned by (uname(2)).
The XBPS_ARCH environment variable still has preference.
2014-11-19 11:36:09 +01:00
Juan RP
b2bc7af66e
Fix #68 (xbps_binpkg_arch() asserts if arch contains a dash)
2014-11-19 11:14:37 +01:00
Juan RP
a6516505e9
xbps-query(8: added --cat=FILE mode support.
...
- This mode prints to stdout the matching FILE stored in a binary package.
- ABI break: renamed xbps_get_pkg_plist_from_binpkg() xbps_binpkg_get_plist().
- Added xbps_binpkg_get_file() as a generic way to get pkg file contents.
- Removed useless comments from xbps_api_impl.h.
2014-11-17 15:45:46 +01:00
Juan RP
3afb9d709d
Get rid of repodata index-files; the archive is now 8x smaller.
...
See the NEWS file for more information.
2014-11-13 17:09:43 +01:00
Juan RP
039a155918
xbps-create(8): fix #64 "incorrect installed-size with hardlinks"
2014-11-12 12:37:35 +01:00
Juan RP
53f13d579e
Added the "bestmatching" configuration keyword to enable pkg best matching.
...
See the NEWS file for more information.
2014-11-07 10:07:51 +01:00
Juan RP
40c3e048b0
xbps-rindex: added -d/--debug option.
2014-11-06 10:54:52 +01:00
Juan RP
5b522109f7
Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
...
See the NEWS file for more information.
2014-11-06 09:58:04 +01:00
Juan RP
9566a0e737
Re-add support for system virtualpkg.d (XBPS_SYS_VPKG_PATH).
...
This is still useful to set distro defaults for virtual packages, with
the option to override them via /etc/xbps/virtualpkg.d.
2014-11-05 09:40:32 +01:00
Juan RP
595136704e
Get rid of system virtualpkg.d support (<prefix>/share/xbps/virtualpkg.d).
...
Binary packages do not need to provide those virtualpkg configuration files
anymore; all vpkg info is now collected from pkgdb.
2014-11-04 11:17:27 +01:00
Juan RP
b179c16fc0
xbps-{install,remove}: implemented column/wide output mode.
...
See https://github.com/voidlinux/xbps/issues/63 for info.
Close #63
2014-10-30 11:23:10 +01:00
Juan RP
654c77df25
Switch back to uncompressed plists.
...
There's no point in slowing down read performance just to save a few bytes.
2014-10-24 10:15:41 +02:00
Juan RP
ff189fd210
Replaced redundant dependency sorting code with a simpler implementation.
...
This fixes the issue found by "xbps-src bootstrap" when a package
without "provides" was declared as a virtual package.
2014-10-18 12:35:47 +02:00
Juan RP
83f5e35ec7
pkgdb: switch to zplists by default.
2014-10-17 10:11:56 +02:00
Juan RP
1531e26ac0
NEWS: sync.
2014-10-17 10:02:20 +02:00
Juan RP
d7633e88e0
Fix #62 (Dup replaced pkgs in transaction)
2014-10-17 09:52:32 +02:00
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
Juan RP
a28046332f
Implemented support for pre-remove and post-install messages.
...
Close #44
2014-07-27 11:24:49 +02:00
Juan RP
26fca48da2
xbps-install(8): added support to list pkgs that will be downloaded from remote repos.
2014-07-14 09:30:28 +02:00
Juan RP
4356b6fd65
Abort transaction if there's not enough free space on disk.
...
Close #7 .
2014-07-13 11:45:04 +02:00
Juan RP
79fe312302
Gather proper transaction stats (take into account binpkgs in cachedir, and "preserved" pkgs).
2014-07-13 09:56:06 +02:00
Juan RP
e60677116d
Fix #43 (xbps-install: unhelpful message for invalid dependency)
...
If a package that is going to be installed or updated contains invalid
dependencies return ENXIO and XBPS_STATE_INVALID_DEP xbps state to clients.
This improves the error messages returned to the clients when such
condition happens.
2014-07-02 10:59:25 +02:00
Juan RP
21f32a75c5
Fixed a new issue with vpkgs replacing the same vpkg they are providing.
...
Added a new testcase to verify its correctness.
2014-07-01 15:35:55 +02:00
Juan RP
510c84d3bb
libfetch: synchronized with NetBSD's pkgsrc/libfetch, preserving our changes.
2014-06-29 10:29:36 +02:00
Juan RP
633c20a2e6
libfetch: merge TLS SNI support from NetBSD with some other random changes.
...
Close GH #41
2014-06-28 12:01:00 +02:00
Juan RP
96f36879a6
NEWS: prepare 0.37.
2014-06-06 15:52:08 +02:00
Juan RP
6bb61adb0e
Enable syslog logging by default; updated API to use xbps_handle::flags.
2014-06-04 09:39:02 +02:00
Juan RP
776865b548
Added support for system/config virtualpkg.d directories.
...
The system virtualpkg directory set to <rootdir>/usr/share/xbps/virtualpkg.d contains
virtualpkg configuration files (.conf/.vpkg) that can be overrided by the admin
in <rootdir>/etc/xbps/virtualpkg.d bearing the same file name.
This obsoletes the "virtualpkgdir" keyword support from the xbps configuration file.
2014-05-31 07:05:57 +02:00
Juan RP
23fef46e9e
Implemented GH #39
...
The system repository directory set to <prefix>/share/xbps/repo.d contains
system repository configuration files (.conf) that can be overrided by the admin
in <sysconfdir>/xbps/repo.d bearing the same file name.
2014-05-30 11:48:10 +02:00
Juan RP
b9e44009d9
xbps-create(8): new option -t, --tags to store tags/categories metadata.
2014-05-29 11:36:39 +02:00
Juan RP
61a1d33995
xbps-install(8): implemented single pkg updates without -u, --update.
...
The -u, --update is now only necessary to perform full system updates.
Close #35 (https://github.com/voidlinux/xbps/issues/35 )
2014-05-27 11:33:45 +02:00
Juan RP
0eadaab19d
xbps-query: added --regex to use EREs in ownedby and search modes.
...
This replaces previous -S, --search-regex option. The regex option
can now be used in the ownedby and search modes.
Also added -S, --show option which is the default mode if no other
mode set, and defaults to it to preserve compatibility.
2014-05-26 17:30:44 +02:00
Juan RP
1f0605810c
xbps-query: added -S, --search-regex to match EREs against pkg props in repos.
2014-05-25 11:03:31 +02:00
Juan RP
cafbca06e7
Imported portableproplib-0.6.4.
2014-05-17 20:25:14 +02:00
Juan RP
869466278b
Fixed a new issue with virtual packages, as reported by Gottox.
2014-05-15 22:07:10 +02:00
Juan RP
4070255529
pkgdb: added "repository-origin" obj to know its origin repository.
2014-05-11 10:03:17 +02:00
Juan RP
26c1e80933
xbps-remove(8): -n,--dry-run option does not need pkgdb write perms anymore.
2014-05-06 16:25:52 +02:00
Juan RP
bbae14f187
xbps-remove(8): -O,--clean-cache is now multithreaded.
2014-05-06 12:17:18 +02:00
Juan RP
c119c5e0bb
NEWS: mention recent change made by Gottox.
2014-05-06 09:29:29 +02:00
Juan RP
35de44fcbd
xbps-query(8): fix a segfault with -Rf if pkg is in repodata but not its binpkg.
2014-05-02 17:23:53 +02:00
Juan RP
5c8ccf4abb
NEWS: prepare 0.36.
2014-04-21 11:43:53 +02:00
Juan RP
43090cef2a
Xref xbps-uchroot(8)
2014-04-21 10:58:09 +02:00
Juan RP
c992db2bc0
New test cases to detect pkgs with dependencies on itself.
2014-04-20 18:19:12 +02:00
Juan RP
bb491e2667
libxbps: detect and ignore incorrect deps of a pkg if those are virtual pkgs.
2014-04-20 16:54:50 +02:00
Juan RP
1d74c1c144
xbps-install(8): -n,--dry-run option does not need pkgdb write perms anymore.
2014-04-18 09:06:53 +02:00
Juan RP
ed70fe5009
xbps-query(8): fix a segfault with '-vL' for local unsigned repositories.
2014-04-13 12:24:26 +02:00
Juan RP
b71bda2ba4
xbps-create(8): new option (--compression) to set compression format.
2014-04-11 14:16:58 +02:00
Juan RP
1ff1fc90cb
Renamed xbps-repo-checkvers -> xbps-checkvers.
2014-04-07 10:45:25 +02:00
Juan RP
eb1f1d197d
Merge xbps-repo-checkvers from https://github.com/xdave/xbps-src-utils
...
This is the 2-clause BSD implementation that does not use any external
dependency (other than libxbps).
Written by xdave.
Made some minor changes to build cleanly.
2014-04-06 12:21:24 +02:00
Juan RP
eeb12a8c9d
NEWS: prepare 0.35.
2014-04-01 10:50:14 +02:00
Juan RP
9ace61225d
xbps-uchroot: new utility merged from xbps-src, must have appropiate permissions to work.
2014-04-01 10:26:22 +02:00
Juan RP
ee9479cc57
xbps-rindex: --sign bugfix to avoid garbage in the PEM RSA public key buffer.
2014-03-31 12:00:08 +02:00
Juan RP
4530c79bb2
Make sure that root symlinks in void are never removed or detected as obsoletes.
...
Added/improved test cases to detect those conditions work as expected.
2014-03-31 10:16:18 +02:00
Juan RP
ab0f928cca
NEWS: prepare 0.34.
2014-03-26 09:32:43 +01:00
Juan RP
cb66092fbc
xbps-query: added support for -p/--property argument in search mode.
...
See the NEWS file for more information.
2014-03-21 13:19:40 +01:00
Juan RP
f2868856ee
xbps-query: in local mode print all objs from pkgdb.
2014-03-21 11:14:16 +01:00
Juan RP
9eebead5d7
xbps-query: print the 'hold' object on installed packages.
2014-03-21 09:33:18 +01:00
Juan RP
d0a9bbb912
Fix #34 (make libfetch always add "Accept: */*" in the HTTP header).
2014-03-18 14:08:40 +01:00
Juan RP
4b20a6b512
NEWS: mention recent changes.
2014-03-16 18:05:42 +01:00
Juan RP
ef3b6278a6
Added support to pass native machine architecture to pkg scripts (6th arg).
2014-03-12 10:16:37 +01:00
Juan RP
7606691af3
Post-release bump to 0.34.
2014-03-11 13:11:41 +01:00
Juan RP
8dbdf77cee
NEWS: prepare 0.33.
2014-03-11 10:19:25 +01:00
Juan RP
878d2bf7e2
xbps-dgraph: only set rootdir it was set ( fix #33 ).
2014-03-10 10:20:04 +01:00
Juan RP
0416b067d0
Use a POSIX lock for pkgdb and only issue pkgdb writes in exact points.
...
- Rather than using a POSIX named semaphore use a POSIX lock (lockf(3))
for pkgdb for writers. Writers that cannot acquire the pkgdb lock will
get EAGAIN rather then being blocked.
- Due to using a file lock we cannot write the pkgdb every time a package
is being unpacked, configured or removed. Instead pkgdb is only written
at the end of a specific point in the transaction (unpack, configure, remove)
or via xbps_pkgdb_unlock().
2014-03-04 14:37:10 +01:00
Juan RP
6335573180
NEWS: mention recent change to xbps-uhelper fetch by Gottox.
2014-03-04 14:35:05 +01:00
Juan RP
9101241b20
Fix pkg symlink removal introduced in the two phase package removal feature.
2014-02-26 10:05:19 +01:00
Juan RP
8c47021ec3
Fix #31 and add new test case to reproduce it.
2014-02-25 22:55:39 +01:00
Juan RP
f74bf1c1c8
New custom configuration file format that does not need confuse.
2014-02-25 16:42:52 +01:00
Juan RP
4d1cdcac0c
Fix concurrency issues in pkgdb: only allow 1 write transaction at the same time.
...
This implementation relies on a POSIX named semaphore, which is also
required by xbps-rindex(8).
2014-02-23 08:23:14 +01:00
Juan RP
bc2bada045
NEWS: mention previous bugfix.
2014-02-23 08:17:51 +01:00
Juan RP
c9fd89a76a
Post release version bump.
2014-02-21 09:35:51 +01:00
Juan RP
bd7713a8db
NEWS: prepare for 0.32.
2014-02-21 09:33:53 +01:00
Juan RP
2fa0d56658
Fixed a xbps_pkgpattern_name() crash and a test to reproduce it (found by Gottox).
2014-02-15 01:26:42 +01:00
Juan RP
61fa9b8c7e
Improve package removal by using a two phase approach: check and removal.
2014-02-09 11:54:49 +01:00
Juan RP
f97ea2b915
xbps-remove: make -O also remove signature files and skip pkgs with unmatched arch.
2014-02-07 03:50:30 +01:00
Juan RP
306fe4968e
xbps-rindex: clear file permission bits before creating our named semaphore.
...
Due to the file permission bits (umask(3)) the semaphore wasn't created
with correct permissions.
2014-02-05 15:27:35 +01:00
Juan RP
9c124aa162
Post release bump.
2014-02-01 12:25:50 +01:00
Juan RP
7508678fa3
NEWS: prepare 0.31.
2014-02-01 10:45:08 +01:00
Juan RP
314386d3da
NEWS: also mention the errno(3) propagation issue that I did fix yesterday.
2014-01-31 11:41:13 +01:00
Juan RP
f5e1fff93a
xbps-rindex: use a POSIX named semaphore to avoid concurrency issues.
2014-01-31 11:35:31 +01:00
Juan RP
d08e76a386
Keep repo metadata if possible when updating repodata (xbps-rindex -a/-c).
...
API/ABI incompat changes, you've been warned.
2014-01-30 13:07:34 +01:00
Juan RP
c6cae9e6ef
NEWS: mention recent xbps-rindex -c fix.
2014-01-30 12:54:43 +01:00
Juan RP
7ceb83cee7
NEWS: mention recent double free fix.
2014-01-28 21:01:39 +01:00
Juan RP
2bacf4887d
Post release bump to 0.31.
2014-01-28 17:29:04 +01:00
Juan RP
aca6df5bba
NEWS: prepare 0.30.
2014-01-28 17:27:06 +01:00
Juan RP
c03505b13e
Fix #30 (segment fault in xbps-rindex)
2014-01-22 11:53:08 +01:00
Juan RP
72f37de770
Fix #29 (xbps-rindex does not sign repodata if no pkg has been signed)
2014-01-21 11:06:02 +01:00
Juan RP
e9bc52a01b
Fix #28 (Verification fails due to missing signature).
2014-01-21 10:06:48 +01:00
Juan RP
16fc064aef
Remove obsolete files also on package reinstalls (and downgrades).
2014-01-15 21:52:35 +01:00
Juan RP
98a3723902
Respect installation mode also on reinstall (and downgrade).
2014-01-15 16:17:41 +01:00
Juan RP
292be5c420
Make sure that all symlinks in a package are removed, not just dangling symlinks.
2014-01-12 17:10:07 +01:00
Juan RP
6570045cbb
NEWS: prepare for 0.29.
2014-01-09 14:22:44 +01:00
Juan RP
278a58e841
NEWS: mention recent changes.
2014-01-09 11:42:07 +01:00
Juan RP
3397e6b0f4
Post-release bump to 0.29.
2014-01-03 11:09:42 +01:00
Juan RP
799ac1d5cb
NEWS: update for 0.28.
2014-01-03 11:06:50 +01:00