Commit graph

422 commits

Author SHA1 Message Date
Juan RP
5238e10c30 linux-pam: keep_dirs and conf_files stuff.
--HG--
extra : convert_revision : c45096974a1977552b7e903932f02080daefa7ba
2008-12-16 03:06:23 +01:00
Juan RP
24c4d768a8 linux-pam: fix path for headers.
--HG--
extra : convert_revision : 11267c754ab702751a20a2caea471f09e6257250
2008-12-16 02:52:58 +01:00
Juan RP
4daee66e0b linux-pam: use cracklib.
--HG--
extra : convert_revision : 74b7c14d17017d3c0ba014f80065d39a5bdd6e40
2008-12-16 02:25:53 +01:00
Juan RP
465a0cda99 Added cracklib-2.8.13 templates.
--HG--
extra : convert_revision : ca664f7b42e682e2f2bbe5ffbfecb7ca704aa952
2008-12-16 02:17:52 +01:00
Juan RP
93f485a4e9 Added tmpl_vars util. Common vars that can be used in templates.
--HG--
extra : convert_revision : 68393e79e5f25d622d9142bf73b09b24ced28733
2008-12-15 07:27:38 +01:00
Juan RP
5e1a3be905 sysklogd: fix perms for syslogd/klogd bins.
--HG--
extra : convert_revision : b72ddd3dc9bb387e14646157ba659219c28c3e28
2008-12-15 02:41:43 +01:00
Juan RP
833f3a7c6f initramfs-tools: remove dpkg specific stuff.
Added keep_dirs and conf_files stuff. The patch added should be enough
to fix those errors that I caught while testing it.

--HG--
extra : convert_revision : 6ef6087618149fb8463d7cbe25e2c4f99fc9696c
2008-12-15 01:41:36 +01:00
Juan RP
9c6387d846 initramfs-tools: install some stuff to fix some errors.
--HG--
extra : convert_revision : 50879a74ca8dfc9e0e1f30ccdc86fb3867d3790c
2008-12-15 00:52:56 +01:00
Juan RP
52cce3b84f e2fsprogs: fix perms in post_install().
--HG--
extra : convert_revision : 37c3f06ce9599d377c6d0e513006a2733da6c03a
2008-12-14 05:48:49 +01:00
Juan RP
e2b0b0b100 Remove mkinitcpio. initramfs-tools is enough.
--HG--
extra : convert_revision : 2a38a5089d3633dc1c329999f9fb5c5121feb1bd
2008-12-14 05:39:34 +01:00
Juan RP
4790dce6a1 initramfs-tools: fix perms in do_install().
--HG--
extra : convert_revision : 0099649bda22d00e7455abe9ec4b3899381d6fa3
2008-12-14 05:25:55 +01:00
Juan RP
4a87b9a2f5 kernel26: provide a default .config for x86_64.
--HG--
extra : convert_revision : 6742e799a03c82141a2c4a27c39e398beafcaead
2008-12-14 02:46:42 +01:00
Juan RP
6c9ac2ea07 Added keep_dirs and conf_files vars for templates.
These will be written in pkg metadata props file as well. For now
they don't change any behaviour, will be used in binary packages.

Convert some pkgs to use them.

--HG--
extra : convert_revision : d04f681cf80dc97ceb9e50370d5a8c0d7b52687c
2008-12-14 01:48:36 +01:00
Juan RP
7794e89c20 perl-module: fix some paths.
--HG--
extra : convert_revision : 5caeda62f2c4ac25df8a7507356c6c83e020dea1
2008-12-13 15:58:16 +01:00
Juan RP
23fa45a18b Reorganize the tree for easier and better handling.
- Template helpers have been moved to templates/helpers.
- Documentation to docs/.
- Common scripts have been moved to utils/sh.
- Fixed install-destdir when executed via chroot.
- Added a build-pkg target that builds a binary package.
  The package must be installed into destdir before using.
- Misc tweaks and fixes.

--HG--
extra : convert_revision : 0896e8f24bb7592116aaf77ae9c776033818a3d8
2008-12-13 03:01:24 +01:00
Juan RP
bab85c98e2 perl: install manpages into /usr/share/man.
--HG--
extra : convert_revision : e7bb0588673bc34030fa430711454c4b6356f898
2008-12-10 17:35:11 +01:00
Juan RP
830c735d75 udev: update to 135.
--HG--
extra : convert_revision : 0263eec39926245adb3e430fa2bf48d075164a2f
2008-12-10 00:18:45 +01:00
Juan RP
b99de35817 proplib: update to 0.2.
--HG--
extra : convert_revision : 0318953ae28f2894ac6063f4502e5bdbcc48375d
2008-12-02 03:44:30 +01:00
Juan RP
a724ecdfdb sysklogd: create a default /etc/syslog.conf.
As specified in the LFS 6.4 book.

--HG--
extra : convert_revision : 98d449d65191ffd936b3eb68ef462aaff83bdb8c
2008-11-26 16:29:05 +01:00
Juan RP
c0b41d7a82 grub: added two patches from LFS 6.4 book.
--HG--
extra : convert_revision : 81ad5b0ee750598bf1a22d31816b3877d951d15b
2008-11-26 16:16:59 +01:00
Juan RP
8a99ed0027 findutils: use /var/lib/locate.
--HG--
extra : convert_revision : 3929ff0865471ee218a170aabbfbfa40253b3434
2008-11-26 15:58:49 +01:00
Juan RP
fb84570f9b bash: use readline pkg.
--HG--
extra : convert_revision : 46bec0b2a7afc45543166db4ca0b21fa97927712
2008-11-26 15:45:20 +01:00
Juan RP
d23d3b0101 Added readline-5.2 template.
--HG--
extra : convert_revision : 944441666ab958ddf7fc7f53b383c3a8f8062650
2008-11-26 15:45:08 +01:00
Juan RP
4ffb70c947 coreutils: revert previous. It seems that I had done the
right thing here before...

--HG--
extra : convert_revision : 1e60a95369bb9e5ba41a58b0cab5ba2cce44b2c3
2008-11-26 12:08:44 +01:00
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