From Jos.Backus@nl.origin-it.com  Tue Feb 15 07:39:50 2000
Return-Path: <Jos.Backus@nl.origin-it.com>
Received: from gw-nl4.philips.com (gw-nl4.philips.com [192.68.44.36])
	by builder.freebsd.org (Postfix) with ESMTP id BFE264587
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Feb 2000 07:39:47 -0800 (PST)
Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1])
          by gw-nl4.philips.com with ESMTP id QAA12994
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Feb 2000 16:40:06 +0100 (MET)
          (envelope-from Jos.Backus@nl.origin-it.com)
Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a)
	id xma012989; Tue, 15 Feb 00 16:40:07 +0100
Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) 
	by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id QAA13410
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Feb 2000 16:40:03 +0100 (MET)
Received: (qmail 86051 invoked by uid 666); 15 Feb 2000 15:39:56 -0000
Message-Id: <20000215153956.86050.qmail@hal.mpn.cp.philips.com>
Date: 15 Feb 2000 15:39:56 -0000
From: Jos Backus <Jos.Backus@nl.origin-it.com>
Reply-To: Jos Backus <Jos.Backus@nl.origin-it.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: mail/ezmlm-idx: ezmlm-make broken because config files were moved
X-Send-Pr-Version: 3.2

>Number:         16728
>Category:       ports
>Synopsis:       mail/ezmlm-idx port broken because config file dir changed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    tom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 15 07:50:01 PST 2000
>Closed-Date:    Tue Feb 22 12:29:54 PST 2000
>Last-Modified:  Tue Feb 22 12:32:20 PST 2000
>Originator:     Jos Backus
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Origin B.V.
>Environment:

	ports/mail/ezmlm-idx/Makefile,v 1.7
	Accompanying PLIST

>Description:

	ezmlm-make(1) cannot find the ezmlmrc file; this used to live in
	/usr/local/etc but as of 0.40 has been moved to /etc/ezmlm/.

>How-To-Repeat:

	Try to create a mailing list:

	ezmlm-make -rgA -5 $USER@$HOST ~/ezmlm/postmaster ~/.qmail-postmaster \
	$USER-postmaster $HOST
	ezmlm-make: fatal: /usr/local/bin/ezmlmrc does not exist

>Fix:

This patch changes the rc file location to ${PREFIX}/etc/ezmlm/.

--- Makefile.dist	Tue Feb 15 16:15:19 2000
+++ Makefile	Tue Feb 15 16:25:02 2000
@@ -83,7 +83,7 @@
 	@${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
 	@${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.PPREFIX
 	@${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig
-	@${SED} -e 's#TXT_ETC_EZMLMRC "/etc/ezmlmrc"#TXT_ETC_EZMLMRC "${PREFIX}/etc/ezmlmrc"#' \
+	@${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \
 		< ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h
 	@${CP} ${PKGDIR}/PLIST ${WRKDIR}
 .if !defined(NOPORTDOCS)
@@ -104,7 +104,7 @@
 	@${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin
 .endfor
 .for file in ${MY_CONFIG}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/${file}.sample
+	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/ezmlm/${file}.sample
 .endfor
 .for file in ${MAN1}
 	@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1

--- pkg/PLIST.dist	Tue Feb 15 16:23:01 2000
+++ pkg/PLIST	Tue Feb 15 16:25:42 2000
@@ -27,6 +27,7 @@
 bin/ezmlm-unsub
 bin/ezmlm-warn
 bin/ezmlm-weed
-etc/ezmlmglrc.sample
-etc/ezmlmrc.sample
-etc/ezmlmsubrc.sample
+etc/ezmlm/ezmlmglrc.sample
+etc/ezmlm/ezmlmrc.sample
+etc/ezmlm/ezmlmsubrc.sample
+@dirrm etc/ezmlm

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->tom 
Responsible-Changed-By: tom 
Responsible-Changed-When: Tue Feb 15 11:53:37 PST 2000 
Responsible-Changed-Why:  
I'm the MAINTAINER 
State-Changed-From-To: open->closed 
State-Changed-By: tom 
State-Changed-When: Tue Feb 22 12:29:54 PST 2000 
State-Changed-Why:  
Committed - thanks! 
>Unformatted:
