aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail/files
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-07-29 02:21:59 +0800
committergarga <garga@FreeBSD.org>2006-07-29 02:21:59 +0800
commitdccc1bbd522e97d6fc0e663126dad89c3a4c5dc2 (patch)
treea51fb98dc9a419c97e7e35e9cdb3eb9d936af2bb /mail/qmail/files
parent7d4bdf0bba053cc785afebaa36c3e60bb5e379cf (diff)
downloadfreebsd-ports-gnome-dccc1bbd522e97d6fc0e663126dad89c3a4c5dc2.tar.gz
freebsd-ports-gnome-dccc1bbd522e97d6fc0e663126dad89c3a4c5dc2.tar.zst
freebsd-ports-gnome-dccc1bbd522e97d6fc0e663126dad89c3a4c5dc2.zip
- Change spamcontrol's spf patch to log when deny an email
- Move auth patches from FILESDIR to MASTER_SITE_LOCAL
Diffstat (limited to 'mail/qmail/files')
-rw-r--r--mail/qmail/files/auth.patch.patch105
-rw-r--r--mail/qmail/files/auth.patch.patch-tls90
2 files changed, 0 insertions, 195 deletions
diff --git a/mail/qmail/files/auth.patch.patch b/mail/qmail/files/auth.patch.patch
deleted file mode 100644
index bc35b45673ed..000000000000
--- a/mail/qmail/files/auth.patch.patch
+++ /dev/null
@@ -1,105 +0,0 @@
---- auth.patch.orig Mon Dec 12 09:55:27 2005
-+++ auth.patch Mon Dec 12 09:58:44 2005
-@@ -1,5 +1,5 @@
--*** Makefile.orig Mon Jun 15 05:53:16 1998
----- Makefile Fri May 10 00:31:38 2002
-+*** Makefile.orig Mon Dec 12 09:37:18 2005
-+--- Makefile Mon Dec 12 09:51:10 2005
- ***************
- *** 136,141 ****
- --- 136,145 ----
-@@ -14,52 +14,50 @@
- binm1.sh conf-qmail
- cat binm1.sh \
- ***************
--*** 1536,1547 ****
-- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
-- date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
-- open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \
--! fs.a auto_qmail.o socket.lib
-+*** 1597,1608 ****
-+ timeoutwrite.o ip.o ipme.o ipalloc.o strsalloc.o control.o constmap.o \
-+ received.o date822fmt.o now.o qmail.o spf.o dns.o cdb.a fd.a wait.a \
-+ datetime.a getln.a open.a sig.a case.a env.a stralloc.a alloc.a substdio.a \
-+! error.a str.a fs.a auto_qmail.o socket.lib dns.lib
- ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
-- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
-- received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
-- datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
--! alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat \
-- socket.lib`
-+ timeoutwrite.o ip.o ipme.o ipalloc.o strsalloc.o control.o \
-+ constmap.o received.o date822fmt.o now.o qmail.o spf.o dns.o cdb.a \
-+ fd.a wait.a datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
-+! alloc.a substdio.a error.a fs.a auto_qmail.o \
-+ str.a `cat socket.lib` `cat dns.lib`
-
- qmail-smtpd.0: \
----- 1540,1551 ----
-- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
-- date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
-- open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \
--! fs.a auto_qmail.o base64.o socket.lib
-+--- 1601,1612 ----
-+ timeoutwrite.o ip.o ipme.o ipalloc.o strsalloc.o control.o constmap.o \
-+ received.o date822fmt.o now.o qmail.o spf.o dns.o cdb.a fd.a wait.a \
-+ datetime.a getln.a open.a sig.a case.a env.a stralloc.a alloc.a substdio.a \
-+! error.a str.a fs.a auto_qmail.o base64.o socket.lib dns.lib
- ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
-- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
-- received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
-- datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
--! alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
-- socket.lib`
-+ timeoutwrite.o ip.o ipme.o ipalloc.o strsalloc.o control.o \
-+ constmap.o received.o date822fmt.o now.o qmail.o spf.o dns.o cdb.a \
-+ fd.a wait.a datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
-+! alloc.a substdio.a error.a fs.a auto_qmail.o base64.o \
-+ str.a `cat socket.lib` `cat dns.lib`
-
- qmail-smtpd.0: \
- ***************
--*** 1553,1559 ****
-+*** 1614,1620 ****
- substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \
-- error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h \
-+ error.h ipme.h ip.h ipalloc.h strsalloc.h ip.h gen_alloc.h ip.h qmail.h \
- substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \
--! exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h
-+! exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h spf.h
- ./compile qmail-smtpd.c
-
- qmail-start: \
----- 1557,1564 ----
-+--- 1618,1625 ----
- substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \
-- error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h \
-+ error.h ipme.h ip.h ipalloc.h strsalloc.h ip.h gen_alloc.h ip.h qmail.h \
- substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \
--! exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h wait.h \
--! fd.h base64.h
-+! exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h spf.h \
-+! wait.h fd.h base64.h
- ./compile qmail-smtpd.c
-
- qmail-start: \
--
--
- *** TARGETS.orig Mon Jun 15 05:53:16 1998
- --- TARGETS Fri May 10 00:31:38 2002
- ***************
-@@ -143,11 +141,11 @@
- *** qmail-smtpd.c.orig Mon Jun 15 05:53:16 1998
- --- qmail-smtpd.c Fri May 10 00:33:35 2002
- ***************
--*** 23,29 ****
----- 23,32 ----
-- #include "timeoutread.h"
-+*** 24,30 ****
-+--- 24,33 ----
- #include "timeoutwrite.h"
- #include "commands.h"
-+ #include "spf.h"
- + #include "wait.h"
- + #include "fd.h"
-
diff --git a/mail/qmail/files/auth.patch.patch-tls b/mail/qmail/files/auth.patch.patch-tls
deleted file mode 100644
index 751b0e815e93..000000000000
--- a/mail/qmail/files/auth.patch.patch-tls
+++ /dev/null
@@ -1,90 +0,0 @@
---- auth.patch.orig Mon Dec 12 12:23:49 2005
-+++ auth.patch Mon Dec 12 12:25:57 2005
-@@ -14,29 +14,31 @@
- binm1.sh conf-qmail
- cat binm1.sh \
- ***************
--*** 1536,1547 ****
-+*** 1537,1549 ****
- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
- date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
- open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \
- ! fs.a auto_qmail.o socket.lib
- ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
-+ tls.o ssl_timeoutio.o ndelay.a -L/usr/local/ssl/lib -lssl -lcrypto \
- received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
- datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
- ! alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat \
- socket.lib`
-
- qmail-smtpd.0: \
----- 1540,1551 ----
-+--- 1541,1553 ----
- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
- date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
- open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \
- ! fs.a auto_qmail.o base64.o socket.lib
- ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
- timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
-+ tls.o ssl_timeoutio.o ndelay.a -L/usr/local/ssl/lib -lssl -lcrypto \
- received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
- datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
--! alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
-+! alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
- socket.lib`
-
- qmail-smtpd.0: \
-@@ -174,30 +176,40 @@
- stralloc greeting = {0};
-
- ***************
--*** 229,235 ****
-- }
-+*** 265,272 ****
- void smtp_ehlo(arg) char *arg;
- {
--! smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
-+ smtp_greet("250-");
-+ #ifdef TLS
-+! if (!ssl) out("\r\n250-STARTTLS");
-+ #endif
-+ out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
- seenmail = 0; dohelo(arg);
-- }
-- void smtp_rset()
----- 241,255 ----
-- }
-+--- 277,300 ----
- void smtp_ehlo(arg) char *arg;
- {
--! smtp_greet("250-");
--! #ifdef AUTHCRAM
-+ smtp_greet("250-");
-++ #ifdef AUTHCRAM
-+ #ifdef TLS
-+! out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
-+! out("\r\n250-AUTH=LOGIN CRAM-MD5 PLAIN");
-+! if (!ssl) out("\r\n250-STARTTLS");
-+! #else
- ! out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
- ! out("\r\n250-AUTH=LOGIN CRAM-MD5 PLAIN");
-+! #endif
-+! #else
-+! #ifdef TLS
-+! out("\r\n250-AUTH LOGIN PLAIN");
-+! out("\r\n250-AUTH=LOGIN PLAIN");
-+! if (!ssl) out("\r\n250-STARTTLS");
- ! #else
- ! out("\r\n250-AUTH LOGIN PLAIN");
- ! out("\r\n250-AUTH=LOGIN PLAIN");
- ! #endif
--! out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
-+ #endif
-+ out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
- seenmail = 0; dohelo(arg);
-- }
-- void smtp_rset()
- ***************
- *** 394,403 ****
- --- 414,639 ----