n/openldap: Upgraded to openldap-2.4.21.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent 516d05b9cf
commit a69b24253f
  1. 1
      n/openldap/openldap-2.3.43.tar.bz2.sha1
  2. 1
      n/openldap/openldap-2.4.21.tar.xz.sha1
  3. 13
      n/openldap/openldap.SlackBuild
  4. 18
      n/openldap/rc.openldap

@ -1 +0,0 @@
b75360940a07291955c9015bda11b1464cf70fce openldap-2.3.43.tar.bz2

@ -0,0 +1 @@
27668407aa13dd4718995f598697fe54ba5e5f09 openldap-2.4.21.tar.xz

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009 Damien Goutte-Gattat
# Copyright (C) 2009,2010 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,14 +28,14 @@
# Source package infos
NAMESRC=${NAMESRC:-openldap}
VERSION=${VERSION:-2.3.43}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/source/n/openldap-client/$ARCHIVE}
VERSION=${VERSION:-2.4.21}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-13.1/source/n/openldap-client/$ARCHIVE}
# Built package infos
NAMEPKG=${NAMEPKG:-openldap}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-3}
EXT=${EXT:-txz}
@ -93,6 +93,7 @@ CXXFLAGS=$CPUOPT \
--libdir=/usr/lib$LIBDIRSUFFIX \
--localstatedir=/var/lib \
--sysconfdir=/etc \
--mandir=/usr/man \
--with-cyrus-sasl \
--with-tls \
--with-readline \

@ -2,29 +2,19 @@
PIDFILE=/var/lib/openldap-data/slapd.pid
start()
{
/usr/libexec/slapd -u ldap -g ldap
}
stop()
{
[ -f $PIDFILE ] && kill -INT `cat $PIDFILE`
}
case "$1" in
start)
start
/usr/libexec/slapd -u ldap -g ldap
;;
stop)
stop
[ -f $PIDFILE ] && kill -INT `cat $PIDFILE`
;;
restart)
stop
$0 stop
sleep 2
start
$0 start
;;
*)

Loading…
Cancel
Save