Opened 14 years ago

Last modified 14 years ago

#24785 closed update

Mailman Upgrade from 2.1.12 to 2.1.13 — at Initial Version

Reported by: mfisher@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: mailman

Description

This patch upgrades Mailman from 2.1.12 to 2.1.13. It also includes variants for the following:

  • system_mail: Allow use of system postfix (requires configure option change).
  • python26: Include a variant for python26 instead of default python25.
--- Portfile    2010-05-04 16:00:20.000000000 -0400
+++ mailman-portfile    2010-05-04 15:59:59.000000000 -0400
@@ -1,9 +1,10 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id: Portfile 51955 2009-06-07 10:04:10Z arthurk@macports.org $
 
 PortSystem             1.0
 
 name                   mailman
-version                        2.1.12
+version                        2.1.13
 categories             mail
 maintainers            nomaintainer
 description            Mailman, the GNU Mailing List Manager
@@ -18,9 +19,9 @@
 homepage               http://www.list.org/
 master_sites           sourceforge
 extract.suffix         .tgz
-checksums           md5     d565a6d2d0ec6d2dd6936a81e1c1ca86 \
-                    sha1    6d6281f7ce322e271f0259321f4d8931ff46e6ae \
-                    rmd160  94d8d132bb37180bf4c02ccd2a5fb3862ce13b94
+checksums           md5     3235323ccb3e0135c10b7c66a440390b \
+                    sha1    923dd78a17cbab576354b53a80443fe05f134398 \
+                    rmd160  3a62b04ea0f48c3ecbe815eb927d282f765e416c
 
 platforms              darwin
 
@@ -60,6 +61,23 @@
                        --without-permcheck \
                        --with-python=${prefix}/bin/python2.5
 
+# Variants
+variant system_mail description {Use system postfix} {
+       configure.args-delete \
+               --with-mail-gid=${mmgroup}
+       configure.args-append \
+               --with-mail-gid=nobody
+}
+
+variant python26 {
+       depends_lib-delete      port:python25
+       depends_lib-append      port:python26
+       configure.args-delete \
+               --with-python=${prefix}/bin/python2.5
+       configure.args-append \
+               --with-python=${prefix}/bin/python2.6
+}
+
 pre-destroot {
        addgroup        ${mmgroup}
        adduser         ${mmuser} gid=[existsgroup ${mmgroup}]

Change History (0)

Note: See TracTickets for help on using tickets.