aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2002-08-20 00:22:49 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2002-08-20 00:22:49 +0000
commitd9921ebf797df5a999a2b64d29b486befe3f4482 (patch)
tree2a9b74aaf0dc2b100b69a8f71ec587b2fe134122
parent45008cf7723cb74f5a475b7a1a425450feca4417 (diff)
downloadports-d9921ebf797df5a999a2b64d29b486befe3f4482.tar.gz
ports-d9921ebf797df5a999a2b64d29b486befe3f4482.zip
Notes
-rw-r--r--mail/zmailer/Makefile1
-rw-r--r--mail/zmailer/files/patch-smtpserver::smtpcmds.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/zmailer/Makefile b/mail/zmailer/Makefile
index 983a6b6ac46e..d75117c5ff7d 100644
--- a/mail/zmailer/Makefile
+++ b/mail/zmailer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zmailer
PORTVERSION= 2.99.51
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/mail/zmailer/src/
diff --git a/mail/zmailer/files/patch-smtpserver::smtpcmds.c b/mail/zmailer/files/patch-smtpserver::smtpcmds.c
new file mode 100644
index 000000000000..4fb2b118acd6
--- /dev/null
+++ b/mail/zmailer/files/patch-smtpserver::smtpcmds.c
@@ -0,0 +1,11 @@
+--- smtpserver/smtpcmds.c Mon Aug 19 19:19:54 2002
++++ smtpserver/smtpcmds.c.orig Mon Aug 19 19:16:28 2002
+@@ -223,7 +223,7 @@
+ if (STYLE(SS->cfinfo, 'h')) {
+ char argbuf[MAXHOSTNAMELEN+30];
+ char *s;
+- snprintf(argbuf, sizeof(argbuf), "%s %s", SS->rhostname,
++ sprintf(argbuf,"%s %s", SS->rhostname,
+ ((SS->ihostaddr && (SS->ihostaddr[0] != '\0'))
+ ? SS->ihostaddr : "[0.0.0.0]"));
+ if ((s = router(SS, RKEY_HELLO, 1, argbuf, strlen(argbuf))) == NULL)