View | Details | Raw Unified | Return to bug 55700
Collapse All | Expand All

(-)autorespond/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	autorespond
8
PORTNAME=	autorespond
9
PORTVERSION=	2.0.3
9
PORTVERSION=	2.0.3
10
PORTREVISION=	1
10
CATEGORIES=	mail
11
CATEGORIES=	mail
11
MASTER_SITES=	http://www.inter7.com/devel/
12
MASTER_SITES=	http://www.inter7.com/devel/
12
13
Lines 14-20 Link Here
14
PATCHFILES=	${DISTNAME}-conf-strcasestr.patch
15
PATCHFILES=	${DISTNAME}-conf-strcasestr.patch
15
16
16
MAINTAINER=	roam@FreeBSD.org
17
MAINTAINER=	roam@FreeBSD.org
17
COMMENT=	"Simple autoresponder for qmail"
18
COMMENT=	Simple autoresponder for qmail
18
19
19
post-patch:
20
post-patch:
20
	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
21
	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
(-)autorespond/files/patch-autorespond.c (+11 lines)
Line 0 Link Here
1
--- autorespond.c.orig	Mon Aug 18 14:41:33 2003
2
+++ autorespond.c	Mon Aug 18 14:42:14 2003
3
@@ -572,7 +572,7 @@
4
 	if ( *rpath == '$' )
5
 	{
6
 		rpath = safe_malloc( strlen(TheUser) + strlen(TheDomain) + 2);
7
-		strncpy( rpath, TheUser, strlen(TheUser) );
8
+		strncpy( rpath, TheUser, strlen(TheUser) + 1 );
9
 		strncat( rpath, "@", 1 );
10
 		strncat( rpath, TheDomain, strlen(TheDomain) );
11
 	}

Return to bug 55700