<!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>[143416] trunk/dports/mail/pflogsumm/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/143416">143416</a></dd>
<dt>Author</dt> <dd>mojca@macports.org</dd>
<dt>Date</dt> <dd>2015-12-12 01:55:44 -0800 (Sat, 12 Dec 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>pflogsumm: whitespace, checksums only</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsmailpflogsummPortfile">trunk/dports/mail/pflogsumm/Portfile</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsmailpflogsummPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/mail/pflogsumm/Portfile (143415 => 143416)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/mail/pflogsumm/Portfile        2015-12-12 09:51:58 UTC (rev 143415)
+++ trunk/dports/mail/pflogsumm/Portfile        2015-12-12 09:55:44 UTC (rev 143416)
</span><span class="lines">@@ -1,114 +1,112 @@
</span><span class="cx"> # -*- 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
</span><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                        pflogsumm
-version                        1.1.3
-revision                1
-categories                mail
-license                        GPL-2+
-maintainers                nomaintainer
-description                Produce Postfix MTA logfile summary
-long_description        Pflogsumm is a log analyzer/summarizer for the \
-                                        Postfix MTA. It is designed to provide an over-view \
-                                        of Postfix activity, with just enough detail to give \
-                                        the administrator a "heads up" for potential trouble \
-                                        spots. \
-                                        Pflogsumm generates summaries and, in some cases, \
-                                        detailed reports of mail server traffic volumes, \
-                                        rejected and bounced email, and server warnings, \
-                                        errors and panics. \
-                                        Also installs Chris Cappuccio's CGI script for \
-                                        browser access to the Pflogsumm output.
-homepage                http://jimsun.linxnet.com/postfix_contrib.html
-master_sites         http://jimsun.linxnet.com/downloads/ \
-                        http://www.nmedia.net/~chris/mail/:cgi
</del><ins>+name pflogsumm
+version 1.1.3
+revision 1
+categories mail
+license GPL-2+
+maintainers nomaintainer
+description Produce Postfix MTA logfile summary
+long_description Pflogsumm is a log analyzer/summarizer for the \
+ Postfix MTA. It is designed to provide an over-view \
+ of Postfix activity, with just enough detail to give \
+ the administrator a "heads up" for potential trouble \
+ spots. \
+ Pflogsumm generates summaries and, in some cases, \
+ detailed reports of mail server traffic volumes, \
+ rejected and bounced email, and server warnings, \
+ errors and panics. \
+ Also installs Chris Cappuccio's CGI script for \
+ browser access to the Pflogsumm output.
+homepage http://jimsun.linxnet.com/postfix_contrib.html
+master_sites http://jimsun.linxnet.com/downloads/ \
+ http://www.nmedia.net/~chris/mail/:cgi
</ins><span class="cx">
</span><del>-distfiles-append        mail-cgi.txt:cgi
</del><ins>+distfiles-append mail-cgi.txt:cgi
</ins><span class="cx">
</span><del>-checksums pflogsumm-1.1.3.tar.gz \
- md5 5e3fb28dfb5b7f4a8b6b9bf2abde9542 \
- sha1 86bdb3b880896e9a4991dd3ea77c4981a5c65dcb \
</del><ins>+checksums ${name}-${version}.tar.gz \
</ins><span class="cx"> rmd160 be63bd79c3bde406fe9e7fcc5b241fd7b2283ddb \
</span><ins>+ sha256 c4df11c2eaef313025e326114d9dea4b0f0f9b978880a29d2ecf075774aa7142 \
</ins><span class="cx"> mail-cgi.txt \
</span><del>- md5 352451388eed3d1f7255dc07fc411d97 \
- sha1 ba637e06a5334f33604adb1c255a2ac9be5ef655 \
- rmd160 7e683878f45dd401764a62ab52ad79c5f2f36a97
</del><ins>+ rmd160 7e683878f45dd401764a62ab52ad79c5f2f36a97 \
+ sha256 1bb4fe670fd7b544b9ab0425783573be7a04529fd1f7a6ccd5680fa089bfbb6d
</ins><span class="cx">
</span><del>-extract.only         ${distname}${extract.suffix}
-platforms                darwin freebsd
-supported_archs        noarch
</del><ins>+extract.only ${distname}${extract.suffix}
+platforms darwin freebsd
+supported_archs noarch
</ins><span class="cx">
</span><del>-set perl5.bin         ${prefix}/bin/perl5.16
</del><ins>+set perl5.bin ${prefix}/bin/perl5.16
</ins><span class="cx">
</span><del>-depends_lib port:perl5.16
-depends_run                port:p5.16-date-calc
</del><ins>+depends_lib port:perl5.16
+depends_run port:p5.16-date-calc
</ins><span class="cx">
</span><del>-set cgi_path                ""
-set maillog_path        ""
</del><ins>+set cgi_path ""
+set maillog_path ""
</ins><span class="cx">
</span><span class="cx"> platform darwin {
</span><del>-        global cgi_path maillog_path
-        set cgi_path "/Library/WebServer/CGI-Executables"
-        set maillog_path "/var/log/mail.log"
</del><ins>+ global cgi_path maillog_path
+ set cgi_path "/Library/WebServer/CGI-Executables"
+ set maillog_path "/var/log/mail.log"
</ins><span class="cx">
</span><del>-        # MacPorts Apache interoperability
-        if {[file exists ${prefix}/sbin/httpd]} {
-                set cgi_path "${prefix}/www/cgi-bin"
-        }
</del><ins>+ # MacPorts Apache interoperability
+ if {[file exists ${prefix}/sbin/httpd]} {
+ set cgi_path "${prefix}/www/cgi-bin"
+ }
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> platform freebsd {
</span><del>-        global cgi_path maillog_path
-        set cgi_path "/usr/local/www/cgi-bin"
-        set maillog_path "/var/log/maillog"
</del><ins>+ global cgi_path maillog_path
+ set cgi_path "/usr/local/www/cgi-bin"
+ set maillog_path "/var/log/maillog"
</ins><span class="cx">
</span><del>-        # MacPorts Apache interoperability
-        if {[file exists ${prefix}/sbin/httpd]} {
-                set cgi_path "${prefix}/www/cgi-bin"
-        }
</del><ins>+ # MacPorts Apache interoperability
+ if {[file exists ${prefix}/sbin/httpd]} {
+ set cgi_path "${prefix}/www/cgi-bin"
+ }
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> post-extract {
</span><del>-        file copy -force ${distpath}/mail-cgi.txt ${worksrcpath}/${name}.cgi
</del><ins>+ file copy -force ${distpath}/mail-cgi.txt ${worksrcpath}/${name}.cgi
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-use_configure        no
</del><ins>+use_configure no
</ins><span class="cx">
</span><span class="cx"> build {
</span><del>-        reinplace "s|^#!.*perl|#!${perl5.bin}|" ${worksrcpath}/${name}.pl
-        reinplace "s|mail.empnet.com|[exec hostname]|" ${worksrcpath}/${name}.cgi
-        reinplace "s|/var/log/maillog|${maillog_path}|" ${worksrcpath}/${name}.cgi
-        reinplace "s|${maillog_path}\[.\]\[0-3\]|&.gz|" ${worksrcpath}/${name}.cgi
-        reinplace "s|/usr/ucb/ps|[binaryInPath ps]|" ${worksrcpath}/${name}.cgi
-        reinplace "s|zcat=\"/bin/cat|zcat=\"[binaryInPath zcat]|" ${worksrcpath}/${name}.cgi
-        reinplace "s|/bin/cat|[binaryInPath cat]|" ${worksrcpath}/${name}.cgi
-        reinplace "s|/usr/local/bin/${name}.pl|${prefix}/bin/${name}|" ${worksrcpath}/${name}.cgi
-        reinplace "s|^opts=|# &|" ${worksrcpath}/${name}.cgi
-        reinplace "s|^#opts=|opts=|" ${worksrcpath}/${name}.cgi
-        reinplace "s|mail.cgi|${name}.cgi|" ${worksrcpath}/${name}.cgi
-        reinplace "s|\$pflog \$opts.*$|& 2>\\&1|" ${worksrcpath}/${name}.cgi
</del><ins>+ reinplace "s|^#!.*perl|#!${perl5.bin}|" ${worksrcpath}/${name}.pl
+ reinplace "s|mail.empnet.com|[exec hostname]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/var/log/maillog|${maillog_path}|" ${worksrcpath}/${name}.cgi
+ reinplace "s|${maillog_path}\[.\]\[0-3\]|&.gz|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/usr/ucb/ps|[binaryInPath ps]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|zcat=\"/bin/cat|zcat=\"[binaryInPath zcat]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/bin/cat|[binaryInPath cat]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/usr/local/bin/${name}.pl|${prefix}/bin/${name}|" ${worksrcpath}/${name}.cgi
+ reinplace "s|^opts=|# &|" ${worksrcpath}/${name}.cgi
+ reinplace "s|^#opts=|opts=|" ${worksrcpath}/${name}.cgi
+ reinplace "s|mail.cgi|${name}.cgi|" ${worksrcpath}/${name}.cgi
+ reinplace "s|\$pflog \$opts.*$|& 2>\\&1|" ${worksrcpath}/${name}.cgi
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> destroot {
</span><del>-        xinstall -m 0755 ${worksrcpath}/${name}.pl \
-                ${destroot}${prefix}/bin/${name}
-        xinstall -m 0644 ${worksrcpath}/${name}.1 \
-                ${destroot}${prefix}/share/man/man1
-        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-        xinstall -m 0644 ${worksrcpath}/${name}-faq.txt \
-                ${destroot}${prefix}/share/doc/${name}
-        xinstall -d -m 0755 ${destroot}${cgi_path}
-        if {[file exists ${maillog_path}]} {
-         set maillog_group [file attributes ${maillog_path} -group]
-        } else {
-         set maillog_group wheel
-        }
-        xinstall -m 02755 -g ${maillog_group} ${worksrcpath}/${name}.cgi \
-                ${destroot}${cgi_path}
</del><ins>+ xinstall -m 0755 ${worksrcpath}/${name}.pl \
+ ${destroot}${prefix}/bin/${name}
+ xinstall -m 0644 ${worksrcpath}/${name}.1 \
+ ${destroot}${prefix}/share/man/man1
+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/${name}-faq.txt \
+ ${destroot}${prefix}/share/doc/${name}
+ xinstall -d -m 0755 ${destroot}${cgi_path}
+ if {[file exists ${maillog_path}]} {
+ set maillog_group [file attributes ${maillog_path} -group]
+ } else {
+ set maillog_group wheel
+ }
+ xinstall -m 02755 -g ${maillog_group} ${worksrcpath}/${name}.cgi \
+ ${destroot}${cgi_path}
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</del><ins>+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</ins></span></pre>
</div>
</div>
</body>
</html>