Browse Source

Daniel Jahre:


			
			
				rocklinux
			
			
		
Daniel Jahre 19 years ago
parent
commit
7b70acaf1d
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      package/base/openldap/openldap.conf

+ 3
- 7
package/base/openldap/openldap.conf

@ -22,9 +22,7 @@
createdocs=0
[ "$prefix_auto" = 1 ] && prefix="opt/openldap"
set_confopt
sysconfdir=${sysconfdir%/openldap}
localstatedir=$root/var/openldap
pkginstalled tcp_wrappers && var_append extraconfopt ' ' '--enable-wrappers'
@ -37,7 +35,8 @@ if [ "$ROCKCFG_PKG_OPENLDAP_JUSTLIBS" = "1" ]; then
fi
openldap_pm() {
chown -R openldap:openldap $root/var/opt/openldap
mkdir -p $localstatedir
chown -R openldap:openldap $localstatedir
install_init openldap $confdir/openldap.init
}
@ -49,6 +48,3 @@ hook_add premake 3 'eval $MAKE depend'
hook_add postmake 3 "echo \"pkg_openldap_prefix=/$prefix\" \
> $root/var/adm/parse-config/openldap"
hook_add postmake 4 openldap_pm
export CPPFLAGS="$CPPFLAGS -I/usr/include/db42"

Loading…
Cancel
Save