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