Commit graph

37515 commits

Author SHA1 Message Date
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
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
ffbd0ad5ae Reread config file and set vars in the chroot to get correct paths!
--HG--
extra : convert_revision : dbc4e06cf93ef92d12090a53be4270d720c88f9f
2008-10-24 10:09:42 +02:00
Juan RP
758eff37a8 Add another target: chroot. Use this to make stuff on it.
Also the helper has been renamed to just chroot.sh.

--HG--
extra : convert_revision : 9d21ca6e9eb55a31a21cb800450376d60cf3af40
2008-10-24 09:44:51 +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
ccce118103 When stowning a pkg, do not copy file with -f.
--HG--
extra : convert_revision : 9d99ad0b7b4f616e8681b24e858988842eb3a9d2
2008-10-24 08:49:49 +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