summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2002-04-18 12:20:20 +0000
committersheldonh <sheldonh@FreeBSD.org>2002-04-18 12:20:20 +0000
commitc0a25cb0d441ac5692e2a3d98779b0d5c09a88f8 (patch)
tree47ab2868d6f694b7eb6abc9b64e047eef4cb294d
parent1681330b0e4e6cd8d53791172312c9ea8dea2389 (diff)
downloadFreeBSD-ports-c0a25cb0d441ac5692e2a3d98779b0d5c09a88f8.zip
FreeBSD-ports-c0a25cb0d441ac5692e2a3d98779b0d5c09a88f8.tar.gz
Update to exim-3.36:
* Incorporates some patches. * Fix pretty obscure queue handling bug. * Update exim-4 spool file format forward-compatibility.
-rw-r--r--mail/exim-old/Makefile5
-rw-r--r--mail/exim-old/distinfo2
-rw-r--r--mail/exim-old/files/patch-src::expand.c15
-rw-r--r--mail/exim-old/files/patch-src::filter.c62
-rw-r--r--mail/exim/Makefile5
-rw-r--r--mail/exim/distinfo2
-rw-r--r--mail/exim/files/patch-src::expand.c15
-rw-r--r--mail/exim/files/patch-src::filter.c62
8 files changed, 6 insertions, 162 deletions
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index 3c4a3b6..9aff424 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= exim
-PORTVERSION= 3.35
-PORTREVISION= 1
+PORTVERSION= 3.36
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
http://www.exim.org/ftp/exim3/ \
ftp://ftp.is.co.za/networking/mail/transport/exim/exim3/
-DISTFILES= exim-3.35.tar.bz2 exim-texinfo-3.30.tar.bz2
+DISTFILES= exim-3.36.tar.bz2 exim-texinfo-3.30.tar.bz2
MAINTAINER= sheldonh@FreeBSD.org
diff --git a/mail/exim-old/distinfo b/mail/exim-old/distinfo
index 9dfbaee..fa9420f 100644
--- a/mail/exim-old/distinfo
+++ b/mail/exim-old/distinfo
@@ -1,2 +1,2 @@
-MD5 (exim-3.35.tar.bz2) = dd1600dceb36e7b4295958446b209090
+MD5 (exim-3.36.tar.bz2) = a18cbe15a2973714fe1aa68dffad63c4
MD5 (exim-texinfo-3.30.tar.bz2) = 6400cc7988036991b6bbe7ed9b4d9eeb
diff --git a/mail/exim-old/files/patch-src::expand.c b/mail/exim-old/files/patch-src::expand.c
deleted file mode 100644
index 60de460..0000000
--- a/mail/exim-old/files/patch-src::expand.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/expand.c.orig Tue Feb 19 12:10:43 2002
-+++ src/expand.c Wed Apr 3 18:11:56 2002
-@@ -572,10 +572,9 @@
- lseek(deliver_datafile, start_offset, SEEK_SET);
- len = read(deliver_datafile, body, len);
- if (len >= 0) body[len] = 0;
-- while (*body != 0)
-+ while (len > 0)
- {
-- if (*body == '\n') *body = ' ';
-- body++;
-+ if (body[--len] == '\n' || body[len] == 0) body[len] = ' ';
- }
- }
- return (*ss == NULL)? "" : *ss;
diff --git a/mail/exim-old/files/patch-src::filter.c b/mail/exim-old/files/patch-src::filter.c
deleted file mode 100644
index 8e6e040..0000000
--- a/mail/exim-old/files/patch-src::filter.c
+++ /dev/null
@@ -1,62 +0,0 @@
---- src/filter.c.orig Tue Feb 19 12:10:43 2002
-+++ src/filter.c Wed Apr 3 18:11:56 2002
-@@ -2566,12 +2566,12 @@
- BOOL
- filter_runtest(int fd, BOOL is_system, BOOL dot_ended)
- {
--int rc, body_len, action, header_size;
-+int rc, body_len, body_end_len, action, header_size;
- register int ch;
- BOOL yield, delivered;
- struct stat statbuf;
- address_item *generated = NULL;
--char *body, *error, *filebuf, *s;
-+char *error, *filebuf, *s;
-
- /* Read the filter file into store as will be done by the director
- in a real case. */
-@@ -2653,7 +2653,7 @@
- function as efficient as possible. Handling message_body_end is somewhat more
- tedious. Pile it all into a circular buffer and sort out at the end. */
-
--message_body = body = store_malloc(message_body_visible + 1);
-+message_body = store_malloc(message_body_visible + 1);
- message_body_end = store_malloc(message_body_visible + 1);
- s = message_body_end;
- body_len = 0;
-@@ -2729,24 +2729,25 @@
- memcpy(temp, message_body_end, below);
- memmove(message_body_end, s+1, above);
- memcpy(message_body_end + above, temp, below);
-- message_body_end[message_body_visible] = 0;
-+ s = message_body_end + message_body_visible;
- }
- }
--else *s = 0;
-
--/* Convert newlines in the body variables to spaces */
-+*s = 0;
-+body_end_len = s - message_body_end;
-
--while (*body != 0)
-+/* Convert newlines and nulls in the body variables to spaces */
-+while (body_len > 0)
- {
-- if (*body == '\n') *body = ' ';
-- body++;
-+ if (message_body[--body_len] == '\n' || message_body[body_len] == 0)
-+ message_body[body_len] = ' ';
- }
-
--body = message_body_end;
--while (*body != 0)
-+while (body_end_len > 0)
- {
-- if (*body == '\n') *body = ' ';
-- body++;
-+ if (message_body_end[--body_end_len] == '\n' ||
-+ message_body_end[body_end_len] == 0)
-+ message_body_end[body_end_len] = ' ';
- }
-
- /* Now pass the filter file to the function that interprets it. Because
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 3c4a3b6..9aff424 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= exim
-PORTVERSION= 3.35
-PORTREVISION= 1
+PORTVERSION= 3.36
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
http://www.exim.org/ftp/exim3/ \
ftp://ftp.is.co.za/networking/mail/transport/exim/exim3/
-DISTFILES= exim-3.35.tar.bz2 exim-texinfo-3.30.tar.bz2
+DISTFILES= exim-3.36.tar.bz2 exim-texinfo-3.30.tar.bz2
MAINTAINER= sheldonh@FreeBSD.org
diff --git a/mail/exim/distinfo b/mail/exim/distinfo
index 9dfbaee..fa9420f 100644
--- a/mail/exim/distinfo
+++ b/mail/exim/distinfo
@@ -1,2 +1,2 @@
-MD5 (exim-3.35.tar.bz2) = dd1600dceb36e7b4295958446b209090
+MD5 (exim-3.36.tar.bz2) = a18cbe15a2973714fe1aa68dffad63c4
MD5 (exim-texinfo-3.30.tar.bz2) = 6400cc7988036991b6bbe7ed9b4d9eeb
diff --git a/mail/exim/files/patch-src::expand.c b/mail/exim/files/patch-src::expand.c
deleted file mode 100644
index 60de460..0000000
--- a/mail/exim/files/patch-src::expand.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/expand.c.orig Tue Feb 19 12:10:43 2002
-+++ src/expand.c Wed Apr 3 18:11:56 2002
-@@ -572,10 +572,9 @@
- lseek(deliver_datafile, start_offset, SEEK_SET);
- len = read(deliver_datafile, body, len);
- if (len >= 0) body[len] = 0;
-- while (*body != 0)
-+ while (len > 0)
- {
-- if (*body == '\n') *body = ' ';
-- body++;
-+ if (body[--len] == '\n' || body[len] == 0) body[len] = ' ';
- }
- }
- return (*ss == NULL)? "" : *ss;
diff --git a/mail/exim/files/patch-src::filter.c b/mail/exim/files/patch-src::filter.c
deleted file mode 100644
index 8e6e040..0000000
--- a/mail/exim/files/patch-src::filter.c
+++ /dev/null
@@ -1,62 +0,0 @@
---- src/filter.c.orig Tue Feb 19 12:10:43 2002
-+++ src/filter.c Wed Apr 3 18:11:56 2002
-@@ -2566,12 +2566,12 @@
- BOOL
- filter_runtest(int fd, BOOL is_system, BOOL dot_ended)
- {
--int rc, body_len, action, header_size;
-+int rc, body_len, body_end_len, action, header_size;
- register int ch;
- BOOL yield, delivered;
- struct stat statbuf;
- address_item *generated = NULL;
--char *body, *error, *filebuf, *s;
-+char *error, *filebuf, *s;
-
- /* Read the filter file into store as will be done by the director
- in a real case. */
-@@ -2653,7 +2653,7 @@
- function as efficient as possible. Handling message_body_end is somewhat more
- tedious. Pile it all into a circular buffer and sort out at the end. */
-
--message_body = body = store_malloc(message_body_visible + 1);
-+message_body = store_malloc(message_body_visible + 1);
- message_body_end = store_malloc(message_body_visible + 1);
- s = message_body_end;
- body_len = 0;
-@@ -2729,24 +2729,25 @@
- memcpy(temp, message_body_end, below);
- memmove(message_body_end, s+1, above);
- memcpy(message_body_end + above, temp, below);
-- message_body_end[message_body_visible] = 0;
-+ s = message_body_end + message_body_visible;
- }
- }
--else *s = 0;
-
--/* Convert newlines in the body variables to spaces */
-+*s = 0;
-+body_end_len = s - message_body_end;
-
--while (*body != 0)
-+/* Convert newlines and nulls in the body variables to spaces */
-+while (body_len > 0)
- {
-- if (*body == '\n') *body = ' ';
-- body++;
-+ if (message_body[--body_len] == '\n' || message_body[body_len] == 0)
-+ message_body[body_len] = ' ';
- }
-
--body = message_body_end;
--while (*body != 0)
-+while (body_end_len > 0)
- {
-- if (*body == '\n') *body = ' ';
-- body++;
-+ if (message_body_end[--body_end_len] == '\n' ||
-+ message_body_end[body_end_len] == 0)
-+ message_body_end[body_end_len] = ' ';
- }
-
- /* Now pass the filter file to the function that interprets it. Because
OpenPOWER on IntegriCloud