Commit graph

276 commits

Author SHA1 Message Date
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