Skip site navigation (1)Skip section navigation (2)
Date:      15 Feb 2000 15:39:56 -0000
From:      Jos Backus <Jos.Backus@nl.origin-it.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16728: mail/ezmlm-idx: ezmlm-make broken because config files were moved
Message-ID:  <20000215153956.86050.qmail@hal.mpn.cp.philips.com>

next in thread | raw e-mail | index | archive | help

>Number:         16728
>Category:       ports
>Synopsis:       mail/ezmlm-idx port broken because config file dir changed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 15 07:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000215153956.86050.qmail>