<!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>[129020] trunk/dports/net/nfsen</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/129020">129020</a></dd>
<dt>Author</dt> <dd>devans@macports.org</dd>
<dt>Date</dt> <dd>2014-12-03 08:16:35 -0800 (Wed, 03 Dec 2014)</dd>
</dl>

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

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsnetnfsenPortfile">trunk/dports/net/nfsen/Portfile</a></li>
<li><a href="#trunkdportsnetnfsenfilespatchetcnfsendistconfdiff">trunk/dports/net/nfsen/files/patch-etc-nfsen-dist.conf.diff</a></li>
<li><a href="#trunkdportsnetnfsenfilespatchinstallpldiff">trunk/dports/net/nfsen/files/patch-install.pl.diff</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsnetnfsenfilespatchlibexecNfProfilepmdiff">trunk/dports/net/nfsen/files/patch-libexec-NfProfile.pm.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsnetnfsenPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/nfsen/Portfile (129019 => 129020)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/nfsen/Portfile        2014-12-03 15:39:35 UTC (rev 129019)
+++ trunk/dports/net/nfsen/Portfile        2014-12-03 16:16:35 UTC (rev 129020)
</span><span class="lines">@@ -1,37 +1,38 @@
</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            nfsen
-version         1.3
-revision        3
-categories      net
-maintainers     nomaintainer
-license         BSD
</del><ins>+name                nfsen
+version             1.3
+revision            3
+categories          net
+maintainers         nomaintainer
+license             BSD
</ins><span class="cx"> 
</span><del>-description     Web based frontend to nfdump netflow collector
-long_description ${description}
-homepage        http://nfsen.sourceforge.net/
-platforms       darwin
-master_sites    sourceforge:project/nfsen/stable/nfsen-${version}
</del><ins>+description         Web based frontend to nfdump netflow collector
+long_description    ${description}
+homepage            http://nfsen.sourceforge.net/
+platforms           darwin
+master_sites        sourceforge:project/nfsen/stable/nfsen-${version}
</ins><span class="cx"> 
</span><del>-checksums       md5 1c4f057bbb3766090b40bda3ab6b81d2
</del><ins>+checksums           md5 1c4f057bbb3766090b40bda3ab6b81d2
</ins><span class="cx"> 
</span><del>-depends_lib     port:perl5.12 \
-                port:rrdtool \
-                port:p5.12-mailtools \
-                port:p5.12-sys-syslog \
-                port:nfdump
</del><ins>+depends_lib         port:perl5.12 \
+                    port:rrdtool \
+                    port:p5.12-mailtools \
+                    port:p5.12-sys-syslog \
+                    port:nfdump
</ins><span class="cx"> 
</span><del>-patchfiles      patch-install.pl.diff \
-                patch-etc-nfsen-dist.conf.diff \
-                patch-libexec-NfSenRC.pm.diff \
-                patch-bin-nfsend.diff \
-                patch-bin-nfsen.diff \
-                patch-bin-testplugin.diff \
-                patch-bin-RebuildHierarchy.pl.diff
</del><ins>+patchfiles          patch-install.pl.diff \
+                    patch-etc-nfsen-dist.conf.diff \
+                    patch-libexec-NfSenRC.pm.diff \
+                    patch-bin-nfsend.diff \
+                    patch-bin-nfsen.diff \
+                    patch-bin-testplugin.diff \
+                    patch-bin-RebuildHierarchy.pl.diff
</ins><span class="cx"> 
</span><del>-use_configure   no
</del><ins>+use_configure       no
</ins><span class="cx"> build {}
</span><span class="cx"> 
</span><span class="cx"> startupitem.create      yes
</span><span class="lines">@@ -40,26 +41,25 @@
</span><span class="cx"> post-patch {
</span><span class="cx"> # Read the nfsen.conf comments for details on the use of these variables
</span><span class="cx"> 
</span><del>-set netflowuser &quot;www&quot;
-set wwwuser &quot;www&quot;
-set wwwgroup &quot;www&quot;
</del><ins>+set netflowuser     &quot;www&quot;
+set wwwuser         &quot;www&quot;
+set wwwgroup        &quot;www&quot;
</ins><span class="cx"> 
</span><del>-        reinplace &quot;s|__NETFLOWUSER__|${netflowuser}|g&quot; \
-                ${worksrcpath}/etc/nfsen-dist.conf \
-                ${worksrcpath}/libexec/NfSenRC.pm
-        reinplace &quot;s|__WWWUSER__|${wwwuser}|g&quot; \
-                ${worksrcpath}/etc/nfsen-dist.conf
-        reinplace &quot;s|__WWWGROUP__|${wwwgroup}|g&quot; \
-                ${worksrcpath}/etc/nfsen-dist.conf
-
-        reinplace &quot;s|__PREFIX__|${prefix}|g&quot; \
-                ${worksrcpath}/install.pl
-        reinplace &quot;s|__DESTDIR__|${destroot}|g&quot; \
-                ${worksrcpath}/install.pl
-        eval reinplace &quot;s|__PREFIX__|${prefix}|g&quot; \
-                [glob ${worksrcpath}/bin/*]
-        eval reinplace &quot;s|/usr/bin/perl|${prefix}/bin/perl5.12|g&quot; \
-                [glob ${worksrcpath}/installer-items/*.pm]
</del><ins>+    reinplace &quot;s|__NETFLOWUSER__|${netflowuser}|g&quot; \
+        ${worksrcpath}/etc/nfsen-dist.conf \
+        ${worksrcpath}/libexec/NfSenRC.pm
+    reinplace &quot;s|__WWWUSER__|${wwwuser}|g&quot; \
+        ${worksrcpath}/etc/nfsen-dist.conf
+    reinplace &quot;s|__WWWGROUP__|${wwwgroup}|g&quot; \
+        ${worksrcpath}/etc/nfsen-dist.conf
+    reinplace &quot;s|__PREFIX__|${prefix}|g&quot; \
+        ${worksrcpath}/install.pl
+    reinplace &quot;s|__DESTDIR__|${destroot}|g&quot; \
+        ${worksrcpath}/install.pl
+    eval reinplace &quot;s|__PREFIX__|${prefix}|g&quot; \
+        [glob ${worksrcpath}/bin/*]
+    eval reinplace &quot;s|/usr/bin/perl|${prefix}/bin/perl5.12|g&quot; \
+        [glob ${worksrcpath}/installer-items/*.pm]
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> destroot {
</span><span class="lines">@@ -69,27 +69,27 @@
</span><span class="cx"> # to point to destroot, and after the install replace the previous .conf file that points to profiles in PREFIX.
</span><span class="cx"> # Yuch!  I've asked the developers to add DESTDIR support in a future version.
</span><span class="cx"> 
</span><del>-        reinplace &quot;s|__PREFIX__|${prefix}|g&quot; \
-                ${worksrcpath}/etc/nfsen-dist.conf
</del><ins>+    reinplace &quot;s|__PREFIX__|${prefix}|g&quot; \
+    ${worksrcpath}/etc/nfsen-dist.conf
</ins><span class="cx"> 
</span><span class="cx"> # Backup the .conf file
</span><del>-        file copy ${worksrcpath}/etc/nfsen-dist.conf \
-                ${worksrcpath}/etc/nfsen-dist.conf.org
</del><ins>+    copy ${worksrcpath}/etc/nfsen-dist.conf \
+        ${worksrcpath}/etc/nfsen-dist.conf.org
</ins><span class="cx"> 
</span><span class="cx"> # Set profiles-stat and profiles-data to destroot until install is done
</span><del>-        reinplace &quot;s|\${VARDIR}/profiles|${destroot}${prefix}/var/nfsen/profiles|g&quot; \
-                ${worksrcpath}/etc/nfsen-dist.conf
-        system -W ${worksrcpath} &quot;${prefix}/bin/perl5.12 ./install.pl ./etc/nfsen-dist.conf&quot;
</del><ins>+    reinplace &quot;s|\${VARDIR}/profiles|${destroot}${prefix}/var/nfsen/profiles|g&quot; \
+        ${worksrcpath}/etc/nfsen-dist.conf
+    system -W ${worksrcpath} &quot;${prefix}/bin/perl5.12 ./install.pl ./etc/nfsen-dist.conf&quot;
</ins><span class="cx"> 
</span><span class="cx"> # Replace the original .conf file
</span><del>-        file rename -force ${destroot}${prefix}/etc/nfsen-dist.conf.org \
-                ${destroot}${prefix}/etc/nfsen-dist.conf
</del><ins>+    file rename -force ${destroot}${prefix}/etc/nfsen-dist.conf.org \
+        ${destroot}${prefix}/etc/nfsen-dist.conf
</ins><span class="cx"> 
</span><del>-        destroot.keepdirs \
-                ${destroot}${prefix}/var/nfsen/run \
-                ${destroot}${prefix}/var/nfsen/tmp \
-                ${destroot}${prefix}/var/nfsen/filters \
-                ${destroot}${prefix}/var/nfsen/fmt
</del><ins>+    destroot.keepdirs \
+        ${destroot}${prefix}/var/nfsen/run \
+        ${destroot}${prefix}/var/nfsen/tmp \
+        ${destroot}${prefix}/var/nfsen/filters \
+        ${destroot}${prefix}/var/nfsen/fmt
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> post-activate {
</span><span class="lines">@@ -121,4 +121,4 @@
</span><span class="cx"> \n&quot;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
</del><ins>+livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
</ins></span></pre></div>
<a id="trunkdportsnetnfsenfilespatchetcnfsendistconfdiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/nfsen/files/patch-etc-nfsen-dist.conf.diff (129019 => 129020)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/nfsen/files/patch-etc-nfsen-dist.conf.diff        2014-12-03 15:39:35 UTC (rev 129019)
+++ trunk/dports/net/nfsen/files/patch-etc-nfsen-dist.conf.diff        2014-12-03 16:16:35 UTC (rev 129020)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>---- etc/nfsen-dist.conf.org        2007-11-20 04:27:39.000000000 -0800
-+++ etc/nfsen-dist.conf        2008-02-12 14:50:04.000000000 -0800
</del><ins>+--- etc/nfsen-dist.conf.orig        2011-12-29 04:38:38.000000000 -0800
++++ etc/nfsen-dist.conf        2014-12-03 07:31:47.000000000 -0800
</ins><span class="cx"> @@ -18,7 +18,7 @@
</span><span class="cx">  
</span><span class="cx">  #
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> -$VARDIR=&quot;${BASEDIR}/var&quot;;
</span><span class="cx"> +$VARDIR=&quot;${BASEDIR}/var/nfsen&quot;;
</span><span class="cx">  
</span><del>- #
</del><span class="cx">  # directory for all pid files
</span><del>-@@ -53,15 +53,15 @@
</del><ins>+ # $PIDDIR=&quot;$VARDIR/run&quot;;
+@@ -60,15 +60,15 @@
</ins><span class="cx">  #
</span><span class="cx">  # The Profiles stat directory, where all profile information
</span><span class="cx">  # RRD DBs and png pictures of the profile are stored
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">  
</span><span class="cx">  #
</span><span class="cx">  # Where go all the frontend plugins
</span><del>-@@ -69,7 +69,7 @@
</del><ins>+@@ -76,7 +76,7 @@
</ins><span class="cx">  
</span><span class="cx">  #
</span><span class="cx">  # nfdump tools path
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx">  
</span><span class="cx">  #
</span><span class="cx">  # nfsend communication socket
</span><del>-@@ -81,12 +81,12 @@
</del><ins>+@@ -88,12 +88,12 @@
</ins><span class="cx">  # This may be a different or the same uid than your web server.
</span><span class="cx">  # Note: This user must be in group $WWWGROUP, otherwise nfcapd
</span><span class="cx">  #       is not able to write data files!
</span><span class="lines">@@ -80,12 +80,14 @@
</span><span class="cx">  
</span><span class="cx">  # Receive buffer size for nfcapd - see man page nfcapd(1)
</span><span class="cx">  $BUFFLEN = 200000;
</span><del>-@@ -136,7 +136,7 @@
</del><ins>+@@ -158,8 +158,8 @@
</ins><span class="cx">  
</span><span class="cx">  %sources = (
</span><del>-     'upstream1'    =&gt; { 'port'    =&gt; '9995', 'col' =&gt; '#0000ff', 'type' =&gt; 'netflow' },
--    'peer1'        =&gt; { 'port'    =&gt; '9996', 'col' =&gt; '#ff0000' },
-+#    'peer1'        =&gt; { 'port'    =&gt; '9996', 'col' =&gt; '#ff0000' },
</del><ins>+     'upstream1'    =&gt; { 'port' =&gt; '9995', 'col' =&gt; '#0000ff', 'type' =&gt; 'netflow' },
+-    'peer1'        =&gt; { 'port' =&gt; '9996', 'IP' =&gt; '172.16.17.18' },
+-    'peer2'        =&gt; { 'port' =&gt; '9996', 'IP' =&gt; '172.16.17.19' },
++#    'peer1'        =&gt; { 'port' =&gt; '9996', 'IP' =&gt; '172.16.17.18' },
++#    'peer2'        =&gt; { 'port' =&gt; '9996', 'IP' =&gt; '172.16.17.19' },
</ins><span class="cx">  );
</span><span class="cx">  
</span><span class="cx">  #
</span></span></pre></div>
<a id="trunkdportsnetnfsenfilespatchinstallpldiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/nfsen/files/patch-install.pl.diff (129019 => 129020)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/nfsen/files/patch-install.pl.diff        2014-12-03 15:39:35 UTC (rev 129019)
+++ trunk/dports/net/nfsen/files/patch-install.pl.diff        2014-12-03 16:16:35 UTC (rev 129020)
</span><span class="lines">@@ -1,77 +1,78 @@
</span><del>---- install.pl.org        2007-11-21 01:12:04.000000000 -0800
-+++ install.pl        2008-02-09 20:52:23.000000000 -0800
</del><ins>+--- install.pl.orig        2011-12-30 06:23:35.000000000 -0800
++++ install.pl        2014-12-03 07:26:35.000000000 -0800
</ins><span class="cx"> @@ -1,4 +1,4 @@
</span><span class="cx"> -#!/usr/bin/perl
</span><del>-+#!__PREFIX__/bin/perl -I __PREFIX__/libexec/nfsen -I __DESTDIR____PREFIX__/libexec/nfsen
</del><ins>++#!__PREFIX__/bin/perl5.16 -I __PREFIX__/libexec/nfsen -I __DESTDIR____PREFIX__/libexec/nfsen
</ins><span class="cx">  #
</span><span class="cx">  #
</span><span class="cx">  #  Copyright (c) 2004, SWITCH - Teleinformatikdienste fuer Lehre und Forschung
</span><del>-@@ -283,8 +283,8 @@
</del><ins>+@@ -277,8 +277,8 @@
</ins><span class="cx">  sub PatchAllScripts {
</span><span class="cx">  
</span><span class="cx">          my %GlobList = ( 
</span><del>--                &quot;bin/*&quot;                =&gt;         &quot;$NfConf::BINDIR&quot;,
--                &quot;libexec/*&quot;        =&gt;        &quot;$NfConf::LIBEXECDIR&quot;
</del><ins>+-                &quot;bin/*&quot;                =&gt;         &quot;$NfConf::INSTPREFIX$NfConf::BINDIR&quot;,
+-                &quot;libexec/*&quot;        =&gt;        &quot;$NfConf::INSTPREFIX$NfConf::LIBEXECDIR&quot;
</ins><span class="cx"> +                &quot;bin/*&quot;                =&gt;         &quot;__DESTDIR____PREFIX__/bin&quot;,
</span><span class="cx"> +                &quot;libexec/*&quot;        =&gt;        &quot;__DESTDIR____PREFIX__/libexec/nfsen&quot;
</span><span class="cx">          );
</span><span class="cx">  
</span><span class="cx">          foreach my $glob_list ( keys %GlobList ) {
</span><del>-@@ -334,15 +334,14 @@
</del><ins>+@@ -328,16 +328,15 @@
</ins><span class="cx">          my ( $nfsen_uid, $www_gid ) = @_;
</span><span class="cx">  
</span><span class="cx">          print &quot;Setup php and html files.\n&quot;;
</span><del>--        mkdir &quot;$NfConf::HTMLDIR&quot; unless -d &quot;$NfConf::HTMLDIR&quot;;
--        die &quot;Could not create HTMl directory '$NfConf::HTMLDIR': $!\n&quot;  unless -d $NfConf::HTMLDIR;
-+        mkdir &quot;__DESTDIR____PREFIX__/www/nfsen&quot;;
</del><ins>+-        mkpath(&quot;$NfConf::INSTPREFIX$NfConf::HTMLDIR&quot;, 1, 0755) unless -d &quot;$NfConf::INSTPREFIX$NfConf::HTMLDIR&quot;;
+-        die &quot;Could not create HTMl directory '$NfConf::INSTPREFIX$NfConf::HTMLDIR': $!\n&quot;  unless -d &quot;$NfConf::INSTPREFIX$NfConf::HTMLDIR&quot;;
++        mkdir &quot;__DESTDIR____PREFIX__/www/nfsen&quot;;
</ins><span class="cx">  
</span><span class="cx">          $CopyRecursive::CopyLink = 1;
</span><span class="cx">          $CopyRecursive::MODE          = 0644;
</span><span class="cx">          $CopyRecursive::UID          = 0;
</span><span class="cx">          $CopyRecursive::GID          = $www_gid;
</span><del>--        CopyRecursive::dircopy(&quot;html&quot;, &quot;$NfConf::HTMLDIR&quot;);
--        open CONF, &quot;&gt;$NfConf::HTMLDIR/conf.php&quot; || die &quot;Can't open conf.php for writing: $!\n&quot;;
-+        CopyRecursive::dircopy(&quot;html&quot;, &quot;__DESTDIR____PREFIX__/www/nfsen&quot;);
-+        open CONF, &quot;&gt;__DESTDIR____PREFIX__/www/nfsen/conf.php&quot; || die &quot;Can't open conf.php for writing: $!\n&quot;;
-         print CONF &quot;&lt;?\n&quot;;
-         print CONF &quot;/* This file was automatically created by the NfSen install.pl script */\n\n&quot;;
</del><ins>+-        CopyRecursive::dircopy(&quot;html&quot;, &quot;$NfConf::INSTPREFIX$NfConf::HTMLDIR&quot;);
+-        open CONF, &quot;&gt;$NfConf::INSTPREFIX$NfConf::HTMLDIR/conf.php&quot; || die &quot;Can't open conf.php for writing: $!\n&quot;;
+-        print CONF &quot;&lt;?php\n&quot;;
++        CopyRecursive::dircopy(&quot;html&quot;, &quot;__DESTDIR____PREFIX__/www/nfsen&quot;);
++        open CONF, &quot;&gt;__DESTDIR____PREFIX__/www/nfsen/conf.php&quot; || die &quot;Can't open conf.php for writing: $!\n&quot;;
++        print CONF &quot;&lt;?php\n&quot;;
+         print CONF &quot;/* This file was automatically created by the NfSen $nfsen_version install.pl script */\n\n&quot;;
</ins><span class="cx">          print CONF &quot;\$COMMSOCKET = \&quot;$NfConf::COMMSOCKET\&quot;;\n&quot;;
</span><del>-@@ -362,11 +361,11 @@
</del><ins>+         print CONF &quot;\n\$DEBUG=0;\n&quot;;
+@@ -356,11 +355,11 @@
</ins><span class="cx">          umask 0002;
</span><span class="cx">          print &quot;\nSetup diretories:\n&quot;;
</span><span class="cx">          my @dirs = (
</span><del>--                &quot;$NfConf::VARDIR&quot;,
--                &quot;$NfConf::PIDDIR&quot;,
--                &quot;$NfConf::VARDIR/tmp&quot;,
--                &quot;$NfConf::VARDIR/filters&quot;,
--                &quot;$NfConf::VARDIR/fmt&quot;,
-+                &quot;__DESTDIR____PREFIX__/var/nfsen&quot;,
-+                &quot;__DESTDIR____PREFIX__/var/nfsen/run&quot;,
-+                &quot;__DESTDIR____PREFIX__/var/nfsen/tmp&quot;,
-+                &quot;__DESTDIR____PREFIX__/var/nfsen/filters&quot;,
-+                &quot;__DESTDIR____PREFIX__/var/nfsen/fmt&quot;,
-                 &quot;$NfConf::PROFILESTATDIR&quot;,
-                 &quot;$NfConf::PROFILESTATDIR/live&quot;,
-                 &quot;$NfConf::PROFILEDATADIR&quot;,
-@@ -585,21 +584,15 @@
</del><ins>+-                &quot;$NfConf::INSTPREFIX$NfConf::VARDIR&quot;,
+-                &quot;$NfConf::INSTPREFIX$NfConf::VARDIR/tmp&quot;,
+-                &quot;$NfConf::INSTPREFIX$NfConf::PIDDIR&quot;,
+-                &quot;$NfConf::INSTPREFIX$NfConf::FILTERDIR&quot;,
+-                &quot;$NfConf::INSTPREFIX$NfConf::FORMATDIR&quot;,
++                &quot;__DESTDIR____PREFIX__/var/nfsen&quot;,
++                &quot;__DESTDIR____PREFIX__/var/nfsen/tmp&quot;,
++                &quot;__DESTDIR____PREFIX__/var/nfsen/run&quot;,
++                &quot;__DESTDIR____PREFIX__/var/nfsen/filters&quot;,
++                &quot;__DESTDIR____PREFIX__/var/nfsen/fmt&quot;,
+                 &quot;$NfConf::INSTPREFIX$NfConf::PROFILESTATDIR&quot;,
+                 &quot;$NfConf::INSTPREFIX$NfConf::PROFILESTATDIR/live&quot;,
+                 &quot;$NfConf::INSTPREFIX$NfConf::PROFILEDATADIR&quot;,
+@@ -579,20 +578,14 @@
</ins><span class="cx">          $CopyRecursive::UID          = 0;
</span><span class="cx">          $CopyRecursive::GID          = $www_gid;
</span><span class="cx">          $CopyRecursive::MODE          = 0755;
</span><span class="cx"> -        unlink &quot;$NfConf::BINDIR/nfsen.rc&quot;;
</span><del>--        CopyRecursive::dircopy(&quot;bin&quot;, &quot;$NfConf::BINDIR&quot;);
--        CopyRecursive::dircopy(&quot;libexec&quot;, &quot;$NfConf::LIBEXECDIR&quot;);
-+        unlink &quot;__DESTDIR____PREFIX__/bin/nfsen.rc&quot;;
-+        CopyRecursive::dircopy(&quot;bin&quot;, &quot;__DESTDIR____PREFIX__/bin&quot;);
-+        CopyRecursive::dircopy(&quot;libexec&quot;, &quot;__DESTDIR____PREFIX__/libexec/nfsen&quot;);
-         $CopyRecursive::MODE          = 0644;
--        CopyRecursive::dircopy(&quot;etc&quot;, &quot;$NfConf::CONFDIR&quot;);
--        CopyRecursive::dircopy(&quot;plugins/backend&quot;,  &quot;$NfConf::BACKEND_PLUGINDIR&quot;);
--        CopyRecursive::dircopy(&quot;plugins/frontend&quot;, &quot;$NfConf::FRONTEND_PLUGINDIR&quot;);
--        CopyRecursive::dircopy(&quot;doc&quot;, &quot;$NfConf::DOCDIR&quot;);
-+        CopyRecursive::dircopy(&quot;etc&quot;, &quot;__DESTDIR____PREFIX__/etc&quot;);
-+        CopyRecursive::dircopy(&quot;plugins/backend&quot;,  &quot;__DESTDIR____PREFIX__/libexec/nfsen/plugins&quot;);
-+        CopyRecursive::dircopy(&quot;plugins/frontend&quot;, &quot;__DESTDIR____PREFIX__/www/nfsen/plugins&quot;);
-+        CopyRecursive::dircopy(&quot;doc&quot;, &quot;__DESTDIR____PREFIX__/www/nfsen/doc&quot;);
</del><ins>+-        CopyRecursive::dircopy(&quot;bin&quot;, &quot;$NfConf::INSTPREFIX$NfConf::BINDIR&quot;);
+-        CopyRecursive::dircopy(&quot;libexec&quot;, &quot;$NfConf::INSTPREFIX$NfConf::LIBEXECDIR&quot;);
+-        $CopyRecursive::MODE          = 0644;
+-        CopyRecursive::dircopy(&quot;etc&quot;, &quot;$NfConf::INSTPREFIX$NfConf::CONFDIR&quot;);
+-        CopyRecursive::dircopy(&quot;plugins/backend&quot;,  &quot;$NfConf::INSTPREFIX$NfConf::BACKEND_PLUGINDIR&quot;);
+-        CopyRecursive::dircopy(&quot;plugins/frontend&quot;, &quot;$NfConf::INSTPREFIX$NfConf::FRONTEND_PLUGINDIR&quot;);
++        unlink &quot;__DESTDIR____PREFIX__/bin/nfsen.rc&quot;;
++        CopyRecursive::dircopy(&quot;bin&quot;, &quot;__DESTDIR____PREFIX__/bin&quot;);
++        CopyRecursive::dircopy(&quot;libexec&quot;, &quot;__DESTDIR____PREFIX__/libexec/nfsen&quot;);
++        $CopyRecursive::MODE          = 0644;
++        CopyRecursive::dircopy(&quot;etc&quot;, &quot;__DESTDIR____PREFIX__/etc&quot;);
++        CopyRecursive::dircopy(&quot;plugins/backend&quot;,  &quot;__DESTDIR____PREFIX__/libexec/nfsen/plugins&quot;);
++        CopyRecursive::dircopy(&quot;plugins/frontend&quot;, &quot;__DESTDIR____PREFIX__/www/nfsen/plugins&quot;);
</ins><span class="cx">  
</span><span class="cx"> -        if ( $ConfigFile eq &quot;$NfConf::CONFDIR/nfsen.conf&quot; ) {
</span><span class="cx"> -                print &quot;Keep config file '$ConfigFile'\n&quot;;
</span><span class="lines">@@ -82,7 +83,7 @@
</span><span class="cx">          print &quot;\n&quot;;
</span><span class="cx">  
</span><span class="cx">  } # End of CopyAllFiles
</span><del>-@@ -669,12 +662,6 @@
</del><ins>+@@ -663,12 +656,6 @@
</ins><span class="cx">          exit 1;
</span><span class="cx">  }
</span><span class="cx">  
</span><span class="lines">@@ -92,6 +93,6 @@
</span><span class="cx"> -        die &quot;Extra nfsen.conf file in etc directory found. Remove errornous file first&quot;
</span><span class="cx"> -}
</span><span class="cx"> -
</span><ins>+ Log::LogInit();

</ins><span class="cx">  my $hints = NfSen::LoadHints();
</span><del>- if ( $$$hints{'version'} == -1 ) {
-         # initial NfSen install or upgrade from old version without hints
</del></span></pre></div>
<a id="trunkdportsnetnfsenfilespatchlibexecNfProfilepmdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/net/nfsen/files/patch-libexec-NfProfile.pm.diff (0 => 129020)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/nfsen/files/patch-libexec-NfProfile.pm.diff                                (rev 0)
+++ trunk/dports/net/nfsen/files/patch-libexec-NfProfile.pm.diff        2014-12-03 16:16:35 UTC (rev 129020)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+--- libexec/NfProfile.pm.orig        2014-12-03 08:02:49.000000000 -0800
++++ libexec/NfProfile.pm        2014-12-03 08:03:33.000000000 -0800
+@@ -41,6 +41,7 @@
+ use Fcntl qw(:DEFAULT :flock);

+ use NfSen;
++use NfSync;
+ use NfSenRRD;
+ use Log;

</ins></span></pre>
</div>
</div>

</body>
</html>