|
@@ -41,34 +41,18 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>安装 Acl</title>
|
|
|
|
|
|
- <para>修改文档安装目录,使它包含版本号:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in</userinput></screen>
|
|
|
-
|
|
|
- <para>修复一些不能正常运行的测试:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
|
|
|
-
|
|
|
- <para>修复 perl-5.26 的更新引入的测试过程问题:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">sed -i 's/{(/\\{(/' test/run</userinput></screen>
|
|
|
-
|
|
|
- <para>另外,修复一个导致 <command>getfacl -e</command>
|
|
|
- 在有过长组名称时发生段错误的 bug:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \
|
|
|
- libacl/__acl_to_any_text.c</userinput></screen>
|
|
|
-
|
|
|
<para>准备安装 Acl:</para>
|
|
|
|
|
|
-<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
|
|
|
- --bindir=/bin \
|
|
|
- --disable-static \
|
|
|
- --libexecdir=/usr/lib</userinput></screen>
|
|
|
+<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
|
|
|
+ --bindir=/bin \
|
|
|
+ --disable-static \
|
|
|
+ --libexecdir=/usr/lib \
|
|
|
+ --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
|
|
|
|
|
|
-<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
|
|
|
- --disable-static \
|
|
|
- --libexecdir=/usr/lib</userinput></screen>
|
|
|
+<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
|
|
|
+ --disable-static \
|
|
|
+ --libexecdir=/usr/lib \
|
|
|
+ --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
|
|
|
|
|
|
<para>编译该软件包:</para>
|
|
|
|
|
@@ -78,12 +62,11 @@
|
|
|
<application>Coreutils</application>
|
|
|
后才能在支持访问控制的文件系统上运行。
|
|
|
如果想运行它们,在构建好 <application>Coreutils</application>
|
|
|
- 后再返回这里,并执行 <command>make -j1 tests</command>。</para>
|
|
|
+ 后再返回这里,并执行 <command>make check</command>。</para>
|
|
|
|
|
|
<para>安装该软件包:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">make install install-dev install-lib
|
|
|
-chmod -v 755 /usr/lib/libacl.so</userinput></screen>
|
|
|
+<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
<para>共享库需要被移动到
|
|
|
<filename class="directory">/lib</filename> 目录,因此
|