[1cefd4d7] | 1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
[276015d2] | 2 |
|
---|
[4632152] | 3 | <!ENTITY day "20"> <!-- Always 2 digits -->
|
---|
[d80de44] | 4 | <!ENTITY month "07"> <!-- Always 2 digits -->
|
---|
[0bb2be7c] | 5 | <!ENTITY year "2014">
|
---|
[416886f] | 6 | <!ENTITY copyrightdate "2001-&year;">
|
---|
| 7 | <!ENTITY copyholder "The BLFS Development Team">
|
---|
[9e9cd2a2] | 8 | <!ENTITY version "&year;-&month;-&day;">
|
---|
[4632152] | 9 | <!ENTITY releasedate "July 20th, &year;">
|
---|
[e9ef7b5e] | 10 | <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
---|
[4632152] | 11 | <!ENTITY blfs-version "systemd"> <!-- svn|[release #] -->
|
---|
[d941ab6] | 12 | <!ENTITY lfs-version "development"> <!-- x.y|development] -->
|
---|
[103ead8] | 13 | <!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
---|
[4e88613] | 14 | <!ENTITY lfs-domainname "linuxfromscratch.org">
|
---|
[29a430f] | 15 |
|
---|
[f6ba18fd] | 16 | <!ENTITY maintainer-fullname "The BLFS Team">
|
---|
| 17 | <!ENTITY maintainer-firstname "BLFS">
|
---|
[41666068] | 18 | <!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
---|
[4e88613] | 19 |
|
---|
[9cbbf24b] | 20 | <!ENTITY lfs-website "http://www.&lfs-domainname;">
|
---|
[cbddee1] | 21 | <!-- downloads - root must not have an entity because it is needed for scripts
|
---|
[7c284e7] | 22 | change svn to x.y for release -->
|
---|
| 23 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
---|
[4e88613] | 24 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
[1fb339c] | 25 | <!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn">
|
---|
| 26 | <!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn">
|
---|
[71e6ae5] | 27 | <!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/sources/other">
|
---|
[e867a12] | 28 | <!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other">
|
---|
[e67d068] | 29 | <!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn">
|
---|
[4e88613] | 30 | <!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
---|
[207c3129] | 31 | <!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
---|
[1fb339c] | 32 | <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
|
---|
[4e88613] | 33 | <!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
[f267149] | 34 | <!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
[4e88613] | 35 | <!-- <!ENTITY lfs-root "http://www.&lfs-domainname;/lfs/view/&lfs-version;"> -->
|
---|
| 36 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
[4dcc31a] | 37 | <!ENTITY lfs-dev "../../../../lfs/view/development">
|
---|
[ec9b2d7] | 38 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
[1604b8ff] | 39 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
[c9b953e6] | 40 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
| 41 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
[fce275e] | 42 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
[e50b41c] | 43 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
[c7ed4f4d] | 44 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
[faf325d] | 45 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
[a8d5ef7] | 46 | <!ENTITY trinity-repo-ftp "ftp://anduin.&lfs-domainname;/trinity">
|
---|
| 47 | <!ENTITY trinity-repo-http "http://anduin.&lfs-domainname;/sources/trinity">
|
---|
[4e88613] | 48 | <!ENTITY publisher "Unknown">
|
---|
[432a111] | 49 | <!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">
|
---|
[2f4014b] | 50 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
[1ddbf11a] | 51 | <!ENTITY mozilla-http "http://releases.mozilla.org/pub/mozilla.org">
|
---|
| 52 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub/mozilla.org">
|
---|
[07584d8] | 53 | <!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
---|
| 54 | <!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
---|
[ac3e2e3b] | 55 | <!ENTITY gnome-minor "3.12">
|
---|
[4122007] | 56 |
|
---|
[55fb7f56] | 57 | <!-- These entities are used to identify versions of LFS
|
---|
[db808f2] | 58 | packages referenced throughout the BLFS book. -->
|
---|
[eb631ac] | 59 | <!ENTITY lfs-autoconf-version "2.69">
|
---|
| 60 | <!ENTITY lfs-coreutils-version "8.22">
|
---|
| 61 | <!ENTITY lfs-e2fsprogs-version "1.42.9">
|
---|
| 62 | <!ENTITY lfs-flex-version "2.5.39">
|
---|
| 63 | <!ENTITY lfs-gcc-version "4.9.0">
|
---|
| 64 | <!ENTITY lfs-gdbm-version "1.11">
|
---|
| 65 | <!ENTITY lfs-m4-version "1.4.17">
|
---|
[f524a8f] | 66 | <!-- this was originally the perl version used by the corresponding
|
---|
| 67 | version of lfs, in those days always for i686, but now BLFS is a rolling
|
---|
| 68 | release -->
|
---|
| 69 | <!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">
|
---|
[d64103f] | 70 | <!ENTITY lfs-shadow-version "4.2.1">
|
---|
[d659cbe] | 71 | <!ENTITY lfs-vim-version "7.4">
|
---|
[55fb7f56] | 72 | <!-- End LFS versions -->
|
---|
[4122007] | 73 |
|
---|
[4632152] | 74 | <!ENTITY blfs-bootscripts-version "20140720">
|
---|
[feeb99a] | 75 | <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
---|
[29a430f] | 76 |
|
---|
[4e88613] | 77 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
[d53eb0e] | 78 |
|
---|
[b5a2067] | 79 | <!-- These entities are used to annotate the current status of a package as it
|
---|
| 80 | relates to the version of LFS it will build/work against -->
|
---|
[170c65d] | 81 | <!ENTITY lfs75_checked "<para>This package is known to build and work
|
---|
| 82 | properly using an LFS-7.5 platform.</para>">
|
---|
| 83 | <!ENTITY lfs75_built "<para>This package is known to build using an LFS
|
---|
| 84 | 7.5 platform but has not been tested.</para>">
|
---|
| 85 |
|
---|
[040a2e4] | 86 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
[76ae9a2] | 87 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
[040a2e4] | 88 | using an LFS-SVN-">
|
---|
[5f04edc] | 89 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
[040a2e4] | 90 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
[5f04edc] | 91 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
[b5a2067] | 92 | <!-- End special entities about LFS compatibility -->
|
---|
| 93 |
|
---|
[ba58642] | 94 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
| 95 | the installation needs to be done as the root user. There are three general
|
---|
| 96 | options that can be used to do this:</para>
|
---|
| 97 |
|
---|
| 98 | <orderedlist>
|
---|
| 99 |
|
---|
| 100 | <listitem><para>Run the entire script as the root user (not
|
---|
| 101 | recommended).</para></listitem>
|
---|
| 102 |
|
---|
| 103 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
| 104 | linkend='sudo'/> package.</para></listitem>
|
---|
| 105 |
|
---|
| 106 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
| 107 | (quotes required) which will ask for the root password for every iteration
|
---|
[0d7900a] | 108 | of the loop.</para></listitem>
|
---|
| 109 |
|
---|
[ba58642] | 110 | </orderedlist>
|
---|
| 111 |
|
---|
| 112 | <para>One way to handle this situation is to create a short
|
---|
| 113 | <command>bash</command> function that automatically selects the appropriate
|
---|
| 114 | method. Once the command is set in the environment, it does not need to be
|
---|
| 115 | set again.</para>
|
---|
[0d7900a] | 116 |
|
---|
[ba58642] | 117 | <screen><userinput>as_root()
|
---|
| 118 | {
|
---|
| 119 | if [ $EUID = 0 ]; then $*
|
---|
| 120 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
| 121 | else su -c \\"$*\\"
|
---|
[0d7900a] | 122 | fi
|
---|
[ba58642] | 123 | }
|
---|
| 124 |
|
---|
| 125 | export -f as_root</userinput></screen>
|
---|
| 126 | </note>">
|
---|
[33cbd93a] | 127 |
|
---|
[e03aea8] | 128 | <!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
---|
| 129 | katamari and is provided only as a dependency to
|
---|
| 130 | other packages or for testing the completed Xorg
|
---|
| 131 | installation.</para>">
|
---|
[058a3280] | 132 |
|
---|
| 133 | <!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
---|
[602bef5] | 134 | is not API or ABI compatible with
|
---|
[058a3280] | 135 | <application>GStreamer</application> 0.10 series and both
|
---|
[602bef5] | 136 | can be installed on the same system.</para></note>">
|
---|
[058a3280] | 137 |
|
---|
[25caf25] | 138 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
| 139 | %package-entities;
|
---|
[81678a49] | 140 |
|
---|
| 141 | <!ENTITY % systemd-package-entities SYSTEM "systemd.ent">
|
---|
| 142 | %systemd-package-entities;
|
---|
| 143 |
|
---|