Commit graph

127049 commits

Author SHA1 Message Date
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
30997094d6 Fix previous.
--HG--
extra : convert_revision : c8915be223a5803f58583be20b99a31eabf69263
2008-12-23 15:27:38 +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
9bb392de51 README: ncurses-dev is also needed.
--HG--
extra : convert_revision : 59793eeea49b84ca602d068f32ed09dbc89a0216
2008-12-22 15:36:13 +01:00
Juan RP
00036e035b README: mention that gettext is also needed.
--HG--
extra : convert_revision : e1903006cc63766cc3c614e805089943e69845e8
2008-12-22 15:30:25 +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
fa793a5044 Prefix humanize_number() with xbps_.
This will avoid clashes if xbps ever works on NetBSD.

--HG--
extra : convert_revision : 064b690988ba5cd75de55eacd9f37996a952da17
2008-12-22 07:51:14 +01:00
Juan RP
a928bf02e2 Add queue.h from NetBSD rev 1.50, verbatim.
This will be used shortly to handle dependencies with xbps-bin.

--HG--
extra : convert_revision : a4e58303b7cc6a2a99c8874d0154fea4bcccbd11
2008-12-22 07:42:34 +01:00
Juan RP
6f707b7d2a man-pages: always use a newline for long_desc.
--HG--
extra : convert_revision : 761e5983e51b8f7a5834504b66ada5adf69faefe
2008-12-22 07:34:55 +01:00
Juan RP
1282daf008 xbps_show_pkg_info: print with %zu if humanize_number() fails.
--HG--
extra : convert_revision : 1145081289336f3d76c877b68321f5f76d559a89
2008-12-22 07:29:27 +01:00
Juan RP
d10d9e824c xbps_show_pkg_info(): use humanize_number().
--HG--
extra : convert_revision : e1c903e76d6d5b6501c8893b6d14e23e5b395e58
2008-12-22 07:09:04 +01:00
Juan RP
1105f4f278 libxbps: add humanize_number.
--HG--
extra : convert_revision : 145c77f32b58f9013a677ebac3f8ed030a1c07a9
2008-12-22 07:00:01 +01:00
Juan RP
ce5d9faac3 Add humanize_number.c from NetBSD HEAD, verbatim.
--HG--
extra : convert_revision : 021f8a0ed63b28d735682365fe34dbe666c30835
2008-12-22 06:55:54 +01:00
Juan RP
b303ff28a6 binpkg.sh: only continue building the binpkg if the packing was ok.
--HG--
extra : convert_revision : 4a568775cf91bdde816f2b2f7e12ee0f95a06828
2008-12-22 06:43:41 +01:00
Juan RP
4130596474 xbps-base-system: do not depend in fakeroot.
This seems to cause a problem in the host, not finding the
shared library for unknown reasons...

--HG--
extra : convert_revision : be957315fd3c5d29abf658a128c7fbd6030cb85b
2008-12-22 06:43:04 +01:00
Juan RP
fbcdbde679 install_funcs.sh: a meta-template needs $destdir.
--HG--
extra : convert_revision : 176760b9d895a32c95f48078a28ca85598de95a3
2008-12-22 06:27:34 +01:00
Juan RP
ea273f1e32 xbps-base-system: fix $pkgname, add wget rundep.
--HG--
extra : convert_revision : 522d0dccffc108d8b0edaaf0ac2ca177ee32ff25
2008-12-22 06:27:14 +01:00
Juan RP
542d47ea28 Added xbps-base-system-0.1 template.
This will depend on the minimal base system packages that
xbps will provide. In the future, you should be able to make
a basic system by installing this package.

--HG--
extra : convert_revision : f6002b773ac18933b01718d52cf466ef31d9c0fd
2008-12-22 05:37:50 +01:00
Juan RP
43bc7027a3 Remove example.tmpl. It's too old to be useful.
--HG--
extra : convert_revision : 356310905dbcf73b6d097197920ded8d1891be10
2008-12-22 05:37:29 +01:00
Juan RP
0cd947bff0 chroot.sh: don't hardcode path to xbps-src anymore.
--HG--
extra : convert_revision : bbaf586b398a1c359c8ebee085af7627ca9336e9
2008-12-22 05:29:26 +01:00
Juan RP
b463fe14a3 vars.mk: enable SSP via CFLAGS.
--HG--
extra : convert_revision : 1baae323ac109de4c70ac58b55e74b52f48348c7
2008-12-22 05:13:10 +01:00
Juan RP
4fd0807c5f xbps_get_pkgidx_string(): don't forget nul.
--HG--
extra : convert_revision : 60f0e28fceb4b9e789612bd2f6183f85b63bd44b
2008-12-22 05:09:24 +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
b13563dbfd Always write pkg metadata on install, not just when stowning.
--HG--
extra : convert_revision : b16be22a9acf12005caca53978c1366463b7fff6
2008-12-22 03:48:58 +01:00
Juan RP
bf10932be1 genindex: $XBPS_DIGEST_CMD is no more.
--HG--
extra : convert_revision : a7945d1dc038b95cca840df61c44682a4e205058
2008-12-22 03:37:21 +01:00
Juan RP
e4f9ab62d8 chroot.sh: don't mount unexistent dirs.
--HG--
extra : convert_revision : 51610bead1446f198b5a47596aeef3b82ae2c400
2008-12-22 03:16:16 +01:00
Juan RP
0bb6db28c2 stow_pkg(): remove wrong test.
--HG--
extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3
2008-12-22 03:06: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
77debbc7c4 README: update for recent changes.
--HG--
extra : convert_revision : 38ce28d007a36e20b3a71764868f7b37776ee9b3
2008-12-22 02:27:51 +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
db45574f24 Add /usr/local/sbin into PATH.
--HG--
extra : convert_revision : c5315db73a191482858c52d5dc54f3e264ada219
2008-12-22 02:23:52 +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
9f7bfc772a stow_func.sh::unstow_pkg(): dont play with flist in metapkgs.
--HG--
extra : convert_revision : be2fa0ab535da930ce86824e9fceef786e55a541
2008-12-22 00:51:34 +01:00
Juan RP
d7c720ef7d Move xbps.conf to the new etc dir.
--HG--
extra : convert_revision : 84988fe710423c1610c1a3aa79bd38eee884d4c0
2008-12-22 00:40:36 +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
6fbb8e0316 xbps_search_string_in_pkgs(): remove unneeded assert.
--HG--
extra : convert_revision : 8cf98bcf0ae83958f2f31d951465333930e32f2e
2008-12-22 00:21:11 +01:00
Juan RP
bd317f17ee xbps_search_string_in_pkgs(): pass "arg" directly.
--HG--
extra : convert_revision : d1345ddf585304ec1617386b91aa827209362442
2008-12-22 00:17:20 +01:00
Juan RP
4a88e000e6 Update README with last changes.
--HG--
extra : convert_revision : b0ed200f01b731aee831d0d488c4900ac9804703
2008-12-22 00:02:13 +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
Juan RP
9019592d9d Add libxbps.so* into .gitignore.
--HG--
extra : convert_revision : 3dfc7f434bddffa06fc74f06b27cc9489aea0ada
2008-12-21 22:07:07 +01:00
Juan RP
3e7ef4fc9b utils/Makefile: improve previous commit.
--HG--
extra : convert_revision : c7cf3b365d26484d1451d478c9851beac86bb256
2008-12-21 22:04:16 +01:00
Juan RP
4053dc4789 utils/Makefile: build the libxbps shared lib.
--HG--
extra : convert_revision : 8584a398b2ba51e841744c25be8a8b16e0736d7e
2008-12-21 22:00:33 +01:00
Juan RP
d14b2332b5 Simplify utils/Makefile even more!
--HG--
extra : convert_revision : 0d1855a743e64c74ae070424a2f98cd7d87813d4
2008-12-21 10:52:38 +01:00
Juan RP
8d66cb9a57 Simplify utils/Makefile.
--HG--
extra : convert_revision : 055106d402821281e64108257bd5d0e5e393a1b4
2008-12-21 10:40:04 +01:00
Juan RP
ddc026a5ff stow_funcs.sh: fix previous for root(!).
--HG--
extra : convert_revision : 618c758ee199429cdc67eb66f9fb6fa2d7972f94
2008-12-21 09:16:55 +01:00
Juan RP
b80643802a stow_funcs.sh: check for rw perms in {dest,master}dir.
--HG--
extra : convert_revision : fa9d0464480adef1ffd1e14c5a53cd1b96b5acd8
2008-12-21 09:13:12 +01:00
Juan RP
cf4103ec73 xbps-pkgdb: use strerror(errno) in more places.
--HG--
extra : convert_revision : 44bf0df97a1f27a56067f36a5669c9ee836977ed
2008-12-21 09:12:51 +01:00