6 | | name mailman |
7 | | version 2.1.13 |
8 | | categories mail |
9 | | license GPL-2 |
10 | | maintainers nomaintainer |
11 | | description Mailman, the GNU Mailing List Manager |
12 | | long_description Mailman is free software for managing electronic \ |
13 | | mail discussion and e-newsletter lists. Mailman is \ |
14 | | integrated with the web, making it easy for users to \ |
15 | | manage their accounts and for list owners to \ |
16 | | administer their lists. Mailman supports built-in \ |
17 | | archiving, automatic bounce processing, content \ |
18 | | filtering, digest delivery, spam filters, and more. |
19 | | |
20 | | homepage http://www.list.org/ |
21 | | master_sites sourceforge |
22 | | extract.suffix .tgz |
23 | | |
24 | | checksums md5 3235323ccb3e0135c10b7c66a440390b \ |
25 | | sha1 923dd78a17cbab576354b53a80443fe05f134398 \ |
26 | | rmd160 3a62b04ea0f48c3ecbe815eb927d282f765e416c |
| 6 | name mailman |
| 7 | version 2.1.13 |
| 8 | categories mail |
| 9 | license GPL-2 |
| 10 | maintainers nomaintainer |
| 11 | description Mailman, the GNU Mailing List Manager |
| 12 | long_description Mailman is free software for managing electronic \ |
| 13 | mail discussion and e-newsletter lists. Mailman is \ |
| 14 | integrated with the web, making it easy for users to \ |
| 15 | manage their accounts and for list owners to \ |
| 16 | administer their lists. Mailman supports built-in \ |
| 17 | archiving, automatic bounce processing, content \ |
| 18 | filtering, digest delivery, spam filters, and more. |
| 19 | |
| 20 | homepage http://www.list.org/ |
| 21 | master_sites sourceforge |
| 22 | extract.suffix .tgz |
| 23 | |
| 24 | checksums md5 3235323ccb3e0135c10b7c66a440390b \ |
| 25 | sha1 923dd78a17cbab576354b53a80443fe05f134398 \ |
| 26 | rmd160 3a62b04ea0f48c3ecbe815eb927d282f765e416c |
54 | | configure.pre_args --exec-prefix=${execdir} \ |
55 | | --prefix=${sharedir} \ |
56 | | --with-var-prefix=${datadir} |
57 | | |
58 | | configure.args --with-username=${mmuser} \ |
59 | | --with-groupname=${mmgroup} \ |
60 | | --with-mail-gid=${mmgroup} \ |
61 | | --with-cgi-gid=${cgigroup} \ |
62 | | --with-cgi-ext=.cgi \ |
63 | | --without-permcheck \ |
64 | | --with-python=${prefix}/bin/python2.6 |
| 54 | configure.pre_args --exec-prefix=${execdir} \ |
| 55 | --prefix=${sharedir} \ |
| 56 | --with-var-prefix=${datadir} |
| 57 | |
| 58 | configure.args --with-username=${mmuser} \ |
| 59 | --with-groupname=${mmgroup} \ |
| 60 | --with-mail-gid=${mmgroup} \ |
| 61 | --with-cgi-gid=${cgigroup} \ |
| 62 | --with-cgi-ext=.cgi \ |
| 63 | --without-permcheck \ |
| 64 | --with-python=${prefix}/bin/python2.6 |
74 | | # Create dummy files to retain empty directory tree |
75 | | xinstall -d -m 02775 ${destroot}${datadir}/lists/.turd |
76 | | system "find ${destroot}${datadir} -type d -empty | xargs -n1 -I% touch %/.turd" |
77 | | |
78 | | # Cleanup permissions & ownership |
79 | | foreach dir [exec find ${destroot}${sharedir} -type d ! -perm 02775] { |
80 | | ui_info "${dir}: setting permissions to 02775" |
81 | | file attributes $dir -permissions 02775 |
82 | | } |
83 | | |
84 | | # Install startup script |
85 | | xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d |
86 | | system "ln -s ../../../[strsed ${sharedir} "g|^${prefix}/||"]/scripts/mailman \ |
87 | | ${destroot}${prefix}/share/mailman/bin/mailman.init" |
88 | | |
89 | | # Install Apache configuration file |
90 | | xinstall -d -m 0755 ${destroot}${confdir} |
91 | | xinstall -m 0644 ${filespath}/${name}.conf.in \ |
92 | | ${destroot}${confdir}/${name}.conf.dist |
93 | | reinplace "s|@EXECDIR@|${execdir}|" ${destroot}${confdir}/${name}.conf.dist |
94 | | reinplace "s|@DATADIR@|${datadir}|" ${destroot}${confdir}/${name}.conf.dist |
95 | | reinplace "s|@SHAREDIR@|${sharedir}|" ${destroot}${confdir}/${name}.conf.dist |
96 | | reinplace "s|@CONFDIR@|${confdir}|" \ |
97 | | ${destroot}${sharedir}/Mailman/mm_cfg.py.dist |
98 | | |
99 | | # Install documentation files |
100 | | xinstall -d -m 0755 ${destroot}${docdir} |
101 | | foreach file [glob ${worksrcpath}/\[A-IN-Z\]*] { |
102 | | xinstall -m 0644 ${file} ${destroot}${docdir} |
103 | | } |
104 | | |
105 | | # Check installation under destroot |
106 | | system "cd ${destroot}${sharedir} && \ |
107 | | DESTDIR=${destroot} PYTHONPATH=.:./pythonlib ./bin/check_perms" |
108 | | |
109 | | # Don't register config files to the port so changes are preserved |
110 | | # across upgrades. |
111 | | file delete -force ${destroot}${sharedir}/Mailman/mm_cfg.py |
| 74 | # Create dummy files to retain empty directory tree |
| 75 | xinstall -d -m 02775 ${destroot}${datadir}/lists/.turd |
| 76 | system "find ${destroot}${datadir} -type d -empty | xargs -n1 -I% touch %/.turd" |
| 77 | |
| 78 | # Cleanup permissions & ownership |
| 79 | foreach dir [exec find ${destroot}${sharedir} -type d ! -perm 02775] { |
| 80 | ui_info "${dir}: setting permissions to 02775" |
| 81 | file attributes $dir -permissions 02775 |
| 82 | } |
| 83 | |
| 84 | # Install startup script |
| 85 | xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d |
| 86 | system "ln -s ../../../[strsed ${sharedir} "g|^${prefix}/||"]/scripts/mailman \ |
| 87 | ${destroot}${prefix}/share/mailman/bin/mailman.init" |
| 88 | |
| 89 | # Install Apache configuration file |
| 90 | xinstall -d -m 0755 ${destroot}${confdir} |
| 91 | xinstall -m 0644 ${filespath}/${name}.conf.in \ |
| 92 | ${destroot}${confdir}/${name}.conf.dist |
| 93 | reinplace "s|@EXECDIR@|${execdir}|" ${destroot}${confdir}/${name}.conf.dist |
| 94 | reinplace "s|@DATADIR@|${datadir}|" ${destroot}${confdir}/${name}.conf.dist |
| 95 | reinplace "s|@SHAREDIR@|${sharedir}|" ${destroot}${confdir}/${name}.conf.dist |
| 96 | reinplace "s|@CONFDIR@|${confdir}|" \ |
| 97 | ${destroot}${sharedir}/Mailman/mm_cfg.py.dist |
| 98 | |
| 99 | # Install documentation files |
| 100 | xinstall -d -m 0755 ${destroot}${docdir} |
| 101 | foreach file [glob ${worksrcpath}/\[A-IN-Z\]*] { |
| 102 | xinstall -m 0644 ${file} ${destroot}${docdir} |
| 103 | } |
| 104 | |
| 105 | # Check installation under destroot |
| 106 | system "cd ${destroot}${sharedir} && \ |
| 107 | DESTDIR=${destroot} PYTHONPATH=.:./pythonlib ./bin/check_perms" |
| 108 | |
| 109 | # Don't register config files to the port so changes are preserved |
| 110 | # across upgrades. |
| 111 | file delete -force ${destroot}${sharedir}/Mailman/mm_cfg.py |
115 | | # Check for an existing mm_cfg.py and copy the "dist" version |
116 | | # into place if there isn't one. |
117 | | if {![file exists ${sharedir}/Mailman/mm_cfg.py]} { |
118 | | copy ${sharedir}/Mailman/mm_cfg.py.dist \ |
119 | | ${sharedir}/Mailman/mm_cfg.py |
120 | | } |
121 | | if {![file exists ${confdir}/${name}.conf]} { |
122 | | copy ${confdir}/${name}.conf.dist \ |
123 | | ${confdir}/${name}.conf |
124 | | } |
| 115 | # Check for an existing mm_cfg.py and copy the "dist" version |
| 116 | # into place if there isn't one. |
| 117 | if {![file exists ${sharedir}/Mailman/mm_cfg.py]} { |
| 118 | copy ${sharedir}/Mailman/mm_cfg.py.dist \ |
| 119 | ${sharedir}/Mailman/mm_cfg.py |
| 120 | } |
| 121 | if {![file exists ${confdir}/${name}.conf]} { |
| 122 | copy ${confdir}/${name}.conf.dist \ |
| 123 | ${confdir}/${name}.conf |
| 124 | } |