Juan RP
c9d4ea5527
xbps-pkgdb: use EXIT_FAILURE.
...
--HG--
extra : convert_revision : 0a41128bdf379ca2dfdf1be7053a42e85fddc81a
2009-02-12 18:59:43 +01:00
Juan RP
939a63036e
Added support to keep track of reverse depends on installed packages.
...
--HG--
extra : convert_revision : 9e3e46f726ef28843dc52b95ce818637c2a18de5
2009-02-10 02:52:12 +01:00
Juan RP
126928ca8d
Merge branch 'master' of ssh://xtraeme@repo.or.cz/srv/git/xbps
...
Conflicts:
lib/depends.c
--HG--
extra : convert_revision : 568341c7637aa537838880da03bd4dda819902ea
2009-02-09 16:09:39 +01:00
Juan RP
2ff54fadeb
xbps-src: ignore pkgs with unexistent destdir in 'build-pkg all'.
...
--HG--
extra : convert_revision : 7fe1a6d09fb90bed64b93f7b589641a34036511a
2009-02-09 03:52:08 +01:00
Juan RP
4a4f70b005
xbps-src: add -u flag, if used with fetch update $checksum in tmpl file.
...
--HG--
extra : convert_revision : a11fe9147498fb4a60ecb2633493d2d4789c288d
2009-02-09 01:01:14 +01:00
Juan RP
bb6355fe12
Allow installing/removing binpkgs as non-root.
...
--HG--
extra : convert_revision : 3781ef0a422530623cf64f45f87948e00d7e50e8
2009-02-07 18:05:40 +01:00
Juan RP
7e48132dde
Fix some stuff committed in previous.
...
--HG--
extra : convert_revision : a0daf5c9d6bf623d3a35c5e2195cc7adaa3ed753
2009-02-07 13:30:02 +01:00
Juan RP
61f0b09698
New dependency/install/unpack WIP code.
...
This implementation will be faster and resolv the dependency chain
correctly taking into account indirect/direct deps and priority.
--HG--
extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
2009-02-07 13:27:24 +01:00
Juan RP
dfb7e2a687
xbps-repo: there's no need to prefix local funcs with xbps_ anymore.
...
--HG--
extra : convert_revision : d8a2402697ca5709c5ca4e94d94ab4df6b97c818
2009-02-05 15:31:54 +01:00
Juan RP
c86be9931b
Install by default xbps.conf into $(PREFIX)/etc and use it.
...
--HG--
extra : convert_revision : d6550a3d9e6093cb1ec789715e2b1107b9bb59bd
2009-02-05 15:21:33 +01:00
Juan RP
7740958643
Split repo commands into the new xbps-repo bin.
...
- Remove lib/info.c that doesn't belong in the lib and add it into the
bins.
- Every binary now uses its own directory on bin/.
This is in preparation for future changes for correct behaviour of
the library and binaries.
--HG--
extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
2009-02-05 14:46:09 +01:00
Juan RP
fe8ea8c21c
Check that pkg is installed before removing.
...
--HG--
extra : convert_revision : 4ea85e367ecbc0d39dcba1c8ee63392f0e1177f7
2009-02-03 16:51:42 +01:00
Juan RP
4a9125364a
xbps-bin: added WIP remove target.
...
--HG--
extra : convert_revision : 71314f7183384094223cf10bf16ff704ca084883
2009-02-03 03:18:00 +01:00
Juan RP
bc9bf83f0a
xbps-src: update PATH with default PREFIX set by make.
...
--HG--
extra : convert_revision : 235ae5d28d075ffda87734224a4edf724799e2f1
2009-01-14 16:50:30 +01:00
Juan RP
68d2bbe8fb
xbps-bin: add missing newline.
...
--HG--
extra : convert_revision : e75a20206dc19000360df659814b9c2d6f7769d1
2008-12-29 16:02:35 +01:00
Juan RP
15e15465c8
bin: use EXIT_SUCCESS and EXIT_FAILURE.
...
--HG--
extra : convert_revision : 730a4f09ae67423e4a34b1c7e9d020998cc2288c
2008-12-29 15:56:40 +01:00
Juan RP
e5774555cf
xbps-bin: simplify sanitize_localpath().
...
--HG--
extra : convert_revision : 223334822b80c6b11e63f1a34e7bfadb9115d5b9
2008-12-27 22:56:47 +01:00
Juan RP
926b1dfa4a
Improve binpkg priorities, dynamically allocate mem, etc.
...
--HG--
extra : convert_revision : 479011aba6e9da4e5662137381e04042e762d428
2008-12-27 22:19:04 +01:00
Juan RP
74e575f984
xbps-pkgdb: fix argv in sanitize-plist target.
...
--HG--
extra : convert_revision : 6e475309733ddf37970ff0506b15714a6996b652
2008-12-27 16:19:11 +01:00
Juan RP
b2abe59c52
Added support to specify a root directory for xbps.
...
All xbps metadata files will go into <rootdir>/var/cache/xbps
and package data will go into <rootdir>/<data>.
--HG--
extra : convert_revision : 37007ac4f9b99b31465612a58749713b3164139b
2008-12-27 12:56:51 +01:00
Juan RP
7be91b93b9
xbps-src: remove unneeded stuff.
...
--HG--
extra : convert_revision : 38d5fc74271e041cd9b4e529960ceeb482c6b51e
2008-12-27 08:51:40 +01:00
Juan RP
3b702f33aa
xbps-pkgdb: check that plist dict is there in version target.
...
--HG--
extra : convert_revision : 926363d195d0e4ce4fcd2e715823f43fd839561c
2008-12-27 08:43:13 +01:00
Juan RP
cbe0046537
xbps-bin: add the 'list' target, and remove it from xbps-pkgdb.
...
--HG--
extra : convert_revision : 411b27525082c2ff7a766490b00056cc7c78d78f
2008-12-26 11:30:19 +01:00
Juan RP
d309f54ff1
Register binary package if unpacking was successful.
...
--HG--
extra : convert_revision : ac984d640acb340e3a8db2ac07e41d15b1eea89e
2008-12-26 10:13:03 +01:00
Juan RP
91f7df59cd
Support for installing pkgs from multiple repositories.
...
--HG--
extra : convert_revision : fc8a430e71d202aa9e7560b921669f62f1947ae1
2008-12-26 04:36:51 +01:00
Juan RP
9a0c175c18
Use the repo list to find binary packages.
...
--HG--
extra : convert_revision : c35e25604d0e417115cd1c30d77d23fee3c39f92
2008-12-24 12:34:04 +01:00
Juan RP
4101025318
Working dependency handling for binary packages.
...
--HG--
extra : convert_revision : d0ff56b524efba53b11b7635972b03feaaeb889a
2008-12-24 10:58:19 +01:00
Juan RP
fa3b59b246
Another checkpoint for installing binary packages.
...
At least now dependencies are tracked, not sure it will be
enough for real life :-)
--HG--
extra : convert_revision : 962de22d515efa5599c148f918c14d32b5d9496d
2008-12-24 07:20:19 +01:00
Juan RP
0c0e796fc5
Fix some leaks detected by valgrind.
...
--HG--
extra : convert_revision : 15f7c0f673c4f46e36de82f5e55c7bcd370093e9
2008-12-23 13:05:01 +01:00
Juan RP
26c054d773
Checkpoint for installation of binary packages.
...
--HG--
extra : convert_revision : 0bc55ebae04b2e1e5ab20feca786b649fc2e0335
2008-12-23 12:28:21 +01:00
Juan RP
546cc0ccc1
Use %ju to printf uint64_t's. Fixes building on i386.
...
--HG--
extra : convert_revision : c910dcedf00a095ebbe001cb78d7f8fa2ef19035
2008-12-22 15:21:29 +01:00
Juan RP
3f7c353356
Fix some issues in repo handling.
...
--HG--
extra : convert_revision : 5ec7488c8967f50b7e2dce93276accd829c541b3
2008-12-22 05:00:15 +01:00
Juan RP
9a10b636cc
xbps-cmpver: fix usage.
...
--HG--
extra : convert_revision : 450fc45a76cb4dc24f3bf4c8f4cba747ed05d653
2008-12-22 02:47:36 +01:00
Juan RP
cde9dddfcf
Move xbps-src.sh into bin/.
...
--HG--
extra : convert_revision : bb6fba26702ec51514b31abd1eb5f8d7431b30b6
2008-12-22 02:26:28 +01:00
Juan RP
6ee35486bf
To use xbps now 'make and make install' is required.
...
--HG--
extra : convert_revision : 976738f26daf1ccd2101ca2325e1e517d98e71cb
2008-12-22 02:14:40 +01:00
Juan RP
f2a77f5e0e
xbps-pkgdb: fix crash if db file unexistent in 'list' target.
...
--HG--
extra : convert_revision : a42e5a7eda63a0d121dd7f15683220c84d58b620
2008-12-22 00:37:42 +01:00
Juan RP
e7cf222ac9
Reorganize the tree splitting stuff on its own dir.
...
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00