aboutsummaryrefslogtreecommitdiffstats
path: root/mail/bsmtp/files
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2007-07-25 01:36:02 +0800
committernaddy <naddy@FreeBSD.org>2007-07-25 01:36:02 +0800
commit74e7882232573d91160c65051140b9cab3449cce (patch)
tree3dc6e5933b4e9aeacc8e82cefef59cc617f319f9 /mail/bsmtp/files
parent0df5850fd10d3fcafbb6f51a056e47da39356045 (diff)
downloadfreebsd-ports-gnome-74e7882232573d91160c65051140b9cab3449cce.tar.gz
freebsd-ports-gnome-74e7882232573d91160c65051140b9cab3449cce.tar.zst
freebsd-ports-gnome-74e7882232573d91160c65051140b9cab3449cce.zip
* bump up to sendmail 8.13 and cross fingers
* make sure recipient addresses starting with '-' are not mistaken for flags
Diffstat (limited to 'mail/bsmtp/files')
-rw-r--r--mail/bsmtp/files/config.sed4
-rw-r--r--mail/bsmtp/files/patch-configure15
-rw-r--r--mail/bsmtp/files/patch-rsmtp.in14
3 files changed, 26 insertions, 7 deletions
diff --git a/mail/bsmtp/files/config.sed b/mail/bsmtp/files/config.sed
index 1c90cb181839..47dad38823a7 100644
--- a/mail/bsmtp/files/config.sed
+++ b/mail/bsmtp/files/config.sed
@@ -20,9 +20,9 @@ s,@DAEMONUID@,66,
s,@INPROTO@,BSMTP,
s,@LOCALHOSTNAME@,`hostname`,
s,@DOMAINSUFFIX@,none,
-s,@SENDMAILVERS@,8.11,
+s,@SENDMAILVERS@,8.13,
s,@INSTALLMAILER@,true,
-s,@MAILERVERSION@,8.11,
+s,@MAILERVERSION@,8.13,
s,@FLOCK@,true,
s,@LOCKDEFINE@,-DUSE_FLOCK,
s,@BATCHER@,batcher.new,
diff --git a/mail/bsmtp/files/patch-configure b/mail/bsmtp/files/patch-configure
index 096a7de0a43f..56ff15c81d87 100644
--- a/mail/bsmtp/files/patch-configure
+++ b/mail/bsmtp/files/patch-configure
@@ -1,20 +1,21 @@
$FreeBSD$
---- configure.orig Fri Feb 22 17:30:58 2002
-+++ configure Fri Feb 22 17:32:13 2002
-@@ -41,6 +41,10 @@
+--- configure.orig
++++ configure
+@@ -41,6 +41,11 @@
"batcher",
"batcher.c",
"bsmtp.c",
++ "bsmtp.m4.8.14",
++ "bsmtp.m4.8.13",
+ "bsmtp.m4.8.12",
+ "bsmtp.m4.8.11",
+ "bsmtp.m4.8.10",
-+ "bsmtp.m4.8.9",
"bsmtp.m4.8.9",
"bsmtp.m4.8.8",
"bsmtp.m4.8.7",
-@@ -198,6 +202,12 @@
+@@ -198,6 +203,16 @@
$default[$i] = '8.8';
} elsif ($value{'@SENDMAILVERS@'} =~ /^\s*8\.9(\..*)?\s*$/) {
$default[$i] = '8.9';
@@ -24,6 +25,10 @@ $FreeBSD$
+ $default[$i] = '8.11';
+ } elsif ($value{'@SENDMAILVERS@'} =~ /^\s*8\.12(\..*)?\s*$/) {
+ $default[$i] = '8.12';
++ } elsif ($value{'@SENDMAILVERS@'} =~ /^\s*8\.13(\..*)?\s*$/) {
++ $default[$i] = '8.13';
++ } elsif ($value{'@SENDMAILVERS@'} =~ /^\s*8\.14(\..*)?\s*$/) {
++ $default[$i] = '8.14';
} else {
$default[$i] = ''; # Will not be installed
}
diff --git a/mail/bsmtp/files/patch-rsmtp.in b/mail/bsmtp/files/patch-rsmtp.in
new file mode 100644
index 000000000000..c8be41aa310d
--- /dev/null
+++ b/mail/bsmtp/files/patch-rsmtp.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- rsmtp.in.orig
++++ rsmtp.in
+@@ -72,7 +72,7 @@
+ print STDERR "Recipient: $r\n" if ($debug);
+ push (@recipients, $r);
+ }
+- $sendmail="$sendmailproto -f$mailfrom -p@INPROTO@:$fromhost";
++ $sendmail="$sendmailproto -f$mailfrom -p@INPROTO@:$fromhost --";
+ while (defined $recipients[0]) {
+ $sendmail .= " " . $recipients[0];
+ shift (@recipients);