Commit Graph

516 Commits

Author SHA1 Message Date
Juan RP
c7402a9176 xbps-query/search.c: fix a memleak found by cppcheck. 2012-11-06 09:13:05 +01:00
Juan RP
ef6ed7d8c7 xbps-query: fallback to repos on ENOENT for show modes. 2012-11-05 13:17:15 +01:00
Juan RP
2e649f9315 xbps-query: show usage if no args are set for search or ownedby modes. 2012-11-05 12:12:34 +01:00
Juan RP
1948978dec xbps-create.8: add Xrefs. 2012-11-05 09:57:52 +01:00
Juan RP
f6a4ab353a xbps-install/transaction: remove extra \n in a printf. 2012-11-05 09:53:35 +01:00
Juan RP
caaf885229 xbps-remove: constify longopts; exec trans correctly. 2012-11-05 09:51:34 +01:00
Juan RP
0a7e917d49 manpages: tweaks. 2012-11-05 09:39:10 +01:00
Juan RP
603b0249f1 xbps-remove.8: minor fix. 2012-11-03 11:37:12 +01:00
Juan RP
306273ce7b xbps-remove.8: minor tweaks. 2012-11-03 11:33:55 +01:00
Juan RP
2734ad6d5e xbps-remove.8: extend DESCRIPTION. 2012-11-03 11:29:45 +01:00
Juan RP
b35ae55028 xbps-reconfigure.8: Xr xbps-rindex(8). 2012-11-03 11:21:39 +01:00
Juan RP
35f468fa55 xbps-reconfigure: added a manual page. 2012-11-03 11:18:10 +01:00
Juan RP
611d529cb0 xbps-remove: added a manual page. 2012-11-03 10:47:03 +01:00
Juan RP
b11d18a54f xbps-rindex: added a manual page. 2012-11-03 10:30:26 +01:00
Juan RP
4bc718b91b xbps-install: state_cb.c: s/xbps-bin/xbps-install/g. 2012-11-03 09:48:16 +01:00
Juan RP
714bacb0e4 xbps-remove: avoid xbps-install/state_cb.c dependency. 2012-11-03 09:47:28 +01:00
Juan RP
d61e12d75e xbps-reconfigure: avoid xbps-install/state_cb.c dependency. 2012-11-03 09:43:28 +01:00
Juan RP
a0d4a21a1d xbps-install: fixed some issues; remove unused headers. 2012-11-02 15:24:48 +01:00
Juan RP
b05ce9fe57 New utilities: xbps-{install,pkgdb,query,reconfigure,rindex} (WIP). 2012-11-02 15:04:25 +01:00
Juan RP
7fa8207cf3 xbps-create: be consistent with options, minor fixes. 2012-11-02 15:03:33 +01: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
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
f8450f9bd7 xbps-create: use mmap(2). 2012-10-04 17:13:33 +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
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
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
154337ceab xbps-repo: remove-obsoletes: remove broken binpkgs (when plist cannot be internalized). 2012-09-30 10:08:21 +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
1d7fab2abd xbps-create: remove -d --destdir option and require this as argument. 2012-09-30 07:12:31 +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
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
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
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
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
Juan RP
114fd914d8 xbps-create: finish support for -M (mutable files).
(cherry picked from commit 73028bdd892384684a70fa8da0572b0832c69c92)
2012-09-29 19:04:12 +02:00
Juan RP
7f8c8b3dcd xbps-create: remove trailing whitespace.
(cherry picked from commit d139420576328084255f0145c5cfea3ad2d1367a)
2012-09-29 19:04:12 +02:00