10.39. Acl-2.2.52 N32 Libraries

Acl is a library for getting and setting POSIX Access Control Lists.

10.39.1. Installation of Acl

Apply a sed to install the documentation with a versioned directory:

sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in

Apply a sed to fix a few tests:

sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test

Prepare Acl for compilation:

CC="gcc ${BUILDN32}" \
./configure \
    --prefix=/usr \
    --libdir=/lib32 \
    --libexecdir=/usr/lib32

Compile the package:

make

The Acl tests need a filesystem which supports access controls after Coreutils has been built with the Acl libraries. Return to this section after Coreutils has been installed. Test the results:

make tests

Install the package:

make install install-dev install-lib

Recreate the symlink in /usr/lib32 and remove the shared link from /lib32:

ln -sfv ../../lib32/$(readlink /lib32/libacl.so) /usr/lib32/libacl.so
rm -v /lib32/libacl.so

Set the proper permissions on the shared library:

chmod 755 -v /lib32/libacl.so.1.1.0

Details on this package are located in Section 10.40.2, “Contents of Acl.”