summaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2003-04-09 18:44:05 +0000
committersheldonh <sheldonh@FreeBSD.org>2003-04-09 18:44:05 +0000
commit84ceca7b75fa741d00b3f164058f96288156ea4c (patch)
tree2bd241a152a78517e3e5a47fe44fd749815d55f4 /mail/exim
parentaa23d5885261d6510107d8f0bfbfe5047f8da329 (diff)
downloadFreeBSD-ports-84ceca7b75fa741d00b3f164058f96288156ea4c.zip
FreeBSD-ports-84ceca7b75fa741d00b3f164058f96288156ea4c.tar.gz
1) Fix reproducible plaintext authentication crash.
2) In the sample configuration file, allow relaying from the IPv6 and IPv4 localhost addresses. This fixes relaying problems for folks using things like IPv6-enabled mailman. Bump PORTREVISION accordingly. Reported by: Alexander Sabourenkov <lxnt@caravan.ru> (1) Mark Edwards <mark@antsclimbtree.com> (2)
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile1
-rw-r--r--mail/exim/files/patch-src::auths::plantext.c11
-rw-r--r--mail/exim/files/patch-src::configure.default9
3 files changed, 21 insertions, 0 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 96823e4..aff8ca3 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= exim
PORTVERSION= ${EXIM_VERSION}
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
http://www.exim.org/ftp/exim4/ \
diff --git a/mail/exim/files/patch-src::auths::plantext.c b/mail/exim/files/patch-src::auths::plantext.c
new file mode 100644
index 0000000..4beccd0
--- /dev/null
+++ b/mail/exim/files/patch-src::auths::plantext.c
@@ -0,0 +1,11 @@
+--- src/auths/plaintext.c.orig Tue Apr 1 14:53:33 2003
++++ src/auths/plaintext.c Tue Apr 1 14:53:40 2003
+@@ -93,7 +93,7 @@
+ if (Ustrcmp(data, "=") == 0)
+ {
+ expand_nstring[++expand_nmax] = US"";
+- expand_nstring[expand_nmax] = 0;
++ expand_nlength[expand_nmax] = 0;
+ }
+ else
+ {
diff --git a/mail/exim/files/patch-src::configure.default b/mail/exim/files/patch-src::configure.default
index 47178cc..03ba421 100644
--- a/mail/exim/files/patch-src::configure.default
+++ b/mail/exim/files/patch-src::configure.default
@@ -1,5 +1,14 @@
--- src/configure.default.orig Fri Nov 23 17:31:16 2001
+++ src/configure.default Tue Dec 18 23:34:07 2001
+@@ -56,7 +56,7 @@
+
+ domainlist local_domains = @
+ domainlist relay_to_domains =
+-hostlist relay_from_hosts = 127.0.0.1
++hostlist relay_from_hosts = localhost
+
+ # Most straightforward access control requirements can be obtained by
+ # appropriate settings of the above options. In more complicated situations, you
@@ -147,6 +147,8 @@
# were a normal user. This isn't usually a problem, as most sites have an alias
# for root that redirects such mail to a human administrator.
OpenPOWER on IntegriCloud