Author: xry111 Date: Sun Mar 28 08:11:25 2021 New Revision: 12174 Log: file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib
/bin/more links to libmagic.so (found on gimli and rivendell with a script) Modified: trunk/BOOK/appendices/dependencies.xml trunk/BOOK/chapter06/file.xml trunk/BOOK/chapter08/file.xml trunk/BOOK/packages.ent Modified: trunk/BOOK/appendices/dependencies.xml ============================================================================== --- trunk/BOOK/appendices/dependencies.xml Sat Mar 27 10:27:35 2021 (r12173) +++ trunk/BOOK/appendices/dependencies.xml Sun Mar 28 08:11:25 2021 (r12174) @@ -718,7 +718,9 @@ <segtitle>&external;</segtitle> <seglistitem> - <seg>None</seg> + <seg> + <ulink url="&blfs-root;/view/stable/general/libseccomp.html">Libseccomp</ulink> + </seg> </seglistitem> </segmentedlist> Modified: trunk/BOOK/chapter06/file.xml ============================================================================== --- trunk/BOOK/chapter06/file.xml Sat Mar 27 10:27:35 2021 (r12173) +++ trunk/BOOK/chapter06/file.xml Sun Mar 28 08:11:25 2021 (r12174) @@ -90,6 +90,12 @@ <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> + <para>Move a shared library into its final location in the LFS system, + and recreate the symlink for it:</para> + +<screen><userinput remap="install">mv -v $LFS/usr/lib/libmagic.so.* $LFS/lib +ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) $LFS/usr/lib/libmagic.so</userinput></screen> + </sect2> <sect2 role="content"> Modified: trunk/BOOK/chapter08/file.xml ============================================================================== --- trunk/BOOK/chapter08/file.xml Sat Mar 27 10:27:35 2021 (r12173) +++ trunk/BOOK/chapter08/file.xml Sun Mar 28 08:11:25 2021 (r12174) @@ -57,6 +57,16 @@ <screen><userinput remap="install">make install</userinput></screen> + <para><command>/bin/more</command> from util-linux will link to + <filename class="libraryfile">libmagic.so</filename>, so the shared + library should be moved to <filename class="directory">/lib</filename>, + and as a result the + <filename class="extension">.so</filename> file in + <filename class="directory">/usr/lib</filename> will need to be recreated:</para> + +<screen><userinput remap="install">mv -v /usr/lib/libmagic.so.* /lib +ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so</userinput></screen> + </sect2> Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Sat Mar 27 10:27:35 2021 (r12173) +++ trunk/BOOK/packages.ent Sun Mar 28 08:11:25 2021 (r12174) @@ -181,7 +181,7 @@ <!ENTITY file-version "5.39"> <!ENTITY file-size "932 KB"> -<!ENTITY file-url "http://ftp.astron.com/pub/file/file-&file-version;.tar.gz"> +<!ENTITY file-url "https://astron.com/pub/file/file-&file-version;.tar.gz"> <!ENTITY file-md5 "1c450306053622803a25647d88f80f25"> <!ENTITY file-home "https://www.darwinsys.com/file/"> <!ENTITY file-tmp-du "31 MB"> -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page