WebHosting Paid by #1Payday.Loans


   The ROCK Linux project has been discontinued in 2010. Here are the old data for the historical record!

?mode=patch&uid=2006112714532128499
Open Patch: 2006112714532128499 (by daja77)
+ daja77
Votecheck 'core-strong': Missing 1 qualified vote(s) (clifford, fake, teha)
package/base/openldap/openldap.conf
Daniel Jahre:
        fixed openldap prefix to /usr to solve a runtime
        problem with acrobat reader
        send your flames to daja@rock...                

by stf
I think the lines +[ "$prefix_auto" = 1 ] && prefix="/usr" set_confopt +#sysconfdir=${sysconfdir%/openldap} could be removed and the line var_append extraconfopt ' ' "--enable-shared --enable-debug --localstatedir=/var/openldap" changed to localstatedir="$root/var/openldap" var_append extraconfopt ' ' "--enable-shared --enable-debug"

by teha
will we get some rediff?
Daniel Jahre:
        fixed openldap prefix to /usr to solve a runtime
        problem with acrobat reader
        send your flames to daja@rock...                

--- package/base/openldap/openldap.conf (Revision 39)
+++ package/base/openldap/openldap.conf (Revision 40)
@@ -22,14 +22,15 @@
 
 createdocs=0
 
-[ "$prefix_auto" = 1 ] && prefix="opt/openldap"
+[ "$prefix_auto" = 1 ] && prefix="/usr"
 set_confopt
-sysconfdir=${sysconfdir%/openldap}
+#sysconfdir=${sysconfdir%/openldap}
+sysconfdir=/etc/openldap
 
 pkginstalled tcp_wrappers && var_append extraconfopt ' ' '--enable-wrappers'
 
 # without debugging, NO log messages will be generated. none. at all. jikes.
-var_append extraconfopt ' ' "--enable-shared --enable-debug"
+var_append extraconfopt ' ' "--enable-shared --enable-debug --localstatedir=/var/openldap"
 
 if [ "$ROCKCFG_PKG_OPENLDAP_JUSTLIBS" = "1" ]; then
        var_append extraconfopt ' ' "--without-cyrus-sasl --disable-slapd \
@@ -37,7 +38,7 @@
 fi
 
 openldap_pm() {
-       chown -R openldap:openldap $root/var/opt/openldap
+       chown -R openldap:openldap $root/var/openldap
 
        install_init openldap $confdir/openldap.init
 }

[Download this patch]