Author: dj Date: Mon Dec 24 18:35:46 2018 New Revision: 20873 Log: Merge to HEAD 20872.
Modified: branches/BOOK-elogind/general.ent branches/BOOK-elogind/general/genlib/libuv.xml branches/BOOK-elogind/general/genlib/qca.xml branches/BOOK-elogind/general/prog/ojdk-conf.xml branches/BOOK-elogind/general/sysutils/pciutils.xml branches/BOOK-elogind/general/sysutils/usbutils.xml branches/BOOK-elogind/introduction/welcome/changelog.xml branches/BOOK-elogind/kde/kf5-apps/konsole5.xml branches/BOOK-elogind/multimedia/cdwriteutils/cdrtools.xml branches/BOOK-elogind/multimedia/libdriv/v4l-utils.xml branches/BOOK-elogind/networking/mailnews/mutt.xml branches/BOOK-elogind/packages.ent branches/BOOK-elogind/postlfs/security/libpwquality.xml branches/BOOK-elogind/postlfs/security/linux-pam.xml branches/BOOK-elogind/postlfs/security/nss.xml branches/BOOK-elogind/pst/xml/xmlto.xml branches/BOOK-elogind/server/major/apache.xml Modified: branches/BOOK-elogind/general.ent ============================================================================== --- branches/BOOK-elogind/general.ent Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/general.ent Mon Dec 24 18:35:46 2018 (r20873) @@ -1,12 +1,12 @@ <!-- $LastChangedBy$ $Date$ --> -<!ENTITY day "23"> <!-- Always 2 digits --> +<!ENTITY day "25"> <!-- Always 2 digits --> <!ENTITY month "12"> <!-- Always 2 digits --> <!ENTITY year "2018"> <!ENTITY copyrightdate "2001-&year;"> <!ENTITY copyholder "The BLFS Development Team"> <!ENTITY version "&year;-&month;-&day;"> -<!ENTITY releasedate "December 23rd, &year;"> +<!ENTITY releasedate "December 25rd, &year;"> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> <!ENTITY lfs-version "development"> <!-- x.y|development --> @@ -62,6 +62,7 @@ <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual"> <!ENTITY pypi "https://pypi.python.org/pypi"> <!ENTITY appstream-glib-url "http://people.freedesktop.org/~hughsient/appstream-glib/releases"> +<!ENTITY elinks-url "http://elinks.or.cz"> <!-- These entities are used to identify versions of LFS packages referenced throughout the BLFS book. --> Modified: branches/BOOK-elogind/general/genlib/libuv.xml ============================================================================== --- branches/BOOK-elogind/general/genlib/libuv.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/general/genlib/libuv.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -94,6 +94,8 @@ Install <application>libuv</application> by running the following commands: </para> +<!-- +Don't use cmake here to avoid circular dependency <screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt && @@ -102,12 +104,21 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make </userinput></screen> +--> +<screen><userinput>sh autogen.sh && +./configure --prefix=/usr --disable-static && +make </userinput></screen> +<!-- <para> If you want to run the tests, add -DBUILD_TESTING=true to the cmake line above and after building run: <command>make test</command>. </para> +--> + <para> + If you want to run the tests, run: <command>make check</command>. + </para> <para> Now, as the <systemitem class="username">root</systemitem> user: @@ -117,7 +128,7 @@ </sect2> - +<!-- <sect2 role="commands"> <title>Command Explanations</title> @@ -127,7 +138,7 @@ </para> </sect2> - +--> <sect2 role="content"> <title>Contents</title> Modified: branches/BOOK-elogind/general/genlib/qca.xml ============================================================================== --- branches/BOOK-elogind/general/genlib/qca.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/general/genlib/qca.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -116,9 +116,9 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \ - -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \ + <!-- -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \ -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \ - -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \ + -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \ --> .. && make</userinput></screen> Modified: branches/BOOK-elogind/general/prog/ojdk-conf.xml ============================================================================== --- branches/BOOK-elogind/general/prog/ojdk-conf.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/general/prog/ojdk-conf.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -108,7 +108,7 @@ </para> <screen role="root"><userinput>/usr/sbin/make-ca -g --force && -ln -sfv /etc/ssl/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen> +ln -sfv /etc/pki/tls/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen> <para> Use the following commands to check if the <filename>cacerts</filename> Modified: branches/BOOK-elogind/general/sysutils/pciutils.xml ============================================================================== --- branches/BOOK-elogind/general/sysutils/pciutils.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/general/sysutils/pciutils.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -147,21 +147,23 @@ <filename class="directory">/usr/share/hwdata</filename>. </para> - <para revision="sysv"> - You may wish to add an entry to - <systemitem class="username">root</systemitem>'s (or any other user who has - write privilege to <filename class="directory">/usr/share/hwdata</filename>) - crontab to automatically update the <filename>pci.ids</filename> file - periodically. - </para> - - <para revision="systemd"> + <para> You should update the <filename>/usr/share/hwdata/pci.ids</filename> file - periodically. Execute the following commands, as the - <systemitem class="username">root</systemitem> user, to create a systemd - timer to update it weekly on Sundays at 2:30 A.M. (local time): + periodically. <phrase revision="sysv">If you've installed + <xref linkend="fcron"/> and completed the section on periodic jobs, + execute</phrase><phrase revision="systemd">Execute</phrase> the following + commands, as the <systemitem class="username">root</systemitem> user, + to create a <phrase revision="sysv">weekly cron job:</phrase> + <phrase revision="systemd">systemd timer to update it weekly on Sundays + at 2:30 A.M. (local time):</phrase> </para> +<screen role="root" revision="sysv"><userinput>cat > /etc/cron.weekly/update-pciids.sh << "EOF" && +<literal>#!/bin/bash +/usr/sbin/update-pciids</literal> +EOF +chmod 754 /etc/cron.weekly/update-pciids</userinput></screen> + <screen role="root" revision="systemd"><userinput>cat > /lib/systemd/system/update-pciids.service << "EOF" && <literal>[Unit] Description=Update pci.ids file Modified: branches/BOOK-elogind/general/sysutils/usbutils.xml ============================================================================== --- branches/BOOK-elogind/general/sysutils/usbutils.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/general/sysutils/usbutils.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -152,21 +152,23 @@ <screen role="root" revision="sysv"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen> - <para revision="sysv"> - You may wish to add an entry to - <systemitem class="username">root</systemitem>'s (or any other user who has - write privilege to <filename class="directory">/usr/share/hwdata</filename>) - crontab to automatically update the <filename>usb.ids</filename> file - periodically. - </para> - - <para revision="systemd"> + <para> You should update the <filename>/usr/share/hwdata/usb.ids</filename> file - periodically. Execute the following commands, as the - <systemitem class="username">root</systemitem> user, to create a systemd - timer to update it weekly on Sundays at 3:00 A.M. (local time): + periodically. <phrase revision="sysv">If you've installed + <xref linkend="fcron"/> and completed the section on periodic jobs, + execute</phrase><phrase revision="systemd">Execute</phrase> the following commands, as the <systemitem class="username">root</systemitem> user, + to create a <phrase revision="sysv">weekly cron job:</phrase> + <phrase revision="systemd">systemd timer to update it weekly on Sundays + at 2:30 A.M. (local time):</phrase> </para> +<screen role="root" revision="sysv"><userinput>cat > /etc/cron.weekly/update- +usbids.sh << "EOF" && +<literal>#!/bin/bash +/usr/bin/wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</literal> +EOF +chmod 754 /etc/cron.weekly/update-usbids</userinput></screen> + <screen role="root" revision="systemd"><userinput>cat > /lib/systemd/system/update-usbids.service << "EOF" && <literal>[Unit] Description=Update usb.ids file Modified: branches/BOOK-elogind/introduction/welcome/changelog.xml ============================================================================== --- branches/BOOK-elogind/introduction/welcome/changelog.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/introduction/welcome/changelog.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -42,9 +42,30 @@ </listitem> --> <listitem> + <para>December 25th, 2018</para> + <itemizedlist> + <listitem> + <para>[dj] - Update pam_cracklib configuration with modern options + and provide replacement configuration with pam_pwqaulity.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>December 23rd, 2018</para> <itemizedlist> <listitem> + <para>[bdubbs] - Update to v4l-utils-1.16.3. Fixes + <ulink url="&blfs-ticket-root;11454">#11454</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Update to nss-3.41. Fixes + <ulink url="&blfs-ticket-root;11457">#11457</ulink>.</para> + </listitem> + <listitem> + <para>[dj] - Add cron jobs for update-pciids and update-usbids.</para> + </listitem> + <listitem> <para>[dj] - Correct NetworkManager meson options.</para> </listitem> </itemizedlist> Modified: branches/BOOK-elogind/kde/kf5-apps/konsole5.xml ============================================================================== --- branches/BOOK-elogind/kde/kf5-apps/konsole5.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/kde/kf5-apps/konsole5.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -74,7 +74,7 @@ <bridgehead renderas="sect4">Required</bridgehead> <para role="required"> - <xref linkend="kf5-frameworks"/>, + <xref linkend="kf5-frameworks"/> </para> <para condition="html" role="usernotes"> Modified: branches/BOOK-elogind/multimedia/cdwriteutils/cdrtools.xml ============================================================================== --- branches/BOOK-elogind/multimedia/cdwriteutils/cdrtools.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/multimedia/cdwriteutils/cdrtools.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -132,6 +132,17 @@ <?dbfo list-presentation="list"?> <?dbhtml list-presentation="table"?> + <varlistentry id="btcflash"> + <term><command>btcflash</command></term> + <listitem> + <para>flashes the firmware on BTC DRW1008 DVD+/-RW recorder. + Please exercise care with this program.</para> + <indexterm zone="cdrtools btcflash"> + <primary sortas="b-btcflash">btcflash</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="cdda2wav"> <term><command>cdda2wav</command></term> <listitem> Modified: branches/BOOK-elogind/multimedia/libdriv/v4l-utils.xml ============================================================================== --- branches/BOOK-elogind/multimedia/libdriv/v4l-utils.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/multimedia/libdriv/v4l-utils.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -6,7 +6,7 @@ <!ENTITY v4l-download-http "https://www.linuxtv.org/downloads/v4l-utils/v4l-utils-&v4l-utils-version;.tar.bz2"> <!ENTITY v4l-download-ftp " "> - <!ENTITY v4l-md5sum "0b3553854c8b8b0102a823f8e150efbc"> + <!ENTITY v4l-md5sum "ecc98c6140916135725a4d9ada10404f"> <!ENTITY v4l-size "1.8 MB"> <!ENTITY v4l-buildsize "87 MB"> <!ENTITY v4l-time "0.4 SBU (using parallelism=4)"> Modified: branches/BOOK-elogind/networking/mailnews/mutt.xml ============================================================================== --- branches/BOOK-elogind/networking/mailnews/mutt.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/networking/mailnews/mutt.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -93,7 +93,7 @@ <xref linkend="libxslt"/> and either <xref linkend="lynx"/>, <xref linkend="w3m"/>, or - <ulink url="http://elinks.or.cz/">ELinks</ulink> + <ulink url="&elinks-url;">ELinks</ulink> </para> <bridgehead renderas="sect4">Optional (To Generate PDF Manual)</bridgehead> Modified: branches/BOOK-elogind/packages.ent ============================================================================== --- branches/BOOK-elogind/packages.ent Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/packages.ent Mon Dec 24 18:35:46 2018 (r20873) @@ -29,10 +29,10 @@ <!ENTITY mitkrb-version "1.16.2"> <!ENTITY nettle-version "3.4.1"> -<!ENTITY nss-minor-version "40"> -<!ENTITY nss-micro-version "1"> -<!ENTITY nss-version "3.&nss-minor-version;.&nss-micro-version;"> -<!--<!ENTITY nss-version "3.&nss-minor-version;"> --> +<!ENTITY nss-minor-version "41"> +<!ENTITY nss-micro-version "0"> +<!--<!ENTITY nss-version "3.&nss-minor-version;.&nss-micro-version;">--> +<!ENTITY nss-version "3.&nss-minor-version;"> <!ENTITY openssh-version "7.9p1"> <!-- <!ENTITY openssl-version "1.1.0g"> --> @@ -946,7 +946,7 @@ <!ENTITY speex-version "1.2.0"> <!ENTITY speexdsp-version "1.2rc3"> <!ENTITY taglib-version "1.11.1"> -<!ENTITY v4l-utils-version "1.16.2"> +<!ENTITY v4l-utils-version "1.16.3"> <!ENTITY x264-version "20180819-2245"> <!ENTITY x265-version "2.9"> <!ENTITY xine-lib-version "1.2.9"> Modified: branches/BOOK-elogind/postlfs/security/libpwquality.xml ============================================================================== --- branches/BOOK-elogind/postlfs/security/libpwquality.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/postlfs/security/libpwquality.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -113,6 +113,42 @@ </sect2> + <sect2 role="configuration"> + <title>Configuring Libpwquality</title> + + <para> + <application>Libpwquality</application> is intended to be a + functional replacement for the <filename>pam_cracklib.so</filename> + module with additional options. To replace the + <filename>pam_cracklib.so</filename> module with the + <filename>pam_pwquality.so</filename> module, execute the following + commands as the <systemitem class="username">root</systemitem> user: + </para> + +<screen role="root"><userinput>mv /etc/pam.d/system-password{,.orig} && +cat > /etc/pam.d/system-password << "EOF" +<literal># Begin /etc/pam.d/system-password + +# check new passwords for strength (man pam_pwquality) +password required pam_pwquality.so authtok_type=UNIX retry=1 difok=1 \ + minlen=8 dcredit=0 ucredit=0 \ + lcredit=0 ocredit=0 minclass=1 \ + maxrepeat=0 maxsequence=0 \ + maxclassrepeat=0 geoscheck=0 \ + dictcheck=1 usercheck=1 \ + enforcing=1 badwords="" \ + dictpath=/lib/cracklib/pw_dict +# use sha512 hash for encryption, use shadow, and use the +# authentication token (chosen password) set by pam_pwquality +# above (or any previous modules) +password required pam_unix.so sha512 shadow use_authtok + +# End /etc/pam.d/system-password</literal> +EOF +</userinput></screen> + + </sect2> + <sect2 role="content"> <title>Contents</title> @@ -129,7 +165,8 @@ pam_pwquality.so and libpwquality.so </seg> <seg> - /etc/security + None + <!-- /etc/security was installed by Linux-PAM --> </seg> </seglistitem> </segmentedlist> Modified: branches/BOOK-elogind/postlfs/security/linux-pam.xml ============================================================================== --- branches/BOOK-elogind/postlfs/security/linux-pam.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/postlfs/security/linux-pam.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -114,7 +114,7 @@ <xref linkend="fop"/>, <xref linkend="libxslt"/> and either <xref linkend="w3m"/> or - <ulink url="http://elinks.or.cz/">elinks</ulink> (but with a link calling it + <ulink url="&elinks-url;">elinks</ulink> (but with a link calling it '<application>links</application>') and remove the documentation switch. </para> @@ -317,14 +317,16 @@ <literal># Begin /etc/pam.d/system-password # check new passwords for strength (man pam_cracklib) -password required pam_cracklib.so type=Linux retry=3 difok=5 \ - difignore=23 minlen=9 dcredit=1 \ - ucredit=1 lcredit=1 ocredit=1 \ - dictpath=/lib/cracklib/pw_dict +password required pam_cracklib.so authtok_type=UNIX retry=1 difok=5 \ + minlen=9 dcredit=1 ucredit=1 \ + lcredit=1 ocredit=1 minclass=0 \ + maxrepeat=0 maxsequence0 \ + maxclassrepeat=0 \ + dictpath=/lib/cracklib/pw_dict # use sha512 hash for encryption, use shadow, and use the # authentication token (chosen password) set by pam_cracklib # above (or any previous modules) -password required pam_unix.so sha512 shadow use_authtok +password required pam_unix.so sha512 shadow use_authtok # End /etc/pam.d/system-password</literal> EOF</userinput></screen> Modified: branches/BOOK-elogind/postlfs/security/nss.xml ============================================================================== --- branches/BOOK-elogind/postlfs/security/nss.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/postlfs/security/nss.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -8,15 +8,15 @@ <!ENTITY nss-url "archive.mozilla.org/pub/security/nss/releases"> <!-- micro versions --> -<!ENTITY nss-download-http "https://&nss-url;/NSS_3_&nss-minor-version;_&nss-micro-version;_RTM/src/nss-&nss-version;.tar.gz"> +<!--<!ENTITY nss-download-http "https://&nss-url;/NSS_3_&nss-minor-version;_&nss-micro-version;_RTM/src/nss-&nss-version;.tar.gz">--> <!-- no micro versions --> -<!-- <!ENTITY nss-download-http "https://&nss-url;/NSS_3_&nss-minor-version;_RTM/src/nss-&nss-version;.tar.gz"> --> +<!ENTITY nss-download-http "https://&nss-url;/NSS_3_&nss-minor-version;_RTM/src/nss-&nss-version;.tar.gz"> <!ENTITY nss-download-ftp " "> - <!ENTITY nss-md5sum "589ab784db168e876bd9ae4eef294728"> - <!ENTITY nss-size "23 MB"> - <!ENTITY nss-buildsize "138 MB"> + <!ENTITY nss-md5sum "eec62a289387a7ce2fd9cca1f76600f3"> + <!ENTITY nss-size "22 MB"> + <!ENTITY nss-buildsize "133 MB"> <!ENTITY nss-time "2.2 SBU"> ]> Modified: branches/BOOK-elogind/pst/xml/xmlto.xml ============================================================================== --- branches/BOOK-elogind/pst/xml/xmlto.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/pst/xml/xmlto.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -84,7 +84,7 @@ <xref role="runtime" linkend="Links"/>, <xref role="runtime" linkend="lynx"/>, <xref role="runtime" linkend="w3m"/>, or - <ulink url="http://elinks.or.cz/">ELinks</ulink> + <ulink url="&elinks-url;">ELinks</ulink> </para> <para condition="html" role="usernotes">User Notes: Modified: branches/BOOK-elogind/server/major/apache.xml ============================================================================== --- branches/BOOK-elogind/server/major/apache.xml Mon Dec 24 17:15:21 2018 (r20872) +++ branches/BOOK-elogind/server/major/apache.xml Mon Dec 24 18:35:46 2018 (r20873) @@ -103,7 +103,7 @@ <xref linkend="lua"/>, <xref linkend="lynx"/> or <xref linkend="Links"/> or - <ulink url="http://elinks.or.cz/">ELinks</ulink>, + <ulink url="&elinks-url;">ELinks</ulink>, <xref linkend="nghttp2"/>, <xref linkend="openldap"/> (<xref linkend="apr-util"/> needs to be installed with ldap suport), -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page