Date: Sat, 24 Nov 2001 10:53:38 -0800 (PST) From: Gregory Neil Shapiro <gshapiro+freebsd-gnats@gshapiro.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32253: Update port: mail/listmanager (fixup install, add configuration) Message-ID: <200111241853.fAOIrcNq003451@horsey.gshapiro.net>
next in thread | raw e-mail | index | archive | help
>Number: 32253 >Category: ports >Synopsis: Update port: mail/listmanager (fixup install, add configuration) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 24 11:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Gregory Neil Shapiro >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD horsey.gshapiro.net 4.4-STABLE FreeBSD 4.4-STABLE #21: Sat Nov 17 15:37:13 PST 2001 gshapiro@horsey.gshapiro.net:/home/FreeBSD/RELENG_4/obj/sys/HORSEY i386 >Description: Update to mail/listmanager to fixup installation of files and add a setup script for first time installations. Also bumps PORTVERSION. >How-To-Repeat: >Fix: This is a shar file of the entire new port. Compared to the current port, it changes Makefile and pkg-plist and adds the files directory and the three new files in that directory. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # listmanager # listmanager/files # listmanager/files/setup.in # listmanager/files/listmanager.cf.in # listmanager/files/pkg-message.in # listmanager/Makefile # listmanager/distinfo # listmanager/pkg-comment # listmanager/pkg-descr # listmanager/pkg-plist # echo c - listmanager mkdir -p listmanager > /dev/null 2>&1 echo c - listmanager/files mkdir -p listmanager/files > /dev/null 2>&1 echo x - listmanager/files/setup.in sed 's/^X//' >listmanager/files/setup.in << 'END-of-listmanager/files/setup.in' X#!/bin/sh X XCHMOD=/bin/chmod XCP=/bin/cp XMKDIR="/bin/mkdir -p" XTOUCH=/usr/bin/touch X XLISTMGR_HOME=@@VARPREFIX@@ XPREFIX=@@INSPREFIX@@ X XSUBDIRS="archives backup db files lists responses storage tmp" X Xif [ ! -d ${LISTMGR_HOME} ]; then X ${MKDIR} ${LISTMGR_HOME} X ${CHMOD} 0751 ${LISTMGR_HOME} Xfi X Xfor dir in ${SUBDIRS}; do X if [ ! -d ${LISTMGR_HOME}/${dir} ]; then X ${MKDIR} ${LISTMGR_HOME}/${dir} X ${CHMOD} 0750 ${LISTMGR_HOME}/${dir} X fi Xdone X${CHMOD} 0751 ${LISTMGR_HOME}/lists X Xif [ ! -e ${LISTMGR_HOME}/ignore ]; then X ${TOUCH} ${LISTMGR_HOME}/ignore X ${CHMOD} 0640 ${LISTMGR_HOME}/ignore Xfi X Xif [ ! -e ${LISTMGR_HOME}/responses/ack ]; then X ${CP} ${PREFIX}/share/listmanager/ack ${LISTMGR_HOME}/responses/ack X ${CHMOD} 0640 ${LISTMGR_HOME}/responses/ack Xfi X Xif [ ! -e ${PREFIX}/etc/listmanager.cf ]; then X ${CP} ${PREFIX}/etc/listmanager.cf.sample ${PREFIX}/etc/listmanager.cf X ${CHMOD} 0644 ${PREFIX}/etc/listmanager.cf Xfi END-of-listmanager/files/setup.in echo x - listmanager/files/listmanager.cf.in sed 's/^X//' >listmanager/files/listmanager.cf.in << 'END-of-listmanager/files/listmanager.cf.in' Xexecutable @@INSPREFIX@@/sbin/listmanager Xgzip /usr/bin/gzip Xhelpdir @@INSPREFIX@@/share/listmanager/help Xhomedir @@VARPREFIX@@ Xnewaliases /usr/sbin/newaliases Xqueueflush /usr/sbin/sendmail -qS%s -v Xsendmail /usr/sbin/sendmail -oiTrue Xsyslog mail Xtempdir @@VARPREFIX@@/tmp END-of-listmanager/files/listmanager.cf.in echo x - listmanager/files/pkg-message.in sed 's/^X//' >listmanager/files/pkg-message.in << 'END-of-listmanager/files/pkg-message.in' X************************************************************ X* Use @@INSPREFIX@@/share/listmanager/setup to setup the X* required configuration and directory structure for X* listmanager. Note that this only has to be done on new X* installations. X* X* Please read @@INSPREFIX@@/share/listmanager/INSTALL for X* information on installing listmanager without using a X* set-user-id root binary. X************************************************************ END-of-listmanager/files/pkg-message.in echo x - listmanager/Makefile sed 's/^X//' >listmanager/Makefile << 'END-of-listmanager/Makefile' X# New ports collection makefile for: listmanager X# Date created: 29 Dec 1999 X# Whom: will X# X# $FreeBSD: ports/mail/listmanager/Makefile,v 1.9 2001/06/09 17:32:47 gshapiro Exp $ X# X XPORTNAME= listmanager XPORTVERSION= 2.108 XPORTREVISION= 1 XCATEGORIES= mail XMASTER_SITES= http://www.listmanager.org/ XDISTNAME= ${PORTNAME} XEXTRACT_SUFX= .freebsd35 XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} INSTALL help.tar.gz listmanager.8 ack XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= gshapiro@FreeBSD.org X XEXTRACT_CMD= ${CP} XEXTRACT_BEFORE_ARGS= XEXTRACT_AFTER_ARGS= ${WRKDIR} XNO_BUILD= yes XONLY_FOR_ARCHS= i386 XWRKSRC= ${WRKDIR} XPKGMESSAGE= ${WRKSRC}/pkg-message XMAN8= listmanager.8 X XLISTMANAGER_HOME?=/var/listmanager X Xpre-patch: X (cd ${WRKSRC} && ${TAR} xfz help.tar.gz) X Xpost-patch: X @ for file in listmanager.cf pkg-message setup; do \ X ${SED} -e "s|@@VARPREFIX@@|${LISTMANAGER_HOME}|g" \ X -e "s|@@INSPREFIX@@|${PREFIX}|g" \ X < ${FILESDIR}/$$file.in > ${WRKSRC}/$$file; \ X done X Xdo-install: X @${MKDIR} ${PREFIX}/etc X @${MKDIR} ${PREFIX}/share/listmanager/help X ${INSTALL_DATA} ${WRKSRC}/listmanager.cf ${PREFIX}/etc/listmanager.cf.sample X ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/listmanager X ${INSTALL_DATA} ${WRKSRC}/ack ${PREFIX}/share/listmanager X ${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/listmanager/help X ${INSTALL_SCRIPT} ${WRKSRC}/setup ${PREFIX}/share/listmanager X ${INSTALL_MAN} ${WRKSRC}/listmanager.8 ${PREFIX}/man/man8 X ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/sbin/listmanager X ${CHMOD} 4510 ${PREFIX}/sbin/listmanager X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-listmanager/Makefile echo x - listmanager/distinfo sed 's/^X//' >listmanager/distinfo << 'END-of-listmanager/distinfo' XMD5 (listmanager/listmanager.freebsd35) = c11a9860de2fd8393c708b3aecaf0df0 XMD5 (listmanager/INSTALL) = daab4be48e990a66b58e09fece5bb993 XMD5 (listmanager/help.tar.gz) = 55473e6dd480392fa783874723627fcc XMD5 (listmanager/listmanager.8) = d321176b26b8ddb2a539a69a7bf640a7 XMD5 (listmanager/ack) = 9c35b02b889c69278f7cac1c6b22bab3 END-of-listmanager/distinfo echo x - listmanager/pkg-comment sed 's/^X//' >listmanager/pkg-comment << 'END-of-listmanager/pkg-comment' XFully-featured mailing list manager END-of-listmanager/pkg-comment echo x - listmanager/pkg-descr sed 's/^X//' >listmanager/pkg-descr << 'END-of-listmanager/pkg-descr' XListmanager is a new UNIX-based mailing list management service Xdesigned and implemented for efficient, flexible operation of Xmailing lists of all sizes. It has been under constant development, Ximprovement and revision since its inception in 1994. X XSome features include: X * automatic mail alias table updates X * moderated, private, invite-only and "hidden" lists X * list archiving, with access controls and lifetime limits X * subscription confirmation X * ability to send headers and footers on each message or periodically X [...] X XWWW: http://www.listmanager.org/ XAuthor: Murray S. Kucherawy <msk@blackops.org> X X- Will <andrews@technologist.com> END-of-listmanager/pkg-descr echo x - listmanager/pkg-plist sed 's/^X//' >listmanager/pkg-plist << 'END-of-listmanager/pkg-plist' Xetc/listmanager.cf.sample Xsbin/listmanager Xshare/listmanager/INSTALL Xshare/listmanager/ack Xshare/listmanager/help/ACLs Xshare/listmanager/help/Addresses Xshare/listmanager/help/Archiving Xshare/listmanager/help/Digests Xshare/listmanager/help/Files Xshare/listmanager/help/General Xshare/listmanager/help/List-Flags Xshare/listmanager/help/Member-Flags Xshare/listmanager/help/Moderation Xshare/listmanager/help/Passwords Xshare/listmanager/help/Responses Xshare/listmanager/help/Storage Xshare/listmanager/help/Submissions Xshare/listmanager/help/WWW Xshare/listmanager/help/ack Xshare/listmanager/help/add Xshare/listmanager/help/addrcheck Xshare/listmanager/help/advise-owners Xshare/listmanager/help/allow-web-subs Xshare/listmanager/help/approve Xshare/listmanager/help/archaccess Xshare/listmanager/help/archived Xshare/listmanager/help/archivelist Xshare/listmanager/help/archroll Xshare/listmanager/help/auto-subscribe Xshare/listmanager/help/bounceinterval Xshare/listmanager/help/bouncereset Xshare/listmanager/help/check-addrs Xshare/listmanager/help/config Xshare/listmanager/help/confirm Xshare/listmanager/help/confirmdb Xshare/listmanager/help/create Xshare/listmanager/help/crush-blanks Xshare/listmanager/help/default Xshare/listmanager/help/deferred Xshare/listmanager/help/describe Xshare/listmanager/help/describe-to Xshare/listmanager/help/destroy Xshare/listmanager/help/dig-from-rqt Xshare/listmanager/help/digdb Xshare/listmanager/help/digest Xshare/listmanager/help/digfreq Xshare/listmanager/help/diglimit Xshare/listmanager/help/digsize Xshare/listmanager/help/disable Xshare/listmanager/help/disabled Xshare/listmanager/help/domain Xshare/listmanager/help/dual Xshare/listmanager/help/enable Xshare/listmanager/help/exclusive Xshare/listmanager/help/fast Xshare/listmanager/help/filter-auto Xshare/listmanager/help/filter-ccmail Xshare/listmanager/help/filter-mime Xshare/listmanager/help/filtered Xshare/listmanager/help/findmx Xshare/listmanager/help/flags Xshare/listmanager/help/flood Xshare/listmanager/help/floodlimit Xshare/listmanager/help/flushqueue Xshare/listmanager/help/footerfreq Xshare/listmanager/help/foreach Xshare/listmanager/help/fullname Xshare/listmanager/help/get Xshare/listmanager/help/headerfreq Xshare/listmanager/help/help Xshare/listmanager/help/hidden Xshare/listmanager/help/import Xshare/listmanager/help/include Xshare/listmanager/help/invalid Xshare/listmanager/help/listdata Xshare/listmanager/help/lists Xshare/listmanager/help/locked Xshare/listmanager/help/loop-detect Xshare/listmanager/help/mailqueue Xshare/listmanager/help/maintenance Xshare/listmanager/help/match-domain Xshare/listmanager/help/maxbounces Xshare/listmanager/help/maxlines Xshare/listmanager/help/maxmembers Xshare/listmanager/help/maxquoted Xshare/listmanager/help/maxsize Xshare/listmanager/help/md5cache Xshare/listmanager/help/md5cachedb Xshare/listmanager/help/memberdata Xshare/listmanager/help/memberlist Xshare/listmanager/help/members Xshare/listmanager/help/merge Xshare/listmanager/help/metoo Xshare/listmanager/help/mflags Xshare/listmanager/help/mime Xshare/listmanager/help/mime-digests Xshare/listmanager/help/mime-moderation Xshare/listmanager/help/mnemonic Xshare/listmanager/help/moderated Xshare/listmanager/help/mpassword Xshare/listmanager/help/mrename Xshare/listmanager/help/newaliases Xshare/listmanager/help/newcode Xshare/listmanager/help/no Xshare/listmanager/help/noerrormail Xshare/listmanager/help/noownermail Xshare/listmanager/help/nosend Xshare/listmanager/help/notify Xshare/listmanager/help/notify-renew Xshare/listmanager/help/options Xshare/listmanager/help/oversized Xshare/listmanager/help/owner Xshare/listmanager/help/owner-unlimit Xshare/listmanager/help/password Xshare/listmanager/help/pending Xshare/listmanager/help/permanent Xshare/listmanager/help/pipe Xshare/listmanager/help/private Xshare/listmanager/help/probation Xshare/listmanager/help/queuefreq Xshare/listmanager/help/quit Xshare/listmanager/help/rebuild Xshare/listmanager/help/redirect Xshare/listmanager/help/reject Xshare/listmanager/help/remove Xshare/listmanager/help/rename Xshare/listmanager/help/renew Xshare/listmanager/help/renewcount Xshare/listmanager/help/renewfreq Xshare/listmanager/help/replyto Xshare/listmanager/help/revmembers Xshare/listmanager/help/saccess Xshare/listmanager/help/segments Xshare/listmanager/help/select Xshare/listmanager/help/sendarchive Xshare/listmanager/help/senddigest Xshare/listmanager/help/sequence Xshare/listmanager/help/set Xshare/listmanager/help/setpassword Xshare/listmanager/help/show Xshare/listmanager/help/showmember Xshare/listmanager/help/signoff Xshare/listmanager/help/silent Xshare/listmanager/help/sort-digest Xshare/listmanager/help/source Xshare/listmanager/help/sremove Xshare/listmanager/help/srename Xshare/listmanager/help/storage Xshare/listmanager/help/store Xshare/listmanager/help/sub-approve Xshare/listmanager/help/sub-confirm Xshare/listmanager/help/subinterval Xshare/listmanager/help/submit Xshare/listmanager/help/subscribe Xshare/listmanager/help/subscriptions Xshare/listmanager/help/suppress Xshare/listmanager/help/templates Xshare/listmanager/help/testaddress Xshare/listmanager/help/ticketed Xshare/listmanager/help/unix-archives Xshare/listmanager/help/unmerge Xshare/listmanager/help/unsubscribe Xshare/listmanager/help/update Xshare/listmanager/help/vacation Xshare/listmanager/help/validate Xshare/listmanager/help/validfreq Xshare/listmanager/help/verbose Xshare/listmanager/help/verify Xshare/listmanager/help/version Xshare/listmanager/setup X@dirrm share/listmanager/help X@dirrm share/listmanager END-of-listmanager/pkg-plist exit >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?200111241853.fAOIrcNq003451>