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
Juan RP
5868bafc85
xbps-create: remove leftover line.
...
(cherry picked from commit 1c37453d2815b94de5a1191031a17623661ce435)
2012-09-29 19:03:58 +02:00
Juan RP
215f6d6f31
xbps-create: multiple fixes and new additions, 1 item left to finish.
...
- Added "build-date" object to XBPS_PKGPROPS.
- Added "installed_size" object to XBPS_PKGPROPS.
- Add entries to archive with "./" as prefix to match xbps-src.
- Create binpkg atomically (from caller's perspective) in cwd.
(cherry picked from commit efeae7c346e914bca045ffe44627c18321e45be9)
2012-09-29 19:03:04 +02:00
Juan RP
6ece895957
WIP: xbps-create(8) to create xbps binary packages from a destdir.
...
(cherry picked from commit 6546f73f90cd56d14a2e90cb6604901df18a9419)
2012-09-29 19:00:58 +02:00
Juan RP
7d4ecbb0ab
xbps-repo: index-add: look for pkg in index matching arch or noarch.
2012-08-20 14:58:38 +02:00
Juan RP
3c379ff78e
xbps-repo: remove repo index file locking, it's unreliable under NFS.
2012-08-16 10:59:54 +02:00
Juan RP
a037b89042
xbps-repo: really wait 30 secs max to acquire repo file lock.
2012-08-14 09:36:44 +02:00
Juan RP
2e594caf8a
xbps-repo(8): the 'show-deps' target only lists deps and not repo/pkgver.
2012-08-10 08:43:51 +02:00
Juan RP
c34e564327
xbps-repo: more exact pkg extension check.
2012-08-07 10:37:52 +02:00
Juan RP
f0ab396036
xbps-{bin,repo}: ignore ENOENT when checking write perms in {root,meta,cache}dir.
2012-08-03 10:58:16 +02:00
Juan RP
68a0223c4e
xbps-repo: fix the 'search' target to show a consistent output for inst/uninst pkgs.
...
Fixes issue #28 .
2012-08-02 14:37:15 +02:00
Juan RP
3a247bd5cb
xbps-{bin,repo}: make sure that user has write permission on {root,meta,cache}dir.
...
Fixes issue #27
2012-08-02 12:20:18 +02:00
Juan RP
cae219c4de
xbps-repo: indent pkgs from all repos with longest pkgver found.
2012-08-01 08:25:15 +02:00
Juan RP
01c2dcaca7
xbps-bin: get_maxcols(): use stdin to make it work in all cases (from xdave).
2012-08-01 07:47:40 +02:00
Juan RP
1be90e57d7
xbps-{bin,repo}: wrap long lines for list, pkg-list and search targets.
...
Fixes issue #26
2012-07-31 17:50:50 +02:00
Juan RP
eb75041b25
xbps-repo(8): the search target now shows which pkgs are currently installed.
2012-07-31 10:34:10 +02:00