source: general.ent@ ca5e52a

trunk
Last change on this file since ca5e52a was ca5e52a, checked in by Xi Ruoyao <xry111@…>, 3 months ago

git-version: simplify version number

  • Property mode set to 100644
File size: 7.2 KB
Line 
1<!-- version info generated from git commit,
2 comment out the following two lines for release. -->
3<!ENTITY % version-entities SYSTEM "version.ent">
4%version-entities;
5
6<!-- uncomment the following entities and modify them for release,
7 month and year should be always 2 digits. -->
8<!--
9<!ENTITY day "01">
10<!ENTITY month "09">
11<!ENTITY year "2021">
12<!ENTITY copyrightdate "2001-2021">
13<!ENTITY version "10.2">
14<!ENTITY releasedate "September 1st, &year;">
15<!ENTITY pubdate "&year;-&month;-&day;">
16-->
17
18<!ENTITY copyholder "The BLFS Development Team">
19<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
20<!ENTITY lfs-version "development"> <!-- x.y|development -->
21<!ENTITY lfs-versiond "systemd"> <!-- x.y-systemd|systemd -->
22<!ENTITY lfs-domainname "linuxfromscratch.org">
23
24<!ENTITY maintainer-fullname "The BLFS Team">
25<!ENTITY maintainer-firstname "BLFS">
26<!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
27
28
29<!ENTITY lfs-website "https://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 "https://www.linuxfromscratch.org/blfs/downloads/svn">
35<!ENTITY downloads-root-systemd "https://www.linuxfromscratch.org/blfs/downloads/systemd">
36<!ENTITY downloads-project "https://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 "https://www.&lfs-domainname;/hints">
42<!ENTITY patch-downloads "https://www.linuxfromscratch.org/patches/downloads">
43<!ENTITY patch-root "https://www.&lfs-domainname;/patches/blfs/svn">
44<!ENTITY errata "https://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
45<!ENTITY blfs-ticket-root "https://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 perl_authors "https://www.cpan.org/authors">
59<!ENTITY metacpan_authors "https://cpan.metacpan.org/authors/id">
60<!ENTITY pymodules-dl "https://files.pythonhosted.org/packages/source">
61<!ENTITY sourceforge-dl "https://downloads.sourceforge.net">
62
63<!ENTITY gentoo-ftp-repo "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles">
64<!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
65<!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
66<!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
67<!ENTITY publisher "Unknown">
68<!ENTITY xorg-download-http "https://www.x.org/pub/individual">
69<!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
70<!ENTITY pypi "https://pypi.python.org/pypi">
71<!ENTITY appstream-glib-url "http://people.freedesktop.org/~hughsient/appstream-glib/releases">
72<!ENTITY elinks-url "http://elinks.or.cz">
73<!ENTITY w3m-url "http://w3m.sourceforge.net/">
74
75<!-- These entities are used to identify versions of LFS
76 packages referenced throughout the BLFS book. -->
77<!ENTITY lfs-autoconf-version "2.69">
78<!ENTITY lfs-coreutils-version "8.23">
79<!ENTITY lfs-e2fsprogs-version "1.42.11">
80<!ENTITY lfs-flex-version "2.5.39">
81<!ENTITY lfs-gcc-version "4.9.1">
82<!ENTITY lfs-gdbm-version "1.11">
83<!ENTITY lfs-m4-version "1.4.17">
84<!ENTITY lfs-perl-version "5.32"> <!-- used in git -->
85<!-- this was originally the perl version used by the corresponding
86 version of lfs, in those days always for i686, but now BLFS is a rolling
87 release. \-\->
88<!ENTITY lfs-perl-version "&lt;5.x.y&gt;/&lt;arch-linux&gt;">-->
89<!ENTITY lfs-shadow-version "4.2.1">
90<!ENTITY lfs-vim-version "7.4">
91<!-- End LFS versions -->
92
93<!ENTITY blfs-bootscripts-version "20210110">
94<!ENTITY systemd-units-version "20210122">
95
96
97<!ENTITY blfs-wiki "https://wiki.&lfs-domainname;/blfs/wiki">
98
99<!-- These entities are used to annotate the current status of a package as it
100 relates to the version of LFS it will build/work against -->
101
102<!ENTITY lfs101_checked "<para>This package is known to build and work
103 properly using an LFS-10.1 platform.</para>">
104<!ENTITY lfs101_built "<para>This package is known to build using an LFS
105 10.1 platform but has not been tested.</para>">
106
107<!-- End special entities about LFS compatibility -->
108
109<!ENTITY as_root "<note><para>When installing multiple packages in a script,
110 the installation needs to be done as the root user. There are three general
111 options that can be used to do this:</para>
112
113 <orderedlist>
114
115 <listitem><para>Run the entire script as the root user (not
116 recommended).</para></listitem>
117
118 <listitem><para>Use the <command>sudo</command> command from the <xref
119 linkend='sudo'/> package.</para></listitem>
120
121 <listitem><para>Use <command>su -c &quot;command arguments&quot;</command>
122 (quotes required) which will ask for the root password for every iteration
123 of the loop.</para></listitem>
124
125 </orderedlist>
126
127 <para>One way to handle this situation is to create a short
128 <command>bash</command> function that automatically selects the appropriate
129 method. Once the command is set in the environment, it does not need to be
130 set again.</para>
131
132 <screen><userinput>as_root()
133{
134 if [ $EUID = 0 ]; then $*
135 elif [ -x /usr/bin/sudo ]; then sudo $*
136 else su -c \\&quot;$*\\&quot;
137 fi
138}
139
140export -f as_root</userinput></screen>
141</note>">
142
143<!ENTITY not-katamari "<para>This package is not a part of the Xorg
144 katamari and is provided only as a dependency to
145 other packages or for testing the completed Xorg
146 installation.</para>">
147
148<!ENTITY % package-entities SYSTEM "packages.ent">
149%package-entities;
150
151<!ENTITY parallel_issues "<note><para>This package may occasionally fail when
152 building with multiple processors. See <xref
153 linkend='parallel-builds'/> for more information.</para></note>">
154
155<!ENTITY shell-env "<note><para>If installing in the chroot environment, be
156 sure to export the <envar>SHELL</envar> environment
157 variable or configuration of the package will
158 fail.</para></note>">
159
Note: See TracBrowser for help on using the repository browser.