Commit Graph

1390 Commits

Author SHA1 Message Date
Juan RP
264c704529 unpack: do not use realpath(3) on uninstalled symlinks. 2012-10-27 09:36:28 +02:00
Juan RP
c28f882d5c unpack: misc improvements for previous. 2012-10-26 14:32:04 +02:00
Juan RP
c58ca952a8 unpack: convert printf added in previous to xbps_dbg_printf. 2012-10-26 14:22:18 +02:00
Juan RP
7fdae2d6dc unpack: handle another case of relative symlink. 2012-10-26 14:17:31 +02:00
Juan RP
a5707e5b8d Bump XBPS_API_VERSION for latest changes in libxbps behaviour. 2012-10-26 11:35:01 +02:00
Juan RP
20078259e2 NEWS: mention latest changes. 2012-10-26 11:34:47 +02:00
Juan RP
d31a3d205a unpack: use lstat() for symlinks, respect uid/gid if euid == 0, some fixes. 2012-10-26 11:25:17 +02:00
Juan RP
e3d876ade0 pkgdb: some fixes for e545429fa1. 2012-10-26 11:05:17 +02:00
Juan RP
4023c8115b unpack: improvements to handle more cases of modified files.
- Do not unpack unmodified symlinks.
- Do not unpack files that only differ in mode, just chmod(2) new perms.
- Do not create pkg's metadata dir if this already exists.
2012-10-26 10:27:24 +02:00
Juan RP
e545429fa1 pkgdb: if plist from storage and memory do not differ do not flush to storage. 2012-10-26 10:25:14 +02:00
Juan RP
3e7f35bed1 xbps_configure_pkg: do not flush pkgdb if state hasn't been changed. 2012-10-26 10:24:26 +02:00
Juan RP
89dadb0f20 While checking conf files and there were no changes, do not unpack file from binpkg. 2012-10-26 10:23:12 +02:00
Juan RP
d99c505811 requiredby: skip adding same entry if already exists. 2012-10-26 09:44:07 +02:00
Juan RP
9e11ea950a Do not inherit unneeded objs from trans dictionary onto pkg's pkgdb dictionary. 2012-10-25 09:29:56 +02:00
Juan RP
863f12e349 Improved finding obsolete files while upgrading pkgs. 2012-10-24 07:45:00 +02:00
Juan RP
56d704f733 xbps-bin/check: do not warn if pkg's meta files plist is empty, it is valid. 2012-10-24 07:31:59 +02:00
Juan RP
83a84b5dcd TODO: update. 2012-10-18 10:39:51 +02:00
Juan RP
922dbbb85b NEWS: mention recent changes. 2012-10-09 10:07:47 +02:00
Juan RP
22a86d82f8 Added support for installing exact dependencies, i.e pkg X depends on 'Y-1.0_1'. 2012-10-09 07:35:59 +02:00
Juan RP
ebc0f27ae1 Do not add to the queue a pkgdep that has been already added via a vpkg.
The problem was after merging udev into systemd, udev is now a virtual pkg
and another dependency was requiring it and added systemd (real pkg) to
the list, but later in the sorting phase systemd was added again breaking
the dependency order.
2012-10-06 10:34:29 +02:00
Juan RP
c158acefac Revert "transaction: keep last dep and remove dup matches while sorting deps."
This reverts commit b764f8e19a.
2012-10-06 10:01:37 +02:00
Juan RP
6592164010 xbps_api.h.in: bump XBPS_APIVER. 2012-10-06 09:23:27 +02:00
Juan RP
b764f8e19a transaction: keep last dep and remove dup matches while sorting deps.
This bug has been uncovered due to udev -> systemd merge.
2012-10-06 09:21:26 +02:00
Juan RP
f8450f9bd7 xbps-create: use mmap(2). 2012-10-04 17:13:33 +02:00
Juan RP
09863ae669 .gitignore: ignore generated xbps_api.h file. 2012-10-04 12:05:39 +02:00
Juan RP
d59ad72ee4 xbps-bin(8): the 'check' target now handles symlinks correctly. 2012-10-04 12:05:04 +02:00
Juan RP
056f40da3f NEWS: mention latest fix for xbps-create(8). 2012-10-04 10:09:49 +02:00
Juan RP
42c21e1c3c xbps-create: if a symlink points to an unexistent file store symlink target as is.
Seen in recent builds when building the systemd binpkg:

[chroot] => Building systemd-194_1.x86_64.xbps...
xbps-create.real: main.c:219: ftw_cb: Assertion `p' failed.

Which was asserting in a symlink that was pointing to a file provided by the udev
pkg, therefore realpath(3) failed.
2012-10-04 09:40:52 +02:00
Juan RP
b13df00ded Use a common place to set XBPS_VERSION. 2012-10-03 10:10:20 +02:00
Juan RP
5413a4ec50 NEWS: prepare for 0.17. 2012-10-02 11:09:16 +02:00
davehome
efe6d4ff94 xbps-repo.8: misc grammar fixes. 2012-10-02 03:02:52 -06:00
davehome
272d4ffaf6 xbps-bin.8: misc grammar fixes. 2012-10-02 02:56:34 -06:00
davehome
7fb829177c xbps-bin.8: fix previous. 2012-10-02 02:49:10 -06:00
davehome
51b9b7f3bf xbps-bin.8: fix check target grammar. 2012-10-02 02:48:15 -06:00
davehome
2456a0e502 xbps-bin.8: fix grammar for -A. 2012-10-02 02:44:15 -06:00
Juan RP
9f41661726 xbps-create: added manpage. 2012-10-02 10:14:20 +02:00
Juan RP
fd7c5e7bfe NEWS: another item. 2012-10-02 09:48:49 +02:00
Juan RP
d38dfdd19a libxbps: unpack: before extracting re-set entry_pname. 2012-10-01 16:41:50 +02:00
Juan RP
ba6a459786 NEWS: add some more items. 2012-10-01 15:16:34 +02:00
Juan RP
bdeeaa46b8 libxbps: unpack: simplify file hash matching code. 2012-09-30 17:07:51 +02:00
Juan RP
7909f597cb xbps_path_from_repository_uri: do not look for binpkgs in repo arch dirs anymore. 2012-09-30 10:13:06 +02:00
Juan RP
154337ceab xbps-repo: remove-obsoletes: remove broken binpkgs (when plist cannot be internalized). 2012-09-30 10:08:21 +02:00
Juan RP
5228b3fbf3 remove_obsoletes: deal with unexistent arrays in both dictionaries. 2012-09-30 08:57:57 +02:00
Juan RP
0ab888a79c xbps-repo: no need to release dict from xbps_rpool_xxx. 2012-09-30 08:11:51 +02:00
Juan RP
f7a4718de9 xbps_rpool_dictionary_metadata_plist: do not release dictionary without refcounts! 2012-09-30 08:10:49 +02:00
Juan RP
1d7fab2abd xbps-create: remove -d --destdir option and require this as argument. 2012-09-30 07:12:31 +02:00
Juan RP
9c15f103e1 lib/package_unpack: simplify and externalize pkg's plists uncompressed. 2012-09-29 20:49:51 +02:00
Juan RP
092be04783 pkgdb: flush uncompressed pkgdb for performance reasons. 2012-09-29 20:28:39 +02:00
Juan RP
3222fce866 Revert "xbps-bin.8: update FILES section."
This reverts commit 8e4e9e7bf5.

This doesn't apply to this branch, only for single-pkgdb.
2012-09-29 19:37:22 +02:00
Juan RP
2f13afe7a6 lib/package_unpack.c: fixed build error caused by cherry-pick conflict. 2012-09-29 19:18:32 +02:00