d31a3d205a
unpack: use lstat() for symlinks, respect uid/gid if euid == 0, some fixes.
2012-10-26 11:25:17 +02:00
e3d876ade0
pkgdb: some fixes for e545429fa1
.
2012-10-26 11:05:17 +02:00
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
e545429fa1
pkgdb: if plist from storage and memory do not differ do not flush to storage.
2012-10-26 10:25:14 +02:00
3e7f35bed1
xbps_configure_pkg: do not flush pkgdb if state hasn't been changed.
2012-10-26 10:24:26 +02:00
89dadb0f20
While checking conf files and there were no changes, do not unpack file from binpkg.
2012-10-26 10:23:12 +02:00
d99c505811
requiredby: skip adding same entry if already exists.
2012-10-26 09:44:07 +02:00
9e11ea950a
Do not inherit unneeded objs from trans dictionary onto pkg's pkgdb dictionary.
2012-10-25 09:29:56 +02:00
863f12e349
Improved finding obsolete files while upgrading pkgs.
2012-10-24 07:45:00 +02:00
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
83a84b5dcd
TODO: update.
2012-10-18 10:39:51 +02:00
922dbbb85b
NEWS: mention recent changes.
2012-10-09 10:07:47 +02:00
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
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
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
6592164010
xbps_api.h.in: bump XBPS_APIVER.
2012-10-06 09:23:27 +02:00
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
f8450f9bd7
xbps-create: use mmap(2).
2012-10-04 17:13:33 +02:00
09863ae669
.gitignore: ignore generated xbps_api.h file.
2012-10-04 12:05:39 +02:00
d59ad72ee4
xbps-bin(8): the 'check' target now handles symlinks correctly.
2012-10-04 12:05:04 +02:00
056f40da3f
NEWS: mention latest fix for xbps-create(8).
2012-10-04 10:09:49 +02:00
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
b13df00ded
Use a common place to set XBPS_VERSION.
2012-10-03 10:10:20 +02:00
5413a4ec50
NEWS: prepare for 0.17.
2012-10-02 11:09:16 +02:00
efe6d4ff94
xbps-repo.8: misc grammar fixes.
2012-10-02 03:02:52 -06:00
272d4ffaf6
xbps-bin.8: misc grammar fixes.
2012-10-02 02:56:34 -06:00
7fb829177c
xbps-bin.8: fix previous.
2012-10-02 02:49:10 -06:00
51b9b7f3bf
xbps-bin.8: fix check target grammar.
2012-10-02 02:48:15 -06:00
2456a0e502
xbps-bin.8: fix grammar for -A.
2012-10-02 02:44:15 -06:00
9f41661726
xbps-create: added manpage.
2012-10-02 10:14:20 +02:00
fd7c5e7bfe
NEWS: another item.
2012-10-02 09:48:49 +02:00
d38dfdd19a
libxbps: unpack: before extracting re-set entry_pname.
2012-10-01 16:41:50 +02:00
ba6a459786
NEWS: add some more items.
2012-10-01 15:16:34 +02:00
bdeeaa46b8
libxbps: unpack: simplify file hash matching code.
2012-09-30 17:07:51 +02:00
7909f597cb
xbps_path_from_repository_uri: do not look for binpkgs in repo arch dirs anymore.
2012-09-30 10:13:06 +02:00
154337ceab
xbps-repo: remove-obsoletes: remove broken binpkgs (when plist cannot be internalized).
2012-09-30 10:08:21 +02:00
5228b3fbf3
remove_obsoletes: deal with unexistent arrays in both dictionaries.
2012-09-30 08:57:57 +02:00
0ab888a79c
xbps-repo: no need to release dict from xbps_rpool_xxx.
2012-09-30 08:11:51 +02:00
f7a4718de9
xbps_rpool_dictionary_metadata_plist: do not release dictionary without refcounts!
2012-09-30 08:10:49 +02:00
1d7fab2abd
xbps-create: remove -d --destdir option and require this as argument.
2012-09-30 07:12:31 +02:00
9c15f103e1
lib/package_unpack: simplify and externalize pkg's plists uncompressed.
2012-09-29 20:49:51 +02:00
092be04783
pkgdb: flush uncompressed pkgdb for performance reasons.
2012-09-29 20:28:39 +02:00
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
2f13afe7a6
lib/package_unpack.c: fixed build error caused by cherry-pick conflict.
2012-09-29 19:18:32 +02:00
a7307fad30
gitignore: ignore xbps-create bin.
...
(cherry picked from commit 38a8c14e162f7d4f7141cb574bbe4c5a87dc9b92)
2012-09-29 19:17:35 +02:00
890e1a0040
xbps-create/Makefile: remove unneeded var.
...
(cherry picked from commit b7f98f1a916db98c476be3b05ad29bf96a5746c9)
2012-09-29 19:14:05 +02:00
140a012d3b
xbps-uhelper: remove obsolete code (unneeded with upcoming xbps-src-30).
...
(cherry picked from commit 14ec6cfdd0068b348b302a8da24774e9794bbaf8)
Conflicts:
bin/xbps-uhelper/main.c
2012-09-29 19:13:38 +02:00
ea2710bca4
xbps-uhelper: allways zero out xbps_handle passed to xbps_{init,end}.
...
(cherry picked from commit e84d44a3416936333d10b134514eca6abddb5d6d)
2012-09-29 19:12:39 +02:00
7fa0861794
xbps-create: switch --homepage to -H, add -h/--help.
...
(cherry picked from commit 3a383c41f5dc77f5c08c90a9831123243ffa9109)
2012-09-29 19:12:20 +02:00
8c0484c00b
configure: revert unintentional change from 75eac1a1426040a833e.
...
(cherry picked from commit e380618c26b95ce8db18c8a7c0d622ff38be848b)
2012-09-29 19:11:45 +02:00