Commit Graph

708 Commits

Author SHA1 Message Date
Juan RP f036a85acb util-linux-ng: fix installation.
--HG--
extra : convert_revision : 815f64b8c3a09ef98f2709f226c45de9eb18057d
2008-12-16 05:48:27 +01:00
Juan RP c464f084ed chroot.sh: add some missing files in /var/log.
--HG--
extra : convert_revision : 77cc4113c23fe9b00516261e12c0ae002e4831a4
2008-12-16 05:07:14 +01:00
Juan RP 32945c2e2f chroot.sh: create from scratch required files.
--HG--
extra : convert_revision : af01f1a7fcad7dd961334542b551a2dc390615a0
2008-12-16 04:53:03 +01:00
Juan RP 0aea0a1bfb chroot.sh: create a FHS compliant dirtree.
--HG--
extra : convert_revision : 7bdad80324c9e6c770e2722735e42e53bb0898a4
2008-12-16 04:43:53 +01:00
Juan RP 500856a37e sudo: make it work and provide a default pam file.
--HG--
extra : convert_revision : e93308df44f05c8b1688d5b299facaa83820993b
2008-12-16 04:23:56 +01:00
Juan RP b2453c5ae7 cracklib: copy dict generated files to /lib/cracklib.
--HG--
extra : convert_revision : 5aa2bb8d0ff367a000d5774ab04ae26924347c57
2008-12-16 04:09:24 +01:00
Juan RP 8532ba38c8 Added shadow-4.1.2.2 with pam support.
Config files were modified as specified by LFS.

--HG--
extra : convert_revision : c3648afe3114004f6e0c9afbacf1cf337cb39232
2008-12-16 03:52:12 +01:00
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 175eefe18d extract_funs.sh: fix for multiple distfiles.
--HG--
extra : convert_revision : 25557c3b6fda8f26ec9ac152e07a60c3afe5a23e
2008-12-16 02:17:32 +01:00
Juan RP d005331ecc extract_funcs.sh: also accept .gz/.bz2 distfiles.
--HG--
extra : convert_revision : 97f42f27316569b9ef463ac1108caec7ce186047
2008-12-16 00:04:23 +01:00
Juan RP b19babeff4 build_funcs.sh: collapse two if conditions into one.
--HG--
extra : convert_revision : 85676631474dc08c573cdc500b8867dbc76e0d6d
2008-12-15 09:23:08 +01:00
Juan RP 2656d14aaf xbps.sh: remove duplicated check_config_vars func!
--HG--
extra : convert_revision : bf5b9d588ad658491eab9110a921b656a66b3fb2
2008-12-15 09:16:55 +01:00
Juan RP 1fb61e9cca xbps.sh: replace some tabs to spaces in usage().
--HG--
extra : convert_revision : d39e1832f612c017f2a3bb11645f13d50d85e1ea
2008-12-15 07:42:21 +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 944309d934 Apply patches to {custom,only}-install templates too.
--HG--
extra : convert_revision : 81eea0b86a2fe153db432ad13dd0fbd03f6f6fbf
2008-12-15 01:19:47 +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 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