Commit graph

26537 commits

Author SHA1 Message Date
Juan RP
0a71559ee4 info_tmpl(): missing quotes to evaluate $checksum.
--HG--
extra : convert_revision : 9b5917d5a82f57a992eba6b28cf5294f6af497ac
2008-10-28 06:19:06 +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
dff230ebcb Simplify and improve list_pkg_files() and configure_src_phase().
--HG--
extra : convert_revision : 512bf3f7499ec8deff05af56cf5a6b44ee6e0ab5
2008-10-28 06:02:52 +01:00
Juan RP
f365ce8bce Remove an item from TODO that has been implemented.
--HG--
extra : convert_revision : 32438c0f717ce8a4787440af67d62514a8a3804b
2008-10-28 05:09:00 +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
62defd3fd1 Added new build_style option "custom-install".
If a template uses this, it should provide a do_install() function to
install all required stuff.

--HG--
extra : convert_revision : ffbb388b83ac72e506c2c1fe98a942a41f3777d2
2008-10-28 05:01:40 +01:00
Juan RP
de7d1b10e7 Added klibc-1.5.14 template.
--HG--
extra : convert_revision : 580665d1b6fbd552c48fd8167c61762cfa8a0541
2008-10-28 03:25:18 +01:00
pancake
86d787a276 * Initial import of chkver (compare version and package strings)
* Oops. update-index for Makefile in / and utils/

--HG--
extra : convert_revision : 2e3132bd594600b63febf11a01bc1fd63da73398
2008-10-27 18:06:45 +01:00
pancake
af3fe4c94c * Move xbps-* into utils/ directory
- Simplify Makefile rules

--HG--
extra : convert_revision : f24c98fa56d724772e7c5e9a21cf700e4085d6e2
2008-10-27 18:01:15 +01:00
Juan RP
851ba263ed external-gettext helper is not useful anymore.
--HG--
extra : convert_revision : 229d310ad0a0257a3380fbb469854f3a86b0eda7
2008-10-27 15:40:15 +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
d2b65a9b0d Simplify configure/build target for chroot templates.
--HG--
extra : convert_revision : 528f8e0dbb3af0c120ecea434cdd5c73c6c16314
2008-10-27 11:19:37 +01:00
Juan RP
c2362703e2 Add disable_parallel_build option.
To disable -jX per template.

--HG--
extra : convert_revision : cd5765c13ab9d1b465077d4367b762490a48bc5b
2008-10-27 10:45:07 +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
69aa44ff17 Fix installing base_chroot pkgs.
--HG--
extra : convert_revision : 80b4baf95c1eaa9465662cca381f823841fe8eb6
2008-10-27 10:29:21 +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
3f1c7c69cf Use msg_normal() in more places.
--HG--
extra : convert_revision : 84a2e9c6bd3baf5e7f76668af061442892dfb04b
2008-10-27 09:15:34 +01:00
Juan RP
dc0383b059 upstart: remove unneeded CPPFLAGS.
--HG--
extra : convert_revision : 2714517f31f893ce703ed167bcad35e80363b99b
2008-10-27 09:14:49 +01:00
Juan RP
4ee2fd5e1a unstow: ignore rmdir messages sent to stderr.
--HG--
extra : convert_revision : 666b70cdb9b729bf7858bd91db242a2d5c05a605
2008-10-27 08:44:41 +01:00
Juan RP
40a6d63364 chroot: do not umount unnecessarily in the build target.
--HG--
extra : convert_revision : bb005f7c4dae217282a231eea9f71869479b97d2
2008-10-27 08:35:40 +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
e3ac7fd84c Fix build_src_phase().
--HG--
extra : convert_revision : 6cdb0f47c17e445bc3bef8ebe52221596059018d
2008-10-26 22:09:16 +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
fb77496cb9 Some changes for libtool transform and listfiles target.
It's possible now to specify the target on which libtool_fixup_la_files
will run on, if template doesn't use by default will run at post
install. Also some changes to the listfiles target to not only show
files.

--HG--
extra : convert_revision : fc0656e6504184b890e1096e5a158f29f54b414b
2008-10-26 06:50:52 +01:00
Juan RP
d3d088a61d chroot: rebuild dynamic linker's cache also when entering chroot.
--HG--
extra : convert_revision : 969f3714f7f90c3805d8c8bcf891513608e2744d
2008-10-26 04:16:41 +01:00
Juan RP
9447f6f738 Passing --prefix=/ is redundant, just use an empty value.
--HG--
extra : convert_revision : 314499d7133bee4bd805c379061afb0a382eb260
2008-10-26 01:43:48 +02:00
Juan RP
d1e72a822e Added udev-130 template.
--HG--
extra : convert_revision : 795d3a599da5114f7ade5cba6f1d15dd4d70c404
2008-10-26 01:43:11 +02:00
Juan RP
c658c03ba6 {set,unset}_build_vars are not needed in the chroot.
--HG--
extra : convert_revision : 9d6a23fdba12bc1a4ef04d7579b677fb79e64ae9
2008-10-26 00:44:31 +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
69ea8000e9 install_dependencies_pkg(): use grep -w to match exact pkgs.
--HG--
extra : convert_revision : 2d49492a5bc6f3525af5d3ced97cd77a3b805ce9
2008-10-25 23:31:12 +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
be392f9c9e Do not run fixup_la_files() if there's no libtool or ltmain.sh in
wrksrc.

--HG--
extra : convert_revision : b58add2a00c9b36a3f389a3a3ed4f1956ec34b5c
2008-10-25 04:57:53 +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