Difference between revisions of "Acl"

From CBLFS
Jump to navigationJump to search
(Or you can use the env var that the Acl devs provide.)
Line 24: Line 24:
 
== Configuration Information ==
 
== Configuration Information ==
  
{{Note|Attr does not use support ''DESTDIR'' but you can add support by running the fallowing in the root of the source directory
+
{{Note|Acl uses ''DIST_ROOT'' rather than the ''DESTDIR'' variable.}}
before running configure.}}
 
 
 
cat >> include/builddefs.in << "EOF"
 
DESTDIR="$$dc_destdir"
 
PKG_BIN_DIR    = $(DESTDIR)@bindir@
 
PKG_SBIN_DIR    = $(DESTDIR)@sbindir@
 
PKG_LIB_DIR    = $(DESTDIR)@libdir@@libdirsuffix@
 
PKG_DEVLIB_DIR  = $(DESTDIR)@libexecdir@@libdirsuffix@
 
PKG_INC_DIR    = $(DESTDIR)@includedir@/attr
 
PKG_MAN_DIR    = $(DESTDIR)@mandir@
 
PKG_DOC_DIR    = $(DESTDIR)@datadir@/doc/@pkg_name@
 
PKG_LOCALE_DIR  = $(DESTDIR)@datadir@/locale
 
EOF
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==

Revision as of 16:22, 23 August 2009

Download Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_2.2.51.tar.gz

Introduction to Acl

Project Homepage: Unknown

Without this package you will get this Message while installing KDELibs:

libacl was not found. Without that library, you will not be able
to manage access control lists on file systems that support them,
such as ext3 or reiserfs.

To enable ACL/XATTR support you must recompile coreutils.

Dependencies

Required

Configuration Information

Caution.png

Note

Acl uses DIST_ROOT rather than the DESTDIR variable.

Non-Multilib

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 /lib/libacl.so.1.1.0

Multilib

32Bit

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 /lib/libacl.so.1.1.0

N32

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 /lib32/libacl.so.1.1.0

64Bit

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 /lib64/libacl.so.1.1.0

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directory: ???

Short Descriptions

program1 ???
program2 ???
Retrieved from "?title=Acl&oldid=18929"