diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-01-31 22:47:11 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-01-31 22:47:11 +0000 |
commit | c333ed942de713f3fb3a6770dd87f2254fbd0c90 (patch) | |
tree | fdafbe642bf327b8a6a291de119df3c0c6a9b683 /net-mail | |
parent | adding -s option to start. Closes 34278. (diff) | |
download | gentoo-2-c333ed942de713f3fb3a6770dd87f2254fbd0c90.tar.gz gentoo-2-c333ed942de713f3fb3a6770dd87f2254fbd0c90.tar.bz2 gentoo-2-c333ed942de713f3fb3a6770dd87f2254fbd0c90.zip |
cleanup
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/mailman/Manifest | 6 | ||||
-rw-r--r-- | net-mail/mailman/files/digest-mailman-2.1.2 | 1 | ||||
-rw-r--r-- | net-mail/mailman/files/digest-mailman-2.1.2-r1 | 1 | ||||
-rw-r--r-- | net-mail/mailman/files/digest-mailman-2.1.3 | 1 | ||||
-rw-r--r-- | net-mail/mailman/mailman-2.1.2-r1.ebuild | 134 | ||||
-rw-r--r-- | net-mail/mailman/mailman-2.1.2.ebuild | 128 | ||||
-rw-r--r-- | net-mail/mailman/mailman-2.1.3.ebuild | 135 |
7 files changed, 0 insertions, 406 deletions
diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest index d827a536d48b..b029d857fa63 100644 --- a/net-mail/mailman/Manifest +++ b/net-mail/mailman/Manifest @@ -1,13 +1,7 @@ MD5 de0b64d55f7e27fe8dc63cb392b52b06 ChangeLog 4278 -MD5 628b951398375f314ac63c788a5ac2ee mailman-2.1.2-r1.ebuild 3989 -MD5 97ae56d3533bf0398ab86b47c75b7612 mailman-2.1.2.ebuild 3948 -MD5 7bee9247af8f1f612d26ae1ffcc1b2c7 mailman-2.1.3.ebuild 4015 MD5 c767c18d3aa235b614df116bdcb74f26 mailman-2.1.4.ebuild 3881 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 a3000c3831745cd851e43e54999f72bc files/README.gentoo 4990 MD5 b4afd138c66781bdddf85d8823762e76 files/digest-mailman-2.1.4 63 -MD5 c633b40bfc65dcf74cc36594b311031a files/digest-mailman-2.1.2 63 -MD5 c633b40bfc65dcf74cc36594b311031a files/digest-mailman-2.1.2-r1 63 -MD5 675717875a0e1b419c0da432c182d368 files/digest-mailman-2.1.3 63 MD5 5d22f02db188eac8ff6b50aa4f45a13f files/mailman.rc 562 MD5 3089c1f0f8d91abdd612997b085959eb files/mailman.conf 385 diff --git a/net-mail/mailman/files/digest-mailman-2.1.2 b/net-mail/mailman/files/digest-mailman-2.1.2 deleted file mode 100644 index b41b5a6549ef..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 24d2917ba0229e7bcd6153661d749e60 mailman-2.1.2.tgz 4641165 diff --git a/net-mail/mailman/files/digest-mailman-2.1.2-r1 b/net-mail/mailman/files/digest-mailman-2.1.2-r1 deleted file mode 100644 index b41b5a6549ef..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.1.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 24d2917ba0229e7bcd6153661d749e60 mailman-2.1.2.tgz 4641165 diff --git a/net-mail/mailman/files/digest-mailman-2.1.3 b/net-mail/mailman/files/digest-mailman-2.1.3 deleted file mode 100644 index 674747a901ad..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.1.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 1c9ec97b340ad1f802bce3f6b2dd9430 mailman-2.1.3.tgz 6365000 diff --git a/net-mail/mailman/mailman-2.1.2-r1.ebuild b/net-mail/mailman/mailman-2.1.2-r1.ebuild deleted file mode 100644 index df5a67c68fda..000000000000 --- a/net-mail/mailman/mailman-2.1.2-r1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# 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.2-r1.ebuild,v 1.5 2004/01/04 18:34:29 mholzer Exp $ - -IUSE="apache2" - -DESCRIPTION="A python-based mailing list server with an extensive web interface" -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="/usr/local/mailman" -APACHEGID="81" -MAILGID="280" - -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() { - econf \ - --prefix=${INSTALLDIR} \ - --with-mail-gid=${MAILGID} \ - --with-cgi-gid=${APACHEGID} \ - || die "configure failed" - - make || die "make failed" -} - -src_install () { - ID=${D}${INSTALLDIR} - - dodir ${ID}/logs - keepdir ${ID}/logs - - dodir ${ID}/spam - keepdir ${ID}/spam - - chown -R mailman:mailman ${ID} - chmod 2775 ${ID} - - make prefix=${ID} var_prefix=${ID} doinstall || die - - if [ "`use apache2`" ]; then - dodir /etc/apache2/conf/modules.d - insinto /etc/apache2/conf/modules.d - newins ${FILESDIR}/mailman.conf 50_mailman.conf - else - dodir /etc/apache/conf/addon-modules - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - fi - - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING INSTALL - 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}/usr/local/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 - cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - einfo "A new config has been installed as mm_cfg.dist" - fi - if [ -f ${ROOT}/home/mailman/Mailman/mm_cfg.py ]; then - cp ${ROOT}/home/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - einfo "A new config has been installed as mm_cfg.py.dist" - fi - if [ -f ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py ]; then - cp${ROOT}/usr/local/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - 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!" - einfo "" - ewarn "" - ewarn "The home directory for mailman has been moved from /var/mailman" - ewarn "(pre 2.1.1-r2) or /home/mailman (2.1.1-r3) to /usr/local/mailman" - ewarn "This should hopefully solve any problems, and this is what the mailman" - ewarn "default is. (Any existing config has been saved in the" - ewarn "new home directory.)" - ewarn "" - if [ ! "`use apache2`" ]; then - einfo "It appears that you aren't running apache2..." - einfo "ebuild /var/db/pkg/net-mail/mailman/mailman-2.1.2-r1.ebuild config" - einfo "to add the mailman hooks to your config" - fi -} - -pkg_config() { - if [ ! "`use apache2`" ]; then - 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 - fi -} diff --git a/net-mail/mailman/mailman-2.1.2.ebuild b/net-mail/mailman/mailman-2.1.2.ebuild deleted file mode 100644 index 103f661c6639..000000000000 --- a/net-mail/mailman/mailman-2.1.2.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# 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.2.ebuild,v 1.10 2004/01/10 00:18:46 mholzer Exp $ - -IUSE="apache2" - -DESCRIPTION="A python-based mailing list server with an extensive web interface" -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="/usr/local/mailman" -APACHEGID="81" -MAILGID="280" - -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} - - dodir ${ID}/logs - keepdir ${ID}/logs - dodir ${ID}/spam - keepdir ${ID}/spam - - chown -R mailman:mailman ${ID} - chmod 2775 ${ID} - make prefix=${ID} var_prefix=${ID} doinstall || die - if [ "`use apache2`" ]; then - dodir /etc/apache2/conf/addon-modules - insinto /etc/apache2/conf/addon-modules - doins ${FILESDIR}/mailman.conf - else - dodir /etc/apache/conf/addon-modules - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - fi - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING INSTALL - 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}/usr/local/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 - cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - einfo "A new config has been installed as mm_cfg.dist" - fi - if [ -f ${ROOT}/home/mailman/Mailman/mm_cfg.py ]; then - cp ${ROOT}/home/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - einfo "A new config has been installed as mm_cfg.py.dist" - fi - if [ -f ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py ]; then - cp ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - 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!" - ewarn "The home directory for mailman has been moved from /var/mailman" - ewarn "(pre 2.1.1-r2) or /home/mailman (2.1.1-r3) to /usr/local/mailman" - ewarn "This should hopefully solve any problems, and this is what the mailman" - ewarn "default is. (Any existing config has been saved in the" - ewarn "new home directory.)" -} - -pkg_config() { - if [ "`use apache2`" ]; then - einfo "Updating apache2 config" - einfo "added: \"Include conf/addon-modules/mailman.conf\"" - einfo "to ${ROOT}etc/apache2/conf/apache2.conf" - echo "Include conf/addon-modules/mailman.conf" \ - >> ${ROOT}etc/apache2/conf/apache2.conf - else - 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 - fi -} diff --git a/net-mail/mailman/mailman-2.1.3.ebuild b/net-mail/mailman/mailman-2.1.3.ebuild deleted file mode 100644 index ce8f55c30737..000000000000 --- a/net-mail/mailman/mailman-2.1.3.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# 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.3.ebuild,v 1.4 2004/01/10 00:18:46 mholzer Exp $ - -IUSE="apache2" - -DESCRIPTION="A python-based mailing list server with an extensive web interface" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" -RESTRICT="nomirror" -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="/usr/local/mailman" -APACHEGID="81" -MAILGID="280" - -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() { - econf \ - --prefix=${INSTALLDIR} \ - --with-mail-gid=${MAILGID} \ - --with-cgi-gid=${APACHEGID} \ - || die "configure failed" - - make || die "make failed" -} - -src_install () { - ID=${D}${INSTALLDIR} - - dodir ${ID}/logs - keepdir ${ID}/logs - - dodir ${ID}/spam - keepdir ${ID}/spam - - chown -R mailman:mailman ${ID} - chmod 2775 ${ID} - - make prefix=${ID} var_prefix=${ID} doinstall || die - - if [ "`use apache2`" ]; then - dodir /etc/apache2/conf/modules.d - insinto /etc/apache2/conf/modules.d - newins ${FILESDIR}/mailman.conf 50_mailman.conf - else - dodir /etc/apache/conf/addon-modules - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - fi - - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING INSTALL - 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}/usr/local/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 - cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - einfo "A new config has been installed as mm_cfg.dist" - fi - if [ -f ${ROOT}/home/mailman/Mailman/mm_cfg.py ]; then - cp ${ROOT}/home/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - einfo "A new config has been installed as mm_cfg.py.dist" - fi - if [ -f ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py ]; then - cp ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py \ - ${D}/usr/local/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved as mm_cfg.py" - 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!" - einfo "" - ewarn "" - ewarn "The home directory for mailman has been moved from /var/mailman" - ewarn "(pre 2.1.1-r2) or /home/mailman (2.1.1-r3) to /usr/local/mailman" - ewarn "This should hopefully solve any problems, and this is what the mailman" - ewarn "default is. (Any existing config has been saved in the" - ewarn "new home directory.)" - ewarn "" - if [ ! "`use apache2`" ]; then - einfo "It appears that you aren't running apache2..." - einfo "ebuild /var/db/pkg/net-mail/mailman/mailman-2.1.2-r1.ebuild config" - einfo "to add the mailman hooks to your config" - fi -} - -pkg_config() { - if [ ! "`use apache2`" ]; then - 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 - fi -} |