Commit graph

780 commits

Author SHA1 Message Date
Juan RP
68941a9a31 Introduce $install_priority for use in templates.
A higher number in this var will make the binary package to
be installed before other with lower priority. By default, all
packages have a 0 priority. xbps-base-dirs uses 100, because it
needs to be one of the first installed packages.

--HG--
extra : convert_revision : 81a88b676d2ae3180914612371619f19e1765d02
2008-12-27 16:20:54 +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
11f0a2d4a6 xbps_get_pkg_name(): remove wrong comment.
--HG--
extra : convert_revision : 5a51c7fc6559347195e86d051aae72caafaf489d
2008-12-27 14:54:11 +01:00
Juan RP
bd6d7b5502 plist: remove dup assertion.
--HG--
extra : convert_revision : 5c31c8841ce9e5d0c44e85bd1ac218efea59c8ce
2008-12-27 14:53:50 +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
091a8bf618 chroot: xbps-base-dirs provides required dirs now.
--HG--
extra : convert_revision : 5db8d2d8a74933cb16a4656922dbd6f8e6cbc79e
2008-12-27 10:09:52 +01:00
Juan RP
f70be652d6 libarchive: start $short_desc with a capital letter.
--HG--
extra : convert_revision : 95422ae8961e3cd8bf390cd5d28949165b7d9f3d
2008-12-27 09:22:43 +01:00
Juan RP
55a2223657 xbps-base-dirs: add some required dirs.
--HG--
extra : convert_revision : d177f36e9586f1b2edd50386c02e4f934512f911
2008-12-27 09:21:26 +01:00
Juan RP
b1ec791985 libarchive: fix $short_desc.
--HG--
extra : convert_revision : 32e9c0e47fd8de0852aa485dc8629690d41c3e3a
2008-12-27 09:10:20 +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
1ecc844eb4 xbps-base-{chroot,system}: depend on xbps-base-dirs.
--HG--
extra : convert_revision : d63fdd36b263e76c4b605811406df2d809946134
2008-12-27 08:44:37 +01:00
Juan RP
4d7a9ba2c8 Added xbps-base-dirs-0.1 template.
This package provides the directories required for GNU/Linux system.

--HG--
extra : convert_revision : c1b8b40c0718eeb15d75d60b33d7c23357a69dbc
2008-12-27 08:43:57 +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
7f5a76ace3 TODO: add some new items for binary packages.
--HG--
extra : convert_revision : 2989daa26335b8a43fab576b0bfcb1489a6fc94e
2008-12-27 06:10:26 +01:00
Juan RP
11187893b6 README: libarchive is now required.
--HG--
extra : convert_revision : 7fed90ae0b8d5c8a05dd95f28f40624d594dd7e8
2008-12-27 05:25:38 +01:00
Juan RP
39c05644b3 gcc: mpfr is a runtime dependency.
--HG--
extra : convert_revision : 05d61207f70da060effc72d680a4d374217315ca
2008-12-27 04:30:28 +01:00
Juan RP
5d07bfa08d xbps-base-chroot: only depend in gcc.
--HG--
extra : convert_revision : 297c06ed20794f6d9e856d669e2e31a4c6ae9533
2008-12-27 04:30:14 +01:00
Juan RP
f6f7288c48 Make it possible to install 'custom-install' pkgs without distfiles.
Make xbps-base-{chroot,system} install the lib -> lib64 symlinks on
x86_64.

--HG--
extra : convert_revision : 9404d50c8a15dcd700df49aace1bbd105749f00a
2008-12-27 04:21:38 +01:00
Juan RP
ccd4556853 depends: use a simple queue rather than a doubly linked list.
--HG--
extra : convert_revision : efd410c0f507b2d45fea9e38af34e89465c912c4
2008-12-27 02:14:09 +01:00
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