Hi.

Attached are some simple patches that removes all db3 requirements from the 
apache2 core. At least, please consider using them...

It builds and installs here at home on my ML9.0.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
--- openldap.spec	2002-11-04 19:43:00.000000000 +0100
+++ openldap.spec.oden	2002-12-31 02:55:00.000000000 +0100
@@ -1,6 +1,6 @@
 %define name	openldap
 %define version	2.0.27
-%define release	1mdk
+%define release	2mdk
 
 %define major 		2
 %define migtools_ver 	40
@@ -85,7 +85,7 @@
 %endif
 BuildRequires:	openssl-devel, perl, autoconf
 #BuildRequires: libgdbm1-devel
-BuildRequires: 	db3-devel, libunixODBC2-devel, libltdl-devel, unixODBC-devel
+BuildRequires: 	libdb4.0-devel libunixODBC2-devel libltdl-devel unixODBC-devel
 BuildRequires:  ncurses-devel >= 5.0, tcp_wrappers-devel
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 Requires: 	libldap%{major}, shadow-utils, setup >= 2.2.0-6mdk
@@ -482,7 +482,7 @@
 # talk about gdbm to ldif conversion here instead of the initscript
 if ls /var/lib/ldap/*.gdbm > /dev/null 2>&1 || :  ; then
   echo "To convert a gdbm DB to a ldif file, you can use the utility"
-  echo "%{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 3.x)..."
+  echo "%{_sbindir}/slapcat-gdbm (actually openldap uses Berkeley DB 4.x)..."
 fi
 
 pushd %{_sysconfdir}/openldap/ > /dev/null
@@ -630,8 +630,10 @@
 %{_libdir}/openldap/back_passwd*.so.*
 %{_libdir}/openldap/back_passwd*.so
 
-
 %changelog
+* Tue Dec 31 2002 Oden Eriksson <[EMAIL PROTECTED]> 2.0.27-2mdk
+- built against db4
+
 * Mon Nov  4 2002 Vincent Danen <[EMAIL PROTECTED]> 2.0.27-1mdk
 - 2.0.27
 - start slurpd as user ldap, not root (re: bgmilne)
--- cyrus-sasl.spec	2002-10-11 07:49:00.000000000 +0200
+++ cyrus-sasl.spec.oden	2002-12-31 02:47:00.000000000 +0100
@@ -3,7 +3,7 @@
 Summary: SASL is the Simple Authentication and Security Layer.
 Name: cyrus-sasl
 Version: 1.5.27
-Release: 6mdk
+Release: 7mdk
 Source0: %{name}-%{version}.tar.bz2
 Source1:        saslauthd.init
 Source2:        saslauthd.sysconfig
@@ -24,8 +24,7 @@
 Requires: libsasl%{major}
 BuildRequires:  autoconf
 BuildRequires:  automake
-#BuildRequires:  db3-devel >= 3.1.17-8
-BuildRequires:  libdb3.3-devel
+BuildRequires:  libdb4.0-devel
 BuildRequires:  pam-devel
 BuildRequires:  openssl-devel >= 0.9.6a
 BuildRequires:  libtool >= 1.4
@@ -154,11 +153,13 @@
 #%patch6 -p0 -b .mdk
 %patch7 -p1
 
-#rm -f config/missing
-#libtoolize --force 
-#aclocal -I cmulocal
-#autoheader
-#automake -a
+#export WANT_AUTOCONF_2_5=1
+
+rm -f config/missing
+libtoolize --force
+aclocal -I cmulocal
+autoheader
+automake -a
 autoconf
 
 %build
@@ -298,6 +299,9 @@
 %{_mandir}/man3/*
  
 %changelog
+* Tue Dec 31 2002 Oden Eriksson <[EMAIL PROTECTED]> 1.5.27-7mdk
+- built against db4
+
 * Fri Oct 11 2002 Laurent MONTEL <[EMAIL PROTECTED]> 1.5.27-6mdk
 - Fix libsasl.la
 
--- pam.spec	2002-12-12 10:09:00.000000000 +0100
+++ pam.spec.oden	2002-12-31 03:01:00.000000000 +0100
@@ -3,7 +3,7 @@
 Summary: A security tool which provides authentication for applications.
 Name: pam
 Version: 0.75
-Release: 29mdk
+Release: 30mdk
 License: GPL or BSD
 Group: System/Libraries
 Source: ftp.us.kernel.org:/pub/linux/libs/pam/pre/library/Linux-PAM-%{version}.tar.bz2
@@ -77,7 +77,7 @@
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 Requires: cracklib, cracklib-dicts, pwdb >= 0.54-2, initscripts >= 3.94
-BuildRequires: bison cracklib-devel db2-devel db3-devel flex glib-devel pwdb-devel
+BuildRequires: bison cracklib-devel libdb4.0-devel flex glib-devel pwdb-devel
 BuildRequires: linuxdoc-tools
 Obsoletes: pamconfig
 Provides: pamconfig
@@ -275,6 +275,9 @@
 %doc doc/html doc/ps doc/txts doc/specs/rfc86.0.txt Copyright
 
 %changelog
+* Tue Dec 31 2002 Oden Eriksson <[EMAIL PROTECTED]> 0.75-30mdk
+- built against db4
+
 * Thu Dec 12 2002 Frederic Crozat <[EMAIL PROTECTED]> 0.75-29mdk
 - Patch509: don't complain when / is owned by root.adm
 

Reply via email to