diff options
author | piernov <piernov@piernov.org> | 2012-03-05 23:52:27 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-03-05 23:52:27 +0100 |
commit | 921e8801d6f30dcad8ab4a6fffa5a783fe8373b1 (patch) | |
tree | 7340f9c21956d7839f099e98c993e0fdd5cd3c49 /linux-pam/Pkgfile | |
parent | be59adf003db069a3f030ac57f83b397aad65e8d (diff) | |
download | nutyx-pakxe-921e8801d6f30dcad8ab4a6fffa5a783fe8373b1.tar.gz nutyx-pakxe-921e8801d6f30dcad8ab4a6fffa5a783fe8373b1.tar.bz2 nutyx-pakxe-921e8801d6f30dcad8ab4a6fffa5a783fe8373b1.tar.xz nutyx-pakxe-921e8801d6f30dcad8ab4a6fffa5a783fe8373b1.zip |
linux-pam nutyx-extra → nutyx-pakxe
Diffstat (limited to 'linux-pam/Pkgfile')
-rwxr-xr-x | linux-pam/Pkgfile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/linux-pam/Pkgfile b/linux-pam/Pkgfile new file mode 100755 index 000000000..298bb2374 --- /dev/null +++ b/linux-pam/Pkgfile @@ -0,0 +1,43 @@ +# 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.5 +release=2 +source=(https://fedorahosted.org/releases/l/i/linux-pam/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 \ + --disable-nis + 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 +} |