瀏覽代碼

Added admserv-conf-admpw.patch to fix the use of admpw for basic auth in the actual config file

Rich Megginson 20 年之前
父節點
當前提交
20b37715c9
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      ldapserver.spec.tmpl

+ 6 - 2
ldapserver.spec.tmpl

@@ -139,10 +139,14 @@ if [ "$1" -gt 1 ] ; then
     if [ -f $RPM_INSTALL_PREFIX/setup/adminserver-httpd-moduleorder.patch ] ; then
         patch -s -f -d $RPM_INSTALL_PREFIX -p0 < $RPM_INSTALL_PREFIX/setup/adminserver-httpd-moduleorder.patch > /dev/null 2>&1
     fi
-# patch file to fix use of admpw for basic auth
+# patch file to fix use of admpw for basic auth in the template file
     if [ -f $RPM_INSTALL_PREFIX/setup/admserv-conf-tmpl.patch ] ; then
         patch -s -f -d $RPM_INSTALL_PREFIX -p0 < $RPM_INSTALL_PREFIX/setup/admserv-conf-tmpl.patch > /dev/null 2>&1
     fi
+# patch file to fix use of admpw for basic auth in the real config file
+    if [ -f $RPM_INSTALL_PREFIX/setup/admserv-conf-admpw.patch ] ; then
+        patch -s -f -d $RPM_INSTALL_PREFIX -p0 < $RPM_INSTALL_PREFIX/setup/admserv-conf-admpw.patch > /dev/null 2>&1
+    fi
 # fix up file permissions
     testfile=$RPM_INSTALL_PREFIX/admin-serv/config/nss.conf
     if [ ! -f $testfile ] ; then
@@ -177,7 +181,7 @@ fi
 
 %changelog
 * Wed Mar  1 2006 Rich Megginson <[email protected]> - 1.0.2-1
-- Added admserv-conf-tmpl.patch to fix the use of admpw for basic auth
+- Added admserv-conf-tmpl.patch and admserv-conf-admpw.patch to fix the use of admpw for basic auth
 
 * Wed Feb 22 2006 Rich Megginson <[email protected]> - 1.0.2-1
 - Add patch to fix admin server httpd module load order; you