Commit Graph

1221 Commits

Author SHA1 Message Date
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
Juan RP a7307fad30 gitignore: ignore xbps-create bin.
(cherry picked from commit 38a8c14e162f7d4f7141cb574bbe4c5a87dc9b92)
2012-09-29 19:17:35 +02:00
Juan RP 890e1a0040 xbps-create/Makefile: remove unneeded var.
(cherry picked from commit b7f98f1a916db98c476be3b05ad29bf96a5746c9)
2012-09-29 19:14:05 +02:00
Juan RP 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
Juan RP 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
Juan RP 7fa0861794 xbps-create: switch --homepage to -H, add -h/--help.
(cherry picked from commit 3a383c41f5dc77f5c08c90a9831123243ffa9109)
2012-09-29 19:12:20 +02:00
Juan RP 8c0484c00b configure: revert unintentional change from 75eac1a1426040a833e.
(cherry picked from commit e380618c26b95ce8db18c8a7c0d622ff38be848b)
2012-09-29 19:11:45 +02:00
Juan RP 8e4e9e7bf5 xbps-bin.8: update FILES section.
(cherry picked from commit ae5079b05c499a2194a445799b1d52604f69d279)
2012-09-29 19:11:02 +02:00
Juan RP 54b6cc7ec1 xbps-{bin,repo}: add -B flag to set default repo if xbps.conf not found.
(cherry picked from commit 75eac1a1426040a833e0b10e208f2e55fa359532)
2012-09-29 19:10:48 +02:00
Juan RP 04fcb19567 NEWS: mention xbps-create(8). TODO: manpage.
(cherry picked from commit f90b7239453fcc0dec17104a1c024993d0e18f06)
2012-09-29 19:10:39 +02:00
Juan RP 15e43e550b xbps_rpool_release: fix a memleak found by valgrind.
(cherry picked from commit 90e24f4b18fdde44958584cdc038ff8a88e919a0)
2012-09-29 19:10:28 +02:00
Juan RP e370ff0625 libxbps: use a new bool in struct xbps_handle to track successful initialization.
(cherry picked from commit 03374950680f6a839b1ee2df8e3a4e1dfb110fa8)
2012-09-29 19:09:03 +02:00
Juan RP 7714f0f6c5 bin: print usage() in stdout.
(cherry picked from commit b090e1a0bd32cabd8fe81bd756d419ee4b170ef7)
2012-09-29 19:08:03 +02:00
Juan RP c39c1e5751 xbps-create: handle another variant of a relative symlink.
(cherry picked from commit 7d849c2a656246be808206baa0adae2da1c9132d)
2012-09-29 19:07:54 +02:00
Juan RP e989b74c6a xbps-create: handle symlinks a bit better.
(cherry picked from commit 8a0e98485872b4ab97a3e55b453821016d89eab7)
2012-09-29 19:07:45 +02:00
Juan RP d3bb6fe13e xbps-create: when adding entries to archive, copy data with one read().
(cherry picked from commit 1263e4555a25c4118647104563c92af9bfbe5005)
2012-09-29 19:05:54 +02:00
Juan RP b478f6d774 xbps-create: add -q (quiet), ignore optarg if it's empty.
(cherry picked from commit 4417f7d74c0d552bba0f625b7df8adf25999000f)
2012-09-29 19:05:39 +02:00
Juan RP 9e5c7de33b xbps_dictionary_from_archive_entry: fixed internalizing uncompressed dictionaries.
(cherry picked from commit 2debc5c5ee6db1a197fe3afebaa9463934707b10)
2012-09-29 19:05:33 +02:00
Juan RP 83688cf8ec xbps-{bin,repo}: fixed crash in 'show' target reported by pancake.
(cherry picked from commit 4129a08cef7139b30b41ac659f35f9d494c2d918)
2012-09-29 19:04:41 +02:00
Juan RP b08d3ea89c xbps-create: added -B (--built-with) to set "packaged-with" string obj.
(cherry picked from commit 16cffb187990df161e4683ce3154abdd6ce2bbd4)
2012-09-29 19:04:12 +02:00