From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 27 14:50:09 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C4637B401 for ; Fri, 27 Jun 2003 14:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B422943FF7 for ; Fri, 27 Jun 2003 14:50:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5RLo6Up039893 for ; Fri, 27 Jun 2003 14:50:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5RLo6cB039892; Fri, 27 Jun 2003 14:50:06 -0700 (PDT) Resent-Date: Fri, 27 Jun 2003 14:50:06 -0700 (PDT) Resent-Message-Id: <200306272150.h5RLo6cB039892@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Kolobov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AB6037B401 for ; Fri, 27 Jun 2003 14:48:29 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id 194A244014 for ; Fri, 27 Jun 2003 14:48:27 -0700 (PDT) (envelope-from sgk@kolobov.com) Received: (qmail 91909 invoked from network); 27 Jun 2003 21:48:24 -0000 Received: from dom.kolobov.com (HELO kolobov.com) (213.247.180.114) by outpost.globcon.net with SMTP; 27 Jun 2003 21:48:24 -0000 Received: (qmail 13553 invoked by uid 911); 27 Jun 2003 21:48:08 -0000 Message-Id: <20030627214808.13552.qmail@kolobov.com> Date: 27 Jun 2003 21:48:08 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53857: [PATCH] mail/ezmlm-idx: take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 21:50:09 -0000 >Number: 53857 >Category: ports >Synopsis: [PATCH] mail/ezmlm-idx: take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 27 14:50:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun 5 02:19:41 MSD >Description: - Make portlint(1) happy: move RUN_DEPENDS and PATCH_SITES - Remove explicit ezmlm version number from COMMENT and pkg-descr - Reformat pkg-descr - Cleanup and simplify Makefile - Use DOCSDIR macro in pkg-plist - Take maintainership >How-To-Repeat: >Fix: --- ezmlm-idx-0.40_3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/ezmlm-idx/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- Makefile 27 Jun 2003 17:48:10 -0000 1.22 +++ Makefile 27 Jun 2003 21:45:22 -0000 @@ -16,11 +16,13 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ezmlm-${EZMLM_VERSION}${EXTRACT_SUFX} -PATCHFILES= ezmlm-cgi.patch PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ezmlm-cgi.patch + +MAINTAINER= sergei@kolobov.com +COMMENT= Improved version of the ezmlm mailing list manager -MAINTAINER= ports@FreeBSD.org -COMMENT= Improved version of the ezmlm-0.53 mailing list management software +RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail # QMAIL_DIR is the directory where qmail is installed QMAIL_DIR?= /var/qmail @@ -28,27 +30,38 @@ # 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 WITH_MYSQL is defined, build with MySQL extensions .if defined(WITH_MYSQL) ALL_TARGET= mysql it ${LANGUAGE} LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -EXTRACT_INCLUDE+= -I${PREFIX}/include/mysql -EXTRACT_LIB+= -L${PREFIX}/lib/mysql -lmysqlclient -lm +EXTRACT_INCLUDE+= -I${LOCALBASE}/include/mysql +EXTRACT_LIB+= -L${LOCALBASE}/lib/mysql -lmysqlclient -lm .elif defined(WITH_POSTGRESQL) ALL_TARGET= pgsql it ${LANGUAGE} POSTGRESQL_PORT?= databases/postgresql7 LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} -EXTRACT_INCLUDE+= -I${PREFIX}/include/pgsql -EXTRACT_LIB+= -L${PREFIX}/lib -lpq -lcrypt +EXTRACT_INCLUDE+= -I${LOCALBASE}/include/pgsql +EXTRACT_LIB+= -L${LOCALBASE}/lib -lpq -lcrypt .else ALL_TARGET= it ${LANGUAGE} .endif -NO_PACKAGE= Unsure of djb's license +#NO_PACKAGE= Unsure of DJB license + +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/ezmlm-${EZMLM_VERSION} +EZMLM_VERSION= 0.53 + +PKGMESSAGE= ${WRKDIR}/pkg-message + +PROGRAMS= ezmlm-archive ezmlm-cgi ezmlm-clean ezmlm-cron ezmlm-gate \ + ezmlm-get ezmlm-idx ezmlm-issubn ezmlm-limit ezmlm-list \ + ezmlm-make ezmlm-manage ezmlm-moderate ezmlm-request \ + ezmlm-reject ezmlm-return ezmlm-send ezmlm-split ezmlm-store \ + ezmlm-sub ezmlm-tstdig ezmlm-unsub ezmlm-warn ezmlm-weed +SCRIPTS= ezmlm-accept ezmlm-check ezmlm-glconf ezmlm-mktab ezmlm-test +CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc MAN1= ezmlm-accept.1 ezmlm-archive.1 ezmlm-cgi.1 ezmlm-check.1 \ ezmlm-clean.1 ezmlm-cron.1 ezmlm-gate.1 ezmlm-get.1 \ @@ -59,18 +72,7 @@ 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= archive cgi clean cron gate get idx issubn limit \ - list make manage moderate request reject return \ - send split store sub tstdig unsub warn weed - -MY_SCRIPTS= accept check glconf mktab test - -MY_CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc - -EZMLM_VERSION= 0.53 +DOCS= CHANGES.idx DOWNGRADE.idx FAQ.idx INSTALL.idx README.idx UPGRADE.idx pre-patch: @${MV} -f ${WRKDIR}/ezmlm-idx-${PORTVERSION}/* ${WRKSRC} @@ -89,43 +91,25 @@ .endif @${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man @${ECHO_CMD} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail - @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX - @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX - @${ECHO_CMD} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.PPREFIX - @${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig - @${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \ - < ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h - -pre-install: - @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.IPREFIX - @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX - @${ECHO_CMD} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.IPREFIX - @diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1) + @${REINPLACE_CMD} -e 's,/etc/ezmlm/,${PREFIX}/etc/ezmlm/,' \ + ${WRKSRC}/idx.h do-install: -.for file in ${MY_PROGRAMS} - @${INSTALL_PROGRAM} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin -.endfor -.for file in ${MY_SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin -.endfor + cd ${WRKSRC} && \ + ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \ + ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin && \ + ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \ + ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5 @${MKDIR} ${PREFIX}/etc/ezmlm -.for file in ${MY_CONFIG} +.for file in ${CONFIG} @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/ezmlm/${file}.sample .endfor -.for file in ${MAN1} - @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1 -.endfor -.for file in ${MAN5} - @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man5 -.endfor .if !defined(NOPORTDOCS) - @${ECHO} "===> Copying documents to ${PREFIX}/share/doc/ezmlm-idx" - @${MKDIR} ${PREFIX}/share/doc/ezmlm-idx -.for file in CHANGES.idx DOWNGRADE.idx FAQ.idx INSTALL.idx README.idx UPGRADE.idx - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ezmlm-idx -.endfor + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif + @${SED} -e 's,$${PREFIX},${PREFIX},' ${.CURDIR}/pkg-message \ + > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/mail/ezmlm-idx/pkg-descr,v retrieving revision 1.4 diff -u -r1.4 pkg-descr --- pkg-descr 7 Jun 1999 13:30:39 -0000 1.4 +++ pkg-descr 27 Jun 2003 21:45:22 -0000 @@ -1,16 +1,21 @@ -ezmlm-idx is an addition and patch to ezmlm-0.53. +ezmlm-idx is an improved version of ezmlm mailing list manager. -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 can now be compiled with MySQL support for centrally administrated -distributed lists with binaries that autosense use of SQL or standard ezmlm -databases. +ezmlm-idx adds the following features: +- 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 +- improved bounce handling +- case-insensitive subscriber address storage +- distributed lists (main + sublist transparent to the subscriber) +- SQL support (MySQL or Postgres) for centrally administrated + distributed lists WWW: http://www.ezmlm.org/ Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/ezmlm-idx/pkg-plist,v retrieving revision 1.6 diff -u -r1.6 pkg-plist --- pkg-plist 18 Jan 2003 19:08:03 -0000 1.6 +++ pkg-plist 27 Jun 2003 21:45:22 -0000 @@ -30,11 +30,11 @@ etc/ezmlm/ezmlmglrc.sample etc/ezmlm/ezmlmrc.sample etc/ezmlm/ezmlmsubrc.sample -%%PORTDOCS%%share/doc/ezmlm-idx/CHANGES.idx -%%PORTDOCS%%share/doc/ezmlm-idx/DOWNGRADE.idx -%%PORTDOCS%%share/doc/ezmlm-idx/FAQ.idx -%%PORTDOCS%%share/doc/ezmlm-idx/INSTALL.idx -%%PORTDOCS%%share/doc/ezmlm-idx/README.idx -%%PORTDOCS%%share/doc/ezmlm-idx/UPGRADE.idx -%%PORTDOCS%%@dirrm share/doc/ezmlm-idx -@dirrm etc/ezmlm +@unexec rmdir %D/etc/ezmlm 2>/dev/null || true +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.idx +%%PORTDOCS%%%%DOCSDIR%%/DOWNGRADE.idx +%%PORTDOCS%%%%DOCSDIR%%/FAQ.idx +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.idx +%%PORTDOCS%%%%DOCSDIR%%/README.idx +%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.idx +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- ezmlm-idx-0.40_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: