diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-08-23 15:28:17 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-08-23 15:28:17 +0000 |
commit | 3ba2b249e114e81d5c16ade9b89799a0d56672c7 (patch) | |
tree | 49748c14b4392ec6ebf3b6bf3a2851d1a7191a93 /mail/mailman | |
parent | e8063b068e41466ef0d1f99881a651dcd147164d (diff) | |
download | pkgsrc-3ba2b249e114e81d5c16ade9b89799a0d56672c7.tar.gz |
Initial import of mailman package (posted to tech-pkg on Aug, 01)
Maiman is a e-mail list manager. It includes a web interface for
management from a user (subscribe/unsuscribe) and administrator point
of view, as well as the traditionnal command-though-emails management.
It also offers web-browsable mailing-list archives.
Diffstat (limited to 'mail/mailman')
-rw-r--r-- | mail/mailman/DESCR | 9 | ||||
-rw-r--r-- | mail/mailman/MESSAGE | 21 | ||||
-rw-r--r-- | mail/mailman/Makefile | 150 | ||||
-rw-r--r-- | mail/mailman/PLIST | 290 | ||||
-rw-r--r-- | mail/mailman/distinfo | 10 | ||||
-rw-r--r-- | mail/mailman/files/install.local | 20 | ||||
-rw-r--r-- | mail/mailman/files/mailman.conf.dist | 30 | ||||
-rw-r--r-- | mail/mailman/patches/patch-aa | 66 | ||||
-rw-r--r-- | mail/mailman/patches/patch-ab | 46 | ||||
-rw-r--r-- | mail/mailman/patches/patch-ac | 13 | ||||
-rw-r--r-- | mail/mailman/patches/patch-ad | 13 | ||||
-rw-r--r-- | mail/mailman/patches/patch-ae | 13 | ||||
-rw-r--r-- | mail/mailman/patches/patch-af | 15 |
13 files changed, 696 insertions, 0 deletions
diff --git a/mail/mailman/DESCR b/mail/mailman/DESCR new file mode 100644 index 00000000000..0f751acad91 --- /dev/null +++ b/mail/mailman/DESCR @@ -0,0 +1,9 @@ +Mailman is software to help manage electronic mail discussion lists, +much like Majordomo or Smartmail. Mailman gives each mailing list a unique +web page and allows users to subscribe, unsubscribe, and change their +account options over the web. Even the list manager can administer his or +her list entirely via the web. Mailman has most of the features that +people want in a mailing list management system, including built-in +archiving, mail-to-news gateways, spam filters, bounce detection, digest +delivery, and so on. See the features page (http://www.list.org/features.html) +for more detail. diff --git a/mail/mailman/MESSAGE b/mail/mailman/MESSAGE new file mode 100644 index 00000000000..3cd1ff7c24e --- /dev/null +++ b/mail/mailman/MESSAGE @@ -0,0 +1,21 @@ +========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +You will need to make mailman accessible through your HTTP server. +If you are running Apache, then you may add the following line to httpd.conf: + + Include ${PKG_SYSCONFDIR}/mailman.conf + +to make mailman accessible through: + + http://www.domain.com/mailman/ + +and the archive accessible though + http://www.domain.com/pipermail/ + +You will also need to add some crontab entries for the user ${MAILMAN_USER}. +You can use ${EXECDIR}/cron/crontab.in as template. +See the files in ${DOCDIR} for how to use mailman, especially +${DOCDIR}/INSTALL starting at section 5 for post-install configurations. + +========================================================================== diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile new file mode 100644 index 00000000000..b54e927ac83 --- /dev/null +++ b/mail/mailman/Makefile @@ -0,0 +1,150 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +DISTNAME= mailman-2.0.13 +CATEGORIES= mail www +MASTER_SITES= ${MASTER_SITE_GNU:=mailman/} +EXTRACT_SUFX= .tgz + +MAINTAINER= bouyer@netbsd.org +HOMEPAGE= http://www.list.org/ +COMMENT= the GNU Mailing List Manager + +.include "../../mk/bsd.prefs.mk" + +PKG_SYSCONFSUBDIR?= httpd +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} +MESSAGE_SUBST+= DOCDIR=${DOCDIR} + +EXECDIR= ${PREFIX}/lib/mailman +MAILMAN_DATADIR?= /var/db/mailman +EGDIR= ${PREFIX}/share/examples/mailman +DOCDIR= ${PREFIX}/share/doc/mailman +MAILMAN_USER?= mailman +MAILMAN_GROUP?= mailman +MAILMAN_MAILGROUP?= guest # group of user 'daemon' + +MESSAGE_SUBST+= EXECDIR=${EXECDIR} +FILES_SUBST+= EXECDIR=${EXECDIR} +FILES_SUBST+= MAILMAN_USER=${MAILMAN_USER} +FILES_SUBST+= MAILMAN_GROUP=${MAILMAN_GROUP} +FILES_SUBST+= MAILMAN_DATADIR=${MAILMAN_DATADIR} + +PKG_GROUPS= ${MAILMAN_GROUP} +PKG_USERS= ${MAILMAN_USER}:${MAILMAN_GROUP}::Mailman\\ user::${SH} + +# We have some extra steps to do at postinstall time +INSTALL_EXTRA_TMPL= files/install.local + +OWN_DIRS= ${EXECDIR} +OWN_DIRS_PERMS= ${EXECDIR} root ${MAILMAN_GROUP} 755 + +OWN_DIRS= ${MAILMAN_DATADIR} +OWN_DIRS_PERMS= ${MAILMAN_DATADIR} ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS= ${MAILMAN_DATADIR}/logs +MAKE_DIRS_PERMS= ${MAILMAN_DATADIR}/logs ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/archives +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/archives ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/lists +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/lists ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/locks +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/locks ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/qfiles +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/qfiles ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/data +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/data ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/spam +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/spam ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/filters +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/filters ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/archives/public +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/archives/public ${MAILMAN_USER} ${MAILMAN_GROUP} 775 +MAKE_DIRS+= ${MAILMAN_DATADIR}/archives/private +MAKE_DIRS_PERMS+= ${MAILMAN_DATADIR}/archives/private ${MAILMAN_USER} ${MAILMAN_GROUP} 775 + +CONF_FILES+= ${EGDIR}/mailman.conf ${PKG_SYSCONFDIR}/mailman.conf +CONF_FILES+= ${EXECDIR}/Mailman/mm_cfg.py.dist ${EXECDIR}/Mailman/mm_cfg.py + +NO_BIN_ON_FTP= requires compiled-in hardcoded uid/gid +NO_BIN_ON_CDROM= ${NO_BIN_ON_FTP} + +PYTHON_VERSIONS_ACCEPTED= 21 20 +PYTHON_PATCH_SCRIPTS= Mailman/Archiver/pipermail.py +PYTHON_PATCH_SCRIPTS+= Mailman/pythonlib/cgi.py +PYTHON_PATCH_SCRIPTS+= Mailman/pythonlib/smtplib.py +PYTHON_PATCH_SCRIPTS+= admin/bin/Release.py +PYTHON_PATCH_SCRIPTS+= admin/bin/faq2ht.py +PYTHON_PATCH_SCRIPTS+= admin/bin/mm2do +PYTHON_PATCH_SCRIPTS+= bin/add_members +PYTHON_PATCH_SCRIPTS+= bin/arch +PYTHON_PATCH_SCRIPTS+= bin/check_db +PYTHON_PATCH_SCRIPTS+= bin/check_perms +PYTHON_PATCH_SCRIPTS+= bin/clone_member +PYTHON_PATCH_SCRIPTS+= bin/config_list +PYTHON_PATCH_SCRIPTS+= bin/digest_arch +PYTHON_PATCH_SCRIPTS+= bin/dumpdb +PYTHON_PATCH_SCRIPTS+= bin/find_member +PYTHON_PATCH_SCRIPTS+= bin/list_lists +PYTHON_PATCH_SCRIPTS+= bin/list_members +PYTHON_PATCH_SCRIPTS+= bin/mmsitepass +PYTHON_PATCH_SCRIPTS+= bin/move_list +PYTHON_PATCH_SCRIPTS+= bin/newlist +PYTHON_PATCH_SCRIPTS+= bin/remove_members +PYTHON_PATCH_SCRIPTS+= bin/rmlist +PYTHON_PATCH_SCRIPTS+= bin/sync_members +PYTHON_PATCH_SCRIPTS+= bin/update +PYTHON_PATCH_SCRIPTS+= bin/version +PYTHON_PATCH_SCRIPTS+= bin/withlist +PYTHON_PATCH_SCRIPTS+= contrib/qmail-to-mailman.py +PYTHON_PATCH_SCRIPTS+= contrib/rotatelogs.py +PYTHON_PATCH_SCRIPTS+= contrib/securelinux_fix.py +PYTHON_PATCH_SCRIPTS+= cron/bumpdigests +PYTHON_PATCH_SCRIPTS+= cron/checkdbs +PYTHON_PATCH_SCRIPTS+= cron/gate_news +PYTHON_PATCH_SCRIPTS+= cron/mailpasswds +PYTHON_PATCH_SCRIPTS+= cron/nightly_gzip +PYTHON_PATCH_SCRIPTS+= cron/qrunner +PYTHON_PATCH_SCRIPTS+= cron/senddigests +PYTHON_PATCH_SCRIPTS+= filters/bowa-strip +PYTHON_PATCH_SCRIPTS+= misc/Cookie.py +PYTHON_PATCH_SCRIPTS+= scripts/answer_majordomo_mail +PYTHON_PATCH_SCRIPTS+= scripts/mailcmd +PYTHON_PATCH_SCRIPTS+= scripts/mailowner +PYTHON_PATCH_SCRIPTS+= scripts/owner +PYTHON_PATCH_SCRIPTS+= scripts/post +PYTHON_PATCH_SCRIPTS+= scripts/request + +MAILMAN_CONFIGURE_ARGS= --with-python=${PYTHONBIN} +MAILMAN_CONFIGURE_ARGS+= -prefix=${EXECDIR} +MAILMAN_CONFIGURE_ARGS+= --with-var-prefix=${MAILMAN_DATADIR} +MAILMAN_CONFIGURE_ARGS+= --with-username=${MAILMAN_USER} +MAILMAN_CONFIGURE_ARGS+= --with-groupname=${MAILMAN_GROUP} +MAILMAN_CONFIGURE_ARGS+= --with-mail-gid=${MAILMAN_MAILGROUP} + +# we can't do the configure things before install, because the user/group has +# to exist and this is only done after build +do-build: #nothing + +pre-install: + @${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailman.conf.dist \ + > ${WRKDIR}/mailman.conf.dist + +do-install: + ${INSTALL} -d -o ${MAILMAN_USER} -g ${MAILMAN_GROUP} -m775 ${EXECDIR} + ${INSTALL_DATA_DIR} ${DOCDIR} + cd ${WRKSRC}; \ + ./configure ${MAILMAN_CONFIGURE_ARGS}; \ + ${MAKE} install + cd ${WRKSRC}; \ + for i in ACKNOWLEDGMENTS BUGS FAQ INSTALL NEWS README README.BSD \ + README.EXIM README.LINUX README.NETSCAPE README.QMAIL \ + README.SENDMAIL TODO UPGRADING; do \ + ${INSTALL_DATA} $$i ${DOCDIR}/; \ + done + ${INSTALL_DATA_DIR} ${EGDIR} + cd ${WRKDIR}; ${INSTALL_DATA} mailman.conf.dist ${EGDIR}/mailman.conf + ${CHOWN} -R root ${EXECDIR} + ${CHMOD} -R g-w ${EXECDIR} + +.include "../../lang/python/application.buildlink.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/mailman/PLIST b/mail/mailman/PLIST new file mode 100644 index 00000000000..f45c1a8f796 --- /dev/null +++ b/mail/mailman/PLIST @@ -0,0 +1,290 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +share/examples/mailman/mailman.conf +share/doc/mailman/ACKNOWLEDGMENTS +share/doc/mailman/BUGS +share/doc/mailman/FAQ +share/doc/mailman/INSTALL +share/doc/mailman/NEWS +share/doc/mailman/README +share/doc/mailman/README.BSD +share/doc/mailman/README.EXIM +share/doc/mailman/README.LINUX +share/doc/mailman/README.NETSCAPE +share/doc/mailman/README.QMAIL +share/doc/mailman/README.SENDMAIL +share/doc/mailman/TODO +share/doc/mailman/UPGRADING +lib/mailman/bin/digest_arch +lib/mailman/bin/mmsitepass +lib/mailman/bin/newlist +lib/mailman/bin/rmlist +lib/mailman/bin/add_members +lib/mailman/bin/list_members +lib/mailman/bin/remove_members +lib/mailman/bin/clone_member +lib/mailman/bin/update +lib/mailman/bin/arch +lib/mailman/bin/sync_members +lib/mailman/bin/check_db +lib/mailman/bin/withlist +lib/mailman/bin/check_perms +lib/mailman/bin/find_member +lib/mailman/bin/version +lib/mailman/bin/move_list +lib/mailman/bin/config_list +lib/mailman/bin/list_lists +lib/mailman/bin/dumpdb +lib/mailman/bin/paths.py +lib/mailman/bin/paths.pyc +lib/mailman/templates/admindbpreamble.html +lib/mailman/templates/handle_opts.html +lib/mailman/templates/headfoot.html +lib/mailman/templates/listinfo.html +lib/mailman/templates/options.html +lib/mailman/templates/roster.html +lib/mailman/templates/subscribe.html +lib/mailman/templates/adminsubscribeack.txt +lib/mailman/templates/adminunsubscribeack.txt +lib/mailman/templates/admlogin.txt +lib/mailman/templates/approve.txt +lib/mailman/templates/bounce.txt +lib/mailman/templates/checkdbs.txt +lib/mailman/templates/convert.txt +lib/mailman/templates/cronpass.txt +lib/mailman/templates/help.txt +lib/mailman/templates/masthead.txt +lib/mailman/templates/newlist.txt +lib/mailman/templates/nopass.txt +lib/mailman/templates/postack.txt +lib/mailman/templates/postauth.txt +lib/mailman/templates/postheld.txt +lib/mailman/templates/reenable.txt +lib/mailman/templates/refuse.txt +lib/mailman/templates/subauth.txt +lib/mailman/templates/subscribeack.txt +lib/mailman/templates/userpass.txt +lib/mailman/templates/verify.txt +lib/mailman/scripts/paths.py +lib/mailman/scripts/answer_majordomo_mail +lib/mailman/scripts/mailcmd +lib/mailman/scripts/mailowner +lib/mailman/scripts/post +lib/mailman/scripts/driver +lib/mailman/cron/checkdbs +lib/mailman/cron/crontab.in +lib/mailman/cron/mailpasswds +lib/mailman/cron/senddigests +lib/mailman/cron/gate_news +lib/mailman/cron/nightly_gzip +lib/mailman/cron/qrunner +lib/mailman/cron/bumpdigests +lib/mailman/cron/paths.py +lib/mailman/Mailman/Cgi/Auth.py +lib/mailman/Mailman/Cgi/__init__.py +lib/mailman/Mailman/Cgi/admin.py +lib/mailman/Mailman/Cgi/admindb.py +lib/mailman/Mailman/Cgi/edithtml.py +lib/mailman/Mailman/Cgi/handle_opts.py +lib/mailman/Mailman/Cgi/listinfo.py +lib/mailman/Mailman/Cgi/options.py +lib/mailman/Mailman/Cgi/private.py +lib/mailman/Mailman/Cgi/roster.py +lib/mailman/Mailman/Cgi/subscribe.py +lib/mailman/Mailman/Cgi/Auth.pyc +lib/mailman/Mailman/Cgi/__init__.pyc +lib/mailman/Mailman/Cgi/admin.pyc +lib/mailman/Mailman/Cgi/admindb.pyc +lib/mailman/Mailman/Cgi/edithtml.pyc +lib/mailman/Mailman/Cgi/handle_opts.pyc +lib/mailman/Mailman/Cgi/listinfo.pyc +lib/mailman/Mailman/Cgi/options.pyc +lib/mailman/Mailman/Cgi/private.pyc +lib/mailman/Mailman/Cgi/roster.pyc +lib/mailman/Mailman/Cgi/subscribe.pyc +lib/mailman/Mailman/Logging/Logger.py +lib/mailman/Mailman/Logging/MultiLogger.py +lib/mailman/Mailman/Logging/StampedLogger.py +lib/mailman/Mailman/Logging/Syslog.py +lib/mailman/Mailman/Logging/Utils.py +lib/mailman/Mailman/Logging/__init__.py +lib/mailman/Mailman/Logging/Logger.pyc +lib/mailman/Mailman/Logging/MultiLogger.pyc +lib/mailman/Mailman/Logging/StampedLogger.pyc +lib/mailman/Mailman/Logging/Syslog.pyc +lib/mailman/Mailman/Logging/Utils.pyc +lib/mailman/Mailman/Logging/__init__.pyc +lib/mailman/Mailman/Archiver/__init__.py +lib/mailman/Mailman/Archiver/Archiver.py +lib/mailman/Mailman/Archiver/HyperArch.py +lib/mailman/Mailman/Archiver/HyperDatabase.py +lib/mailman/Mailman/Archiver/pipermail.py +lib/mailman/Mailman/Archiver/Archiver.pyc +lib/mailman/Mailman/Archiver/HyperArch.pyc +lib/mailman/Mailman/Archiver/HyperDatabase.pyc +lib/mailman/Mailman/Archiver/__init__.pyc +lib/mailman/Mailman/Archiver/pipermail.pyc +lib/mailman/Mailman/Handlers/Acknowledge.py +lib/mailman/Mailman/Handlers/AfterDelivery.py +lib/mailman/Mailman/Handlers/Approve.py +lib/mailman/Mailman/Handlers/CalcRecips.py +lib/mailman/Mailman/Handlers/Cleanse.py +lib/mailman/Mailman/Handlers/CookHeaders.py +lib/mailman/Mailman/Handlers/Decorate.py +lib/mailman/Mailman/Handlers/HandlerAPI.py +lib/mailman/Mailman/Handlers/Hold.py +lib/mailman/Mailman/Handlers/Replybot.py +lib/mailman/Mailman/Handlers/SMTPDirect.py +lib/mailman/Mailman/Handlers/Sendmail.py +lib/mailman/Mailman/Handlers/SpamDetect.py +lib/mailman/Mailman/Handlers/ToArchive.py +lib/mailman/Mailman/Handlers/ToDigest.py +lib/mailman/Mailman/Handlers/ToUsenet.py +lib/mailman/Mailman/Handlers/__init__.py +lib/mailman/Mailman/Handlers/Acknowledge.pyc +lib/mailman/Mailman/Handlers/AfterDelivery.pyc +lib/mailman/Mailman/Handlers/Approve.pyc +lib/mailman/Mailman/Handlers/CalcRecips.pyc +lib/mailman/Mailman/Handlers/Cleanse.pyc +lib/mailman/Mailman/Handlers/CookHeaders.pyc +lib/mailman/Mailman/Handlers/Decorate.pyc +lib/mailman/Mailman/Handlers/HandlerAPI.pyc +lib/mailman/Mailman/Handlers/Hold.pyc +lib/mailman/Mailman/Handlers/Replybot.pyc +lib/mailman/Mailman/Handlers/SMTPDirect.pyc +lib/mailman/Mailman/Handlers/Sendmail.pyc +lib/mailman/Mailman/Handlers/SpamDetect.pyc +lib/mailman/Mailman/Handlers/ToArchive.pyc +lib/mailman/Mailman/Handlers/ToDigest.pyc +lib/mailman/Mailman/Handlers/ToUsenet.pyc +lib/mailman/Mailman/Handlers/__init__.pyc +lib/mailman/Mailman/Bouncers/BouncerAPI.py +lib/mailman/Mailman/Bouncers/Caiwireless.py +lib/mailman/Mailman/Bouncers/Catchall.py +lib/mailman/Mailman/Bouncers/Compuserve.py +lib/mailman/Mailman/Bouncers/DSN.py +lib/mailman/Mailman/Bouncers/Exim.py +lib/mailman/Mailman/Bouncers/GroupWise.py +lib/mailman/Mailman/Bouncers/Microsoft.py +lib/mailman/Mailman/Bouncers/Netscape.py +lib/mailman/Mailman/Bouncers/Postfix.py +lib/mailman/Mailman/Bouncers/Qmail.py +lib/mailman/Mailman/Bouncers/SMTP32.py +lib/mailman/Mailman/Bouncers/SimpleMatch.py +lib/mailman/Mailman/Bouncers/Smail.py +lib/mailman/Mailman/Bouncers/Yahoo.py +lib/mailman/Mailman/Bouncers/__init__.py +lib/mailman/Mailman/Bouncers/BouncerAPI.pyc +lib/mailman/Mailman/Bouncers/Caiwireless.pyc +lib/mailman/Mailman/Bouncers/Catchall.pyc +lib/mailman/Mailman/Bouncers/Compuserve.pyc +lib/mailman/Mailman/Bouncers/DSN.pyc +lib/mailman/Mailman/Bouncers/Exim.pyc +lib/mailman/Mailman/Bouncers/Postfix.pyc +lib/mailman/Mailman/Bouncers/GroupWise.pyc +lib/mailman/Mailman/Bouncers/Microsoft.pyc +lib/mailman/Mailman/Bouncers/Netscape.pyc +lib/mailman/Mailman/Bouncers/Qmail.pyc +lib/mailman/Mailman/Bouncers/SMTP32.pyc +lib/mailman/Mailman/Bouncers/SimpleMatch.pyc +lib/mailman/Mailman/Bouncers/Smail.pyc +lib/mailman/Mailman/Bouncers/Yahoo.pyc +lib/mailman/Mailman/Bouncers/__init__.pyc +lib/mailman/Mailman/pythonlib/StringIO.py +lib/mailman/Mailman/pythonlib/__init__.py +lib/mailman/Mailman/pythonlib/cgi.py +lib/mailman/Mailman/pythonlib/nntplib.py +lib/mailman/Mailman/pythonlib/rfc822.py +lib/mailman/Mailman/pythonlib/smtplib.py +lib/mailman/Mailman/pythonlib/tempfile.py +lib/mailman/Mailman/pythonlib/StringIO.pyc +lib/mailman/Mailman/pythonlib/__init__.pyc +lib/mailman/Mailman/pythonlib/cgi.pyc +lib/mailman/Mailman/pythonlib/nntplib.pyc +lib/mailman/Mailman/pythonlib/rfc822.pyc +lib/mailman/Mailman/pythonlib/smtplib.pyc +lib/mailman/Mailman/pythonlib/tempfile.pyc +lib/mailman/Mailman/Cookie.py +lib/mailman/Mailman/Autoresponder.py +lib/mailman/Mailman/Bouncer.py +lib/mailman/Mailman/Crypt.py +lib/mailman/Mailman/Defaults.py +lib/mailman/Mailman/Deliverer.py +lib/mailman/Mailman/Digester.py +lib/mailman/Mailman/EncWord.py +lib/mailman/Mailman/Errors.py +lib/mailman/Mailman/GatewayManager.py +lib/mailman/Mailman/HTMLFormatter.py +lib/mailman/Mailman/ListAdmin.py +lib/mailman/Mailman/LockFile.py +lib/mailman/Mailman/MailCommandHandler.py +lib/mailman/Mailman/MailList.py +lib/mailman/Mailman/Mailbox.py +lib/mailman/Mailman/Message.py +lib/mailman/Mailman/Pending.py +lib/mailman/Mailman/SecurityManager.py +lib/mailman/Mailman/Utils.py +lib/mailman/Mailman/Version.py +lib/mailman/Mailman/__init__.py +lib/mailman/Mailman/aliases.py +lib/mailman/Mailman/htmlformat.py +lib/mailman/Mailman/versions.py +lib/mailman/Mailman/mm_cfg.py.dist +lib/mailman/Mailman/Autoresponder.pyc +lib/mailman/Mailman/Bouncer.pyc +lib/mailman/Mailman/Cookie.pyc +lib/mailman/Mailman/Crypt.pyc +lib/mailman/Mailman/Defaults.pyc +lib/mailman/Mailman/Deliverer.pyc +lib/mailman/Mailman/Digester.pyc +lib/mailman/Mailman/EncWord.pyc +lib/mailman/Mailman/Errors.pyc +lib/mailman/Mailman/GatewayManager.pyc +lib/mailman/Mailman/HTMLFormatter.pyc +lib/mailman/Mailman/Mailbox.pyc +lib/mailman/Mailman/ListAdmin.pyc +lib/mailman/Mailman/LockFile.pyc +lib/mailman/Mailman/MailCommandHandler.pyc +lib/mailman/Mailman/MailList.pyc +lib/mailman/Mailman/Message.pyc +lib/mailman/Mailman/Pending.pyc +lib/mailman/Mailman/SecurityManager.pyc +lib/mailman/Mailman/Utils.pyc +lib/mailman/Mailman/Version.pyc +lib/mailman/Mailman/__init__.pyc +lib/mailman/Mailman/aliases.pyc +lib/mailman/Mailman/htmlformat.pyc +lib/mailman/Mailman/mm_cfg.pyc +lib/mailman/Mailman/versions.pyc +lib/mailman/icons/gnu-head-tiny.jpg +lib/mailman/icons/mailman-large.jpg +lib/mailman/icons/mailman.jpg +lib/mailman/icons/PythonPowered.png +lib/mailman/cgi-bin/admin +lib/mailman/cgi-bin/admindb +lib/mailman/cgi-bin/edithtml +lib/mailman/cgi-bin/options +lib/mailman/cgi-bin/listinfo +lib/mailman/cgi-bin/subscribe +lib/mailman/cgi-bin/roster +lib/mailman/cgi-bin/handle_opts +lib/mailman/cgi-bin/private +lib/mailman/mail/wrapper +lib/mailman/support/bowa-strip +lib/mailman/support/pending_subscriptions.db +@dirrm share/examples/mailman +@dirrm share/doc/mailman +@dirrm lib/mailman/bin +@dirrm lib/mailman/templates +@dirrm lib/mailman/scripts +@dirrm lib/mailman/cron +@dirrm lib/mailman/Mailman/Cgi +@dirrm lib/mailman/Mailman/Logging +@dirrm lib/mailman/Mailman/Archiver +@dirrm lib/mailman/Mailman/Handlers +@dirrm lib/mailman/Mailman/Bouncers +@dirrm lib/mailman/Mailman/pythonlib +@dirrm lib/mailman/icons +@dirrm lib/mailman/cgi-bin +@dirrm lib/mailman/mail +@dirrm lib/mailman/support/ diff --git a/mail/mailman/distinfo b/mail/mailman/distinfo new file mode 100644 index 00000000000..84bd41a24a7 --- /dev/null +++ b/mail/mailman/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +SHA1 (mailman-2.0.12.tgz) = e1268a347168e4c61aaffbcd8cd8d92483a92766 +Size (mailman-2.0.12.tgz) = 415993 bytes +SHA1 (patch-aa) = f427d7e6acb3953ead0a37f63c41acf6ed17909d +SHA1 (patch-ab) = d353cac87f319863c8cd43a79937ff99f26be001 +SHA1 (patch-ac) = dc9967b5336541ddaf72322e2b5d5a6b2323c60d +SHA1 (patch-ad) = 03d6bafcfee7863bd9b04f44da3dd2861d9b6da6 +SHA1 (patch-ae) = 6445fa3401949bf8b479ca28eddc5d13c5a287de +SHA1 (patch-af) = 847ed7d6aa5f32949911808a7b4685df210be424 diff --git a/mail/mailman/files/install.local b/mail/mailman/files/install.local new file mode 100644 index 00000000000..dc5298c1f1e --- /dev/null +++ b/mail/mailman/files/install.local @@ -0,0 +1,20 @@ +# mirror part of POST-INSTALL, but executed at PRE-INSTALL +case ${STAGE} in +POST-INSTALL) + cd @EXECDIR@ + # run bin/update + ./bin/update + # install data files + ${CP} support/pending_subscriptions.db @MAILMAN_DATADIR@/data/ + ${CHOWN} @MAILMAN_USER@:@MAILMAN_GROUP@ \ + @MAILMAN_DATADIR@/data/pending_subscriptions.db + ${CHMOD} 0664 @MAILMAN_DATADIR@/data/pending_subscriptions.db + ${CP} support/bowa-strip @MAILMAN_DATADIR@/filters/ + ${CHOWN} @MAILMAN_USER@:@MAILMAN_GROUP@ \ + @MAILMAN_DATADIR@/filters/bowa-strip + ${CHMOD} 0664 @MAILMAN_DATADIR@/filters/bowa-strip + ;; +*) + ;; +esac + diff --git a/mail/mailman/files/mailman.conf.dist b/mail/mailman/files/mailman.conf.dist new file mode 100644 index 00000000000..d96e20d9aca --- /dev/null +++ b/mail/mailman/files/mailman.conf.dist @@ -0,0 +1,30 @@ +# $NetBSD: mailman.conf.dist,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ +# +# Mailman configuration file fragment for Apache + +<IfModule mod_alias.c> + ScriptAlias /mailman/ "@EXECDIR@/cgi-bin/" + Alias /pipermail/ "@MAILMAN_DATADIR@/archives/public/" + Alias /mailman-icons/ "@EXECDIR@/icons/" +</IfModule> + +<Directory "@EXECDIR@/cgi-bin"> + Options Indexes Includes MultiViews SymLinksIfOwnerMatch + AllowOverride FileInfo AuthConfig Limit + Order allow,deny + Allow from all +</Directory> + +<Directory "@EXECDIR@/icons"> + Options none + AllowOverride FileInfo AuthConfig Limit + Order allow,deny + Allow from all +</Directory> + +<Directory "@MAILMAN_DATADIR@/archives/public/"> + Options SymLinksIfOwnerMatch + AllowOverride FileInfo AuthConfig Limit + Order allow,deny + Allow from all +</Directory> diff --git a/mail/mailman/patches/patch-aa b/mail/mailman/patches/patch-aa new file mode 100644 index 00000000000..36f02eb2b48 --- /dev/null +++ b/mail/mailman/patches/patch-aa @@ -0,0 +1,66 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +--- configure.orig Thu Jul 25 15:34:56 2002 ++++ configure Thu Jul 25 15:38:02 2002 +@@ -1245,8 +1245,8 @@ + + + # Now make sure that $prefix is set up correctly. It must be group +-# owned by `mailman', it must have the group sticky bit set, and it +-# must be a+rx ++# owned by `mailman', and it must be a+rx. ${VAR_PREFIX} is not created at this ++# time so don't check it + if test "$VAR_PREFIX" = "NONE" + then + VAR_PREFIX=$ac_default_prefix +@@ -1254,50 +1254,6 @@ + else + prefixcheck=$VAR_PREFIX + fi +- +-echo $ac_n "checking permissions on $prefixcheck""... $ac_c" 1>&6 +-echo "configure:1260: checking permissions on $prefixcheck" >&5 +- +-cat > conftest.py <<EOF +-import os, grp, string +-from stat import * +-prefix = "$prefixcheck" +-mailmangid = $MAILMAN_GID +-problems = [] +-try: statdata = os.stat(prefix) +-except os.error: +- problems.append("Directory doesn't exist: " + prefix) +-else: +- mode = statdata[ST_MODE] +- gid = statdata[ST_GID] +- if mailmangid <> gid: +- problems.append("Directory must be owned by group mailman: " + prefix) +- if (mode & S_ISGID) <> S_ISGID: +- problems.append("Set-gid bit must be set for directory: " +prefix) +- perms = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH +- if (mode & perms) <> perms: +- problems.append("Permissions should be at least 02775: " + prefix) +-if not problems: +- msg = "okay\n" +-else: +- msg = '***** ' + string.join(problems, '\n***** ') + '\n' +-fp = open("conftest.out", "w") +-fp.write(msg) +-fp.close() +-EOF +- +-$PYTHON conftest.py +-status=`cat conftest.out` +-rm -f conftest.out conftest.py +-if test "$status" != "okay" +-then +- { echo "configure: error: +-***** Installation directory $prefixcheck is not configured properly! +-$status" 1>&2; exit 1; } +-fi +- +-echo "$ac_t""okay" 1>&6 +- + + # Now find the UIDs and GIDs + # Support --with-mail-gid and --with-cgi-gid diff --git a/mail/mailman/patches/patch-ab b/mail/mailman/patches/patch-ab new file mode 100644 index 00000000000..dad0f895c34 --- /dev/null +++ b/mail/mailman/patches/patch-ab @@ -0,0 +1,46 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +--- Makefile.in.orig Fri Sep 22 10:06:19 2000 ++++ Makefile.in Thu Jul 25 17:06:34 2002 +@@ -49,7 +49,7 @@ + bin templates scripts cron \ + Mailman Mailman/Cgi Mailman/Logging Mailman/Archiver \ + Mailman/Handlers Mailman/Bouncers Mailman/pythonlib \ +- icons ++ icons support + ARCH_DEP_DIRS= cgi-bin mail + + # Directories make should decend into +@@ -63,7 +63,7 @@ + EXEMODE= 755 + FILEMODE= 644 + INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) +-DIRSETGID= chmod g+s ++DIRSETGID= true + + + # Rules +@@ -76,22 +76,9 @@ + (cd $$d; $(MAKE)); \ + done + +-install: doinstall update ++install: doinstall + + doinstall: $(SUBDIRS) +- @echo "Creating architecture independent directories..." +- @for d in $(VAR_DIRS); \ +- do \ +- dir=$(var_prefix)/$$d; \ +- if test ! -d $$dir; then \ +- echo "Creating directory hierarchy $$dir"; \ +- ./mkinstalldirs $$dir; \ +- chmod $(DIRMODE) $$dir; \ +- $(DIRSETGID) $$dir; \ +- else true; \ +- fi; \ +- done +- chmod o-r $(var_prefix)/archives/private + @for d in $(ARCH_INDEP_DIRS); \ + do \ + dir=$(prefix)/$$d; \ diff --git a/mail/mailman/patches/patch-ac b/mail/mailman/patches/patch-ac new file mode 100644 index 00000000000..221b594c8b1 --- /dev/null +++ b/mail/mailman/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +--- misc/Makefile.in.orig Thu Jul 25 17:07:03 2002 ++++ misc/Makefile.in Thu Jul 25 17:07:36 2002 +@@ -68,7 +68,7 @@ + dir=$(prefix)/$$d; \ + $(INSTALL) -m $(FILEMODE) paths.py $$dir; \ + done +- $(INSTALL) -m $(DATAMODE) pending_subscriptions.db $(DATADIR) ++ $(INSTALL) -m $(DATAMODE) pending_subscriptions.db $(prefix)/support + + finish: + diff --git a/mail/mailman/patches/patch-ad b/mail/mailman/patches/patch-ad new file mode 100644 index 00000000000..14abba766cf --- /dev/null +++ b/mail/mailman/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +--- filters/Makefile.in.orig Thu Jul 25 17:08:08 2002 ++++ filters/Makefile.in Thu Jul 25 17:08:40 2002 +@@ -37,7 +37,7 @@ + + OPT= @OPT@ + CFLAGS= $(OPT) $(DEFS) +-FILTERSDIR= $(var_prefix)/filters ++FILTERSDIR= $(prefix)/support + + SHELL= /bin/sh + diff --git a/mail/mailman/patches/patch-ae b/mail/mailman/patches/patch-ae new file mode 100644 index 00000000000..ad00f9eea95 --- /dev/null +++ b/mail/mailman/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +--- Mailman/Defaults.py.in.orig Thu Jul 25 17:49:13 2002 ++++ Mailman/Defaults.py.in Thu Jul 25 17:49:36 2002 +@@ -43,7 +43,7 @@ + # slash).. If you want to disable Mailman's logo footer altogther, hack + # Mailman/htmlformat.py:MailmanLogo(), which also contains the hardcoded links + # and image names. +-IMAGE_LOGOS = '/icons/' ++IMAGE_LOGOS = '/mailman-icons/' + + # Don't change MAILMAN_URL, unless you want to point it at the list.org + # mirror. diff --git a/mail/mailman/patches/patch-af b/mail/mailman/patches/patch-af new file mode 100644 index 00000000000..fe63d55fe60 --- /dev/null +++ b/mail/mailman/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1.1.1 2002/08/23 15:28:17 bouyer Exp $ + +--- Mailman/Makefile.in.orig Thu Aug 1 21:16:03 2002 ++++ Mailman/Makefile.in Thu Aug 1 21:16:25 2002 +@@ -67,10 +67,6 @@ + $(INSTALL) -m $(FILEMODE) $$f $(PACKAGEDIR); \ + done + $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(PACKAGEDIR) +- if [ ! -f $(PACKAGEDIR)/mm_cfg.py ]; \ +- then \ +- $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(PACKAGEDIR)/mm_cfg.py; \ +- fi + + install: install-here + for d in $(SUBDIRS); \ |