From alex@vaio.alexdupre.com  Sat Mar  8 01:08:45 2003
Return-Path: <alex@vaio.alexdupre.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDF5237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Mar 2003 01:08:45 -0800 (PST)
Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B13D043FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Mar 2003 01:08:43 -0800 (PST)
	(envelope-from alex@vaio.alexdupre.com)
Received: from vaio.alexdupre.com (localhost [127.0.0.1])
	by vaio.alexdupre.com (8.12.8/8.12.7) with ESMTP id h289B1lO000342
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 8 Mar 2003 10:11:01 +0100 (CET)
	(envelope-from alex@vaio.alexdupre.com)
Received: (from alex@localhost)
	by vaio.alexdupre.com (8.12.8/8.12.8/Submit) id h289AxFa000341;
	Sat, 8 Mar 2003 10:10:59 +0100 (CET)
Message-Id: <200303080910.h289AxFa000341@vaio.alexdupre.com>
Date: Sat, 8 Mar 2003 10:10:59 +0100 (CET)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [Update Port] mail/autorespond
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         49030
>Category:       ports
>Synopsis:       [Update Port] mail/autorespond
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 08 01:10:14 PST 2003
>Closed-Date:    Mon Mar 24 07:18:50 PST 2003
>Last-Modified:  Mon Mar 24 07:18:50 PST 2003
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Update from 2.0.2 to 2.0.3 release.
>How-To-Repeat:
>Fix:

--- autorespond.diff begins here ---
diff -ruN autorespond.orig/Makefile autorespond/Makefile
--- autorespond.orig/Makefile	Sat Mar  8 09:52:22 2003
+++ autorespond/Makefile	Sat Mar  8 10:00:33 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	autorespond
-PORTVERSION=	2.0.2
+PORTVERSION=	2.0.3
 CATEGORIES=	mail
 MASTER_SITES=	http://www.inter7.com/devel/
 
@@ -17,12 +17,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 440003 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500027
-CFLAGS+=	-DNEED_STRCASESTR
-.endif
-
 post-patch:
-	${REINPLACE_CMD} -Ee "s|^(DEFS =.*)|\1 ${CFLAGS}|" ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -Ee "s|^(DEFS =.*)|\1 ${CFLAGS}|" ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/
diff -ruN autorespond.orig/distinfo autorespond/distinfo
--- autorespond.orig/distinfo	Sat Mar  8 09:52:22 2003
+++ autorespond/distinfo	Sat Mar  8 09:52:45 2003
@@ -1 +1 @@
-MD5 (autorespond-2.0.2.tar.gz) = aa81f2c02b36ccd3ce58c60f0f89683e
+MD5 (autorespond-2.0.3.tar.gz) = 21cbd765ab662c0553b309f7e412fcbf
diff -ruN autorespond.orig/files/patch-autorespond.c autorespond/files/patch-autorespond.c
--- autorespond.orig/files/patch-autorespond.c	Sat Mar  8 09:52:22 2003
+++ autorespond/files/patch-autorespond.c	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
---- autorespond.c	Thu Feb  7 12:07:44 2002
-+++ autorespond.c	Thu Feb  7 12:07:59 2002
-@@ -377,6 +377,7 @@
- /*********************************************************
- ** find string in string - ignore case **/
- 
-+#ifdef NEED_STRCASESTR
- char *strcasestr( char *_s1, char *_s2 )
- {
- 	char *s1;
-@@ -399,7 +400,7 @@
- 	else
- 		return _s1 + (ptr - s1);
- }
--
-+#endif
- 
- 
- 
--- autorespond.diff ends here ---

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->update 
Class-Changed-By: leeym 
Class-Changed-When: Sun Mar 23 18:03:35 PST 2003 
Class-Changed-Why:  
Over to maintainer. 


Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Sun Mar 23 18:03:35 PST 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49030 

From: Peter Pentchev <roam@ringlet.net>
To: Alex Dupre <sysadmin@alexdupre.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/49030: [Update Port] mail/autorespond
Date: Mon, 24 Mar 2003 13:11:24 +0200

 On Sat, Mar 08, 2003 at 10:10:59AM +0100, Alex Dupre wrote:
 > 
 > >Number:         49030
 > >Category:       ports
 > >Synopsis:       [Update Port] mail/autorespond
 > >Originator:     Alex Dupre
 [snip]
 > >Description:
 > Update from 2.0.2 to 2.0.3 release.
 
 Thanks for the update; however, I am not really sure that there is any
 need for it.
 
 The only change between 2.0.2 and 2.0.3 is that the strcasestr()
 function was renamed to strcasestr_ar(), which obviates the need for the
 ifdef patch.  This is all fine and good; however, I am not sure if this
 is the correct way to do things.  Instead of duplicating strcasestr()'s
 functionality and rolling their own, maybe the developers could have
 invested some time into developing a configuration mechanism which
 actually detects whether there is a strcasestr() function and only uses
 their own if needed.
 
 I will try to do something about that in the next couple of days; in the
 meantime, do you think that there is really a reason for this update,
 which has absolutely no functional changes? :)
 
 Still, once more thanks for the time you took to produce the actual
 update patch!
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 What would this sentence be like if it weren't self-referential?
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Mon Mar 24 07:18:28 PST 2003 
State-Changed-Why:  
Thanks for the update!  I will play with the configuration options. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49030 
>Unformatted:
