mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
ff14636909
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24369 af4574ff-66df-0310-9fd7-8a98e5e911e0
153 lines
7.1 KiB
Plaintext
153 lines
7.1 KiB
Plaintext
<!-- $LastChangedBy$ $Date$ -->
|
|
|
|
<!ENTITY day "15"> <!-- Always 2 digits -->
|
|
<!ENTITY month "03"> <!-- Always 2 digits -->
|
|
<!ENTITY year "2021">
|
|
<!ENTITY copyrightdate "2001-&year;">
|
|
<!ENTITY copyholder "The BLFS Development Team">
|
|
<!ENTITY version "&year;-&month;-&day;">
|
|
<!ENTITY releasedate "March 15th, &year;">
|
|
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
|
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
|
<!ENTITY lfs-versiond "systemd"> <!-- x.y-systemd|systemd -->
|
|
<!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
|
<!ENTITY lfs-domainname "linuxfromscratch.org">
|
|
|
|
<!ENTITY maintainer-fullname "The BLFS Team">
|
|
<!ENTITY maintainer-firstname "BLFS">
|
|
<!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
|
|
|
|
|
<!ENTITY lfs-website "http://www.&lfs-domainname;">
|
|
<!-- downloads_root must have an entity because it is needed for scripts
|
|
change svn to x.y for release. Note: s/_/-/ in comment to avoid grep error
|
|
Update 'downloads-root-systemd' to x.y-systemd
|
|
-->
|
|
<!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
|
<!ENTITY downloads-root-systemd "http://www.linuxfromscratch.org/blfs/downloads/systemd">
|
|
<!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
|
|
|
<!ENTITY sources-anduin-http "http://anduin.linuxfromscratch.org/BLFS">
|
|
<!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
|
|
|
|
<!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
|
<!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
|
<!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
|
|
<!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
|
<!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
|
|
|
<!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
|
<!ENTITY lfs-rootd "../../../../lfs/view/&lfs-versiond;">
|
|
<!ENTITY lfs-dev "../../../../lfs/view/development">
|
|
<!ENTITY gnu-http "https://ftp.gnu.org/gnu">
|
|
<!ENTITY gnu-ftp "ftp://ftp.gnu.org/gnu">
|
|
<!ENTITY gnupg-http "https://www.gnupg.org/ftp/gcrypt">
|
|
<!ENTITY gnupg-ftp "ftp://ftp.gnupg.org/gcrypt">
|
|
<!ENTITY gstreamer-dl "https://gstreamer.freedesktop.org/src">
|
|
<!ENTITY kernel-dl "https://www.kernel.org/pub">
|
|
<!ENTITY mozilla-http "https://archive.mozilla.org/pub">
|
|
<!ENTITY mozilla-hg "https://hg.mozilla.org/releases/mozilla-release/archive/">
|
|
<!ENTITY perl_authors "https://www.cpan.org/authors">
|
|
<!ENTITY metacpan_authors "https://cpan.metacpan.org/authors/id">
|
|
<!ENTITY pymodules-dl "https://files.pythonhosted.org/packages/source">
|
|
<!ENTITY sourceforge-dl "https://downloads.sourceforge.net">
|
|
|
|
<!ENTITY gentoo-ftp-repo "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles">
|
|
<!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
|
<!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
|
<!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
|
<!ENTITY publisher "Unknown">
|
|
<!ENTITY xorg-download-http "https://www.x.org/pub/individual">
|
|
<!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">
|
|
<!ENTITY w3m-url "http://w3m.sourceforge.net/">
|
|
|
|
<!-- These entities are used to identify versions of LFS
|
|
packages referenced throughout the BLFS book. -->
|
|
<!ENTITY lfs-autoconf-version "2.69">
|
|
<!ENTITY lfs-coreutils-version "8.23">
|
|
<!ENTITY lfs-e2fsprogs-version "1.42.11">
|
|
<!ENTITY lfs-flex-version "2.5.39">
|
|
<!ENTITY lfs-gcc-version "4.9.1">
|
|
<!ENTITY lfs-gdbm-version "1.11">
|
|
<!ENTITY lfs-m4-version "1.4.17">
|
|
<!ENTITY lfs-perl-version "5.32"> <!-- used in git -->
|
|
<!-- this was originally the perl version used by the corresponding
|
|
version of lfs, in those days always for i686, but now BLFS is a rolling
|
|
release. \-\->
|
|
<!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">-->
|
|
<!ENTITY lfs-shadow-version "4.2.1">
|
|
<!ENTITY lfs-vim-version "7.4">
|
|
<!-- End LFS versions -->
|
|
|
|
<!ENTITY blfs-bootscripts-version "20210110">
|
|
<!ENTITY systemd-units-version "20210122">
|
|
|
|
|
|
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
|
|
|
<!-- These entities are used to annotate the current status of a package as it
|
|
relates to the version of LFS it will build/work against -->
|
|
|
|
<!ENTITY lfs101_checked "<para>This package is known to build and work
|
|
properly using an LFS-10.1 platform.</para>">
|
|
<!ENTITY lfs101_built "<para>This package is known to build using an LFS
|
|
10.1 platform but has not been tested.</para>">
|
|
|
|
<!-- End special entities about LFS compatibility -->
|
|
|
|
<!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
|
the installation needs to be done as the root user. There are three general
|
|
options that can be used to do this:</para>
|
|
|
|
<orderedlist>
|
|
|
|
<listitem><para>Run the entire script as the root user (not
|
|
recommended).</para></listitem>
|
|
|
|
<listitem><para>Use the <command>sudo</command> command from the <xref
|
|
linkend='sudo'/> package.</para></listitem>
|
|
|
|
<listitem><para>Use <command>su -c "command arguments"</command>
|
|
(quotes required) which will ask for the root password for every iteration
|
|
of the loop.</para></listitem>
|
|
|
|
</orderedlist>
|
|
|
|
<para>One way to handle this situation is to create a short
|
|
<command>bash</command> function that automatically selects the appropriate
|
|
method. Once the command is set in the environment, it does not need to be
|
|
set again.</para>
|
|
|
|
<screen><userinput>as_root()
|
|
{
|
|
if [ $EUID = 0 ]; then $*
|
|
elif [ -x /usr/bin/sudo ]; then sudo $*
|
|
else su -c \\"$*\\"
|
|
fi
|
|
}
|
|
|
|
export -f as_root</userinput></screen>
|
|
</note>">
|
|
|
|
<!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
|
katamari and is provided only as a dependency to
|
|
other packages or for testing the completed Xorg
|
|
installation.</para>">
|
|
|
|
<!ENTITY % package-entities SYSTEM "packages.ent">
|
|
%package-entities;
|
|
|
|
<!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
|
building with multiple processors. See <xref
|
|
linkend='parallel-builds'/> for more information.</para></note>">
|
|
|
|
<!ENTITY shell-env "<note><para>If installing in the chroot environment, be
|
|
sure to export the <envar>SHELL</envar> environment
|
|
variable or configuration of the package will
|
|
fail.</para></note>">
|
|
|