Difference between revisions of "Acl"

From CBLFS
Jump to navigationJump to search
 
(6 intermediate revisions by 4 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 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 ==
Line 43: 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 60: 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 68: 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 85: 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 91: 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 108: 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 114: 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 131: 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 13: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 ???
Retrieved from "?title=Acl&oldid=21500"