Commit graph

821 commits

Author SHA1 Message Date
Juan RP
26f703e47f Split funcs from xbps.sh into its own files.
That way it's easier to work in certain parts and easier to
catch errors. There's a performance penalty, but this can be
fixed later.

--HG--
extra : convert_revision : c0b0e63c873bb4c078ce332dd5182a72d57c3969
2008-12-13 05:23: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
8373117030 Another checkpoint in progress for binpkgs.
--HG--
extra : convert_revision : 38f4a4106a2d61757e1feacaec5eaef01f812d59
2008-12-12 18:12:45 +01:00
Juan RP
b2c180348e First check in progress for binary packages.
It's explained in the BINPKG_INFO.txt file, and will be extended
probably in a not so distant future. My next work will be working
in the code to handle binary packages with a new utility in C.

--HG--
extra : convert_revision : 1a1846e330fdb11f3dd79cf9d9f12c614098cfe8
2008-12-11 03:22:54 +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
1c8b62123c Some checks to be sure that user is able to unstow pkgs.
--HG--
extra : convert_revision : 5651565c9e7caefed71d4e39f9285d3f62e613ab
2008-12-09 17:11:40 +01:00
Juan RP
5885c7583f Correct listfiles example.
--HG--
extra : convert_revision : 7b799144eb3ace75878dd9bcee2ff6eb77a92f89
2008-12-09 16:58:58 +01:00
Juan RP
ecad518a07 No longer need to specify version for 'listfiles' target.
While here improve previous commit too.

--HG--
extra : convert_revision : 435009e7dc55d74f08cc57fc6f78deea0fcb3f39
2008-12-09 16:53:06 +01:00
Juan RP
c4be9a5aba When removing/stowning a package, get the version of the
package installed from the db and not from template file.

This fixes the following problem:

* package foo-1.0 is installed but the template file only has
  foo-1.1, therefore it thinks the pkg is not installed.

--HG--
extra : convert_revision : e5ad68c50ba508a882f9c7eb0c30ee689da5d27f
2008-12-09 16:45:01 +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
ec85b0b62b Added a new template var: patch_args.
If not set, defaults to "-p0".

--HG--
extra : convert_revision : e2cd770b61b872ca08249d6462cf6f36f842c781
2008-11-26 16:15:56 +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
c87b042635 Ignore destdir created by default conf.
--HG--
extra : convert_revision : 289910b79603e606a58911800e07756b1f13cde7
2008-11-26 01:09:08 +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
c9ab99cd6b xbps.conf: set destdir to $XBPS_DISTRIBUTIONDIR/destdir.
--HG--
extra : convert_revision : 9b4035b5b9336a64977c53f9d734cbbb7d977885
2008-11-25 15:53:07 +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
a37c42c94d Do not override PATH in chroot and always make lib64 -> lib symlinks on
x86_64.

--HG--
extra : convert_revision : 48d28cff104a1cc8d8a57cef299b08bdc4edb272
2008-11-17 09:17:02 +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