[c140ee2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-boot-shadow" role="wrap">
|
---|
| 9 | <?dbhtml filename="shadow.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Shadow-&shadow-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-boot-shadow">
|
---|
| 14 | <primary sortas="a-Shadow">Shadow</primary>
|
---|
| 15 | <secondary>boot</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 19 | href="../../final-system/common/shadow.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Shadow</title>
|
---|
| 24 |
|
---|
| 25 | <para os="b">Disable the installation of the <command>groups</command>
|
---|
[01672b8] | 26 | program, as Coreutils provides a better version:</para>
|
---|
[c140ee2] | 27 |
|
---|
[01672b8] | 28 | <screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
|
---|
| 29 | sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
|
---|
[c140ee2] | 30 |
|
---|
| 31 | <para os="d">Prepare Shadow for compilation:</para>
|
---|
| 32 |
|
---|
| 33 | <screen os="e"><userinput>./configure --prefix=/tools \
|
---|
[94ff357] | 34 | --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen>
|
---|
[c140ee2] | 35 |
|
---|
| 36 | <para os="f">The meaning of the configure options:</para>
|
---|
| 37 |
|
---|
| 38 | <variablelist os="g">
|
---|
| 39 | <varlistentry>
|
---|
| 40 | <term><parameter>--sysconfdir=/etc</parameter></term>
|
---|
| 41 | <listitem><para>Tells Shadow to install its configuration files into
|
---|
| 42 | <filename class="directory">/etc</filename>, rather than
|
---|
| 43 | <filename class="directory">/tools/etc</filename>.</para></listitem>
|
---|
| 44 | </varlistentry>
|
---|
| 45 |
|
---|
| 46 | </variablelist>
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | <para os="h">Compile the package:</para>
|
---|
| 50 |
|
---|
| 51 | <screen os="i"><userinput>make</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | <para os="j">This package does not come with a test suite.</para>
|
---|
| 54 |
|
---|
| 55 | <para os="k">Install the package:</para>
|
---|
| 56 |
|
---|
| 57 | <screen os="l"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2 role="content">
|
---|
| 62 | <title/>
|
---|
| 63 |
|
---|
| 64 | <para>Details on this package are located in <xref
|
---|
| 65 | linkend="contents-shadow" role="."/></para>
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | </sect1>
|
---|