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