From owner-freebsd-ports Tue Mar 30 2: 0:19 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 71C1715215 for ; Tue, 30 Mar 1999 02:00:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA32271; Tue, 30 Mar 1999 02:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail4.svr.pol.co.uk (mail4.svr.pol.co.uk [195.92.193.211]) by hub.freebsd.org (Postfix) with ESMTP id 1D29314DB4 for ; Tue, 30 Mar 1999 01:51:28 -0800 (PST) (envelope-from tom@eborcom.com) Received: from modem-26.osmium.dialup.pol.co.uk ([62.136.37.154]) by mail4.svr.pol.co.uk with esmtp (Exim 2.12 #1) id 10RvAm-0002OW-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 30 Mar 1999 10:51:04 +0100 Received: (qmail 596 invoked by uid 5000); 30 Mar 1999 09:47:36 -0000 Message-Id: <19990330094736.595.qmail@eborcom.com> Date: 30 Mar 1999 09:47:36 -0000 From: Tom Hukins To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10867: Update Port: ezmlm-idx Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10867 >Category: ports >Synopsis: Update Port: ezmlm-idx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 30 02:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Tom Hukins >Release: FreeBSD 2.2.8-STABLE i386 >Organization: eBORcOM >Environment: >Description: The following patch upgrades the ezmlm-idx port to the latest version. I am the port's maintainer. Files added: pkg/MESSAGE pkg/PLIST.docs Files removed: patches/patch-aa patches pkg/PLIST.nodocs >How-To-Repeat: >Fix: diff -ruN ezmlm-idx.old/Makefile ezmlm-idx/Makefile --- ezmlm-idx.old/Makefile Sun Feb 28 17:14:24 1999 +++ ezmlm-idx/Makefile Tue Mar 30 10:43:18 1999 @@ -1,5 +1,5 @@ # New ports collection makefile for: ezmlm -# Version required: 0.313 +# Version required: 0.321 # Date created: 28 November 1998 # Whom: Neil Blakey-Milner # @@ -15,46 +15,50 @@ MAINTAINER= tom@eborcom.com -.if defined(NOPORTDOCS) -PLIST= ${PKGDIR}/PLIST.nodocs -.endif - # QMAIL_DIR is the directory where qmail is installed -.if !defined(QMAIL_DIR) -QMAIL_DIR= /var/qmail -.endif +QMAIL_DIR?= /var/qmail + +# LANGUAGE is the ISO code for the language to use in ezmlmrc +LANGUAGE?= en_US RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail +# If USE_MYSQL is defined, build with MySQL extensions +.if defined(USE_MYSQL) +ALL_TARGET= it ${LANGUAGE} mysql +LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322 +.else +ALL_TARGET= it ${LANGUAGE} +.endif + NO_PACKAGE= Unsure of djb's license WRKSRC= ${WRKDIR}/ezmlm-${EZMLM_VERSION} -ALL_TARGET= it - -MAN1= ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-reject.1 \ - ezmlm-return.1 ezmlm-send.1 ezmlm-sub.1 ezmlm-unsub.1 \ - ezmlm-warn.1 ezmlm-weed.1 ezmlm-accept.1 ezmlm-both.1 \ - ezmlm-issubn.1 ezmlm-glconf.1 ezmlm-glmake.1 ezmlm-moderate.1 \ - ezmlm-request.1 ezmlm-store.1 ezmlm-idx.1 ezmlm-gate.1 \ - ezmlm-tstdig.1 ezmlm-get.1 ezmlm-check.1 ezmlm-clean.1 \ - ezmlm-cron.1 -MAN5= ezmlm.5 ezmlmrc.5 +MAN1= ezmlm-accept.1 ezmlm-check.1 ezmlm-clean.1 ezmlm-cron.1 \ + ezmlm-gate.1 ezmlm-get.1 ezmlm-glconf.1 ezmlm-grant.1 \ + ezmlm-idx.1 ezmlm-issubn.1 ezmlm-limit.1 ezmlm-list.1 \ + ezmlm-make.1 ezmlm-manage.1 ezmlm-mktab.1 ezmlm-moderate.1 \ + ezmlm-receipt.1 ezmlm-reject.1 ezmlm-request.1 \ + ezmlm-return.1 ezmlm-send.1 ezmlm-split.1 ezmlm-store.1 \ + ezmlm-sub.1 ezmlm-test.1 ezmlm-tstdig.1 ezmlm-unsub.1 \ + ezmlm-warn.1 ezmlm-weed.1 +MAN5= ezmlm.5 ezmlmglrc.5 ezmlmrc.5 ezmlmsubrc.5 DIFF_MSG= Cannot Make and Install with different PREFIX or QMAIL_DIR -MY_PROGRAMS= ezmlm-clean ezmlm-cron ezmlm-gate ezmlm-get ezmlm-idx \ - ezmlm-issubn ezmlm-list ezmlm-make ezmlm-manage \ - ezmlm-moderate ezmlm-request ezmlm-reject ezmlm-return \ - ezmlm-send ezmlm-store ezmlm-sub ezmlm-tstdig ezmlm-unsub \ - ezmlm-warn ezmlm-weed +MY_PROGRAMS= clean cron gate get idx issubn list make manage \ + moderate receipt request reject return send split \ + store sub tstdig unsub warn weed -MY_SCRIPTS= ezmlm-accept ezmlm-both ezmlm-check ezmlm-glconf ezmlm-glmake +MY_SCRIPTS= accept check glconf grant mktab test -MY_CONFIG= ezmlmrc +MY_CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc EZMLM_VERSION= 0.53 -IDX_VERSION= 0.313 +IDX_VERSION= 0.321 + +PLIST= ${WRKDIR}/PLIST pre-patch: @${MV} -f ${WRKDIR}/ezmlm-idx-${IDX_VERSION}/* ${WRKSRC} @@ -68,21 +72,30 @@ @${ECHO} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail @${ECHO} ${PREFIX} > ${WRKDIR}/.PPREFIX @${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"#' \ + < ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h + @${CP} ${PKGDIR}/PLIST ${WRKDIR} +.if !defined(NOPORTDOCS) + @${CAT} ${PKGDIR}/PLIST.docs >> ${WRKDIR}/PLIST +.endif pre-install: @${ECHO} ${PREFIX} > ${WRKDIR}/.IPREFIX @${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX + @${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.IPREFIX @diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1) do-install: .for file in ${MY_PROGRAMS} - @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin .endfor .for file in ${MY_SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin .endfor .for file in ${MY_CONFIG} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/${file}.sample .endfor .for file in ${MAN1} @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1 @@ -97,5 +110,6 @@ @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ezmlm-idx .endfor .endif + @${CAT} ${PKGDIR}/MESSAGE .include diff -ruN ezmlm-idx.old/files/md5 ezmlm-idx/files/md5 --- ezmlm-idx.old/files/md5 Mon Jan 18 03:51:18 1999 +++ ezmlm-idx/files/md5 Mon Mar 29 15:17:33 1999 @@ -1,2 +1,2 @@ -MD5 (ezmlm-idx-0.313.tar.gz) = 34e3b177ae7ccf162a405a96213e85f2 +MD5 (ezmlm-idx-0.321.tar.gz) = e6ed4a3a613211e374d4e363b3d608c1 MD5 (ezmlm-0.53.tar.gz) = 108c632caaa8cdbfd3041e6c449191b2 diff -ruN ezmlm-idx.old/patches/patch-aa ezmlm-idx/patches/patch-aa --- ezmlm-idx.old/patches/patch-aa Mon Jan 18 03:51:18 1999 +++ ezmlm-idx/patches/patch-aa Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- Makefile.orig Sat Nov 28 22:55:51 1998 -+++ Makefile Sat Nov 28 22:57:57 1998 -@@ -962,7 +962,7 @@ - ./compile seek_set.c - - setup: \ --it man install conf-bin conf-man -+it install conf-bin conf-man - ./install "`head -1 conf-bin`" < BIN - ./install "`head -1 conf-man`" < MAN - diff -ruN ezmlm-idx.old/pkg/COMMENT ezmlm-idx/pkg/COMMENT --- ezmlm-idx.old/pkg/COMMENT Mon Jan 18 03:51:18 1999 +++ ezmlm-idx/pkg/COMMENT Mon Mar 29 19:05:02 1999 @@ -1 +1 @@ -This is an addition and patch to ezmlm-0.53 [(c) Dan J. Bernstein]. +Improved version of the ezmlm-0.53 mailing list management software. diff -ruN ezmlm-idx.old/pkg/DESCR ezmlm-idx/pkg/DESCR --- ezmlm-idx.old/pkg/DESCR Mon Jan 18 03:51:18 1999 +++ ezmlm-idx/pkg/DESCR Mon Mar 29 19:08:39 1999 @@ -1,19 +1,18 @@ -ezmlm is an easy-to-use, high-speed mailing list manager for qmail. +ezmlm-idx is an addition and patch to ezmlm-0.53. -This is an addition and patch to ezmlm-0.53 [(c) Dan J. Bernstein]. -Ezmlm-idx uses only Dan's libraries and heavily relies on ezmlm-0.53 code. -ezmlm-idx does not function without ezmlm-0.53. +ezmlm-idx adds multi-message threaded archive retrieval, digests, remote +administration, message and subscription moderation, subscriber-only +restrictions, message trailer, subject prefix, subscriber name storage, +customizable setup, multi-language and MIME support and more. In addition, +improved bounce handling, case-insensitive subscriber address storage, and +support for distributed lists (main + sublist transparent to the +subscriber). -ezmlm-idx-0.31 adds threaded archive retrieval, digest creation, -subscription moderation, remote administration, message moderation, -a fully configurable ezmlm-make list setup and editing commands and -a large number of other options to ezmlm lists. See man pages and -FAQ.idx for more information. It also adds support for user- or -host-wide integration of lists with a ``majordomo@''-style interface -(see ezmlm-request.1 and FAQ). +ezmlm-idx can now be compiled with MySQL support for centrally administrated +distributed lists with binaries that autosense use of SQL or standard ezmlm +databases. -To use ezmlm-idx with other languages, copy the correct ezmlmrc.XX file -(where XX is the iso 639 language code) to /etc/ezmlmrc or ~/.ezmlmrc. -If the appropriate one doesn't exist, feel free to make a translations -(please leave comments English for the benefit of maintenance) and mail -to lindberg@id.wustl.edu. See FAQ.idx for more info. +http://www.ezmlm.org/ + +- Tom +tom@eborcom.com diff -ruN ezmlm-idx.old/pkg/MESSAGE ezmlm-idx/pkg/MESSAGE --- ezmlm-idx.old/pkg/MESSAGE Thu Jan 1 01:00:00 1970 +++ ezmlm-idx/pkg/MESSAGE Mon Mar 29 19:02:10 1999 @@ -0,0 +1,12 @@ +ezmlm-idx has been installed successfully. + +However, before you can use the programs, you should copy the +"ezmlmglrc.sample", "ezmlmrc.sample" and "ezmlmsubrc.sample" files +in ${PREFIX}/etc to "ezmlmglrc", "ezmlmrc" and "ezmlmsubrc" +respectively. + +Usually, you do not need to edit these files, but be sure to check +carefully. + +If you have enabled the MySQL extensions, you need to create an +ezmlm database. See INSTALL.idx in ${PREFIX}/share/doc/ezmlm-idx. diff -ruN ezmlm-idx.old/pkg/PLIST ezmlm-idx/pkg/PLIST --- ezmlm-idx.old/pkg/PLIST Sun Feb 28 17:14:24 1999 +++ ezmlm-idx/pkg/PLIST Mon Mar 29 17:56:43 1999 @@ -1,33 +1,31 @@ bin/ezmlm-accept -bin/ezmlm-both bin/ezmlm-check bin/ezmlm-clean bin/ezmlm-cron bin/ezmlm-gate bin/ezmlm-get bin/ezmlm-glconf -bin/ezmlm-glmake +bin/ezmlm-grant bin/ezmlm-idx bin/ezmlm-issubn bin/ezmlm-list bin/ezmlm-make bin/ezmlm-manage +bin/ezmlm-mktab bin/ezmlm-moderate +bin/ezmlm-receipt bin/ezmlm-reject bin/ezmlm-request bin/ezmlm-return bin/ezmlm-send +bin/ezmlm-split bin/ezmlm-store bin/ezmlm-sub +bin/ezmlm-test bin/ezmlm-tstdig bin/ezmlm-unsub bin/ezmlm-warn bin/ezmlm-weed -bin/ezmlmrc -share/doc/ezmlm-idx/CHANGES.idx -share/doc/ezmlm-idx/DOWNGRADE.idx -share/doc/ezmlm-idx/FAQ.idx -share/doc/ezmlm-idx/INSTALL.idx -share/doc/ezmlm-idx/README.idx -share/doc/ezmlm-idx/UPGRADE.idx -@dirrm share/doc/ezmlm-idx +etc/ezmlmglrc.sample +etc/ezmlmrc.sample +etc/ezmlmsubrc.sample diff -ruN ezmlm-idx.old/pkg/PLIST.docs ezmlm-idx/pkg/PLIST.docs --- ezmlm-idx.old/pkg/PLIST.docs Thu Jan 1 01:00:00 1970 +++ ezmlm-idx/pkg/PLIST.docs Mon Mar 29 17:31:46 1999 @@ -0,0 +1,7 @@ +share/doc/ezmlm-idx/CHANGES.idx +share/doc/ezmlm-idx/DOWNGRADE.idx +share/doc/ezmlm-idx/FAQ.idx +share/doc/ezmlm-idx/INSTALL.idx +share/doc/ezmlm-idx/README.idx +share/doc/ezmlm-idx/UPGRADE.idx +@dirrm share/doc/ezmlm-idx diff -ruN ezmlm-idx.old/pkg/PLIST.nodocs ezmlm-idx/pkg/PLIST.nodocs --- ezmlm-idx.old/pkg/PLIST.nodocs Mon Feb 22 04:17:42 1999 +++ ezmlm-idx/pkg/PLIST.nodocs Thu Jan 1 01:00:00 1970 @@ -1,26 +0,0 @@ -bin/ezmlm-accept -bin/ezmlm-both -bin/ezmlm-check -bin/ezmlm-clean -bin/ezmlm-cron -bin/ezmlm-gate -bin/ezmlm-get -bin/ezmlm-glconf -bin/ezmlm-glmake -bin/ezmlm-idx -bin/ezmlm-issubn -bin/ezmlm-list -bin/ezmlm-make -bin/ezmlm-manage -bin/ezmlm-moderate -bin/ezmlm-reject -bin/ezmlm-request -bin/ezmlm-return -bin/ezmlm-send -bin/ezmlm-store -bin/ezmlm-sub -bin/ezmlm-tstdig -bin/ezmlm-unsub -bin/ezmlm-warn -bin/ezmlm-weed -bin/ezmlmrc >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message