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
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
6d6d31ccc0
Fix previous and make sure that we build PIE binaries.
...
(cherry picked from commit 1b9dd30d7b590e219cb51561f1e7371f4628575f)
2012-09-29 19:02:57 +02:00
Juan RP
886807687e
configure: enable PIE and RELRO by default if compiler supports it.
...
(cherry picked from commit d79e3a641de934cd7546b2e628a8c6ea175b6c37)
2012-09-29 19:02:24 +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
0f17197627
libxbps: use a struct allocated from stack for the unpack cb.
...
(cherry picked from commit a658586f27fd0a0c2c78ea96f89b54055e1e73be)
2012-09-29 19:00:04 +02:00
Juan RP
01915e3030
xbps_transaction_update_packages: make packages on hold work (duh!).
...
(cherry picked from commit aa154199a6d7d89bfe040755be289b1d827c5727)
2012-09-29 18:58:21 +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
b422fa654e
xbps_api.h: next version will be 0.17.
2012-08-10 08:44:41 +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