mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/nss-pam-ldapd: Updated for version 0.8.12.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
0a5abead0f
commit
58e49dda85
4 changed files with 22 additions and 12 deletions
|
@ -10,5 +10,17 @@ config() {
|
|||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
preserve_perms() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
if [ -e $OLD ]; then
|
||||
cp -a $OLD ${NEW}.incoming
|
||||
cat $NEW > ${NEW}.incoming
|
||||
mv ${NEW}.incoming $NEW
|
||||
fi
|
||||
config $NEW
|
||||
}
|
||||
|
||||
config etc/nslcd.conf.new
|
||||
config etc/rc.d/rc.nss-pam-ldapd.new
|
||||
preserve_perms etc/rc.d/rc.nss-pam-ldapd.new
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for nss-pam-ldapd
|
||||
|
||||
# Copyright (c) 2009-2011 Chris Walker <kris240376@gmail.com>
|
||||
# Copyright (c) 2009-2013 Christopher Walker <kris240376@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -29,16 +29,14 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=nss-pam-ldapd
|
||||
VERSION=${VERSION:-0.7.15}
|
||||
VERSION=${VERSION:-0.8.12}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="nss-pam-ldapd"
|
||||
VERSION="0.7.15"
|
||||
VERSION="0.8.12"
|
||||
HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/"
|
||||
DOWNLOAD="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.7.15.tar.gz"
|
||||
MD5SUM="9e12518be32da11655c49c7dabb40972"
|
||||
DOWNLOAD="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.8.12.tar.gz"
|
||||
MD5SUM="83121b0a536e763a9c0e3eec66ab2ef8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
|
|
Loading…
Reference in a new issue