diff options
author | Hanno Boeck <hanno@gentoo.org> | 2014-06-23 09:29:00 +0000 |
---|---|---|
committer | Hanno Boeck <hanno@gentoo.org> | 2014-06-23 09:29:00 +0000 |
commit | 5ed17f3001190b432253e523a1116e982dc93ad9 (patch) | |
tree | 2e834424d3a452dfb46948a1a57afb0d19bc8c02 /net-mail/mailman | |
parent | Simplify documentation files handling by utilizing einstalldocs from eutils e... (diff) | |
download | historical-5ed17f3001190b432253e523a1116e982dc93ad9.tar.gz historical-5ed17f3001190b432253e523a1116e982dc93ad9.tar.bz2 historical-5ed17f3001190b432253e523a1116e982dc93ad9.zip |
mailman bump
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xA5880072BBB51E42
Diffstat (limited to 'net-mail/mailman')
-rw-r--r-- | net-mail/mailman/ChangeLog | 7 | ||||
-rw-r--r-- | net-mail/mailman/Manifest | 26 | ||||
-rw-r--r-- | net-mail/mailman/mailman-2.1.18_p1.ebuild | 173 |
3 files changed, 196 insertions, 10 deletions
diff --git a/net-mail/mailman/ChangeLog b/net-mail/mailman/ChangeLog index f77b4495f1d5..c3be4021bcc1 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.141 2014/06/22 19:49:26 nimiux Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.142 2014/06/23 09:28:57 hanno Exp $ + +*mailman-2.1.18_p1 (23 Jun 2014) + + 23 Jun 2014; Hanno Boeck <hanno@gentoo.org> +mailman-2.1.18_p1.ebuild: + Bump, new dependency dnspython. 22 Jun 2014; Chema Alonso <nimiux@gentoo.org> mailman-2.1.17.ebuild: Stable for amd64 wrt bug #510138 diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest index 1ec515ba529a..a097c41504a7 100644 --- a/net-mail/mailman/Manifest +++ b/net-mail/mailman/Manifest @@ -11,19 +11,27 @@ AUX mailman.service 288 SHA256 6cd1c76bac4ce0c6e15886089a62ed70012653a6416fc1d0c 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 +DIST mailman-2.1.18-1.tgz 9095511 SHA256 ce70ed8b58d719cab80758f39a7258c0a28f8e8e859facdaa8c29add620a5c2c SHA512 ec00bf98e7ecf452a394b0afd444f86108308aba410667482170df8b3042984715ed3c8aa645cd2aeaca58d239c03548c69907c3217f2a9f88fd859e9762c15b WHIRLPOOL 28b2bedc94b3a1c9e2f6fb2345e5afe8b2b18da689d2366e6d71ce94451138e36e81779dc3862a36b179063a6250c79adb40ba72d5b082cbfdf348f036e69b8d 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 EBUILD mailman-2.1.17.ebuild 6171 SHA256 009dd821d510bcd013c0ba99beabd6971fed1773ec229fbb7270bfb08abd8cd0 SHA512 f1a2fe1474896e654848629f5e9d8585fbd204b9fa00c422fc66480c8c6b74281807f1a5551031de2bb6d222ef0100b30b42db8affb385e8bcb2795ef723c476 WHIRLPOOL 37cf9f0e8c8210d8379699184c5905baeaf4f51070e0e812f8da879c2cc1665e7e1c900d2fea3f9882ae73e2d7a9d41ac48c9d06635c2dcde2461d275c036c0d -MISC ChangeLog 19491 SHA256 97d2ba61eff36b7c3f07daf13454cf298f4192fe33509af9ca1696a32a4108fb SHA512 ac6912e20e8890efd1ca04d53bca9aded493c4726eeb0f751fe849ae58421262bf4162da50eccbedee2144c6869568ba526203d0152f62e6562efc83ebf5ac51 WHIRLPOOL 10d02d3dcc8de909735e034e6514c87a24964563a93e235415e08755aee870932feea0aaa495c2f220466c1fab4fb109cf06eee51f3dfbc5ac846e660461e529 +EBUILD mailman-2.1.18_p1.ebuild 6227 SHA256 42e466f837813d75927715ac88526439cb733a66f3c939ec114f353bb5755669 SHA512 ae0a4e5ecaa9c8f00f0868c775aa5113227c87db4cbc44cea22769fa9cf136f73b516b203247fd62bc3d266eae3b9c43593d7c5b2ddfc16233ae721892243e6f WHIRLPOOL 234ad5601cc848241c1207ed37d3204aa004673fb99f669e485533b2ed36c52a5362e41855d6a30d9f76379473b7f9149b64e275c8efcd9d7128fd84a326b4fb +MISC ChangeLog 19632 SHA256 f70f96379e051f51f8276ccc8bb982364686b68ca6b2d5029036f996c87b6804 SHA512 37fcb9e0a8c781453f6f16a68bce2d045d65a27bdb774c1647e3579728b9332f2f56bb8cf9794ef4aa71126f9114c6648994ae3a4ba9962be2a71778268d473f WHIRLPOOL 343ad4305266e13e15603385946466015078c3acb7d0b024d359135a4fa23b3ff116b836f3beda9369e87cbe71b44d4434250d0c32aa585104e0fa7f87cdecbd MISC metadata.xml 218 SHA256 09421ca1b9299683d07f68ddbbd3ed97251dac613121b420841a3251da7fcb89 SHA512 8bb5bbe8e06a6caffb45c8a717c3fce94b35fd085a711523d439b3135f3949e46f8b7ae1936aa75ea6385fc59054585009ff16fe73052c3eccaea09449204544 WHIRLPOOL aaa5590db64b60ddb7628f0e9ea780da50f0e43a7f10a6562848d9167dfdfbec531aff68f7df2da2b173e9900b91e40b5ff9cf4ecab86dbff8c082053a53b90c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2 -iQEcBAEBCAAGBQJTpzOHAAoJEA2sAkrWKOU2zZIIAKhi7Iu1EOuucgWhhzCmkelr -Qxd4b/WCukd9IKT2NcQy+35SUOj1qudKyxVpiBYuoId2EDXVtRZdSAtdDjFc/FG9 -STSfxRt114SPJoSTKiT+jKxYtx6qVpcAqdhRygusFtT6wxjqV+EcJ96pnsqmR4oU -Cj8L+CJM8kYksrK9idFvk8/uKRsU60m7QObQM5+1s0LoGKFhtNCQKBO16zyhBaY1 -JXe65XawxumkGMIhQOmjQIUmsAe2MFd2ZV8Zr0Emcf6Rk6+7pZzoZ+JrkEWIA2DX -XYdU4+UGkvOu33ragEoXUqM5rKhCJtE0lBcH+g3SvI3H0evh0BhtWGLmRqxHswM= -=OsOV +iQIcBAEBCAAGBQJTp/MrAAoJEKWIAHK7tR5Cwl8QAKL1Itvp+z0ei1pa59pmsTrs +NyazpDlczffqj6bkzPADa100b31SUwmeJzToBprktdTCN60nuUJgr/h1JcL6YV32 +OOTez/efKGQHjyhMCSAieArYJrKea3n9kUYweVgRqOk3VUayy6A47mUm0iiEQs7Z +fjvfuBLqG+1xrSZXGqk9iGNDhARMMXLgm27s/JD7cEFBY9yn0F3EHg5ntxfPxAjV +ZO2vNhyka/uJ/wnY8GQQGlqsnUcy7rrFuy/NGq+mu/hXOy5dsB0G9XvAkoxUTrcM +MjtiA3Cxcw0ga/rIFNmCLfRQkxQ4W2UgkpVKmD0AMmII2v43/wE+m/WYugxwuhz2 +jlz7g/dCr6Ur2WKzc6ZYz5yub7jg9Ks4bpkzM+iWt3k1LNDRbTrdkcmZ03hG3joa +Ti+bzUxtS52bf8N06+hWAPbPWuKUin+QuDNi5uxTDyWa711dQOVFfvOBOQLbcr5/ +Sh5delozSYUj1R5rf3BfKGbASd2XAo8n8WRAAONh8wIaKxUfpCCyOhCo37Xfp0cv +ZUT5HlzCOFrJA7sJOWJbzfkYeXJ8fB1X71hwwgJIYYpI8n4Z4o59vr5rNv0plBIS +tJeC/+tuvkYLoBTvASwTYaQRAa6JnhSLq+vrg2BBPm6WgVobzjQiq36lx5q2ileA +4yEci3fdcNOYkUGW9zg5 +=2M/+ -----END PGP SIGNATURE----- diff --git a/net-mail/mailman/mailman-2.1.18_p1.ebuild b/net-mail/mailman/mailman-2.1.18_p1.ebuild new file mode 100644 index 000000000000..af1175f34bf1 --- /dev/null +++ b/net-mail/mailman/mailman-2.1.18_p1.ebuild @@ -0,0 +1,173 @@ +# 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.18_p1.ebuild,v 1.1 2014/06/23 09:28:57 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/_p/-}.tgz" +HOMEPAGE="http://www.list.org/" +S="${WORKDIR}/${P/_p/-}" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="selinux" + +DEPEND="virtual/mta + virtual/cron + virtual/httpd-cgi + selinux? ( sec-policy/selinux-mailman ) + dev-python/dnspython" +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/*/ +} |