summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2014-04-11 20:04:29 +0000
committerHanno Boeck <hanno@gentoo.org>2014-04-11 20:04:29 +0000
commitb32a3817ffacfc8ce5fe1442509fd89cdbc866ad (patch)
tree0272255e23bd9c26e05144337586133c34b804f4 /net-mail
parentAdd python3_4 to 2.5.2 PYTHON_COMPAT (diff)
downloadhistorical-b32a3817ffacfc8ce5fe1442509fd89cdbc866ad.tar.gz
historical-b32a3817ffacfc8ce5fe1442509fd89cdbc866ad.tar.bz2
historical-b32a3817ffacfc8ce5fe1442509fd89cdbc866ad.zip
mailman update
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA5880072BBB51E42
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mailman/ChangeLog7
-rw-r--r--net-mail/mailman/Manifest30
-rw-r--r--net-mail/mailman/mailman-2.1.17.ebuild171
3 files changed, 193 insertions, 15 deletions
diff --git a/net-mail/mailman/ChangeLog b/net-mail/mailman/ChangeLog
index 0c5f14cbab17..a46cbb39295e 100644
--- a/net-mail/mailman/ChangeLog
+++ b/net-mail/mailman/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/mailman
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.138 2014/01/08 06:42:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.139 2014/04/11 20:04:26 hanno Exp $
+
+*mailman-2.1.17 (11 Apr 2014)
+
+ 11 Apr 2014; Hanno Boeck <hanno@gentoo.org> +mailman-2.1.17.ebuild:
+ Version bump.
08 Jan 2014; Mike Frysinger <vapier@gentoo.org> mailman-2.1.14.ebuild,
mailman-2.1.15.ebuild:
diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest
index 6bdf29a765f8..81f34b4593ec 100644
--- a/net-mail/mailman/Manifest
+++ b/net-mail/mailman/Manifest
@@ -10,24 +10,26 @@ AUX mailman.rc 597 SHA256 ef4f5482cf68ba44a0fbb83acde29295bd8dcb6512d259d14387df
AUX mailman.service 288 SHA256 6cd1c76bac4ce0c6e15886089a62ed70012653a6416fc1d0c0836822b58e7c02 SHA512 c4a5532666afbebc5aa69463ec9b9eaa2dcb03fdd8fd62307920a4572d0c795c1d93478236240746018be617c0eec0fcfcc1c711e8810140fb8ffbc0a9b71009 WHIRLPOOL 0980699e58b2b86789ea7bd2172063359a12f97d7df1cea27ada1dea77ec8a7c3426f1aca1c3bbf982d97b72ac1ee3ff28b49f651d8a066ea80a6d0ca20135c3
DIST mailman-2.1.14.tgz 8201150 SHA256 1d6be802b718639126c4069eb7f9cd3a347765e1cb199cc3bb14d71572d09523 SHA512 77230730150ba6580a9924a771959a1e4488026a24e1a04f9f984315d127ced9cb04e09fb0eb9272172c097f23ac16d0a0d51b7564c49649a402ca581ae0a308 WHIRLPOOL 299c977ab7887ddefcf559b7d0ec3268d660736559c6066d95eb9b85cce37ca139f9e01abe668fc34c3571bf36afeb52f857d05d630674eb0da4ed8ef34c2c62
DIST mailman-2.1.15.tgz 8468107 SHA256 f355fb3d31772b488449e6f5173dafd31edca93172c307244c791d25d9e2bec8 SHA512 3502d32690856bad2140851bf582ebe8cea0ba38a184aae715cc7921754aac452b789b7031cbb47895737f4135e59f44888bdca56c512378ad9367d62b372536 WHIRLPOOL f20dad43d44ab542f324dd06373bbd741db2aea0e59eb4894cc73149638ef5ee316dcd622ef71871c26d0e99d830c60e5ec8f10bf63290b0fb5b86d05a32cd9d
+DIST mailman-2.1.17.tgz 9011239 SHA256 c430a8b4ee546ace88174b4213cd4394ccb063bde48fa8c36d141d7ce1239ae7 SHA512 2be6e9ce95ebd92e2e8477cee8334fadb76b76df43da31b1e78d244113d144e895153bad23317b4f8293ddd09597e8c0082beb4e5d0620d2a59ae0b19ca60481 WHIRLPOOL bfefb603c1dc6dcc9c2a4688fef3ce25edb13742d569cb745b42293ab7b11e650d775e79757b04326d5e4e24017ee26118acad583c99e8da89af4a7a089fa0d0
EBUILD mailman-2.1.14.ebuild 5943 SHA256 1b5030b30e32a4b75fda29ec8e535256265f3f55782d1937a2a5c82083ea5b3e SHA512 27866e5de8d2bb6ef84e8d76a4ed91d0a6171fb6fa2323e4656ea7c0100bf811eab65fd43fe3d335e6791cdb456260979a1b07ec71a1a098e50271f8eaa33e15 WHIRLPOOL ee9fef10e56b3eb698c5b5671c3f22424af3b019989f5cbeba20dd68efb482aa04fe95c13bc7e279339e7254fbccd3bac08a446a5ae1924e78f7efb5663d8459
EBUILD mailman-2.1.15.ebuild 6170 SHA256 42f2e96eba6265b7ef5016fe6849978ebd866ce60a7c0c082a06c913e57c60ef SHA512 04c21678fc4184673087548ee394b213f99cb2c9b14361a8d2f68354d54d537cd51a0dd3fec110baaf42811a30ded765f07c712632d4c6e0440bcb83c5ce9b31 WHIRLPOOL ab0eeda6827bd2ba5141ac943d16e026eec41b5a5935d3fce3a00cb530c028dc00d0a5f4a60658b012cf1ef5a863abbeb44fca96393375d40df833caa7337ed0
-MISC ChangeLog 19158 SHA256 b083379e6dc13d829a43f9308e95d91209b6b3d981a70c062c6202267c7e4a44 SHA512 8322ec553460e16f39b4d6f6527e7f932221cbd44a07d4dac95c4c3090fa37a58695c26931d042feba0c04bd3bdfba716219377b807b5558fce05d0890f01276 WHIRLPOOL 6d81de12684b7181c9b3aa98768455c9a1b8f46296208f669584f9a727940907455c5482ec5ccdda7a6e62b355c806f2866e571897a3530297a68b64a158ec8d
+EBUILD mailman-2.1.17.ebuild 6172 SHA256 e6c5a686090b4ee5a30883d388480682ad8c30a670ac4363cde546aa4a792b8a SHA512 560b345a359d4db5601ae334435d80af2db2ebf4f0ca90b3164ed64507253c057ba22acbe0bcfefe14c2fa2369e9d4db51cc2fa858cee802a93621605927288f WHIRLPOOL b6a1c678310136c0ea813653668aa5216010459dbe7b513d936ade748deae980dd8871df2d2e9e22916f9fdb88ea9510d6dae87f96da90034c099909b9240d0a
+MISC ChangeLog 19275 SHA256 3de9e6de2e1f6139156efc08647ae0a7ca6131cd531b939bc88c20638438224d SHA512 563ad1665b19b21349f6fd5b58c4ad9ea28245f094cd7d305c1962c4b00ec165ceee00a331630988d9731cfc0ce9d2736f904ddf05f1963ff0a6fb4cf3c06bab WHIRLPOOL a343d991c2f05f0c8fcbafba7627d715475a1f1465433d0227b1885a3bc1efb67871fcd289883b8d4ebee3a537427754fd61d5566cfb610cf157003d5d6d2b50
MISC metadata.xml 218 SHA256 09421ca1b9299683d07f68ddbbd3ed97251dac613121b420841a3251da7fcb89 SHA512 8bb5bbe8e06a6caffb45c8a717c3fce94b35fd085a711523d439b3135f3949e46f8b7ae1936aa75ea6385fc59054585009ff16fe73052c3eccaea09449204544 WHIRLPOOL aaa5590db64b60ddb7628f0e9ea780da50f0e43a7f10a6562848d9167dfdfbec531aff68f7df2da2b173e9900b91e40b5ff9cf4ecab86dbff8c082053a53b90c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJSzPNPAAoJEPGu1DbS6WIAyZsP/0vyiWkNwB4CpEBOnyx1RwH7
-54cj87wTcBecq5lUb1TBMXGZ+d46Og1D70faHHIFz0cUfkqb5vzJ579maq9o+tyv
-E1sEYBV6D/NycMMe6aeITqViP7zdFDabpgle9FYr5nocfkDAMpN3znqLafSoIIg5
-t90XqtTRqt9ocCxE52104pcoP5tNruDSDfvyvlR5JNXH+UV0J9oYVGXmtPmghU7B
-RdN2IxuloOEyCE+PdpxYWKNP4dD/q/qPc6Tr22BwwXV7g+nJq11YNycg8zFhPJaK
-RIQqVydpXOh8ksLjgxNUH5sOUn47tus5nSU5nGxQoS2Urdi+LLLzZoYZ51BPDmCD
-m4+FL2ausWrTmbHUh9a+d5Yhb5AERuHMZv877GCGcJ6JABnIlhw74jPpcLVA74w4
-sDe1oQ/yNimd+KpndY5MDsgGS4stF2UZizmLtK18Fd4N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ebuild
new file mode 100644
index 000000000000..983d58d040a3
--- /dev/null
+++ b/net-mail/mailman/mailman-2.1.17.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.17.ebuild,v 1.1 2014/04/11 20:04:26 hanno Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+
+inherit eutils python multilib systemd user
+
+DESCRIPTION="A python-based mailing list server with an extensive web interface"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+HOMEPAGE="http://www.list.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="selinux"
+
+DEPEND="virtual/mta
+ virtual/cron
+ virtual/httpd-cgi
+ selinux? ( sec-policy/selinux-mailman )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ INSTALLDIR=${MAILMAN_PREFIX:-"/usr/$(get_libdir)/mailman"}
+ VAR_PREFIX=${MAILMAN_VAR_PREFIX:-"/var/lib/mailman"}
+ CGIUID=${MAILMAN_CGIUID:-apache}
+ CGIGID=${MAILMAN_CGIGID:-apache}
+ MAILUSR=${MAILMAN_MAILUSR:-mailman}
+ MAILUID=${MAILMAN_MAILUID:-280}
+ MAILGRP=${MAILMAN_MAILGRP:-mailman}
+ MAILGID=${MAILMAN_MAILGID:-280}
+
+ # Bug #58526: switch to enew{group,user}.
+ # need to add mailman here for compile process.
+ # Duplicated at pkg_postinst() for binary install.
+ enewgroup ${MAILGRP} ${MAILGID}
+ enewuser ${MAILUSR} ${MAILUID} /bin/bash ${INSTALLDIR} mailman,cron
+
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.1.14_rc1-directory-check.patch" || die "patch failed."
+ epatch "${FILESDIR}/${PN}-2.1.9-icons.patch" || die "patch failed."
+}
+
+src_configure() {
+ econf --without-permcheck \
+ --prefix="${INSTALLDIR}" \
+ --with-mail-gid=${MAILGID} \
+ --with-cgi-gid=${CGIGID} \
+ --with-cgi-ext="${MAILMAN_CGIEXT}" \
+ --with-var-prefix="${VAR_PREFIX}" \
+ --with-username=${MAILUSR} \
+ --with-groupname=${MAILGRP} \
+ --with-python=$(PYTHON -2 -a) \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install () {
+ emake "DESTDIR=${D}" doinstall || die
+
+ insinto /etc/apache2/modules.d
+ newins "${FILESDIR}/50_mailman.conf-r1" 50_mailman.conf
+ sed -i "s:/usr/local/mailman/cgi-bin:${INSTALLDIR}/cgi-bin:g" "${D}/etc/apache2/modules.d/50_mailman.conf"
+ sed -i "s:/usr/local/mailman/icons:${INSTALLDIR}/icons:g" "${D}/etc/apache2/modules.d/50_mailman.conf"
+ sed -i "s:/usr/local/mailman/archives:${VAR_PREFIX}/archives:g" "${D}/etc/apache2/modules.d/50_mailman.conf"
+
+ newdoc "${FILESDIR}/README.gentoo-r3" README.gentoo || die "newdoc failed"
+
+ dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING INSTALL contrib/mailman.mc \
+ contrib/README.check_perms_grsecurity contrib/virtusertable || die "dodoc failed"
+
+ exeinto ${INSTALLDIR}/bin
+ doexe build/contrib/*.py contrib/majordomo2mailman.pl contrib/auto \
+ contrib/mm-handler* || die
+
+ dodir /etc/mailman
+ mv "${D}/${INSTALLDIR}/Mailman/mm_cfg.py" "${D}/etc/mailman"
+ dosym /etc/mailman/mm_cfg.py ${INSTALLDIR}/Mailman/mm_cfg.py
+
+ # Save the old config for updates from pre-2.1.9-r2
+ # To be removed some distant day
+ for i in /var/mailman /home/mailman /usr/local/mailman ${INSTALLDIR}
+ do
+ if [ -f ${i}/Mailman/mm_cfg.py ] && ! [ -L ${i}/Mailman/mm_cfg.py ]; then
+ cp ${i}/Mailman/mm_cfg.py "${D}/etc/mailman/mm_cfg.py"
+ fi
+ done
+
+ newinitd "${FILESDIR}/mailman.rc" mailman
+ cp "${FILESDIR}/mailman.service" "${T}/mailman.service" || die
+ sed -i "s/^User=.*/User=${MAILUSR}/" "${T}/mailman.service" || die
+ systemd_dounit "${T}/mailman.service"
+
+ keepdir ${VAR_PREFIX}/logs
+ keepdir ${VAR_PREFIX}/locks
+ keepdir ${VAR_PREFIX}/spam
+ keepdir ${VAR_PREFIX}/archives/public
+ keepdir ${VAR_PREFIX}/archives/private
+ keepdir ${VAR_PREFIX}/lists
+ keepdir ${VAR_PREFIX}/qfiles
+
+ chown -R ${MAILUSR}:${MAILGRP} "${D}/${VAR_PREFIX}" "${D}/${INSTALLDIR}" "${D}"/etc/mailman/*
+ chown ${CGIUID}:${MAILGRP} "${D}/${VAR_PREFIX}/archives/private"
+ chmod 2775 "${D}/${INSTALLDIR}" "${D}/${INSTALLDIR}"/templates/* \
+ "${D}/${INSTALLDIR}"/messages/* "${D}/${VAR_PREFIX}" "${D}/${VAR_PREFIX}"/{logs,lists,spam,locks,archives/public}
+ chmod 2770 "${D}/${VAR_PREFIX}/archives/private"
+ chmod 2770 "${D}/${VAR_PREFIX}/qfiles"
+ chmod 2755 "${D}/${INSTALLDIR}"/cgi-bin/* "${D}/${INSTALLDIR}/mail/mailman"
+
+}
+
+pkg_postinst() {
+ python_mod_optimize ${INSTALLDIR}/bin/ ${INSTALLDIR}/Mailman \
+ ${INSTALLDIR}/Mailman/*/
+
+ enewgroup ${MAILGRP} ${MAILGID}
+ enewuser ${MAILUSR} ${MAILUID} -1 ${INSTALLDIR} mailman,cron
+ elog
+ elog "Please read /usr/share/doc/${PF}/README.gentoo.bz2 for additional"
+ elog "Setup information, mailman will NOT run unless you follow"
+ elog "those instructions!"
+ elog
+
+ elog "An example Mailman configuration file for Apache has been installed into:"
+ elog " ${APACHE2_MODULES_CONFDIR}/50_mailman.conf"
+ elog
+ elog "To enable, you will need to add \"-D MAILMAN\" to"
+ elog "/etc/conf.d/apache2."
+ elog
+
+ ewarn "Default-Configuration has changed deeply in 2.1.9-r2. You can configure"
+ ewarn "mailman with the following variables:"
+ ewarn "MAILMAN_PREFIX (default: /usr/$(get_libdir)/mailman)"
+ ewarn "MAILMAN_VAR_PREFIX (default: /var/lib/mailman)"
+ ewarn "MAILMAN_CGIUID (default: apache)"
+ ewarn "MAILMAN_CGIGID (default: apache)"
+ ewarn "MAILMAN_CGIEXT (default: empty)"
+ ewarn "MAILMAN_MAILUSR (default: mailman)"
+ ewarn "MAILMAN_MAILUID (default: 280)"
+ ewarn "MAILMAN_MAILGRP (default: mailman)"
+ ewarn "MAILMAN_MAILGID (default: 280)"
+ ewarn
+ ewarn "Config file is now symlinked in /etc/mailman, so etc-update works."
+ ewarn
+ ewarn "If you're upgrading from below 2.1.9-r2 or changed MAILMAN_PREFIX, you"
+ ewarn "NEED to make a few manual updates to your system:"
+ ewarn
+ ewarn "1. Update your mailman users's home directory: usermod -d ${INSTALLDIR} mailman"
+ ewarn "2. Re-import the crontab: su - mailman -c 'crontab cron/crontab.in'"
+ ewarn "3. Copy your old mm_cfg.py file to /etc/mailman/mm_cfg.py"
+ ewarn
+ ewarn "Additionally if you've modified MAILMAN_VAR_PREFIX (or upgraded from"
+ ewarn "a pre 2.1.9-r2 installation), you should move your old lists/ and"
+ ewarn "archives/ directory to the new location, ensuring that the"
+ ewarn "permissions is correct. See bug #208789 for a discussion."
+}
+
+pkg_postrm() {
+ INSTALLDIR=${MAILMAN_PREFIX:-"/usr/$(get_libdir)/mailman"}
+ python_mod_cleanup ${INSTALLDIR}/bin ${INSTALLDIR}/Mailman \
+ ${INSTALLDIR}/Mailman/*/
+}