Difference between revisions of "Acl"

From CBLFS
Jump to navigationJump to search
(Or you can use the env var that the Acl devs provide.)
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_{{Acl-Version}}.tar.gz
+
| http://download.savannah.gnu.org/releases-noredirect/acl/acl-{{Acl-Version}}.src.tar.gz
 
|}
 
|}
  
 
----
 
----
  
{{Blank-Package-Introduction}}
+
{{Package-Introduction|Access control lists implement a more fine-grained permission model: In addition to the file owner, the file group, and others, additional users and groups can be granted or denied access.|http://acl.bestbits.at/}}
  
 
Without this package you will get this Message while installing KDELibs:
 
Without this package you will get this Message while installing KDELibs:
Line 30: Line 30:
 
Compile the package:
 
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 \
 
  ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
 
   --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
 
   --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
Line 47: Line 38:
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  chmod 755 /lib/libacl.so.1.1.0
+
  chmod -v 755 /lib/libacl.so.1.1.0
  
 
== Multilib ==
 
== Multilib ==
Line 55: Line 46:
 
Compile the package:
 
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 \
 
  CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
 
   --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
 
   --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
Line 72: Line 54:
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  chmod 755 /lib/libacl.so.1.1.0
+
  chmod -v 755 /lib/libacl.so.1.1.0
  
 
=== N32 ===
 
=== N32 ===
Line 78: Line 60:
 
Compile the package:
 
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 \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
 
   --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \
 
   --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \
Line 95: Line 68:
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  chmod 755 /lib32/libacl.so.1.1.0
+
  chmod -v 755 /lib32/libacl.so.1.1.0
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 101: Line 74:
 
Compile the package:
 
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 \
 
  CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
 
   --bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \
 
   --bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \
Line 118: Line 82:
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  chmod 755 /lib64/libacl.so.1.1.0
+
  chmod -v 755 /lib64/libacl.so.1.1.0
  
 
= Contents =
 
= Contents =

Latest revision as of 14:04, 17 February 2013

Download Source: http://download.savannah.gnu.org/releases-noredirect/acl/acl-2.2.51.src.tar.gz

Introduction to Acl

Access control lists implement a more fine-grained permission model: In addition to the file owner, the file group, and others, additional users and groups can be granted or denied access.

Project Homepage: http://acl.bestbits.at/

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:

./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 -v 755 /lib/libacl.so.1.1.0

Multilib

32Bit

Compile the package:

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 -v 755 /lib/libacl.so.1.1.0

N32

Compile the package:

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 -v 755 /lib32/libacl.so.1.1.0

64Bit

Compile the package:

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 -v 755 /lib64/libacl.so.1.1.0

Contents

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

Short Descriptions

program1 ???
program2 ???