Commit Graph

96087 Commits

Author SHA1 Message Date
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 5c2d362169 Fix previous, it's conf_files not config_files.
--HG--
extra : convert_revision : dc8d0e29104846c5ecc066fbb68668042f4e51b5
2008-12-14 01:54:18 +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 2c7b9e58f7 builddep: optimize even more printing of required deps.
--HG--
extra : convert_revision : d18f0609ab1b6cc11913577c55f0a43f7886f036
2008-12-14 01:34:31 +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 0f8dbaf60e xbps.sh: change some returns to exit, to avoid errors with bash.
--HG--
extra : convert_revision : 3e9b9bca9f88bc795860a064d3c5169944136198
2008-12-13 15:11:24 +01:00
Juan RP 9436b962df Merge branch 'master' into full-binpkgs
--HG--
extra : convert_revision : 7b927e0360aab3a5e05bd6036de0083b8ba677db
2008-12-13 09:01:23 +01:00
Juan RP a27cfbf3c8 builddeps: improve min req deps printing.
--HG--
extra : convert_revision : 123d65cc4348fba54e3236a2f9109f4c145c6389
2008-12-13 08:59:50 +01:00
Juan RP a31a003a63 Create binpkgs for meta-template packages.
--HG--
extra : convert_revision : fdf26fe45ee1b5ecb2d32a7e72e2b83c8ee02f5a
2008-12-13 08:44:51 +01:00
Juan RP 8df38b299b TODO: mention mpfr hardcoded gmp rpath.
--HG--
extra : convert_revision : 284b726032ac10260632ebbebbcd89f1a5f547f2
2008-12-13 07:44:19 +01:00
Juan RP 4fa6ed944c Added a new keyword to the build-pkg target: all.
If this keyword is specified like this:

	$ xbps.sh build-pkg all

All currently packages installed in masterdir will be created
as binary packages in XBPS_PACKAGESDIR.

--HG--
extra : convert_revision : 97a8cb7d6aa2a7462845a2e67e9c8a443051fc3b
2008-12-13 07:05:42 +01:00
Juan RP e817d470ab Added a new conf option: XBPS_PACKAGESDIR.
This is to specify where to store the binary packages.

--HG--
extra : convert_revision : 16d810d058b78662a33d8492caf7981e0700808e
2008-12-13 07:04:53 +01:00
Juan RP 8df4138beb binpkg: use run_rootcmd() when building the tarball.
--HG--
extra : convert_revision : c070ed6381fe27210fa7a3e39420f54ed6a19843
2008-12-13 06:11:56 +01:00
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