From 3ae968c0ef76ee839e0d669bdf639884cd4a7f20 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Tue, 9 Sep 2003 20:28:37 +0000 Subject: [PATCH] fixed openldap to install the .init (#109) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1354 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 1 + package/mnemoc/openldap/openldap.conf | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 656cdbc19..8bf164173 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/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) diff --git a/package/mnemoc/openldap/openldap.conf b/package/mnemoc/openldap/openldap.conf index 5a33d15eb..0823f9ac2 100644 --- a/package/mnemoc/openldap/openldap.conf +++ b/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"