<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[129077] trunk/dports/mail/sympa/Portfile</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/129077">129077</a></dd>
<dt>Author</dt> <dd>devans@macports.org</dd>
<dt>Date</dt> <dd>2014-12-04 16:04:11 -0800 (Thu, 04 Dec 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>sympa: add mode line and reformat, white space only.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsmailsympaPortfile">trunk/dports/mail/sympa/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsmailsympaPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/mail/sympa/Portfile (129076 => 129077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/mail/sympa/Portfile        2014-12-04 23:45:09 UTC (rev 129076)
+++ trunk/dports/mail/sympa/Portfile        2014-12-05 00:04:11 UTC (rev 129077)
</span><span class="lines">@@ -1,99 +1,100 @@
</span><ins>+# -*- 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
</ins><span class="cx"> # $Id$
</span><span class="cx"> 
</span><del>-PortSystem        1.0
</del><ins>+PortSystem          1.0
</ins><span class="cx"> 
</span><del>-name                        sympa
-version                        5.4.7
-revision        2
-categories                mail
-license                        GPL-2
-maintainers                nomaintainer
-platforms                darwin
</del><ins>+name                sympa
+version             5.4.7
+revision            2
+categories          mail
+license             GPL-2
+maintainers         nomaintainer
+platforms           darwin
</ins><span class="cx"> 
</span><del>-description                Sympa - Mailing List Manager with LDAP support
</del><ins>+description         Sympa - Mailing List Manager with LDAP support
</ins><span class="cx"> 
</span><del>-long_description        An advanced perl-based mail list manager with a web interface \
-                        that supports LDAP authentication and LDAP extraction of \
-                        list subscribers and owners.
</del><ins>+long_description    An advanced perl-based mail list manager with a web interface \
+                    that supports LDAP authentication and LDAP extraction of \
+                    list subscribers and owners.
</ins><span class="cx"> 
</span><del>-homepage                http://www.sympa.org
</del><ins>+homepage            http://www.sympa.org
</ins><span class="cx"> 
</span><del>-master_sites                http://www.sympa.org/distribution/ \
-                        http://www.sympa.org/distribution/old/
</del><ins>+master_sites        http://www.sympa.org/distribution/ \
+                    http://www.sympa.org/distribution/old/
</ins><span class="cx"> 
</span><del>-checksums                md5 74fb5b0c972919a2813cd6aca2d9224f
-default_variants        +server
</del><ins>+checksums           md5 74fb5b0c972919a2813cd6aca2d9224f
+default_variants    +server
</ins><span class="cx"> 
</span><del>-patchfiles                patch-configure.in \
-                        patch-Makefile.in \
-                        patch-sympa.generic \
-                        patch-src_alias_manager.pl
</del><ins>+patchfiles          patch-configure.in \
+                    patch-Makefile.in \
+                    patch-sympa.generic \
+                    patch-src_alias_manager.pl
</ins><span class="cx"> 
</span><del>-depends_lib                path:bin/mysql_config5:mysql5 \
-                        port:apache2 \
-                        port:mod_fcgid \
-                        port:openssl \
-                        port:postfix \
-                        port:p5.12-libwww-perl \
-                        port:p5.12-archive-zip \
-                        port:p5.12-convert-asn1 \
-                        port:p5.12-pathtools \
-                        port:p5.12-dbi \
-                        port:p5.12-dbd-mysql \
-                        port:p5.12-mailtools \
-                        port:p5.12-io-stringy \
-                        port:p5.12-mime-tools \
-                        port:p5.12-mime-charset \
-                        port:p5.12-mime-encwords \
-                        port:p5.12-crypt-openssl-x509 \
-                        port:p5.12-fcgi \
-                        port:p5.12-libintl-perl \
-                        port:p5.12-template-toolkit \
-                        port:p5.12-crypt-ciphersaber \
-                        port:p5.12-mhonarc \
-                        port:p5.12-regexp-common \
-                        port:p5.12-xml-libxml \
-                        port:p5.12-io-socket-ssl \
-                        port:p5.12-soap-lite \
-                        port:p5.12-perl-ldap \
-                        port:p5.12-html-format \
-                        port:p5.12-html-stripscripts-parser
</del><ins>+depends_lib         path:bin/mysql_config5:mysql5 \
+                    port:apache2 \
+                    port:mod_fcgid \
+                    port:openssl \
+                    port:postfix \
+                    port:p5.12-libwww-perl \
+                    port:p5.12-archive-zip \
+                    port:p5.12-convert-asn1 \
+                    port:p5.12-pathtools \
+                    port:p5.12-dbi \
+                    port:p5.12-dbd-mysql \
+                    port:p5.12-mailtools \
+                    port:p5.12-io-stringy \
+                    port:p5.12-mime-tools \
+                    port:p5.12-mime-charset \
+                    port:p5.12-mime-encwords \
+                    port:p5.12-crypt-openssl-x509 \
+                    port:p5.12-fcgi \
+                    port:p5.12-libintl-perl \
+                    port:p5.12-template-toolkit \
+                    port:p5.12-crypt-ciphersaber \
+                    port:p5.12-mhonarc \
+                    port:p5.12-regexp-common \
+                    port:p5.12-xml-libxml \
+                    port:p5.12-io-socket-ssl \
+                    port:p5.12-soap-lite \
+                    port:p5.12-perl-ldap \
+                    port:p5.12-html-format \
+                    port:p5.12-html-stripscripts-parser
</ins><span class="cx"> 
</span><del>-configure.args                --with-bindir=${prefix}/bin/${name} \
-                        --with-sbindir=${prefix}/bin/${name} \
-                        --with-libexecdir=${prefix}/libexec/${name} \
-                        --with-libdir=${prefix}/lib/${name} \
</del><ins>+configure.args      --with-bindir=${prefix}/bin/${name} \
+                    --with-sbindir=${prefix}/bin/${name} \
+                    --with-libexecdir=${prefix}/libexec/${name} \
+                    --with-libdir=${prefix}/lib/${name} \
</ins><span class="cx"> \
</span><del>-                        --with-cgidir=${prefix}/share/${name}/cgi-bin \
-                        --with-localedir=${prefix}/share/locale \
-                        --with-scriptdir=${prefix}/share/${name}/script \
-                        --with-sampledir=${prefix}/share/${name}/sample \
-                        --with-docdir=${prefix}/share/doc/${name} \
-                        --with-datadir=${prefix}/share/${name} \
</del><ins>+                    --with-cgidir=${prefix}/share/${name}/cgi-bin \
+                    --with-localedir=${prefix}/share/locale \
+                    --with-scriptdir=${prefix}/share/${name}/script \
+                    --with-sampledir=${prefix}/share/${name}/sample \
+                    --with-docdir=${prefix}/share/doc/${name} \
+                    --with-datadir=${prefix}/share/${name} \
</ins><span class="cx"> \
</span><del>-                        --with-confdir=${prefix}/etc/${name} \
-                        --with-etcdir=${prefix}/etc/${name} \
-                        --with-initdir=${prefix}/share/${name} \
</del><ins>+                    --with-confdir=${prefix}/etc/${name} \
+                    --with-etcdir=${prefix}/etc/${name} \
+                    --with-initdir=${prefix}/share/${name} \
</ins><span class="cx"> \
</span><del>-                        --with-expldir=${prefix}/var/${name}/expl \
-                        --with-piddir=${prefix}/var/${name} \
-                        --with-lockdir=${prefix}/var/${name}/lock \
-                        --with-spooldir=${prefix}/var/${name}/spool \
</del><ins>+                    --with-expldir=${prefix}/var/${name}/expl \
+                    --with-piddir=${prefix}/var/${name} \
+                    --with-lockdir=${prefix}/var/${name}/lock \
+                    --with-spooldir=${prefix}/var/${name}/spool \
</ins><span class="cx"> \
</span><del>-                        --with-mandir=${prefix}/man \
-                        --with-perl=${prefix}/bin/perl5.12 \
-                        --with-openssl=${prefix}/bin/openssl \
</del><ins>+                    --with-mandir=${prefix}/man \
+                    --with-perl=${prefix}/bin/perl5.12 \
+                    --with-openssl=${prefix}/bin/openssl \
</ins><span class="cx"> \
</span><del>-                        --with-user=www \
-                        --with-group=www \
-                        --with-sendmail_aliases=${prefix}/etc/${name}/sympa_aliases \
-                        --with-virtual_aliases=${prefix}/etc/${name}/sympa_virtual \
-                        --with-newaliases=${prefix}/bin/newaliases \
-                        --with-postmap=${prefix}/sbin/postmap
</del><ins>+                    --with-user=www \
+                    --with-group=www \
+                    --with-sendmail_aliases=${prefix}/etc/${name}/sympa_aliases \
+                    --with-virtual_aliases=${prefix}/etc/${name}/sympa_virtual \
+                    --with-newaliases=${prefix}/bin/newaliases \
+                    --with-postmap=${prefix}/sbin/postmap
</ins><span class="cx"> 
</span><span class="cx"> variant postgresql {
</span><del>-    depends_lib-append      port:p5.12-dbd-pg
-    depends_lib-delete      port:p5.12-dbd-mysql
</del><ins>+    depends_lib-append  port:p5.12-dbd-pg
+    depends_lib-delete  port:p5.12-dbd-mysql
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> variant server  {
</span><span class="lines">@@ -109,89 +110,89 @@
</span><span class="cx"> 
</span><span class="cx"> pre-destroot {
</span><span class="cx"> # Use sympa.generic startup script and fix paths
</span><del>-        reinplace &quot;s|PATH=/usr/bin:/bin:/usr/sbin:/sbin|PATH=${prefix}/bin:${prefix}/sbin:/usr/bin:/bin:/usr/sbin:/sbin|g&quot; \
-                &quot;${worksrcpath}/src/etc/script/sympa.generic&quot;
</del><ins>+    reinplace &quot;s|PATH=/usr/bin:/bin:/usr/sbin:/sbin|PATH=${prefix}/bin:${prefix}/sbin:/usr/bin:/bin:/usr/sbin:/sbin|g&quot; \
+        &quot;${worksrcpath}/src/etc/script/sympa.generic&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|/dist/sympa/run|${prefix}/var/${name}|g&quot; \
-                &quot;${worksrcpath}/src/etc/script/sympa.generic&quot;
</del><ins>+    reinplace &quot;s|/dist/sympa/run|${prefix}/var/${name}|g&quot; \
+        &quot;${worksrcpath}/src/etc/script/sympa.generic&quot;
</ins><span class="cx"> 
</span><del>-        system &quot;mv ${worksrcpath}/src/etc/script/sympa.generic ${worksrcpath}/src/etc/script/sympa&quot;
</del><ins>+    system &quot;mv ${worksrcpath}/src/etc/script/sympa.generic ${worksrcpath}/src/etc/script/sympa&quot;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> post-destroot {
</span><span class="cx"> # Flag wwsympa.fcgi as executable
</span><del>-        system &quot;chmod ug+x ${destroot}${prefix}/share/sympa/cgi-bin/wwsympa.fcgi&quot;
</del><ins>+    system &quot;chmod ug+x ${destroot}${prefix}/share/sympa/cgi-bin/wwsympa.fcgi&quot;
</ins><span class="cx"> # Create empty directories named in sympa.conf &amp; wwsympa.conf not created by Sympa install
</span><del>-        xinstall -m 755 -d ${destroot}${prefix}/var/${name}/expl
-        xinstall -m 755 -d ${destroot}${prefix}/var/log/${name}
</del><ins>+    xinstall -m 755 -d ${destroot}${prefix}/var/${name}/expl
+    xinstall -m 755 -d ${destroot}${prefix}/var/log/${name}
</ins><span class="cx">    # Incoming spool directories
</span><del>-        xinstall -m 755 -d ${destroot}${prefix}/var/${name}/spool/msg
-        xinstall -m 755 -d ${destroot}${prefix}/var/${name}/spool/bounce
</del><ins>+    xinstall -m 755 -d ${destroot}${prefix}/var/${name}/spool/msg
+    xinstall -m 755 -d ${destroot}${prefix}/var/${name}/spool/bounce
</ins><span class="cx">    # Storage directories
</span><del>-        xinstall -m 755 -d ${destroot}${prefix}/var/${name}/arc
-        xinstall -m 755 -d ${destroot}${prefix}/var/${name}/bounce
</del><ins>+    xinstall -m 755 -d ${destroot}${prefix}/var/${name}/arc
+    xinstall -m 755 -d ${destroot}${prefix}/var/${name}/bounce
</ins><span class="cx"> 
</span><span class="cx"> # Create sympa.log and sympa_aliases files
</span><del>-        system &quot;touch ${destroot}${prefix}/var/log/${name}/${name}.log&quot;
-        system &quot;touch ${destroot}${prefix}/etc/${name}/sympa_aliases&quot;
-        system &quot;chown www:www ${destroot}${prefix}/bin/${name}/*&quot;
-        system &quot;chown www:www ${destroot}${prefix}/etc/${name}/*&quot;
</del><ins>+    system &quot;touch ${destroot}${prefix}/var/log/${name}/${name}.log&quot;
+    system &quot;touch ${destroot}${prefix}/etc/${name}/sympa_aliases&quot;
+    system &quot;chown www:www ${destroot}${prefix}/bin/${name}/*&quot;
+    system &quot;chown www:www ${destroot}${prefix}/etc/${name}/*&quot;
</ins><span class="cx"> 
</span><span class="cx"> # Fix alias_manager.pl since the alias_wrapper seems not to work
</span><del>-        reinplace &quot;s|${prefix}/bin/${name}/aliaswrapper|${prefix}/bin/newaliases|g&quot; \
-                &quot;${destroot}${prefix}/bin/${name}/alias_manager.pl&quot;
</del><ins>+    reinplace &quot;s|${prefix}/bin/${name}/aliaswrapper|${prefix}/bin/newaliases|g&quot; \
+        &quot;${destroot}${prefix}/bin/${name}/alias_manager.pl&quot;
</ins><span class="cx"> 
</span><span class="cx"> # Keep these empty directories
</span><del>-        destroot.keepdirs \
-                ${destroot}${prefix}/var/${name}/expl \
-                ${destroot}${prefix}/var/log/${name} \
-                ${destroot}${prefix}/var/${name}/spool/msg \
-                ${destroot}${prefix}/var/${name}/spool/bounce \
-                ${destroot}${prefix}/var/${name}/arc \
-                ${destroot}${prefix}/var/${name}/bounce
</del><ins>+    destroot.keepdirs \
+        ${destroot}${prefix}/var/${name}/expl \
+        ${destroot}${prefix}/var/log/${name} \
+        ${destroot}${prefix}/var/${name}/spool/msg \
+        ${destroot}${prefix}/var/${name}/spool/bounce \
+        ${destroot}${prefix}/var/${name}/arc \
+        ${destroot}${prefix}/var/${name}/bounce
</ins><span class="cx"> 
</span><span class="cx"> # Fix permissions for arc directory
</span><del>-        system &quot;chown www:www ${destroot}${prefix}/var/${name}/arc&quot;
</del><ins>+    system &quot;chown www:www ${destroot}${prefix}/var/${name}/arc&quot;
</ins><span class="cx"> 
</span><span class="cx"> # Set sympa.conf variables (this file uses tabs as separators)
</span><del>-        reinplace &quot;s|#openssl        /usr/local/bin/openssl|openssl        ${prefix}/bin/openssl|g&quot; \
-                &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</del><ins>+    reinplace &quot;s|#openssl   /usr/local/bin/openssl|openssl  ${prefix}/bin/openssl|g&quot; \
+        &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|#db_type        mysql|db_type        mysql|g&quot; \
-                &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</del><ins>+    reinplace &quot;s|#db_type   mysql|db_type   mysql|g&quot; \
+        &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|#db_name        sympa|db_name        sympa|g&quot; \
-                &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</del><ins>+    reinplace &quot;s|#db_name   sympa|db_name   sympa|g&quot; \
+        &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|#db_host        localhost|db_host        localhost|g&quot; \
-                &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</del><ins>+    reinplace &quot;s|#db_host   localhost|db_host   localhost|g&quot; \
+        &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|#db_user        sympa|db_user        sympa|g&quot; \
-                &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</del><ins>+    reinplace &quot;s|#db_user   sympa|db_user   sympa|g&quot; \
+        &quot;${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        system &quot;echo 'db_options  mysql_socket=${prefix}/var/run/mysql5/mysqld.sock' &gt;&gt; ${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</del><ins>+    system &quot;echo 'db_options  mysql_socket=${prefix}/var/run/mysql5/mysqld.sock' &gt;&gt; ${destroot}${prefix}/etc/sympa/sympa.conf&quot;
</ins><span class="cx"> 
</span><span class="cx"> # Set wwsympa.conf variables
</span><del>-        reinplace &quot;s|${prefix}/arc|${prefix}/var/${name}/arc|g&quot; \
-                &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</del><ins>+    reinplace &quot;s|${prefix}/arc|${prefix}/var/${name}/arc|g&quot; \
+        &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|${prefix}/bounce|${prefix}/var/${name}/bounce|g&quot; \
-                &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</del><ins>+    reinplace &quot;s|${prefix}/bounce|${prefix}/var/${name}/bounce|g&quot; \
+        &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|/usr/bin/mhonarc|${prefix}/bin/mhonarc|g&quot; \
-                &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</del><ins>+    reinplace &quot;s|/usr/bin/mhonarc|${prefix}/bin/mhonarc|g&quot; \
+        &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|#openssl        /usr/local/bin/openssl|openssl        ${prefix}/bin/openssl|g&quot; \
-                &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</del><ins>+    reinplace &quot;s|#openssl   /usr/local/bin/openssl|openssl  ${prefix}/bin/openssl|g&quot; \
+        &quot;${destroot}${prefix}/etc/${name}/wwsympa.conf&quot;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> post-activate {
</span><span class="cx"> 
</span><span class="cx"> # get rid of .turd files created by destroot.keepdirs because they cause problems in Sympa queues
</span><del>-        system &quot;rm ${prefix}/var/${name}/spool/msg/.turd_sympa&quot;
-        system &quot;rm ${prefix}/var/${name}/spool/bounce/.turd_sympa&quot;
-        system &quot;rm ${prefix}/var/${name}/bounce/.turd_sympa&quot;
-        system &quot;rm ${prefix}/var/${name}/arc/.turd_sympa&quot;
</del><ins>+    system &quot;rm ${prefix}/var/${name}/spool/msg/.turd_sympa&quot;
+    system &quot;rm ${prefix}/var/${name}/spool/bounce/.turd_sympa&quot;
+    system &quot;rm ${prefix}/var/${name}/bounce/.turd_sympa&quot;
+    system &quot;rm ${prefix}/var/${name}/arc/.turd_sympa&quot;
</ins><span class="cx"> 
</span><span class="cx"> ui_msg &quot;\n **** To complete Sympa installation ****
</span><span class="cx"> 
</span><span class="lines">@@ -201,104 +202,104 @@
</span><span class="cx"> 
</span><span class="cx"> 1) Setup MySQL and prepare it for Sympa (for PostgreSQL, see documentation)
</span><span class="cx">    Configure MySQL (new MySQL installs)
</span><del>-        sudo -u mysql ${prefix}/lib/mysql5/bin/mysql_install_db
</del><ins>+       sudo -u mysql ${prefix}/lib/mysql5/bin/mysql_install_db
</ins><span class="cx"> 
</span><span class="cx">    Start MySQL:
</span><del>-        sudo ${prefix}/share/mysql5/mysql/mysql.server start
</del><ins>+       sudo ${prefix}/share/mysql5/mysql/mysql.server start
</ins><span class="cx"> 
</span><span class="cx">    Set MySQL to start at system boot (optional)
</span><del>-        sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
</del><ins>+       sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
</ins><span class="cx"> 
</span><span class="cx">    Set a MySQL root password:
</span><del>-        Follow the instructions that were given after you executed 'mysql_install_db' above.
</del><ins>+       Follow the instructions that were given after you executed 'mysql_install_db' above.
</ins><span class="cx"> 
</span><span class="cx">    Create a Sympa MySQL user ...
</span><del>-        mysql5 -u root -p (login with new root password when prompted)
-        mysql&gt; grant CREATE,INSERT,SELECT,DELETE,UPDATE on sympa.* to sympa@localhost;
-        mysql&gt; grant CREATE,INSERT,SELECT,DELETE,UPDATE on sympa.* to sympa;
-        mysql&gt; quit;
</del><ins>+       mysql5 -u root -p (login with new root password when prompted)
+       mysql&gt; grant CREATE,INSERT,SELECT,DELETE,UPDATE on sympa.* to sympa@localhost;
+       mysql&gt; grant CREATE,INSERT,SELECT,DELETE,UPDATE on sympa.* to sympa;
+       mysql&gt; quit;
</ins><span class="cx"> 
</span><span class="cx">    Create the Sympa database:
</span><del>-        cat ${prefix}/share/sympa/script/create_db.mysql | mysql5 -u root -p sympa
</del><ins>+       cat ${prefix}/share/sympa/script/create_db.mysql | mysql5 -u root -p sympa
</ins><span class="cx"> 
</span><span class="cx">    Verify Sympa DB:
</span><del>-        mysql5 -u root -p
-        mysql&gt; use sympa;
-        mysql&gt; show tables;
-        mysql&gt; exit;
</del><ins>+       mysql5 -u root -p
+       mysql&gt; use sympa;
+       mysql&gt; show tables;
+       mysql&gt; exit;
</ins><span class="cx"> 
</span><span class="cx">    NOTE: MySQL must start before Apache because of wwsympa.fcgi
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 2) Setup Apache 2 &amp; FastCGI
</span><del>-        cd ${prefix}/apache2/conf
-        sudo cp httpd.conf.sample httpd.conf
</del><ins>+       cd ${prefix}/apache2/conf
+       sudo cp httpd.conf.sample httpd.conf
</ins><span class="cx"> 
</span><span class="cx">    Modify the ${prefix}/apache2/conf/httpd.conf file
</span><span class="cx"> 
</span><span class="cx">    Add directives and ScriptAlias:
</span><del>-        IPCCommTimeout 120
-        MaxProcessCount 2
</del><ins>+       IPCCommTimeout 120
+       MaxProcessCount 2
</ins><span class="cx"> 
</span><del>-        &lt;Location /sympa&gt;
-          SetHandler fcgid-script
-        &lt;/Location&gt;
</del><ins>+       &lt;Location /sympa&gt;
+         SetHandler fcgid-script
+       &lt;/Location&gt;
</ins><span class="cx"> 
</span><del>-        ScriptAlias /sympa ${prefix}/share/sympa/cgi-bin/wwsympa.fcgi
</del><ins>+       ScriptAlias /sympa ${prefix}/share/sympa/cgi-bin/wwsympa.fcgi
</ins><span class="cx"> 
</span><span class="cx">    Start Apache 2: (Turn off personal web sharing first!)
</span><del>-        sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist
</del><ins>+       sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx">    NOTE: The Apache user and group must be the same as the file wwsympa.fcgi.
</span><del>-         Sympa files are owned by user/group 'www' so the apache user and group
-         must be www unless you chown Sympa files to something else.
</del><ins>+         Sympa files are owned by user/group 'www' so the apache user and group
+         must be www unless you chown Sympa files to something else.
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 3) Enable Postfix (not covered), setup Sympa robot aliases, &amp; list alias config
</span><span class="cx">    Robot aliases:
</span><del>-        sympa: \&quot;| ${prefix}/bin/sympa/queue sympa@mydomain.org\&quot;
-        listmaster: \&quot;| ${prefix}/bin/sympa/queue listmaster@mydomain.org\&quot;
-        bounce+*: \&quot;| ${prefix}/bin/sympa/bouncequeue sympa@mydomain.org\&quot;
-        sympa-request: &lt;sympa administrator's address&gt;
-        sympa-owner: &lt;sympa administrator's address&gt;
</del><ins>+       sympa: \&quot;| ${prefix}/bin/sympa/queue sympa@mydomain.org\&quot;
+       listmaster: \&quot;| ${prefix}/bin/sympa/queue listmaster@mydomain.org\&quot;
+       bounce+*: \&quot;| ${prefix}/bin/sympa/bouncequeue sympa@mydomain.org\&quot;
+       sympa-request: &lt;sympa administrator's address&gt;
+       sympa-owner: &lt;sympa administrator's address&gt;
</ins><span class="cx"> 
</span><span class="cx">    Activate the robot aliases with the command \&quot;sudo newaliases\&quot;
</span><span class="cx"> 
</span><span class="cx">    List alias config: (automatic list aliases)
</span><span class="cx">    Add these statements to /etc/postfix/main.cf
</span><del>-        alias_maps = hash:/etc/aliases,hash:${prefix}/etc/${name}/sympa_aliases
-        alias_database = hash:/etc/aliases,hash:${prefix}/etc/${name}/sympa_aliases
</del><ins>+       alias_maps = hash:/etc/aliases,hash:${prefix}/etc/${name}/sympa_aliases
+       alias_database = hash:/etc/aliases,hash:${prefix}/etc/${name}/sympa_aliases
</ins><span class="cx"> 
</span><span class="cx">    Activate the new configuration with the command \&quot;sudo postfix reload\&quot;
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 4) Edit ${prefix}/etc/sympa/sympa.conf variables
</span><del>-        domain
-        listmaster
-        email
-        db_password
-        wwsympa_url
</del><ins>+       domain
+       listmaster
+       email
+       db_password
+       wwsympa_url
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 5) Edit ${prefix}/etc/sympa/wwsympa.conf variables
</span><del>-        title
-        default_home
</del><ins>+       title
+       default_home
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 6) Add a statement to OS X's syslog.conf file to support Sympa log files
</span><span class="cx"> 
</span><del>-        local1.*       ${prefix}/var/log/sympa/sympa.log
</del><ins>+       local1.*       ${prefix}/var/log/sympa/sympa.log
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 7) Start the Sympa daemon
</span><del>-        sudo launchctl load -w /Library/LaunchDaemons/org.macports.sympa.plist
</del><ins>+       sudo launchctl load -w /Library/LaunchDaemons/org.macports.sympa.plist
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 8) Have Sympa generate a listmaster password
</span><del>-        Go to http://localhost/sympa. Click the \&quot;First login ?\&quot; link, then
-        enter the listmaster address you set in the sympa.conf file, and
-        click \&quot;Send me my password\&quot; and retrieve the password in your inbox.
</del><ins>+       Go to http://localhost/sympa. Click the \&quot;First login ?\&quot; link, then
+       enter the listmaster address you set in the sympa.conf file, and
+       click \&quot;Send me my password\&quot; and retrieve the password in your inbox.
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 9) Login to WWSympa at http://localhost/sympa with the listmaster address
</span></span></pre>
</div>
</div>

</body>
</html>