summaryrefslogtreecommitdiffstats
path: root/base/linux-pam/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 16:43:57 +0200
committertnut <tnut at nutyx dot com>2011-10-15 16:43:57 +0200
commit81de42860125b66718cd121f0e020a7be8070381 (patch)
tree220e625b6a464dd37b2097082c762db06021b58f /base/linux-pam/Pkgfile
parent123a4cb9721e8ed50f398ec972eb3589b0e77b3d (diff)
downloadnutyx-extra-81de42860125b66718cd121f0e020a7be8070381.tar.gz
nutyx-extra-81de42860125b66718cd121f0e020a7be8070381.tar.bz2
nutyx-extra-81de42860125b66718cd121f0e020a7be8070381.tar.xz
nutyx-extra-81de42860125b66718cd121f0e020a7be8070381.zip
linux-pam dans extra
Diffstat (limited to 'base/linux-pam/Pkgfile')
-rwxr-xr-xbase/linux-pam/Pkgfile43
1 files changed, 0 insertions, 43 deletions
diff --git a/base/linux-pam/Pkgfile b/base/linux-pam/Pkgfile
deleted file mode 100755
index 1a51d9392..000000000
--- a/base/linux-pam/Pkgfile
+++ /dev/null
@@ -1,43 +0,0 @@
-# Description: Permet à l'administateur locale de choisir comment les applications identifie les utilisateurs
-# URL: http://www.kernel.org/pub/libs/pam
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on:
-# Run on:
-
-name=linux-pam
-version=1.1.3
-release=1
-source=(http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-$version.tar.bz2\
- pam.conf other)
-
-
-build() {
- mkdir -p $PKG/etc/pam.d
- install -m644 other $PKG/etc/pam.d/other
- install -m644 pam.conf $PKG/etc/pam.conf
- cd Linux-PAM-$version
- ./configure --sysconfdir=/etc \
- --libdir=/usr/lib \
- --sbindir=/lib/security \
- --enable-securedir=/lib/security \
- --docdir=/usr/share/doc/Linux-PAM-$version \
- --enable-read-both-confs \
- --with-xauth=/usr/X11R6/bin/xauth \
- --enable-fakeroot="$PKG"
- make
- make DESTDIR=$PKG install
- chmod -v 4755 $PKG/lib/security/unix_chkpwd
- mkdir -p $PKG/{sbin,usr/lib}
- mv -v $PKG/lib/security/pam_tally $PKG/sbin
-# mv -v $PKG/lib/libpam{,c,_misc}.la $PKG/usr/lib
- sed -i 's| /lib| /usr/lib|' $PKG/usr/lib/libpam_misc.la
- if [ -L $PKG/lib/libpam.so ]; then
- for LINK in libpam{,c,_misc}.so; do
- ln -v -sf ../../lib/$(readlink /lib/${LINK}) \
- $PKG/usr/lib/${LINK} &&
- rm -v $PKG/lib/${LINK}
- done
- fi
-}
-