Browse Source

fixed openldap to install the .init (#109)

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1354 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
3ae968c0ef
2 changed files with 7 additions and 2 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +6
    -2
      package/mnemoc/openldap/openldap.conf

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -9,6 +9,7 @@
- Stefan Paletta: fix mkpkg and fl_stparse
- Alejandro Mery: updates to mnemoc incl. bohem-gc/mono fixes
- Clifford Wolf: fixed strace useage in Build-Pkg
- fixed openldap to install the .init (#109)
*) 2003-09-07 (2.0.0-rc1 - 2.0.0-rc2)

+ 6
- 2
package/mnemoc/openldap/openldap.conf

@ -20,6 +20,8 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
createdocs=0
[ "$prefix_auto" = 1 ] && prefix="opt/openldap"
set_confopt
sysconfdir=${sysconfdir%/openldap}
@ -28,8 +30,10 @@ if [ -f $root/var/adm/flists/tcp_wrappers ]; then
var_append extraconfopt ' ' '--enable-wrappers'
fi
var_append extraconfopt ' ' "--enable-shared"
if [ "$ROCKCFG_PKG_OPENLDAP_JUSTLIBS" = "1" ]; then
var_append extraconfopt ' ' "--without-cyrus-sasl --disable-slapd --disable-slurpd"
var_append extraconfopt ' ' "--without-cyrus-sasl --disable-slapd \
--disable-slurpd"
fi
hook_add premake 3 'eval $MAKE depend'
@ -38,7 +42,7 @@ hook_add premake 3 'eval $MAKE depend'
# but not forcing them to use it.
hook_add postmake 3 "echo \"pkg_openldap_prefix=/$prefix\" \
> $root/var/adm/parse-config/openldap"
hook_add postmake 4 "install_init openldap $confdir/openldap.init"
createdocs=0
#export CPPFLAGS="$CPPFLAGS -I/usr/include/db4"

Loading…
Cancel
Save