aboutsummaryrefslogtreecommitdiff
path: root/mail/autorespond
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-08-29 16:04:41 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-08-29 16:04:41 +0000
commit0dcdd0d4ce9023d2b37a29bf4657ff3c76fe288a (patch)
tree7be5e44dcff6137eac4ffb2a269fa7cbce0f79ec /mail/autorespond
parentfd47489751f65f64648d53752785aab45cc507d4 (diff)
downloadports-0dcdd0d4ce9023d2b37a29bf4657ff3c76fe288a.tar.gz
ports-0dcdd0d4ce9023d2b37a29bf4657ff3c76fe288a.zip
Notes
Diffstat (limited to 'mail/autorespond')
-rw-r--r--mail/autorespond/Makefile3
-rw-r--r--mail/autorespond/files/patch-autorespond.c11
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/autorespond/Makefile b/mail/autorespond/Makefile
index 147293ee0097..50367b82b6c8 100644
--- a/mail/autorespond/Makefile
+++ b/mail/autorespond/Makefile
@@ -7,6 +7,7 @@
PORTNAME= autorespond
PORTVERSION= 2.0.3
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.inter7.com/devel/
@@ -14,7 +15,7 @@ PATCH_SITES= http://people.FreeBSD.org/~roam/ports/patches/mail/
PATCHFILES= ${DISTNAME}-conf-strcasestr.patch
MAINTAINER= roam@FreeBSD.org
-COMMENT= "Simple autoresponder for qmail"
+COMMENT= Simple autoresponder for qmail
post-patch:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
diff --git a/mail/autorespond/files/patch-autorespond.c b/mail/autorespond/files/patch-autorespond.c
new file mode 100644
index 000000000000..77c5b7745cef
--- /dev/null
+++ b/mail/autorespond/files/patch-autorespond.c
@@ -0,0 +1,11 @@
+--- autorespond.c.orig Mon Aug 18 14:41:33 2003
++++ autorespond.c Mon Aug 18 14:42:14 2003
+@@ -572,7 +572,7 @@
+ if ( *rpath == '$' )
+ {
+ rpath = safe_malloc( strlen(TheUser) + strlen(TheDomain) + 2);
+- strncpy( rpath, TheUser, strlen(TheUser) );
++ strncpy( rpath, TheUser, strlen(TheUser) + 1 );
+ strncat( rpath, "@", 1 );
+ strncat( rpath, TheDomain, strlen(TheDomain) );
+ }