summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lutgens <blutgens@gentoo.org>2002-07-17 03:11:56 +0000
committerBen Lutgens <blutgens@gentoo.org>2002-07-17 03:11:56 +0000
commit8ae93bf407b78d1ea8c09781badcb6f3514570db (patch)
treeeb92ac8e26388ac1184d27a823ea533de5695901 /net-mail/mailman
parentrepoman'd (diff)
downloadhistorical-8ae93bf407b78d1ea8c09781badcb6f3514570db.tar.gz
historical-8ae93bf407b78d1ea8c09781badcb6f3514570db.tar.bz2
historical-8ae93bf407b78d1ea8c09781badcb6f3514570db.zip
added a depend on ypbind for autofs
updated the HOMEPAGE for ppp disabled use of socks5 USE var in bitchx cause it's b0rken added a fetchmail system wide init script, revved the package and masked it added mailman to the tree and masked it, hope to hell i didn't miss anything. Sorry daniel, can't run repoman this high-up in the tree, you'll have to take my word for it I ran it individually on each package i touched ;-)
Diffstat (limited to 'net-mail/mailman')
-rw-r--r--net-mail/mailman/ChangeLog11
-rw-r--r--net-mail/mailman/files/README.gentoo47
-rw-r--r--net-mail/mailman/files/digest-mailman-2.0.121
-rw-r--r--net-mail/mailman/files/mailman.conf19
-rw-r--r--net-mail/mailman/mailman-2.0.12.ebuild71
5 files changed, 149 insertions, 0 deletions
diff --git a/net-mail/mailman/ChangeLog b/net-mail/mailman/ChangeLog
new file mode 100644
index 000000000000..2f8d529eb760
--- /dev/null
+++ b/net-mail/mailman/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-mailmailmanChangeLog/
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.1 2002/07/17 03:11:56 lamer Exp $
+
+*-mailman-2.0.12 (16 Jul 2002)
+
+ 16 Jul 2002; Ben Lutgens <lamer@gentoo.org> mailman-2.0.1.2.ebuild,
+ ChangeLog, files/digest-mailman-2.0.2.1, files/mailman.conf,
+ files/README.gentoo :
+
+ Brand new package, based on submission by Joby Walker
diff --git a/net-mail/mailman/files/README.gentoo b/net-mail/mailman/files/README.gentoo
new file mode 100644
index 000000000000..94a60bccab3c
--- /dev/null
+++ b/net-mail/mailman/files/README.gentoo
@@ -0,0 +1,47 @@
+Follow these instructions to finish setting up mailman. This file and the
+original ebuild were tweaked by me <lamer@gentoo.org> but were graciously
+submitted by Joby Walker (YOU RULE!)
+
+Please view the documentation on Mailman at: http://www.list.org/
+
+I have configured Mailman to install in /var/mailman by default, to change
+this you will need to modify the INSTALLDIR variable in the ebuild and the
+locations in the mailman.conf(.apache) file.
+
+1) If this is your first time installing mailman, after your "emerge mailman", you will need to
+run:
+
+ebuild /var/db/pkg/net-mail/mailman-x.x.x/mailman-x.x.x.ebuild config
+
+This will add an Include in your apache.conf to mailman.conf
+
+2) And then in you /etc/conf.d/apache file add the additional option:
+
+-D MAILMAN
+
+3) Make sure mailman is a part of the cron group
+
+4) The rest must be done as user mailman so:
+
+su - mailman
+
+5) Add the cron jobs:
+
+cd cron
+crontab crontab.in
+cd ..
+
+6) create the site password:
+
+bin/mmsitepass
+
+From here you just need to add lists as per the documentation. I placed the
+INSTALL file in /usr/share/doc/mailman-$VERSION/
+
+Remember:
+
+Do everything as user "mailman". If root you will cause mailman to fail,
+but it is correctable by running "bin/check_perms -f" from the root
+mailman directory (/var/mailman).
+
+NOTE TO ORIGINAL AUTHOR: Once again thanks for the submission, you rule!
diff --git a/net-mail/mailman/files/digest-mailman-2.0.12 b/net-mail/mailman/files/digest-mailman-2.0.12
new file mode 100644
index 000000000000..b978380555de
--- /dev/null
+++ b/net-mail/mailman/files/digest-mailman-2.0.12
@@ -0,0 +1 @@
+MD5 94999f0954ff91e880a2102717c0474e mailman-2.0.12.tgz 415993
diff --git a/net-mail/mailman/files/mailman.conf b/net-mail/mailman/files/mailman.conf
new file mode 100644
index 000000000000..fbfec81d68b2
--- /dev/null
+++ b/net-mail/mailman/files/mailman.conf
@@ -0,0 +1,19 @@
+<IfDefine MAILMAN>
+ ScriptAlias /mailman/ "/var/mailman/cgi-bin/"
+
+ <Directory "/var/mailman/cgi-bin/">
+ AllowOverride None
+ Options None
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ Alias /pipermail/ "/var/mailman/archives/public/"
+
+ <Directory "/var/mailman/archives/public/">
+ AllowOverride None
+ Options ExecCGI FollowSymLinks
+ Order allow,deny
+ Allow from all
+ </Directory>
+</IfDefine>
diff --git a/net-mail/mailman/mailman-2.0.12.ebuild b/net-mail/mailman/mailman-2.0.12.ebuild
new file mode 100644
index 000000000000..12b2f3597023
--- /dev/null
+++ b/net-mail/mailman/mailman-2.0.12.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.0.12.ebuild,v 1.1 2002/07/17 03:11:56 lamer Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU Mailman, the mailing list server with webinterface"
+SRC_URI="ftp://ftp.gnu.org/gnu/mailman/mailman-2.0.12.tgz"
+HOMEPAGE="http://www.list.org/"
+DEPEND=">=dev-lang/python-1.5.2
+ virtual/mta
+ net-www/apache"
+SLOT="O"
+KEYWORDS="x86"
+
+INSTALLDIR="/var/mailman"
+APACHEGID="81"
+MAILGID="65534"
+
+
+pkg_setup() {
+ if ! grep -q ^mailman: /etc/group ; then
+ groupadd -g 280 mailman || die "problem adding group mailman"
+ fi
+ if ! grep -q ^mailman: /etc/passwd ; then
+ useradd -u 280 -g mailman -G cron -s /bin/bash \
+ -d ${INSTALLDIR} -c "mailman" mailman
+ fi
+ mkdir -p ${INSTALLDIR}
+ chown mailman.mailman ${INSTALLDIR}
+ chmod 2775 ${INSTALLDIR}
+}
+
+src_compile() {
+ cd ${S}
+ ./configure \
+ --prefix=${INSTALLDIR} \
+ --with-mail-gid=${MAILGID} \
+ --with-cgi-gid=${APACHEGID}
+ make || die
+}
+
+src_install () {
+ ID=${D}${INSTALLDIR}
+ cd ${S}
+ mkdir -p ${ID}
+ chown -R mailman.mailman ${ID}
+ chmod 2775 ${ID}
+ make prefix=${ID} var_prefix=${ID} doinstall || die
+ insinto /etc/apache/conf/addon-modules
+ doins ${FILESDIR}/mailman.conf
+
+ dodoc ${FILESDIR}/README.gentoo INSTALL
+}
+
+pkg_postinst() {
+ cd ${INSTALLDIR}
+ bin/update
+ bin/check_perms -f
+ einfo
+ einfo "Please read /usr/share/doc/${P}/README.gentoo for additional"
+ einfo "Setup information, mailman will NOT run unless you follow"
+ einfo "those instructions!"
+}
+
+pkg_config() {
+ einfo "Updating apache config"
+ einfo "added: \"Include conf/addon-modules/mailman.conf\""
+ einfo "to ${ROOT}/etc/apache/conf/apache.conf"
+ echo "Include conf/addon-modules/mailman.conf" \
+ >> ${ROOT}/etc/apache/conf/apache.conf
+}