Difference between revisions of "Acl"

From CBLFS
Jump to navigationJump to search
 
(13 intermediate revisions by 8 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 14: Line 14:
 
  to manage access control lists on file systems that support them,
 
  to manage access control lists on file systems that support them,
 
  such as ext3 or reiserfs.
 
  such as ext3 or reiserfs.
 +
 +
To enable ACL/XATTR support you must recompile coreutils.
  
 
== Dependencies ==
 
== Dependencies ==
Line 19: Line 21:
 
=== Required ===
 
=== Required ===
 
* [[Attr]]
 
* [[Attr]]
 +
 +
== Configuration Information ==
 +
 +
{{Note|Acl uses ''DIST_ROOT'' rather than the ''DESTDIR'' variable.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 24: 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 &&
 
libtoolize &&
 
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 \
 
   --mandir=/usr/share/man --datadir=/usr/share &&
 
   --mandir=/usr/share/man --datadir=/usr/share &&
  make LIBTOOL=$PWD/libtool
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  
 
Install the package
 
Install the package
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
+
  chmod -v 755 /lib/libacl.so.1.1.0
chmod 755 /lib/${LIBNAME}
 
  
 
== Multilib ==
 
== Multilib ==
Line 48: 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 &&
 
libtoolize &&
 
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 \
 
   --mandir=/usr/share/man --datadir=/usr/share &&
 
   --mandir=/usr/share/man --datadir=/usr/share &&
  make LIBTOOL=$PWD/libtool
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  
 
Install the package
 
Install the package
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
+
  chmod -v 755 /lib/libacl.so.1.1.0
chmod 755 /lib/${LIBNAME}
 
  
 
=== N32 ===
 
=== N32 ===
Line 70: 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 &&
 
libtoolize &&
 
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 \
 
   --mandir=/usr/share/man --datadir=/usr/share &&
 
   --mandir=/usr/share/man --datadir=/usr/share &&
  make LIBTOOL=$PWD/libtool
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  
 
Install the package
 
Install the package
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
+
  chmod -v 755 /lib32/libacl.so.1.1.0
chmod 755 /lib32/${LIBNAME}
 
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 92: 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 &&
 
libtoolize &&
 
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 \
 
   --mandir=/usr/share/man --datadir=/usr/share &&
 
   --mandir=/usr/share/man --datadir=/usr/share &&
  make LIBTOOL=$PWD/libtool
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  
 
Install the package
 
Install the package
  
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
+
  chmod -v 755 /lib64/libacl.so.1.1.0
chmod 755 /lib64/${LIBNAME}
 
  
 
= Contents =
 
= Contents =
Line 134: Line 108:
 
| ???
 
| ???
 
|}
 
|}
 +
 +
[[Category:General Libs]]

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 ???