Commit graph

340 commits

Author SHA1 Message Date
Juan RP
4c11bc34e4 man-db: needs less(1).
--HG--
extra : convert_revision : a0ff0190d06ec5654643dec4a86cc696196d7882
2008-10-28 08:08:27 +01:00
Juan RP
e53b11c451 initramfs-tools: typo that fucked up chroot.
--HG--
extra : convert_revision : 5637dc71461f19822c7e96385a0de9e60a4ef290
2008-10-28 07:41:20 +01:00
Juan RP
3c3dd07d3f Rename linux-headers to kernel-headers.
--HG--
extra : convert_revision : 2439fd1aedddad1611f6ba8a0351c81edfd5c8f1
2008-10-28 06:17:21 +01:00
Juan RP
15bb23dae4 Added initramfs-tools-0.92l template.
--HG--
extra : convert_revision : 4342296871b4bfd1d0409b2ee9de547995e2ca2f
2008-10-28 05:02:24 +01:00
Juan RP
de7d1b10e7 Added klibc-1.5.14 template.
--HG--
extra : convert_revision : 580665d1b6fbd552c48fd8167c61762cfa8a0541
2008-10-28 03:25:18 +01:00
Juan RP
53a48438ee libtool: remove not relevant patches.
--HG--
extra : convert_revision : 51708b70e4d44a576582789bfbdfed721abf3cc7
2008-10-27 15:35:41 +01:00
Juan RP
4d45eca7f8 firefox: remove not relevant patches.
--HG--
extra : convert_revision : c33431cc8a0336367694810e36cb42cf10a89207
2008-10-27 15:34:50 +01:00
Juan RP
c8513f9fd3 MesaLib: remove not relevant patches.
--HG--
extra : convert_revision : 0724a014176224504f0231815e307788a11cbeaf
2008-10-27 15:33:44 +01:00
Juan RP
0079e0289d xorg-server: remove not relevant patches.
--HG--
extra : convert_revision : 56c864d7e1e2f076292b8a91658a9c618bc9674d
2008-10-27 15:32:42 +01:00
Juan RP
2053a45e7d Added kernel26-2.6.27.3 template. Latest stable kernel.
--HG--
extra : convert_revision : 1ea61392bfeb8f06cf8d5b08e2985029e5baab69
2008-10-27 14:13:10 +01:00
Juan RP
d006008d5e tar: needs base_chroot=yes.
--HG--
extra : convert_revision : 808044519127d267f245be5013c8749a6adc3481
2008-10-27 10:35:38 +01:00
Juan RP
7518727c64 xbps-base-chroot: needs base_chroot=yes.
--HG--
extra : convert_revision : 4fa3514c16a48026df6e598140cf1469ee17a65a
2008-10-27 10:28:56 +01:00
Juan RP
dc0383b059 upstart: remove unneeded CPPFLAGS.
--HG--
extra : convert_revision : 2714517f31f893ce703ed167bcad35e80363b99b
2008-10-27 09:14:49 +01:00
Juan RP
cb98b31ee8 groff: pre_build_cmd is no more.
--HG--
extra : convert_revision : a239cfd8612f3d8a13030bdbd1d01d1436264ae0
2008-10-27 08:27:33 +01:00
Juan RP
b45aae4025 mng: use pre_configure() in template file.
--HG--
extra : convert_revision : 1a4477ec9af51431ccf7a6af1a2c6d6864f545a2
2008-10-27 07:49:03 +01:00
Juan RP
5a249b6c4f Require to configure/build/install in the chroot all packages.
This is to ensure that only stuff found in the chroot will be used,
and to avoid some stupid problems with libtool scripts. Therefore only
templates that have $base_chroot set can be built without the chroot.

As bonus now all messages are prepended with "[chroot]" when xbps.sh
is running inside of it.

--HG--
extra : convert_revision : 68195f4b240c01eea18777767b555604d892400f
2008-10-27 07:42:40 +01:00
Juan RP
e9231b5999 More changes to {pre,post}_<stage> stuff.
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.

Also remove some NetBSD specific stuff that is not useful anymore.

--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
2008-10-27 06:12:30 +01:00
Juan RP
aca77c9284 grep: disable perl regexp to avoid pcre dependency.
--HG--
extra : convert_revision : 7c3ed8141c4ed3ebfa078f87245b6d5e53402f9b
2008-10-27 05:22:43 +01:00
Juan RP
5ef5ca8d35 Simplify templates by not needing $patch_files in some cases.
If exists a patch called $pkgname-fix-{build,install}.diff in the
templates directory, they will be applied automatically. If patches
are named differently $patch_files must be used yet.

--HG--
extra : convert_revision : 21f6edfab580c569b3737280f54a6332c44baa49
2008-10-27 04:08:55 +01:00
Juan RP
c06defc719 Replace run_stuff with post/pre_<stage> variables.
If there's a file called "$pkgname.{pre,post}_{configure,build,install}
it will be automatically executed. In addition to this, templates may
use {pre,post}_{configure,build,install}_cmd variables to run arbitrary
commands.

--HG--
extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7
2008-10-27 03:56:42 +01:00
Juan RP
1d093050d1 Added linux-pam-1.0.2 template.
--HG--
extra : convert_revision : 6814b80f8a0fc85a12c497739d761b077600a5ca
2008-10-26 06:55:05 +01:00
Juan RP
d1e72a822e Added udev-130 template.
--HG--
extra : convert_revision : 795d3a599da5114f7ade5cba6f1d15dd4d70c404
2008-10-26 01:43:11 +02:00
Juan RP
ade1e606bd Added module-init-tools-3.5 template.
--HG--
extra : convert_revision : c388ecb844e7514b7edbc3910260fdde1e8db8ed
2008-10-26 00:39:27 +02:00
Juan RP
d71e6de243 zlib: also install the static lib.
--HG--
extra : convert_revision : a3b5a20480ac8d515b085c2399a3ab1ff517afee
2008-10-26 00:38:12 +02:00
Juan RP
c12edf7936 Added cpio-2.9 template.
--HG--
extra : convert_revision : e2f6eca8b1f66fb869bdd7e307cb5d48254b5f44
2008-10-25 23:45:38 +02:00
Juan RP
3ff6b65c09 tar: escape quotes in long_desc.
--HG--
extra : convert_revision : b684d9ab8c12dd8d17ebc4ee98b165bab7caefbb
2008-10-25 19:17:29 +02:00
Juan RP
02adafc573 Added syslinux-3.72 template.
--HG--
extra : convert_revision : 460f62f2c0ad06064f03e34e9dac276f8db1bf4f
2008-10-25 09:40:27 +02:00
Juan RP
9d4e740e48 Added nasm-2.05 template.
--HG--
extra : convert_revision : 7691a4282341883538550e75e7ac480729b5350c
2008-10-25 08:02:43 +02:00
Juan RP
1ebe669478 kbd: needs gettext.
--HG--
extra : convert_revision : 1ea5beef72a2535df60c71fd84f325d435299c5e
2008-10-25 05:06:16 +02:00
Juan RP
c08f090723 Added kbd-1.12 template.
--HG--
extra : convert_revision : 5195692f068c320da2475af2e0613146de2b38c7
2008-10-25 05:04:19 +02:00
Juan RP
1bca126e4c Added flex-2.5.35 template.
--HG--
extra : convert_revision : ae347c9e566e291366a7d3a0e7bdf5e24e7246cf
2008-10-25 04:46:17 +02:00
Juan RP
5af1e6a2a3 bison: use /usr/bin/m4 because the binary hardcodes this!
--HG--
extra : convert_revision : 9f5017153d62d86bc95560bf74111b8768370ea0
2008-10-25 04:45:28 +02:00
Juan RP
345a373d41 m4: ignore_files is no more.
--HG--
extra : convert_revision : bef6c475ab68af95f25606a7f903d15309d17d2e
2008-10-25 04:21:55 +02:00
Juan RP
2aad031f3f sysklogd: make required dirs in patch.
--HG--
extra : convert_revision : 609d85d4b6911170ab36b7bf71e716ce2d0be05c
2008-10-25 04:06:07 +02:00
Juan RP
0f3d2de3fc Added iana-etc-2.30 template.
--HG--
extra : convert_revision : e7453d78d963281f1d75712c42cb9707e51364fa
2008-10-25 04:01:36 +02:00
Juan RP
fec919b806 Added sysklogd-1.5 template.
--HG--
extra : convert_revision : 82ed229ee3c970417199eea98e6a8a8bd62e216d
2008-10-25 03:39:51 +02:00
Juan RP
6d1cbcf4d1 Added man-pages-3.11 template.
--HG--
extra : convert_revision : aba6219c8ec31da33998c9dd134cf979c5b8b7c8
2008-10-25 03:01:00 +02:00
Juan RP
0032a03f87 Added man-db-2.5.2 template.
--HG--
extra : convert_revision : 919bae8155921673fa9d6dd554f54bd4395b26f4
2008-10-25 02:51:08 +02:00
Juan RP
c4807854f7 Added groff-1.19.2 template.
--HG--
extra : convert_revision : f70ff72863104645af64d3aa82e65aac3c0e924b
2008-10-25 02:50:55 +02:00
Juan RP
cea083f451 Added gdbm-1.8.3 template.
--HG--
extra : convert_revision : 07904d75e354dbc83240e927e3576dac37f67cf1
2008-10-25 02:33:04 +02:00
Juan RP
c21c5dac78 Added e2fsprogs-1.41.3 template.
--HG--
extra : convert_revision : d1c484711c0d0341f6cad5ac6e6339c497b49beb
2008-10-25 02:14:03 +02:00
Juan RP
8c49b78736 openssl: install config files into /etc/ssl.
--HG--
extra : convert_revision : 3992707b1fa7d9c2c2a121395e83740021a80e47
2008-10-25 01:36:39 +02:00
Juan RP
e42f88bd4a Added upstart-0.5.0 template.
--HG--
extra : convert_revision : b262f159351aba7ce8662ef2a02548ccc647086c
2008-10-25 01:30:54 +02:00
Juan RP
c1742cf50b Added dbus-1.2.4 template... required by upstart!
--HG--
extra : convert_revision : e5573f2d8f89366895240a6a932839d111aaf57e
2008-10-25 01:07:58 +02:00
Juan RP
3481a931bf ruby: install into /usr.
--HG--
extra : convert_revision : b52396e2ece2c0f290bcd8eafc2e63c732451000
2008-10-24 18:32:35 +02:00
Juan RP
492d77ec10 Added less-424 template. We call it 4.24...
--HG--
extra : convert_revision : 0d5168bbde19ea6dc706711fcbf9f474954feb7a
2008-10-24 10:10:54 +02:00
Juan RP
46d117ee4e Added procps-3.2.7 template.
kill(1) and uptime(1) commands are disabled because we are using
the ones from coreutils.

--HG--
extra : convert_revision : 3d581dad2c9002c7fad4863d445abeb9ca662d77
2008-10-24 08:50:19 +02:00
Juan RP
7543311304 curl: make it depend in openssl for https:// etc.
--HG--
extra : convert_revision : 67a8cf099db2ccdb04ec92e17933a631968331c1
2008-10-24 07:01:23 +02:00
Juan RP
0aa65e912f irssi: updated and make it depend in openssl.
--HG--
extra : convert_revision : ee4d84fc0b457ec7e199f3aaa8a4e8c6f8260e22
2008-10-24 06:56:03 +02:00
Juan RP
ab167795ff Added openssl-0.9.8i template.
--HG--
extra : convert_revision : a7553cc0c698fa01b4ae03b660230c3cee9e703e
2008-10-24 06:46:29 +02:00
Juan RP
807a6a2fa4 glib: updated for linux.
--HG--
extra : convert_revision : 8ce37923bfe960abb8be6cb204a6e58a08cf1a70
2008-10-24 05:53:23 +02:00
Juan RP
cdb1f0811f Added gettext-0.17 replacing previous tools/runtime pkgs.
--HG--
extra : convert_revision : d692f873dcf57fd7adeb402ee9143bc24e23082f
2008-10-24 05:47:41 +02:00
Juan RP
b23764df75 Set 644 perms to template files.
--HG--
extra : convert_revision : 728a6f45f233ad4ec5e58556eeaa4a33781217b5
2008-10-24 05:35:08 +02:00
Juan RP
c50d4b80b5 vim: update depends.
--HG--
extra : convert_revision : 8618a54f2eb64a33899d9e3388b366a26f437e52
2008-10-24 05:32:40 +02:00
Juan RP
27a678cc5f git: updated for linux.
--HG--
extra : convert_revision : 551a1fd2288036ac4ac068c465a54d5d54d5268d
2008-10-24 05:28:44 +02:00
Juan RP
eda71059dd expat: update depends.
--HG--
extra : convert_revision : af18ebd35c4fd6667eac70e01cd1371b644eead2
2008-10-24 05:22:18 +02:00
Juan RP
7adb9a2f23 curl: update depends.
--HG--
extra : convert_revision : d7d2c1e5c5665299d2eee98b59fb23ac631d95e4
2008-10-24 05:19:37 +02:00
Juan RP
f59b755dba curl: updated for linux.
--HG--
extra : convert_revision : 8f72330cbf225b97dbce468e8f3115a1c5fd7229
2008-10-24 05:07:07 +02:00
Juan RP
247f6a3772 util-linux: reenable to patch to fix build.
--HG--
extra : convert_revision : 988b1c12d356a51b2b03be6250357bf448430de2
2008-10-24 04:58:31 +02:00
Juan RP
f0a7ea4d3c perl: works in the chroot now.
--HG--
extra : convert_revision : d2ec570e3c42559f78715fb180300e7beb17b007
2008-10-24 04:54:40 +02:00
Juan RP
cc54ab04bd glibc: install info files in destdir.
--HG--
extra : convert_revision : 43020907daea7a2c325fc3795a1a898e856eaae7
2008-10-24 04:24:43 +02:00
Juan RP
dfe4112a54 gcc: do not install libiberty.a, thanks LFS.
--HG--
extra : convert_revision : dcbc41866d3d66ea11ef3c86daf45c3a5c5f7f0b
2008-10-24 04:03:48 +02:00
Juan RP
a3631cec1c libidn: updated for linux.
--HG--
extra : convert_revision : 971154c7871cdc39736fecbba20cae7e7ac5b693
2008-10-24 03:54:19 +02:00
Juan RP
4cf232d417 Added patch-2.5.4 template and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : 42488dbcbc44425f1148c5fe114bd9eda88399f8
2008-10-24 03:33:27 +02:00
Juan RP
34084d3e92 coreutils: install bins into destdir not masterdir!
--HG--
extra : convert_revision : cd5d4e67091df5da0a2f284b5a0d162d1930056a
2008-10-24 03:32:46 +02:00
Juan RP
7d417a5d34 grep: install grep into /bin, to mimic ubuntu.
--HG--
extra : convert_revision : 3d6e1da0b1826ddaf6d0795b35b627d424b2dda0
2008-10-24 02:08:04 +02:00
Juan RP
86184903d4 gcc: make /usr/bin/cc symlink after install.
--HG--
extra : convert_revision : fbd558de2bee2f1f5ae06c59c7d595fbde2189b8
2008-10-24 02:03:54 +02:00
Juan RP
17185fb761 bash: make /bin/sh symlink after install.
--HG--
extra : convert_revision : 73f6a4f20ed25500a11cd94ed532cbf395c582ed
2008-10-24 02:03:11 +02:00
Juan RP
dba678e065 glibc: use /lib and /usr/lib on x86_64.
--HG--
extra : convert_revision : 1ce01731dbc3def0837480dbc7bb2a65b0785033
2008-10-24 02:01:54 +02:00
Juan RP
c07feca694 gcc: ignore_files is no more.
--HG--
extra : convert_revision : c58063c50f3999eafbd41ead5a70ec6875d0d4ef
2008-10-24 01:03:04 +02:00
Juan RP
0c2a5b90da Added file-4.26 template and make xbps-base-chroot depend on it.
Also allow packages to disable fixup_libtool_file() via
$no_fixup_libtool, it's enabled by default.

--HG--
extra : convert_revision : 5fd550379cc78d08c2131fa011ee0121422bbae4
2008-10-23 23:27:10 +02:00
Juan RP
58af2b6d25 Added diffutils-2.8.1 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : c7b0895819755bb65999fd9bee7372b5246d8f3c
2008-10-23 19:17:35 +02:00
Juan RP
81fe5b8859 coreutils: install in correct location.
--HG--
extra : convert_revision : b6a6e02582c5341619426c5469c728941ee2860f
2008-10-23 19:10:13 +02:00
Juan RP
8e2b090575 Added findutils-4.4.0 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : 5bf63ed58062cd04981b161022715902feea3c6b
2008-10-23 19:06:57 +02:00
Juan RP
b3adf145a6 Added util-linux-2.12r template.
This needs to be installed with the install-chroot target.

--HG--
extra : convert_revision : 6ae15641b17a802bf6c928b6e23a6ccc25203460
2008-10-23 18:49:50 +02:00
Juan RP
e6707c6f99 Added grep-2.53 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : a484eddecd8a332be4c61c74d7a6225afa11b9a5
2008-10-23 18:32:34 +02:00
Juan RP
abcce0a7b5 Added texinfo-4.13a template.
--HG--
extra : convert_revision : 732f4654ab21ce97ca9a9c38018ce1560d43a7af
2008-10-23 18:26:11 +02:00
Juan RP
996b1df5f7 Added gawk-3.1.6 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : ef54a354d5099af9d2d75c0eb07371fcf2097952
2008-10-23 17:22:37 +02:00
Juan RP
89f264e88c Massive changes to allow installing pkgs in a chroot.
Some changes include:
 - Xstow is not used anymore, files are copied into masterdir.
 - a new target install-chroot has been created.
 - a new meta-template xbps-base-chroot has been created required for
   the install-chroot target.
 - Removed XBPS_SYSCONFDIR, /etc is used by default.
Other changes that I cannot remember right now...

--HG--
extra : convert_revision : fb57d9dafb56aeb03cc935580172e075ce584fd5
2008-10-23 17:14:00 +02:00
Juan RP
f55c8fa49e fakeroot, gmp, mpfr: update depends.
--HG--
extra : convert_revision : b815b1ac92183c12768b4e3c1bc4c6dd8b8fb57d
2008-10-23 02:48:55 +02:00
Juan RP
b17218a459 pkg-config: do not specify a pc config path, pick default.
--HG--
extra : convert_revision : ff89175b2e46a92bc59ea51c0b4fe09959d73505
2008-10-23 02:47:04 +02:00
Juan RP
a3185bb441 bash, binutils: install into the correct location.
--HG--
extra : convert_revision : 125f07452d3adda54a3f2c0ad26bfe998dff47af
2008-10-23 02:44:56 +02:00
Juan RP
fbc361f995 Added util-linux-2.12r template.
--HG--
extra : convert_revision : 93aed888a20c2cfb85a77ffa6634771e61adffe1
2008-10-23 02:43:46 +02:00
Juan RP
5f97587bc8 Added proplib-0.1 template.
--HG--
extra : convert_revision : 937a10310e3194b268d34203ce9583993fc16284
2008-10-23 02:43:29 +02:00
Juan RP
e9ac80f8be Rename template file gmake to make.
--HG--
extra : convert_revision : c116b2c0fcecbbee80fec33adab4a66cc57b20b3
2008-10-23 02:43:12 +02:00
Juan RP
8f3ffc43c7 Rename template file gtar to tar.
--HG--
extra : convert_revision : 855ea4576a1898d4609248af3e214cc226ea3795
2008-10-23 02:42:30 +02:00
Juan RP
6a22274980 Added bzip2-1.0.5 template.
--HG--
extra : convert_revision : a95f241b33ba9592d2a82301c2ab9555d8063126
2008-10-23 02:41:51 +02:00
Juan RP
0970bc48d5 Added gzip-1.3.12 template.
--HG--
extra : convert_revision : b0b83d1d8b9bd42f420cb23804a8f6e02eb3d50c
2008-10-23 02:41:36 +02:00
Juan RP
04bd07c1c5 Adapt perl to linux.
--HG--
extra : convert_revision : 0195de3a330193ea5caa9426ce893e682017e49c
2008-10-22 18:39:17 +02:00
Juan RP
420f14d2ae Added sed-4.1.5 template.
--HG--
extra : convert_revision : eb1a6ddd6178b9316c0d501e88398831c8c321c4
2008-10-22 16:58:56 +02:00
Juan RP
05ba1d3abd zlib: added missing glibc rundep.
--HG--
extra : convert_revision : bf06dd1e4a51e36b21d5d878f89feecd8d4c1028
2008-10-22 16:52:17 +02:00
Juan RP
9187ce315e Added zlib-1.2.3 template.
--HG--
extra : convert_revision : e5d6e2ff7a872ee407285c4789738f00c376a28b
2008-10-22 16:51:18 +02:00
Juan RP
58c633fc53 python: remove unused LDFLAGS.
--HG--
extra : convert_revision : 2fa4e41131b3efc75af869ead19a401f9ff0f4d9
2008-10-22 16:38:02 +02:00
Juan RP
b6ccaaa2d2 Added coreutils-6.12 template.
--HG--
extra : convert_revision : b478d03a0b8f9fe7a741ba587920e3a69b0e1a91
2008-10-22 16:11:22 +02:00
Juan RP
3b5c4b506d gcc: install libs into /lib and not /lib64 on x86_64.
This is to mimic what debian and derivatives do.

--HG--
extra : convert_revision : 02e15adf1f06ba45f14f06aad9c28ac4553c8621
2008-10-22 04:07:58 +02:00
Juan RP
8ef456bcd2 bash: updated checksum and {build,run}_depends.
--HG--
extra : convert_revision : 1e44a58e5f3fa13b32bb72927b9ca71f2927ee38
2008-10-22 02:43:51 +02:00
Juan RP
1def87c72c Added ncurses-5.6 template.
--HG--
extra : convert_revision : 5e6d5888ae0aea2be6bebdf5d007c9e6eed9bae9
2008-10-22 02:43:20 +02:00
Juan RP
28a5a070c1 Change autoconf pkgs to configure it with /usr or /.
This depends if a package uses $base_package, by default not set,
means the package will be installed into masterdir/usr, if set
will be installed into masterdir directly.

While here fixup binutils, gcc and glibc! I'm approaching to the point
on where I'll be able to chroot into masterdir and having working pkgs
installed.

--HG--
extra : convert_revision : be3c3e0d7368e7a1e1ef1c9add932aeeab82688d
2008-10-22 01:54:48 +02:00
Juan RP
680c82f965 bison, m4: updated checksum and {build,run}_depends.
--HG--
extra : convert_revision : 0f6020284c6c086758627a29adeb4a32011a6447
2008-10-22 01:53:04 +02:00
Juan RP
e556f891a2 Added fakeroot-1.10.1 template from debian.
--HG--
extra : convert_revision : e2e530483608cf2a44996f56ee82f3f6ed1ea125
2008-10-21 06:36:29 +02:00