On Mondayen den 6 May 2002 08.05, Alexander Skwar wrote:
> �Jean-Michel Dault� sagte am 2002-05-05 um 20:01:37 -0400 :
> > There was a: "BuildRequires:  smtpdaemon", is it still in the SPEC?
> >
> > It should compile with either sendmail or postfix or qmail...
>
> Sorry, I meant, that there was no /usr/sbin/sendmail ;)

Only:

"sendmail_path  -t -i   -t -i "

in phpinfo() ?

Hmm..., I seem to have the same problem. I'm building the php with "rpm -bb 
php.spec" and it seems to pick up the sendmail path in config_vars.mk:

PROG_SENDMAIL = /usr/sbin/sendmail

It shows ok in phpinfo()

I then removed the software providing "/usr/sbin/sendmail", and used the 
attached patch with the same result in phpinfo(). Will this patch solve the 
problem and also perhaps enable us to remove the "BuildRequires:  smtpdaemon" 
?

-- 
Regards // Oden Eriksson
--- php.spec	2002-05-06 09:14:57.000000000 -0400
+++ php.spec.oden	2002-05-06 09:26:16.000000000 -0400
@@ -6,7 +6,7 @@
 Summary:	The PHP4 scripting language
 Name:		php
 Version:	4.2.0
-Release:	1mdk
+Release:	2mdk
 Group:		Development/Other
 URL:		http://www.php.net
 Source0:	http://www.php.net/distributions/php-%{version}.tar.bz2
@@ -149,6 +149,9 @@
 EXTENSION_DIR="/usr/lib/php/extensions"
 export EXTENSION_DIR
 
+PROG_SENDMAIL="/usr/sbin/sendmail"
+export PROG_SENDMAIL
+
 # extentions hack :)
 echo "#define EXTERNAL_MANDRAKE_MODULES \"%{external_modules}\"" >> ext/standard/info.h
 
@@ -292,6 +295,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Mon May  6 2002 Oden Eriksson <[EMAIL PROTECTED]> 4.2.0-2mdk
+- force mail() inclusion
+
 * Mon Apr 29 2002 Christian Belisle <[EMAIL PROTECTED]> 4.2.0-1mdk
 - updated by Oden Eriksson <[EMAIL PROTECTED]> :
 	- new Source6

Reply via email to