[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 |
|
---|
[86e4833] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 26 | href="../../final-system/common/shadow.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
[c140ee2] | 28 |
|
---|
[01672b8] | 29 | <screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
|
---|
[86e4833] | 30 | sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \
|
---|
| 31 | src/Makefile.in.orig > src/Makefile.in</userinput></screen>
|
---|
[c140ee2] | 32 |
|
---|
| 33 | <para os="d">Prepare Shadow for compilation:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="e"><userinput>./configure --prefix=/tools \
|
---|
[94ff357] | 36 | --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen>
|
---|
[c140ee2] | 37 |
|
---|
| 38 | <para os="f">The meaning of the configure options:</para>
|
---|
| 39 |
|
---|
| 40 | <variablelist os="g">
|
---|
| 41 | <varlistentry>
|
---|
| 42 | <term><parameter>--sysconfdir=/etc</parameter></term>
|
---|
| 43 | <listitem><para>Tells Shadow to install its configuration files into
|
---|
| 44 | <filename class="directory">/etc</filename>, rather than
|
---|
| 45 | <filename class="directory">/tools/etc</filename>.</para></listitem>
|
---|
| 46 | </varlistentry>
|
---|
| 47 |
|
---|
| 48 | </variablelist>
|
---|
| 49 |
|
---|
[bf78dda] | 50 | <para os="h">Tell Shadow to use <command>passwd</command> in
|
---|
| 51 | <filename class="directory">/tools/bin</filename>:</para>
|
---|
[c140ee2] | 52 |
|
---|
[f584773] | 53 | <screen os="i"><userinput>cp config.h{,.orig}
|
---|
| 54 | sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&@' config.h.orig > config.h</userinput></screen>
|
---|
[c140ee2] | 55 |
|
---|
[f584773] | 56 | <para os="j">Compile the package:</para>
|
---|
[c140ee2] | 57 |
|
---|
[f584773] | 58 | <screen os="k"><userinput>make</userinput></screen>
|
---|
[c140ee2] | 59 |
|
---|
[4b9dcd7] | 60 | <para os="l">Install the package:</para>
|
---|
[c140ee2] | 61 |
|
---|
[4b9dcd7] | 62 | <screen os="m"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[c140ee2] | 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2 role="content">
|
---|
| 67 | <title/>
|
---|
| 68 |
|
---|
| 69 | <para>Details on this package are located in <xref
|
---|
| 70 | linkend="contents-shadow" role="."/></para>
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | </sect1>
|
---|