Commit Graph

761 Commits

Author SHA1 Message Date
Juan RP
4f3c798f7a Add assertions where appropiate.
--HG--
extra : convert_revision : 3c7a6f556b1dfdf110f8759375a171a571717b22
2008-12-27 01:40:13 +01:00
Juan RP
613c9f25dd xbps-base-chroot: add all dependencies explicitly.
--HG--
extra : convert_revision : cdc3eadbdca3f3a5077af40f7e6d325eac4f784e
2008-12-26 14:22:00 +01:00
Juan RP
1741d889bc plist.c: fix a leak.
--HG--
extra : convert_revision : 171210c3073d197c2ae3f1f0545bc9b95a6a5484
2008-12-26 14:21:34 +01:00
Juan RP
13a05a18b9 builddep_funcs.sh: minor cosmetic change.
--HG--
extra : convert_revision : 19dd349edd4906ca781a21a0e9ea2e88c86ff196
2008-12-26 11:30:47 +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
159d9852a7 xbps-base-chroot: added missing bison and texinfo rundeps.
--HG--
extra : convert_revision : 56a44fc6f2a37c1f6b0d54d8de87ca4eee4c4ee9
2008-12-26 11:29:51 +01:00
Juan RP
e9a6d741bd xbps-base-chroot: added missing run_depends, bump to 0.3.
--HG--
extra : convert_revision : 412d8918624fda889a17b9a9ea819d3ba458d6d2
2008-12-26 11:02:44 +01:00
Juan RP
5dd4d0ffac Added libarchive-2.5.5 template.
--HG--
extra : convert_revision : 9e0c7d0b7b5be39e2a1b07d3dc1577925d0e0ee6
2008-12-26 11:02:30 +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
df5fc95e28 xbps-base-chroot: add explicit gcc dependency.
--HG--
extra : convert_revision : 6defecf97e0be460c96f991eaca2d2e80e890811
2008-12-26 10:12:08 +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
f8d7e7f66f bzip2: add missing run_depends.
--HG--
extra : convert_revision : 4145f4474aa969ecd1a11defc91ed41ca56ac18b
2008-12-26 04:36:24 +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
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