diff options
author | Todd Berman <tberman@gentoo.org> | 2003-05-14 02:18:28 +0000 |
---|---|---|
committer | Todd Berman <tberman@gentoo.org> | 2003-05-14 02:18:28 +0000 |
commit | 48dcd959f411217718eceb98c1ae2724a22a17e2 (patch) | |
tree | 85c3a4841652a9fb8b8bf4fbea91f9a8957c356a /net-mail/mailman | |
parent | Changed install dir, bumped r# (diff) | |
download | gentoo-2-48dcd959f411217718eceb98c1ae2724a22a17e2.tar.gz gentoo-2-48dcd959f411217718eceb98c1ae2724a22a17e2.tar.bz2 gentoo-2-48dcd959f411217718eceb98c1ae2724a22a17e2.zip |
Changed install dir, bumped r#
Diffstat (limited to 'net-mail/mailman')
-rw-r--r-- | net-mail/mailman/ChangeLog | 7 | ||||
-rw-r--r-- | net-mail/mailman/Manifest | 4 | ||||
-rw-r--r-- | net-mail/mailman/files/digest-mailman-2.1.1-r3 | 1 | ||||
-rw-r--r-- | net-mail/mailman/mailman-2.1.1-r3.ebuild | 92 |
4 files changed, 101 insertions, 3 deletions
diff --git a/net-mail/mailman/ChangeLog b/net-mail/mailman/ChangeLog index 1a90be7fd248..4fed78f09b08 100644 --- a/net-mail/mailman/ChangeLog +++ b/net-mail/mailman/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/mailman # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.11 2003/04/30 01:02:38 tberman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.12 2003/05/14 02:18:22 tberman Exp $ + +*mailman-2.1.1-r3 (13 May 2003) + + 13 May 2003; Todd Berman <tberman@gentoo.org> mailman-2.1.1-r3.ebuild: + Changed install dir to /home/ instead of /var/. bumped r# *mailman-2.1.1-r2 (29 Apr 2003) diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest index b300785a15bb..f03f3343b6df 100644 --- a/net-mail/mailman/Manifest +++ b/net-mail/mailman/Manifest @@ -3,8 +3,8 @@ MD5 ce6937efe1b9b2c81907050e31e34378 mailman-2.1.1-r1.ebuild 2712 MD5 56d0300c139c8e9d0db16c662ca92f59 mailman-2.1.1.ebuild 2482 MD5 a7700a2cb6070e1977b8f9ef790c67ad mailman-2.1.ebuild 2489 MD5 ddc361a8f2c9e4ae26324c5846665cef mailman-2.1.1-r2.ebuild 2713 -MD5 bc2cf570dcdbdacfeeff322534a12599 ChangeLog 1486 -MD5 931d301fe457c602273abea0ddb05616 mailman-2.1.1-r3.ebuild 2714 +MD5 04c7220a7f0eb8ce7d7da969992b1c87 ChangeLog 1486 +MD5 853dedfcef1898e5062bb66c42cb56b8 mailman-2.1.1-r3.ebuild 2714 MD5 ff41a2443653c601e2f80dcb5a87b004 files/README.gentoo 1368 MD5 55be2eab933580039c9feb4796c3bcf9 files/digest-mailman-2.0.12 63 MD5 2172743b0a9160821702fe304a875392 files/digest-mailman-2.1 61 diff --git a/net-mail/mailman/files/digest-mailman-2.1.1-r3 b/net-mail/mailman/files/digest-mailman-2.1.1-r3 new file mode 100644 index 000000000000..16cd1f01a87b --- /dev/null +++ b/net-mail/mailman/files/digest-mailman-2.1.1-r3 @@ -0,0 +1 @@ +MD5 7f7cdc52a40a17a2c7ee91c5f4dd675d mailman-2.1.1.tgz 5473754 diff --git a/net-mail/mailman/mailman-2.1.1-r3.ebuild b/net-mail/mailman/mailman-2.1.1-r3.ebuild new file mode 100644 index 000000000000..27294621a317 --- /dev/null +++ b/net-mail/mailman/mailman-2.1.1-r3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.1-r3.ebuild,v 1.1 2003/05/14 02:18:22 tberman Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU Mailman, the mailing list server with webinterface" +SRC_URI="mirror://gnu/${PN}/${P}.tgz" +HOMEPAGE="http://www.list.org/" + +SLOT="O" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc " + +DEPEND=">=dev-lang/python-1.5.2 + virtual/mta + net-www/apache" + +INSTALLDIR="/home/mailman" +APACHEGID="81" +MAILGID="daemon" + +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 + dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING + dodoc contrib/README.check_perms_grsecurity contrib/mm-handler.readme + dodoc contrib/virtusertable contrib/mailman.mc + + cp contrib/*.py contrib/majordomo2mailman.pl contrib/auto \ + contrib/mm-handler* ${D}/var/mailman/bin + + # Save the old config into the new package as CONFIG_PROTECT + # doesn't work for this package. + if [ -f ${ROOT}/var/mailman/Mailman/mm_cfg.py ]; then + rm ${D}/var/mailman/Mailman/mm_cfg.py + cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ + ${D}/var/mailman/Mailman/mm_cfg.py + einfo "Your old config has been saved." + einfo "A new config has been installed as mm_cfg.py.dist" + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/mailman.rc mailman + } + +pkg_postinst() { + cd ${INSTALLDIR} + bin/update + bin/check_perms -f + einfo + einfo "Please read /usr/share/doc/${PF}/README.gentoo.gz 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 +} |