qmail‎ > ‎patch‎ > ‎

panther-patch

This is a single CPU Mac OS X Panther 10.3 or Tiger 10.4 patch for
[|net]qmail-1.0[3|5].
A dual CPU machine will crash under high load.
CHUD is a custom install option with Xcode Tools, it gives you a
Hardware.prefPane to disable the second CPU.
http://www.netdevice.com/qmail/#osx
http://www.netdevice.com/qmail/patch/panther-patch
See http://cr.yp.to/qmail.html or http://qmail.org/netqmail/.
Use curl to get the patch onto your box, tab characters must be preserved.
Eben Pratt, goodrcptto at netdevice dot com


diff -ur qmail-1.03.orig/Makefile qmail-1.03/Makefile
--- qmail-1.03.orig/Makefile Mon Jun 15 06:53:16 1998
+++ qmail-1.03/Makefile Sat Jun 5 15:52:46 2004
@@ -742,6 +742,7 @@
install: \
load install.o fifo.o hier.o auto_qmail.o auto_split.o auto_uids.o \
strerr.a substdio.a open.a error.a str.a fs.a
+ mv INSTALL INSTALL.doc
./load install fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a

@@ -1734,6 +1735,7 @@
sendmail: \
load sendmail.o env.a getopt.a alloc.a substdio.a error.a str.a \
auto_qmail.o
+ mv SENDMAIL SENDMAIL.doc
./load sendmail env.a getopt.a alloc.a substdio.a error.a \
str.a auto_qmail.o

diff -ur qmail-1.03.orig/dns.c qmail-1.03/dns.c
--- qmail-1.03.orig/dns.c Mon Jun 15 06:53:16 1998
+++ qmail-1.03/dns.c Sat Jun 5 15:52:46 2004
@@ -2,6 +2,7 @@
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
+#include <nameser8_compat.h>
#include <arpa/nameser.h>
#include <resolv.h>
#include <errno.h>
diff -ur qmail-1.03.orig/hier.c qmail-1.03/hier.c
--- qmail-1.03.orig/hier.c Mon Jun 15 06:53:16 1998
+++ qmail-1.03/hier.c Sat Jun 5 15:52:46 2004
@@ -77,8 +77,8 @@

c(auto_qmail,"doc","FAQ",auto_uido,auto_gidq,0644);
c(auto_qmail,"doc","UPGRADE",auto_uido,auto_gidq,0644);
- c(auto_qmail,"doc","SENDMAIL",auto_uido,auto_gidq,0644);
- c(auto_qmail,"doc","INSTALL",auto_uido,auto_gidq,0644);
+ c(auto_qmail,"doc","SENDMAIL.doc",auto_uido,auto_gidq,0644);
+ c(auto_qmail,"doc","INSTALL.doc",auto_uido,auto_gidq,0644);
c(auto_qmail,"doc","INSTALL.alias",auto_uido,auto_gidq,0644);
c(auto_qmail,"doc","INSTALL.ctl",auto_uido,auto_gidq,0644);
c(auto_qmail,"doc","INSTALL.ids",auto_uido,auto_gidq,0644);
diff -ur qmail-1.03.orig/strerr_sys.c qmail-1.03/strerr_sys.c
--- qmail-1.03.orig/strerr_sys.c Mon Jun 15 06:53:16 1998
+++ qmail-1.03/strerr_sys.c Sat Jun 5 15:52:46 2004
@@ -1,7 +1,7 @@
#include "error.h"
#include "strerr.h"

-struct strerr strerr_sys;
+struct strerr strerr_sys = {0,0,0,0};

void strerr_sysinit()
{
Comments