devel# make patch
You may use the following build options:
WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER
(default NUMBER=509)
set this to a value reasonable for
your system if you use the patch
===> Vulnerability check disabled, database not found
===> Found saved configuration for qmail-1.03_5
===> Extracting for qmail-1.03_5
=> MD5 Checksum OK for qmail/qmail-1.03.tar.gz.
=> SHA256 Checksum OK for qmail/qmail-1.03.tar.gz.
=> MD5 Checksum OK for qmail/qmail-smtpd-auth-0.31.tar.gz.
=> SHA256 Checksum OK for qmail/qmail-smtpd-auth-0.31.tar.gz.
=> MD5 Checksum OK for qmail/qmail-smtpd-auth-close3.patch.
=> SHA256 Checksum OK for qmail/qmail-smtpd-auth-close3.patch.
=> MD5 Checksum OK for qmail/auth.patch.diff.
=> SHA256 Checksum OK for qmail/auth.patch.diff.
=> MD5 Checksum OK for qmail/ext_todo-20030105+big-todo.103.patch.
=> SHA256 Checksum OK for qmail/ext_todo-20030105+big-todo.103.patch.
=> MD5 Checksum OK for qmail/qmail-queue-custom-error.patch.
=> SHA256 Checksum OK for qmail/qmail-queue-custom-error.patch.
=> MD5 Checksum OK for qmail/qmail-103.patch.
=> SHA256 Checksum OK for qmail/qmail-103.patch.
=> MD5 Checksum OK for qmail/sendmail-flagf.patch.
=> SHA256 Checksum OK for qmail/sendmail-flagf.patch.
=> MD5 Checksum OK for qmail/patch-qmail-1.03-rfc2821.diff.
=> SHA256 Checksum OK for qmail/patch-qmail-1.03-rfc2821.diff.
=> MD5 Checksum OK for qmail/qmail-maildir++.patch.
=> SHA256 Checksum OK for qmail/qmail-maildir++.patch.
=> MD5 Checksum OK for qmail/qmail-spf-rc5.patch.
=> SHA256 Checksum OK for qmail/qmail-spf-rc5.patch.
=> MD5 Checksum OK for qmail/ext_todo-20030105_spf.patch.
=> SHA256 Checksum OK for qmail/ext_todo-20030105_spf.patch.
=> MD5 Checksum OK for qmail/qmailqueue-patch.
=> SHA256 Checksum OK for qmail/qmailqueue-patch.
=> MD5 Checksum OK for qmail/big-todo.103.patch.
=> SHA256 Checksum OK for qmail/big-todo.103.patch.
=> MD5 Checksum OK for qmail/big-concurrency.patch.
=> SHA256 Checksum OK for qmail/big-concurrency.patch.
=> MD5 Checksum OK for qmail/outgoingip.patch.
=> SHA256 Checksum OK for qmail/outgoingip.patch.
=> MD5 Checksum OK for qmail/qmail-date-localtime.patch.
=> SHA256 Checksum OK for qmail/qmail-date-localtime.patch.
=> MD5 Checksum OK for qmail/tarpit.patch.
=> SHA256 Checksum OK for qmail/tarpit.patch.
===> Patching for qmail-1.03_5
===> Applying distribution patches for qmail-1.03_5
===> Applying FreeBSD patches for qmail-1.03_5
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- auth.patch.orig Mon Dec 12 09:55:27 2005
|+++ auth.patch Mon Dec 12 09:58:44 2005
--------------------------
Patching file auth.patch using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 14.
Hunk #3 succeeded at 141.
done
Hmm... Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** Makefile.orig Mon Dec 12 09:37:18 2005
|--- Makefile Mon Dec 12 09:51:10 2005
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 138 (offset 2 lines).
Hunk #2 succeeded at 1597 (offset -4 lines).
Hunk #3 succeeded at 1620 (offset 2 lines).
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** TARGETS.orig Mon Jun 15 05:53:16 1998
|--- TARGETS Fri May 10 00:31:38 2002
--------------------------
Patching file TARGETS using Plan A...
Hunk #1 succeeded at 266 (offset 16 lines).
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|
|
|*** qmail-smtpd.8.orig Mon Jun 15 05:53:16 1998
|--- qmail-smtpd.8 Fri May 10 00:31:38 2002
--------------------------
Patching file qmail-smtpd.8 using Plan A...
Hunk #1 succeeded at 3.
Hunk #2 succeeded at 28.
Hunk #3 succeeded at 239 (offset 35 lines).
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|
|
|*** qmail-smtpd.c.orig Mon Jun 15 05:53:16 1998
|--- qmail-smtpd.c Fri May 10 00:33:35 2002
--------------------------
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 64 with fuzz 1 (offset 2 lines).
Hunk #3 succeeded at 271 (offset 30 lines).
Hunk #4 succeeded at 497 (offset 83 lines).
Hunk #5 succeeded at 674 (offset 30 lines).
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- qmail-smtpd.c.orig Sat Jan 18 09:13:50 2003
|+++ qmail-smtpd.c Sat Jan 18 19:51:09 2003
--------------------------
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 572 (offset 113 lines).
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ../qmail-1.03/qmail-todo.c Thu Aug 10 13:06:21 2006
|+++ qmail-todo.c Thu Aug 10 13:06:49 2006
--------------------------
Patching file qmail-todo.c using Plan A...
Hunk #1 succeeded at 82.
Hunk #2 succeeded at 348.
Hunk #3 succeeded at 358.
Hunk #4 succeeded at 368.
Hunk #5 succeeded at 384.
Hunk #6 succeeded at 397.
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|WARNING, NEW BEHAVIOUR: The patch is using descriptor 4 instead of
|STDERR now!
|
|Adds the possibility for a qmail-queue-replacement to offer custom
|error (=bounce) messages.
|
|You have to write the error message to filedescriptor 4 and exit 82,
|in order to use the custom message. Format of the message:
|
|Dthis is a custom fatal error message
|Zthis is a custom temporary failure message
|
|Thanks to Richard Lyons <frob-qmail webcentral.com.au> for spotting a
|wrong errstr declaration.
|
|Thanks to Jeremy Hinton for noting that I forget to include the patch to
|qmail.h
|
|This patch has been made by Flavio Curti <fcu-software at no-way.org> and is
|provided AS IS. Do with it as you wish, I'm not responsible for anything that
|breaks because of this patch.
|
|EXAMPLES
|
|Perl:
|open(FD,">&4");
|print FD "Ztemporary failure message";
|close(FD);
|exit(82);
|
|Shell:
|echo -n "Zpermanent failure after data" >&4
|exit 82;
|
|C (non-djb-style):
|#include <stdio.h>
|#include <unistd.h>
|#include <sys/types.h>
|
|char err[] = "Zpermanently refusing";
|
|int main() {
| write(4,err,(strlen(err)+1));
| exit(82);
|}
|
|--- qmail.c 1998-06-15 12:53:16.000000000 +0200
|+++ ../../qmail-1.03/qmail.c 2004-10-13 22:35:37.000000000 +0200
--------------------------
Patching file qmail.c using Plan A...
Hunk #1 failed at 14.
Hunk #2 succeeded at 56 (offset 11 lines).
Hunk #3 succeeded at 104 (offset 11 lines).
Hunk #4 succeeded at 152 (offset 11 lines).
1 out of 4 hunks failed--saving rejects to qmail.c.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- qmail.h 1998-06-15 12:53:16.000000000 +0200
|+++ ../../qmail-1.03/qmail.h 2004-05-26 14:48:23.000000000 +0200
--------------------------
Patching file qmail.h using Plan A...
Hunk #1 succeeded at 8.
done
*** Error code 1
Stop in /usr/ports/mail/qmail.
*** Error code 1
Stop in /usr/ports/mail/qmail.
devel#