summaryrefslogtreecommitdiffstats
path: root/mail/nullmailer
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2003-04-16 12:46:15 +0000
committerclive <clive@FreeBSD.org>2003-04-16 12:46:15 +0000
commitab74a4b03f0d26a8c5ef07f993241de33e0be2cb (patch)
treedf59c4c511d59c4402e0ea412ca7f2f606c14908 /mail/nullmailer
parent4948646f6e356c26e03c64b8057bfb059c4935d1 (diff)
downloadFreeBSD-ports-ab74a4b03f0d26a8c5ef07f993241de33e0be2cb.zip
FreeBSD-ports-ab74a4b03f0d26a8c5ef07f993241de33e0be2cb.tar.gz
Do rm(1) before cvs(1) rm next time !!
Diffstat (limited to 'mail/nullmailer')
-rw-r--r--mail/nullmailer/files/patch-hostname.cc20
-rw-r--r--mail/nullmailer/files/patch-send.cc20
-rw-r--r--mail/nullmailer/files/patch-smtp.cc14
3 files changed, 0 insertions, 54 deletions
diff --git a/mail/nullmailer/files/patch-hostname.cc b/mail/nullmailer/files/patch-hostname.cc
deleted file mode 100644
index d4c8f44..0000000
--- a/mail/nullmailer/files/patch-hostname.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/hostname.cc.orig Sun Aug 25 00:04:39 2002
-+++ lib/hostname.cc Sun Aug 25 00:06:23 2002
-@@ -22,6 +22,7 @@
- #include "config.h"
- #include "mystring/mystring.h"
- #include <unistd.h>
-+#include <string.h>
- #include <sys/utsname.h>
-
- static mystring* hostname_cache = 0;
-@@ -30,7 +31,9 @@
- #ifdef HAVE_GETDOMAINNAME
- // Re-declare the prototype here, as some systems don't declare it
- // in a predictable header file.
-+#if __FreeBSD_version > 500034
- extern "C" int getdomainname();
-+#endif
- #endif
-
- static void getnames()
diff --git a/mail/nullmailer/files/patch-send.cc b/mail/nullmailer/files/patch-send.cc
deleted file mode 100644
index 3329b8d..0000000
--- a/mail/nullmailer/files/patch-send.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/send.cc.orig Sun Aug 25 00:09:37 2002
-+++ src/send.cc Sun Aug 25 00:10:05 2002
-@@ -30,6 +30,7 @@
- #include <sys/types.h>
- #include <sys/wait.h>
- #include <unistd.h>
-+#include <stdlib.h>
- #include "configio.h"
- #include "defines.h"
- #include "errcodes.h"
-@@ -233,8 +234,7 @@
- << itoa(files.count()) << " message(s) in queue." << endl;
- for(rlist::iter remote(remotes); remote; remote++) {
- for(slist::iter file(files); file; files.remove(file)) {
-- if(!send_one(*file, *remote))
-- break;
-+ send_one(*file, *remote);
- }
- }
- fout << "Delivery complete, "
diff --git a/mail/nullmailer/files/patch-smtp.cc b/mail/nullmailer/files/patch-smtp.cc
deleted file mode 100644
index 55a0cfb..0000000
--- a/mail/nullmailer/files/patch-smtp.cc
+++ /dev/null
@@ -1,14 +0,0 @@
---- protocols/smtp.cc
-+++ protocols/smtp.cc
-@@ -120,9 +120,8 @@
- docmd("DATA", 300);
- mystring tmp;
- while(msg->getline(tmp)) {
-- if((tmp[0] == '.' && tmp[1] == 0 && !(out << ".")) ||
-- !(out << tmp << "\r\n"))
-- exit(ERR_MSG_WRITE);
-+ if(tmp[0] == '.' && !(out << ".")) exit(ERR_MSG_WRITE);
-+ if(!(out << tmp << "\r\n")) exit(ERR_MSG_WRITE);
- }
- docmd(".", 200);
- }
OpenPOWER on IntegriCloud