Commit graph

398 commits

Author SHA1 Message Date
Juan RP 2939039f33 coreutils: don't install kill and uptime.
We'll use the bins from procps, as specified by the
LFS 6.4 book.

--HG--
extra : convert_revision : dbf85cd52c51654e5fa640965de9d1a1ef2a604b
2008-11-26 12:05:44 +01:00
Juan RP 6473fd9b61 m4: build with threads support.
--HG--
extra : convert_revision : 084d0e1fff37e4a5f80ec0201db890568fce802d
2008-11-26 11:57:52 +01:00
Juan RP 66d82f6c63 mpfr: enable configure option "--enable-thread-safe".
--HG--
extra : convert_revision : d96de0189ed1f97a328dfe6bd941d857f0234124
2008-11-26 11:53:09 +01:00
Juan RP af92eadc0e gmp: enable some configure options, as specified in
the LFS 6.4 book.

--HG--
extra : convert_revision : 0811c5d36d2dae159e4fff3c572bf4ce8744eb2d
2008-11-26 11:48:22 +01:00
Juan RP 548bb7fb61 glibc: create a default /etc/nsswitch.conf.
--HG--
extra : convert_revision : 971eb252cf98abb3039e2fef0ba1e7bff42ef9af
2008-11-26 11:30:36 +01:00
Juan RP e54c4cb249 udev: update to 133 and install rules into correct dir.
--HG--
extra : convert_revision : be8a1e11bc2e194950694b077be96c59d0a93b1d
2008-11-26 10:56:51 +01:00
Juan RP 0f511d0aa4 mkinitcpio: fix installation.
--HG--
extra : convert_revision : 9df7a126ce61560d0acd63461a27678d3d7af70c
2008-11-26 02:37:55 +01:00
Juan RP fe0cdc5186 coreutils: install the hostname utility.
--HG--
extra : convert_revision : d22af766820c7ec228a3211ef56d9181d71d4c09
2008-11-26 00:41:40 +01:00
Juan RP 313d514a5d gawk: override configure mktime test, as suggested by
the LFS 6.4 book.

--HG--
extra : convert_revision : 8a7939591634ea01900f0cc622576edde36e252e
2008-11-26 00:41:13 +01:00
Juan RP 0fe5ca49e4 bash: override configure mktime test, as suggested by the
LFS 6.4 book.

--HG--
extra : convert_revision : 11c0a111bed8b70f703a62bc4b5af39781b71878
2008-11-26 00:24:18 +01:00
Juan RP 5f1e53c0fb initng-ifiles: add initng builddep.
--HG--
extra : convert_revision : 9b1c425470d3078d53b27f6377e4677f288f0553
2008-11-25 17:11:31 +01:00
Juan RP 80dc41a48a Added grub-0.97 template.
--HG--
extra : convert_revision : a18a44f5e344c6281a43a10f8da7de6d29d87b70
2008-11-25 15:59:48 +01:00
Juan RP a7664d6d64 kbd: install keyboard layout data files into /lib/kbd as
specified by the LFS book.

--HG--
extra : convert_revision : f10673c22eddf93f5b5889564f261cc31c41825c
2008-11-24 23:33:12 +01:00
Juan RP b52915760c glibc: update to 2.9, use snapshot from redhat.
--HG--
extra : convert_revision : 9dca5d1f391f5cafeb045f1e0dd64159bc403cbe
2008-11-24 22:51:43 +01:00
Juan RP 9d9ebb8dcd kernel26: provide a generic .config file for i386 arch.
--HG--
extra : convert_revision : 5db66aae71475d4238bacdecd0454273686a3f29
2008-11-22 17:38:27 +01:00
Juan RP a95e871414 Added initng-ifiles-0.1.5 template.
--HG--
extra : convert_revision : cf8f672c67ae0cca8c97cf6621b5fa47b1abd542
2008-11-22 13:39:29 +01:00
Juan RP 2a7041da23 Added initng-0.6.10.2 template.
--HG--
extra : convert_revision : 046e99d688362e0d99d3b203f0c403c1a9677553
2008-11-22 13:25:52 +01:00
Juan RP 1fcba47262 Added cmake-2.6.2 template, required by initng.
--HG--
extra : convert_revision : f384fac782c6859d5bde9d0e6a90db611756e468
2008-11-22 13:08:31 +01:00
Juan RP 6cf4d4705d glibc: make this build on i386 by building with -march.
--HG--
extra : convert_revision : 58fa11196aabc10b3c0d16640a461064c3c52fb1
2008-11-21 17:12:07 +01:00
Juan RP 59d924e512 gmp: fix stupid host/build detection in configure script on i386.
--HG--
extra : convert_revision : f804f3d494ac110600b987cf96bcb6f151e16d9c
2008-11-21 16:55:58 +01:00
pancake 5f28e3aef4 * Fix bash version variable in URL
--HG--
extra : convert_revision : 3a79bb17b38cc6de94adb8a980e1c0000484e6d8
2008-11-21 16:03:04 +01:00
Juan RP 17c2099ca9 Added mkinitcpio template from Arch linux.
--HG--
extra : convert_revision : 74556fa4099e68b7fe00a8b72034312689126431
2008-11-21 11:38:06 +01:00
Juan RP 6d8d778405 Added gcc-multilib template. Doesn't build but will be fixed soon.
--HG--
extra : convert_revision : db7d856164537bc67c982381ce702f82ade9c929
2008-11-21 11:36:43 +01:00
Juan RP 8893ac4a8a linux-pam: remove unused libtool stuff.
--HG--
extra : convert_revision : ac440071f6decc7b60c4edb391cf88b496a6df15
2008-11-21 11:36:19 +01:00
Juan RP fa2184aeac glibc32: add back lib32 dirs into ld.so.conf.
--HG--
extra : convert_revision : 775488ace10ef250f5711896c1b8a2afc74d377c
2008-11-21 09:58:43 +01:00
Juan RP f1e6d8d390 coreutils: pass --disable-acl to avoid linking to host libacl.
--HG--
extra : convert_revision : 8a730ee80de1e2dc4490f7ddc18cb3f2c66a3306
2008-11-21 09:54:13 +01:00
Juan RP 19b8381b64 glibc{,32}: do not use base_package anymore and misc changes.
--HG--
extra : convert_revision : 3b62a749010b0a05ffe2baa5bb317c5555dfaa49
2008-11-17 09:16:31 +01:00
Juan RP c8ed72be64 binutils: remove unused post_install func.
--HG--
extra : convert_revision : f75f8e7724b0fba72cc0a4f33c6134ef12445151
2008-11-06 07:36:27 +01:00
Juan RP 245178dc42 glibc: add /lib32 and /usr/lib32 into ld.so.conf for x86_64.
--HG--
extra : convert_revision : 7b033e5ddb577944c05ca5f47a4f7e9a26ed080a
2008-11-05 06:25:02 +01:00
Juan RP 159e450616 binutils: pass --enable-multilib.
--HG--
extra : convert_revision : 3c0d3301aee27df74774353ee3d6d840bacff14a
2008-11-05 04:19:39 +01:00
Juan RP b4d5150542 gcc: pass --enable-shared, otherwise shared libs won't be built!
--HG--
extra : convert_revision : e95fdba46e497f27d316bbbdc92a41af27c15daa
2008-11-05 01:43:55 +01:00
Juan RP 9b1c29e19b glibc: add 32 dynamic linker to ldd on x86_64.
replace_interpreter: don't look at $wrksrc.

--HG--
extra : convert_revision : ba36faca11a84e42a6cbd418be90cbd443a5ee4e
2008-11-03 10:32:36 +01:00
Juan RP 5b8cc70d4e ncurses: update to 5.7.
--HG--
extra : convert_revision : 540bd1ed9bdb381915052320231bc2f3d103ba1c
2008-11-03 09:24:07 +01:00
Juan RP cc27b1a54a Added a new var for templates: only_for_archs.
This accepts a list of archs where the package makes sense. Use this
in the glibc32 pkg and restrict it to x86_64.

--HG--
extra : convert_revision : 4d64b281e1f2ab6b104d43a1f37def1ec767b0a1
2008-11-03 08:38:38 +01:00
Juan RP ebb7cc3fcd glibc32: install gconv stuff into /usr/lib32.
--HG--
extra : convert_revision : f8c122c59f167500fd4511526351ad1cb0dcb812
2008-11-03 08:18:52 +01:00
Juan RP d15b7887e7 Added support for cross compiling packages on x86_64.
Two new options for the configuration file were added:
 * XBPS_CROSS_TARGET
 * XBPS_CROSS_DIR

XBPS_CROSS_TARGET should be set to the target triplet that you build
with the mktoolchain script.

XBPS_CROSS_DIR should point to the cross directory that mktoolchain
created if you've built one.

As proof of concept the glibc32 package has been added for x86_64,
and it works perfectly even in the chroot! with glibc32 in place
that means that I can build a gcc multilib and use -m32 to build
32bit packages! OH YEAH I LOVE THAT SHIT!!!!

--HG--
extra : convert_revision : 6b0008865e084674a1c4b58266f681871e519c66
2008-11-03 07:12:53 +01:00
Juan RP af7dd8bb55 binutils: use --enable-64-bit-bfd in configure_args.
--HG--
extra : convert_revision : 0975f52d5f19b291e110ca37b1a14188807158ae
2008-10-31 02:28:35 +01:00
Juan RP 2c0cb83289 util-linux-ng: disable wall as the CLFS book mentions.
--HG--
extra : convert_revision : 05a8fbf66aa069c385fe8754bbcf676ab7822cc6
2008-10-31 02:15:14 +01:00
Juan RP 313c0179e2 Added util-linux-ng-2.14.1 template.
--HG--
extra : convert_revision : cdfbc8bfa6f95118ee0d32ce34f7932a6e1d4c5a
2008-10-31 02:09:14 +01:00
Juan RP 9c28282cc4 e2fsprogs: install headers, fix pkgconfig files, misc stuff.
--HG--
extra : convert_revision : 853491bcabaf5050e04271b8090395f23e00fcb3
2008-10-31 02:08:36 +01:00
Juan RP 5bb36505b1 Rename helper-templates to just helpers.
--HG--
extra : convert_revision : cbaa30da99805accbe250d8dee5494c78cb93291
2008-10-30 23:34:05 +01:00
Juan RP 25a6af5a07 Remove unzip helper and make pkg add a build dep to unzip.
That way we can simply check for unzip bin being installed and
error out if it's not, it's simpler.

--HG--
extra : convert_revision : 8fd6c5f11a54742403a16fa10c3ed1db7f12955b
2008-10-30 23:28:59 +01:00
Juan RP 4bbeb31d60 jasper: indent $distfiles and $long_desc.
--HG--
extra : convert_revision : 436eb00ea7a7d5d36e57611ee9f332266aa94e1b
2008-10-30 23:10:34 +01:00
Juan RP 21b736cd31 jasper: update depends and checksum.
--HG--
extra : convert_revision : 331966f198dab283997af7ce4ed856910e86c680
2008-10-30 23:06:26 +01:00
Juan RP 77b4826fdc Sync unzip and its helper with latest code.
--HG--
extra : convert_revision : a2ea9f303afba4d3838a39b6908d134245b1fb01
2008-10-30 23:05:58 +01:00
Juan RP e765a9c0e4 binutils: updated to 2.19.
--HG--
extra : convert_revision : 84b72a259842d6429aefe6c25f6988646a2d1434
2008-10-30 02:20:34 +01:00
Juan RP de7879388a groff: needs disable_parallel_build.
--HG--
extra : convert_revision : fedbea9b6c75364b71538b2aab5e20563f1e67cf
2008-10-30 02:20:15 +01:00
Juan RP c0147b35d6 kernel26: make a symlink of /usr/src/linux-$version not hardlink.
--HG--
extra : convert_revision : 3b72fcb0d81d6a8bfdcb02ecfb4c159ac656db36
2008-10-30 01:10:06 +01:00
Juan RP ee9d9d99f3 openssl: needs disable_parallel_build.
--HG--
extra : convert_revision : db07e20e74108a139d2ffe18baec1984f2eaa902
2008-10-29 22:45:09 +01:00
Juan RP 3c6daaa6e3 klibc: needs kernel26 builddep.
--HG--
extra : convert_revision : 3575fe53f065df7ea7e92ceb34e499bf311dbf69
2008-10-29 21:17:32 +01:00
Juan RP 74182a7c99 wget, gstreamer: indent $long_desc.
--HG--
extra : convert_revision : e903388167ce461c2e7f3fd56e376b6273e2c5ce
2008-10-29 20:27:11 +01:00
Juan RP 97964298e5 Added dash-0.5.4 and make /bin/sh -> /bin/dash symlink.
Removed item from TODO.

--HG--
extra : convert_revision : b9f0d02cf0ec6ff9e41a34b06eb2ec6ebbd413b3
2008-10-29 20:19:35 +01:00
Juan RP 2680b4827d Looks like I removed a line accidentally for the configure phase.
--HG--
extra : convert_revision : 4554d5b18761b54653785df10117fda04d88ac42
2008-10-29 05:34:57 +01:00
Juan RP c1146599ee bash: apply all patches for current version and bump to 3.2.039.
--HG--
extra : convert_revision : 71bad58aac0268656be9ce48bace60ba8f573ea4
2008-10-29 04:49:24 +01:00
Juan RP ac80ddda40 Use bash features to improve $distfiles parsing.
That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.

--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
2008-10-28 23:57:52 +01:00
Juan RP 75f9cf1401 wget: s/gawk/wget/
--HG--
extra : convert_revision : 0baaca23a94b80309d5bac32c8a65d520e73ad54
2008-10-28 16:17:40 +01:00
Juan RP 3ec0e3ec05 gstreamer: fix $distfiles, remove unused stuff.
--HG--
extra : convert_revision : d20c0b7cf3b6108e904b6ab9665b2ad677f9867d
2008-10-28 16:17:02 +01:00
pancake 1732450967 Added wget package (dependency of xbps-base-chroot)
Make chroot copy etc/resolv.conf when entering
Added buggy gstreamer template (exposese some bugs of xbps.sh)
utils build now does not cleanups the dir after build

--HG--
extra : convert_revision : a36211b7dab8627f912f3b8f844d16bbcec0bc6e
2008-10-28 12:45:30 +01:00
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