diff options
author | steve <steve@FreeBSD.org> | 2000-07-17 01:16:02 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-17 01:16:02 +0000 |
commit | bf471af82ec0eba4eb816de334c62c244148ef58 (patch) | |
tree | 5464584906d96ff4288c072167536384301c5358 | |
parent | 834149243d4b397cc6dbba1051224670899ceb99 (diff) | |
download | FreeBSD-ports-bf471af82ec0eba4eb816de334c62c244148ef58.zip FreeBSD-ports-bf471af82ec0eba4eb816de334c62c244148ef58.tar.gz |
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/mailman/Makefile | 53 | ||||
-rw-r--r-- | mail/mailman/distinfo | 1 | ||||
-rw-r--r-- | mail/mailman/files/configure.sh | 35 | ||||
-rw-r--r-- | mail/mailman/pkg-comment | 1 | ||||
-rw-r--r-- | mail/mailman/pkg-descr | 16 | ||||
-rw-r--r-- | mail/mailman/pkg-plist | 205 |
7 files changed, 312 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index fb35fc9..731beef 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -44,6 +44,7 @@ SUBDIR += mailcrypt SUBDIR += maildrop SUBDIR += mailfilter + SUBDIR += mailman SUBDIR += mailx SUBDIR += majorcool SUBDIR += majordomo diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile new file mode 100644 index 0000000..50872d8 --- /dev/null +++ b/mail/mailman/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: mailman +# Date created: 10 July 2000 +# Whom: n_hibma@qubesoft.com +# +# $FreeBSD$ +# + +PORTNAME= mailman +PORTVERSION= 1.1 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= mailman +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS+= python:${PORTSDIR}/lang/python +RUN_DEPENDS+= $(LOCALBASE)/sbin/httpd:${PORTSDIR}/www/apache13\ + python:${PORTSDIR}/lang/python + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-mail-gid=daemon + +UNAME= mailman +UID= 89 + +MAILMANDIR= ${PREFIX}/mailman + +pre-configure: + # Add the username, uid, group amd gid + ${SH} ${FILESDIR}/configure.sh ${UNAME} ${UID} + + # Create the dir and the correct permissions for it. + ${MKDIR} ${MAILMANDIR} + ${CHOWN} ${UNAME}:${UNAME} ${MAILMANDIR} + ${CHMOD} g+s ${MAILMANDIR} + +post-install: + @echo All related binaries have been installed in ${MAILMANDIR}/bin + @echo See ${WORKDIR}/INSTALL for installation instructions \($$prefix == ${MAILMANDIR}\). + @echo Sample entry for httpd.conf for Apache: + @echo " ScriptAlias /mailman/ ${MAILMANDIR}/cgi-bin/" + @echo ' <Directory ${MAILMANDIR}/cgi-bin/>' + @echo ' Options FollowSymLinks ExecCGI' + @echo ' ... other options ...' + @echo ' </Directory>' + +.include <bsd.port.mk> + +# Override the prefix (it is being abused in mailman) +# XXX It might be a good idea to have a look again at where +# the various files are put +CONFIGURE_ARGS+= --prefix=${MAILMANDIR} diff --git a/mail/mailman/distinfo b/mail/mailman/distinfo new file mode 100644 index 0000000..612820e --- /dev/null +++ b/mail/mailman/distinfo @@ -0,0 +1 @@ +MD5 (mailman-1.1.tar.gz) = 42d499f4e1de6959c50b20a4eb0f432a diff --git a/mail/mailman/files/configure.sh b/mail/mailman/files/configure.sh new file mode 100644 index 0000000..c7e1eeb --- /dev/null +++ b/mail/mailman/files/configure.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +USER=$1 +UID=$2 +GROUP=${USER} +GID=${UID} + +if [ -z "$USER" -o -z "$UID" ]; then + echo "Syntax: $0 <username> <uid>" + exit 1 +fi + +if pw group show "${GROUP}" 2>/dev/null; then + echo "You already have a group \"${GROUP}\", so I will use it." +else + if pw groupadd ${GROUP} -g ${GID}; then + echo "Added group \"${GROUP}\"." + else + echo "Adding group \"${GROUP}\" failed..." + exit 1 + fi +fi + +if pw user show "${USER}" 2>/dev/null; then + echo "You already have a user \"${USER}\", so I will use it." +else + if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ + -d ${DB_DIR} -s /sbin/nologin -c "MySQL Daemon" + then + echo "Added user \"${USER}\"." + else + echo "Adding user \"${USER}\" failed..." + exit 1 + fi +fi diff --git a/mail/mailman/pkg-comment b/mail/mailman/pkg-comment new file mode 100644 index 0000000..4140acc --- /dev/null +++ b/mail/mailman/pkg-comment @@ -0,0 +1 @@ +Software to help manage email discussion lists diff --git a/mail/mailman/pkg-descr b/mail/mailman/pkg-descr new file mode 100644 index 0000000..01c67bd --- /dev/null +++ b/mail/mailman/pkg-descr @@ -0,0 +1,16 @@ +Mailman is software to help manage email discussion lists, much like Majordomo +and Smartmail. Unlike most similar products, Mailman gives each mailing list a +web page, and allows users to subscribe, unsubscribe, etc. over the web. Even +the list manager can administer his or her list entirely from the web. Mailman +also integrates most things people want to do with mailing lists, including +archiving, mail-to-news gateways, integrated bounce handling, spam prevention, +email-based admin commands, direct SMTP delivery (with fast bulk mailing), +support for virtual domains, and more. + +Mailman runs on most Un*x-like systems, is compatible with most web servers and +browsers, and most SMTP servers. Mailman requires Python version 1.5 or newer. +Python is a free object-oriented scripting language. A few files are written in +C for security purposes. + +The manual is still only a set of READMEs provided in the Mailman distribution. +For now, more information can be found at www.list.org. diff --git a/mail/mailman/pkg-plist b/mail/mailman/pkg-plist new file mode 100644 index 0000000..cfb4bde --- /dev/null +++ b/mail/mailman/pkg-plist @@ -0,0 +1,205 @@ +mailman/Mailman/Archiver/Archiver.py +mailman/Mailman/Archiver/Archiver.pyc +mailman/Mailman/Archiver/HyperArch.py +mailman/Mailman/Archiver/HyperArch.pyc +mailman/Mailman/Archiver/HyperDatabase.py +mailman/Mailman/Archiver/HyperDatabase.pyc +mailman/Mailman/Archiver/__init__.py +mailman/Mailman/Archiver/__init__.pyc +mailman/Mailman/Archiver/pipermail.py +mailman/Mailman/Archiver/pipermail.pyc +mailman/Mailman/Bouncer.py +mailman/Mailman/Bouncer.pyc +mailman/Mailman/Cgi/__init__.py +mailman/Mailman/Cgi/__init__.pyc +mailman/Mailman/Cgi/admin.py +mailman/Mailman/Cgi/admin.pyc +mailman/Mailman/Cgi/admindb.py +mailman/Mailman/Cgi/admindb.pyc +mailman/Mailman/Cgi/archives.py +mailman/Mailman/Cgi/archives.pyc +mailman/Mailman/Cgi/edithtml.py +mailman/Mailman/Cgi/edithtml.pyc +mailman/Mailman/Cgi/handle_opts.py +mailman/Mailman/Cgi/handle_opts.pyc +mailman/Mailman/Cgi/listinfo.py +mailman/Mailman/Cgi/listinfo.pyc +mailman/Mailman/Cgi/options.py +mailman/Mailman/Cgi/options.pyc +mailman/Mailman/Cgi/private.py +mailman/Mailman/Cgi/private.pyc +mailman/Mailman/Cgi/roster.py +mailman/Mailman/Cgi/roster.pyc +mailman/Mailman/Cgi/subscribe.py +mailman/Mailman/Cgi/subscribe.pyc +mailman/Mailman/Cookie.py +mailman/Mailman/Cookie.pyc +mailman/Mailman/Crypt.py +mailman/Mailman/Crypt.pyc +mailman/Mailman/Defaults.py +mailman/Mailman/Defaults.pyc +mailman/Mailman/Deliverer.py +mailman/Mailman/Deliverer.pyc +mailman/Mailman/Digester.py +mailman/Mailman/Digester.pyc +mailman/Mailman/Errors.py +mailman/Mailman/Errors.pyc +mailman/Mailman/GatewayManager.py +mailman/Mailman/GatewayManager.pyc +mailman/Mailman/HTMLFormatter.py +mailman/Mailman/HTMLFormatter.pyc +mailman/Mailman/ListAdmin.py +mailman/Mailman/ListAdmin.pyc +mailman/Mailman/LockFile.py +mailman/Mailman/LockFile.pyc +mailman/Mailman/Logging/Logger.py +mailman/Mailman/Logging/Logger.pyc +mailman/Mailman/Logging/MultiLogger.py +mailman/Mailman/Logging/MultiLogger.pyc +mailman/Mailman/Logging/StampedLogger.py +mailman/Mailman/Logging/StampedLogger.pyc +mailman/Mailman/Logging/Utils.py +mailman/Mailman/Logging/Utils.pyc +mailman/Mailman/Logging/__init__.py +mailman/Mailman/Logging/__init__.pyc +mailman/Mailman/MailCommandHandler.py +mailman/Mailman/MailCommandHandler.pyc +mailman/Mailman/MailList.py +mailman/Mailman/MailList.pyc +mailman/Mailman/Mailbox.py +mailman/Mailman/Mailbox.pyc +mailman/Mailman/Message.py +mailman/Mailman/Message.pyc +mailman/Mailman/OutgoingQueue.py +mailman/Mailman/OutgoingQueue.pyc +mailman/Mailman/Pending.py +mailman/Mailman/Pending.pyc +mailman/Mailman/SecurityManager.py +mailman/Mailman/SecurityManager.pyc +mailman/Mailman/Utils.py +mailman/Mailman/Utils.pyc +mailman/Mailman/__init__.py +mailman/Mailman/__init__.pyc +mailman/Mailman/aliases.py +mailman/Mailman/aliases.pyc +mailman/Mailman/htmlformat.py +mailman/Mailman/htmlformat.pyc +mailman/Mailman/mm_cfg.py +mailman/Mailman/mm_cfg.py.dist +mailman/Mailman/mm_cfg.pyc +mailman/Mailman/pythonlib/__init__.py +mailman/Mailman/pythonlib/__init__.pyc +mailman/Mailman/pythonlib/cgi.py +mailman/Mailman/pythonlib/cgi.pyc +mailman/Mailman/pythonlib/getpass.py +mailman/Mailman/pythonlib/getpass.pyc +mailman/Mailman/pythonlib/rfc822.py +mailman/Mailman/pythonlib/rfc822.pyc +mailman/Mailman/pythonlib/smtplib.py +mailman/Mailman/pythonlib/smtplib.pyc +mailman/Mailman/pythonlib/tempfile.py +mailman/Mailman/pythonlib/tempfile.pyc +mailman/Mailman/versions.py +mailman/Mailman/versions.pyc +mailman/bin/add_members +mailman/bin/arch +mailman/bin/check_db +mailman/bin/check_perms +mailman/bin/clone_member +mailman/bin/digest_arch +mailman/bin/find_member +mailman/bin/list_members +mailman/bin/mmsitepass +mailman/bin/newlist +mailman/bin/paths.py +mailman/bin/paths.pyc +mailman/bin/remove_members +mailman/bin/rmlist +mailman/bin/sync_members +mailman/bin/update +mailman/bin/version +mailman/bin/withlist +mailman/cgi-bin/admin +mailman/cgi-bin/admindb +mailman/cgi-bin/archives +mailman/cgi-bin/edithtml +mailman/cgi-bin/handle_opts +mailman/cgi-bin/listinfo +mailman/cgi-bin/options +mailman/cgi-bin/private +mailman/cgi-bin/roster +mailman/cgi-bin/subscribe +mailman/cron/archive +mailman/cron/checkdbs +mailman/cron/crontab.in +mailman/cron/gate_news +mailman/cron/mailpasswds +mailman/cron/nightly_gzip +mailman/cron/paths.py +mailman/cron/paths.pyc +mailman/cron/run_queue +mailman/cron/senddigests +mailman/cron/upvolumes_monthly +mailman/cron/upvolumes_yearly +mailman/data/pending_subscriptions.db +mailman/filters/bowa-strip +mailman/mail/paths.py +mailman/mail/paths.pyc +mailman/mail/wrapper +mailman/scripts/answer_majordomo_mail +mailman/scripts/contact_transport +mailman/scripts/deliver +mailman/scripts/driver +mailman/scripts/dumb_deliver +mailman/scripts/mailcmd +mailman/scripts/mailowner +mailman/scripts/paths.py +mailman/scripts/paths.pyc +mailman/scripts/post +mailman/templates/adminsubscribeack.txt +mailman/templates/adminunsubscribeack.txt +mailman/templates/admlogin.txt +mailman/templates/approve.txt +mailman/templates/archives.html +mailman/templates/bounce.txt +mailman/templates/checkdbs.txt +mailman/templates/convert.txt +mailman/templates/cronpass.txt +mailman/templates/handle_opts.html +mailman/templates/help.txt +mailman/templates/listinfo.html +mailman/templates/masthead.txt +mailman/templates/newlist.txt +mailman/templates/nopass.txt +mailman/templates/options.html +mailman/templates/postack.txt +mailman/templates/postauth.txt +mailman/templates/postheld.txt +mailman/templates/reenable.txt +mailman/templates/refuse.txt +mailman/templates/roster.html +mailman/templates/subauth.txt +mailman/templates/subscribe.html +mailman/templates/subscribeack.txt +mailman/templates/userpass.txt +mailman/templates/verify.txt +@dirrm mailman/Mailman/Archiver +@dirrm mailman/Mailman/Cgi +@dirrm mailman/Mailman/Logging +@dirrm mailman/Mailman/pythonlib +@dirrm mailman/Mailman +@dirrm mailman/archives/private +@dirrm mailman/archives/public +@dirrm mailman/archives +@dirrm mailman/bin +@dirrm mailman/cgi-bin +@dirrm mailman/cron +@dirrm mailman/data +@dirrm mailman/filters +@dirrm mailman/lists +@dirrm mailman/locks +@dirrm mailman/logs +@dirrm mailman/mail +@dirrm mailman/scripts +@dirrm mailman/templates +@dirrm mailman |