diff options
author | Christopher Walker <kris240376@gmail.com> | 2013-04-23 20:48:16 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-04-28 12:29:46 -0300 |
commit | 58e49dda851dc33d215b7a822493bd43f789b82f (patch) | |
tree | d6da577a7fcd36b4fd04ff83856a0880767b4635 /system/nss-pam-ldapd | |
parent | 0a5abead0fcf0def1a230f4ae5ed323de1eac020 (diff) |
system/nss-pam-ldapd: Updated for version 0.8.12.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/nss-pam-ldapd')
-rw-r--r-- | system/nss-pam-ldapd/doinst.sh | 14 | ||||
-rw-r--r-- | system/nss-pam-ldapd/nss-pam-ldapd.SlackBuild | 6 | ||||
-rw-r--r-- | system/nss-pam-ldapd/nss-pam-ldapd.info | 6 | ||||
-rw-r--r-- | system/nss-pam-ldapd/slack-desc | 8 |
4 files changed, 22 insertions, 12 deletions
diff --git a/system/nss-pam-ldapd/doinst.sh b/system/nss-pam-ldapd/doinst.sh index 8dc76499867f8..d483abce26a14 100644 --- a/system/nss-pam-ldapd/doinst.sh +++ b/system/nss-pam-ldapd/doinst.sh @@ -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 diff --git a/system/nss-pam-ldapd/nss-pam-ldapd.SlackBuild b/system/nss-pam-ldapd/nss-pam-ldapd.SlackBuild index 4eca6cfaa2480..a91caf481c906 100644 --- a/system/nss-pam-ldapd/nss-pam-ldapd.SlackBuild +++ b/system/nss-pam-ldapd/nss-pam-ldapd.SlackBuild @@ -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 diff --git a/system/nss-pam-ldapd/nss-pam-ldapd.info b/system/nss-pam-ldapd/nss-pam-ldapd.info index 5c3727ea5372c..a5159ee2946b1 100644 --- a/system/nss-pam-ldapd/nss-pam-ldapd.info +++ b/system/nss-pam-ldapd/nss-pam-ldapd.info @@ -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="" diff --git a/system/nss-pam-ldapd/slack-desc b/system/nss-pam-ldapd/slack-desc index 049d24b2dd7e5..063fdbf3ef9fd 100644 --- a/system/nss-pam-ldapd/slack-desc +++ b/system/nss-pam-ldapd/slack-desc @@ -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------------------------------------------------------| |