Rev 1385 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1385 | jmengual | 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-system-acl" role="wrap"> |
||
9 | <?dbhtml filename="acl.html"?> |
||
10 | |||
11 | <sect1info condition="script"> |
||
12 | <productname>acl</productname> |
||
13 | <productnumber>&acl-version;</productnumber> |
||
14 | <address>&acl-url;</address> |
||
15 | </sect1info> |
||
16 | |||
17 | <title>Acl-&acl-version;</title> |
||
18 | |||
19 | <indexterm zone="ch-system-acl"> |
||
20 | <primary sortas="a-Acl">Attr</primary> |
||
21 | </indexterm> |
||
22 | |||
23 | <sect2 role="package"> |
||
24 | <title/> |
||
25 | |||
26 | <para>Le paquet acl contient des outils pour administrer des listes de |
||
27 | contrôle d'accès (<foreignphrase>Access Control Lists</foreignphrase>), |
||
28 | qui sont utilisées pour définir des droits d'accès beaucoup plus |
||
29 | personnalisables pour les fichiers et les répertoires.</para> |
||
30 | |||
31 | <segmentedlist> |
||
32 | <segtitle>&buildtime;</segtitle> |
||
33 | <segtitle>&diskspace;</segtitle> |
||
34 | |||
35 | <seglistitem> |
||
36 | <seg>&acl-ch6-sbu;</seg> |
||
37 | <seg>&acl-ch6-du;</seg> |
||
38 | </seglistitem> |
||
39 | </segmentedlist> |
||
40 | |||
41 | </sect2> |
||
42 | |||
43 | <sect2 role="installation"> |
||
44 | <title>Installation d'Acl</title> |
||
45 | |||
46 | <para>Ajoutez un script de test manquant :</para> |
||
47 | |||
48 | <screen><userinput remap="pre">cat > test/sort-getfacl-output << "EOF" |
||
49 | #! /usr/bin/perl -w |
||
50 | |||
51 | undef $/; |
||
52 | print join("\n\n", sort split(/\n\n/, ><)), "\n\n"; |
||
53 | EOF |
||
54 | chmod 755 test/sort-getfacl-output</userinput></screen> |
||
55 | |||
56 | <para>Modifiez le répertoire de la documentation pour qu'il soit versionné |
||
57 | et qu'il ajoute le support d'une installation DESTDIR :</para> |
||
58 | |||
59 | <screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&-@pkg_version@|' \ |
||
60 | -e 's|@prefix|$(DESTDIR)&|' \ |
||
61 | -e 's|@libexec|$(DESTDIR)&|' \ |
||
62 | include/builddefs.in</userinput></screen> |
||
63 | |||
64 | <para>Modifiez le script <filename>configure</filename> pour utiliser |
||
65 | <command>file</command> de <filename class="directory">/tools</filename> :</para> |
||
66 | |||
67 | <screen><userinput remap="pre">sed -i 's@/usr/bin/file@/tools/bin/file@g' configure</userinput></screen> |
||
68 | |||
69 | <para>Préparez la compilation d'Acl :</para> |
||
70 | |||
71 | <screen><userinput remap="configure">MAKE=/tools/bin/make MSGFMT=/tools/bin/msgfmt \ |
||
72 | MSGMERGE=/tools/bin/msgmerge XGETTEXT=/tools/bin/xgettext \ |
||
73 | ./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> |
||
74 | |||
75 | <para>Compilez le paquet :</para> |
||
76 | |||
77 | <screen><userinput remap="make">make</userinput></screen> |
||
78 | |||
79 | <para>Pour tester les résultats, lancez :</para> |
||
80 | <!-- FIXME: Find out what is wrong with the test suite. --> |
||
81 | <screen><userinput remap="test">make tests root-tests ext-tests</userinput></screen> |
||
82 | |||
83 | <para>Installez le paquet :</para> |
||
84 | |||
85 | <screen><userinput remap="install">make install install-dev install-lib |
||
86 | install -v -m644 doc/*.txt /usr/share/doc/acl-2.2.49 |
||
87 | chmod -v 755 /usr/lib/libacl.{la,so.1.1.0} |
||
88 | rm -v /usr/lib/libacl.so |
||
89 | mv -v /usr/lib/libacl.so* /lib |
||
90 | ln -sfv ../../lib/libacl.so.1.1.0 /usr/lib/libacl.so</userinput></screen> |
||
91 | |||
92 | </sect2> |
||
93 | |||
94 | |||
95 | <sect2 id="contents-acl" role="content"> |
||
96 | <title>Contentu d'Acl</title> |
||
97 | |||
98 | <segmentedlist> |
||
99 | <segtitle>Programme installé</segtitle> |
||
1401 | jmengual | 100 | <segtitle>Bibliothèques installées</segtitle> |
101 | <segtitle>Répertoires installés</segtitle> |
||
1385 | jmengual | 102 | |
103 | <seglistitem> |
||
104 | <seg>acl</seg> |
||
1401 | jmengual | 105 | <seg>libacl.{a,so}</seg> |
106 | <seg>/usr/share/doc/acl-&acl-version;</seg> |
||
1385 | jmengual | 107 | </seglistitem> |
108 | </segmentedlist> |
||
109 | |||
110 | <variablelist> |
||
111 | <bridgehead renderas="sect3">Descriptions courtes</bridgehead> |
||
112 | <?dbfo list-presentation="list"?> |
||
113 | <?dbhtml list-presentation="table"?> |
||
114 | |||
115 | <varlistentry id="chacl"> |
||
116 | <term><command>chacl</command></term> |
||
117 | <listitem> |
||
118 | <para>modifie la liste de contrôle d'accès d'un fichier ou d'un |
||
119 | répertoire</para> |
||
120 | <indexterm zone="ch-system-acl chacl"> |
||
121 | <primary sortas="b-chacl">attr</primary> |
||
122 | </indexterm> |
||
123 | </listitem> |
||
124 | </varlistentry> |
||
125 | |||
126 | <varlistentry id="getfacl"> |
||
127 | <term><command>getfacl</command></term> |
||
128 | <listitem> |
||
129 | <para>récupère les listes de contrôle d'accès à un fichier</para> |
||
130 | <indexterm zone="ch-system-acl getfacl"> |
||
131 | <primary sortas="b-getfacl">getfacl</primary> |
||
132 | </indexterm> |
||
133 | </listitem> |
||
134 | </varlistentry> |
||
135 | |||
136 | <varlistentry id="setfacl"> |
||
137 | <term><command>setfacl</command></term> |
||
138 | <listitem> |
||
139 | <para>paramètre des listes de contrôle d'accès</para> |
||
140 | <indexterm zone="ch-system-acl setfacl"> |
||
141 | <primary sortas="b-setfacl">setfacl</primary> |
||
142 | </indexterm> |
||
143 | </listitem> |
||
144 | </varlistentry> |
||
145 | |||
146 | <varlistentry id="libacl"> |
||
147 | <term><filename class="libraryfile">libacl</filename></term> |
||
148 | <listitem> |
||
149 | <para>contient les fonctions de l'API d'acl</para> |
||
150 | <indexterm zone="ch-system-acl libattr"> |
||
151 | <primary sortas="b-libacl">libattr</primary> |
||
152 | </indexterm> |
||
153 | </listitem> |
||
154 | </varlistentry> |
||
155 | |||
156 | </variablelist> |
||
157 | |||
158 | </sect2> |
||
159 | |||
160 | </sect1> |