source: general.ent@ 6397333

basic
Last change on this file since 6397333 was acf7e2c, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Updates to Basic BLFS Chapter 3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/basic@20519 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.1 KB
Line 
1<!-- $LastChangedBy$ $Date$ -->
2
3<!ENTITY day "21"> <!-- Always 2 digits -->
4<!ENTITY month "09"> <!-- Always 2 digits -->
5<!ENTITY year "2018">
6<!ENTITY copyrightdate "2018-&year;">
7<!ENTITY copyholder "Bruce Dubbs">
8<!ENTITY version "&year;-&month;-&day;">
9<!ENTITY releasedate "September 21at, &year;">
10<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
11<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
12<!ENTITY lfs-version "development"> <!-- x.y|development -->
13<!ENTITY lfs-versiond "systemd"> <!-- x.y-systemd|systemd -->
14<!ENTITY last-commit "$Date$"> <!-- Automatic update -->
15<!ENTITY lfs-domainname "linuxfromscratch.org">
16
17<!ENTITY maintainer-fullname "The BLFS Team">
18<!ENTITY maintainer-firstname "BLFS">
19<!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
20
21<!ENTITY lfs-webroot "http://www.linuxfromscratch.org/">
22<!ENTITY blfs-root "&lfs-webroot;blfs/">
23<!ENTITY blfs-book "&blfs-root;view/stable/">
24<!ENTITY blfs-bookd "&blfs-root;view/stable-systemd/">
25
26<!ENTITY xinclude "http://www.w3.org/2001/XInclude">
27
28
29<!ENTITY lfs-website "http://www.&lfs-domainname;">
30<!-- downloads_root must have an entity because it is needed for scripts
31 change svn to x.y for release. Note: s/_/-/ in comment to avoid grep error
32 Update 'downloads-root-systemd' to x.y-systemd
33 -->
34<!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
35<!ENTITY downloads-root-systemd "http://www.linuxfromscratch.org/blfs/downloads/systemd">
36<!ENTITY downloads-project "http://downloads.&lfs-domainname;">
37
38<!ENTITY sources-anduin-http "http://anduin.linuxfromscratch.org/BLFS">
39<!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
40
41<!ENTITY hints-root "http://www.&lfs-domainname;/hints">
42<!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
43<!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
44<!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
45<!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
46
47<!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
48<!ENTITY lfs-rootd "../../../../lfs/view/&lfs-versiond;">
49<!ENTITY lfs-dev "../../../../lfs/view/development">
50<!ENTITY gnu-http "https://ftp.gnu.org/gnu">
51<!ENTITY gnu-ftp "ftp://ftp.gnu.org/gnu">
52<!ENTITY gnupg-http "https://www.gnupg.org/ftp/gcrypt">
53<!ENTITY gnupg-ftp "ftp://ftp.gnupg.org/gcrypt">
54<!ENTITY gstreamer-dl "https://gstreamer.freedesktop.org/src">
55<!ENTITY kernel-dl "https://www.kernel.org/pub">
56<!ENTITY mozilla-http "https://archive.mozilla.org/pub">
57<!ENTITY mozilla-hg "https://hg.mozilla.org/releases/mozilla-release/archive/">
58<!ENTITY pymodules-dl "https://files.pythonhosted.org/packages/source">
59<!ENTITY sourceforge-dl "https://downloads.sourceforge.net">
60
61<!ENTITY gentoo-ftp-repo "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles">
62<!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
63<!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
64<!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
65<!ENTITY publisher "Unknown">
66<!ENTITY xorg-download-http "https://www.x.org/pub/individual">
67<!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
68<!ENTITY pypi "https://pypi.python.org/pypi">
69<!ENTITY appstream-glib-url "http://people.freedesktop.org/~hughsient/appstream-glib/releases">
70
71<!-- These entities are used to identify versions of LFS
72 packages referenced throughout the BLFS book. -->
73<!ENTITY lfs-autoconf-version "2.69">
74<!ENTITY lfs-coreutils-version "8.23">
75<!ENTITY lfs-e2fsprogs-version "1.42.11">
76<!ENTITY lfs-flex-version "2.5.39">
77<!ENTITY lfs-gcc-version "4.9.1">
78<!ENTITY lfs-gdbm-version "1.11">
79<!ENTITY lfs-m4-version "1.4.17">
80<!-- this was originally the perl version used by the corresponding
81 version of lfs, in those days always for i686, but now BLFS is a rolling
82 release -->
83<!ENTITY lfs-perl-version "&lt;5.x.y&gt;/&lt;arch-linux&gt;">
84<!ENTITY lfs-shadow-version "4.2.1">
85<!ENTITY lfs-vim-version "7.4">
86<!-- End LFS versions -->
87
88<!ENTITY blfs-bootscripts-version "20180105">
89<!ENTITY systemd-units-version "20180105">
90
91
92<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
93
94<!-- These entities are used to annotate the current status of a package as it
95 relates to the version of LFS it will build/work against -->
96
97<!ENTITY lfs83_checked "<para>This package is known to build and work
98 properly using an LFS-8.3 platform.</para>">
99<!ENTITY lfs83_built "<para>This package is known to build using an LFS
100 8.3 platform but has not been tested.</para>">
101
102<!-- End special entities about LFS compatibility -->
103
104<!ENTITY as_root "<note><para>When installing multiple packages in a script,
105 the installation needs to be done as the root user. There are three general
106 options that can be used to do this:</para>
107
108 <orderedlist>
109
110 <listitem><para>Run the entire script as the root user (not
111 recommended).</para></listitem>
112
113 <listitem><para>Use the <command>sudo</command> command from the <xref
114 linkend='sudo'/> package.</para></listitem>
115
116 <listitem><para>Use <command>su -c &quot;command arguments&quot;</command>
117 (quotes required) which will ask for the root password for every iteration
118 of the loop.</para></listitem>
119
120 </orderedlist>
121
122 <para>One way to handle this situation is to create a short
123 <command>bash</command> function that automatically selects the appropriate
124 method. Once the command is set in the environment, it does not need to be
125 set again.</para>
126
127 <screen><userinput>as_root()
128{
129 if [ $EUID = 0 ]; then $*
130 elif [ -x /usr/bin/sudo ]; then sudo $*
131 else su -c \\&quot;$*\\&quot;
132 fi
133}
134
135export -f as_root</userinput></screen>
136</note>">
137
138<!ENTITY not-katamari "<para>This package is not a part of the Xorg
139 katamari and is provided only as a dependency to
140 other packages or for testing the completed Xorg
141 installation.</para>">
142
143<!ENTITY % package-entities SYSTEM "packages.ent">
144%package-entities;
145
146<!ENTITY parallel_issues "<note><para>This package may occasionally fail when
147 building with multiple processors. See <xref
148 linkend='parallel-builds'/> for more information.</para></note>">
149
150<!ENTITY shell-env "<note><para>If installing in the chroot environment, be
151 sure to export the <envar>SHELL</envar> environment
152 variable or configuration of the package will
153 fail.</para></note>">
154
Note: See TracBrowser for help on using the repository browser.