aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nfsen
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2009-07-10 07:29:49 +0800
committerwxs <wxs@FreeBSD.org>2009-07-10 07:29:49 +0800
commitee235912845e322b07b6cbea21d29d1d3ea1732d (patch)
treeeb07b3a5066d013d830c087742bee73153d94f63 /net-mgmt/nfsen
parent903533e0a346377017f16949a570eae06ff7ac14 (diff)
downloadfreebsd-ports-gnome-ee235912845e322b07b6cbea21d29d1d3ea1732d.tar.gz
freebsd-ports-gnome-ee235912845e322b07b6cbea21d29d1d3ea1732d.tar.zst
freebsd-ports-gnome-ee235912845e322b07b6cbea21d29d1d3ea1732d.zip
- Update to 1.3.2
PR: ports/136070 Submitted by: Mohacsi Janos <mohacsi@niif.hu>
Diffstat (limited to 'net-mgmt/nfsen')
-rw-r--r--net-mgmt/nfsen/Makefile15
-rw-r--r--net-mgmt/nfsen/distinfo6
-rw-r--r--net-mgmt/nfsen/files/patch-libexec-NfSenRRD.pm11
-rw-r--r--net-mgmt/nfsen/pkg-plist155
4 files changed, 113 insertions, 74 deletions
diff --git a/net-mgmt/nfsen/Makefile b/net-mgmt/nfsen/Makefile
index dbea586a1c40..2c28990d168a 100644
--- a/net-mgmt/nfsen/Makefile
+++ b/net-mgmt/nfsen/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= nfsen
-PORTVERSION= 1.3
-PORTREVISION= 1
+PORTVERSION= 1.3.2
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://nfsen.sourceforge.net/
@@ -20,8 +19,6 @@ RUN_DEPENDS= ${SITE_PERL}/RRDp.pm:${PORTSDIR}/databases/rrdtool \
${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \
nfdump:${PORTSDIR}/net-mgmt/nfdump
-FORBIDDEN= remote command execution vulnerability
-
USE_ICONV= yes
USE_PERL5= yes
USE_PHP= session pcre sockets
@@ -33,16 +30,6 @@ USE_RC_SUBR= nfsen.sh
IGNORE= needs running syslogd
.endif
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "*****************************************************"
- @${ECHO_MSG} "Before upgrading you may backup the original profile "
- @${ECHO_MSG} "stat data:"
- @${ECHO_MSG} "cd ${WRKSRC}/helpers"
- @${ECHO_MSG} "./mk_backup.sh /path/to/your/profilestatdir /path/to/backupdir"
- @${ECHO_MSG} "*****************************************************"
- @${ECHO_MSG} ""
-
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' -e 's,%%PORTNAME%%,${PORTNAME},' \
${WRKSRC}/etc/nfsen-dist.conf
diff --git a/net-mgmt/nfsen/distinfo b/net-mgmt/nfsen/distinfo
index f806550ea3d5..dfea64ebae22 100644
--- a/net-mgmt/nfsen/distinfo
+++ b/net-mgmt/nfsen/distinfo
@@ -1,3 +1,3 @@
-MD5 (nfsen-1.3.tar.gz) = 1c4f057bbb3766090b40bda3ab6b81d2
-SHA256 (nfsen-1.3.tar.gz) = c34a6893fa88d142606c856a181d9fa04017608e3ecd6793de1d969cf570edf6
-SIZE (nfsen-1.3.tar.gz) = 6537807
+MD5 (nfsen-1.3.2.tar.gz) = 3a823a38d6e7717e1563fbcd9d4d2de0
+SHA256 (nfsen-1.3.2.tar.gz) = a51dc81f83ad2273201ba0ca1ee67d598b5a67dc64ea8430ab9ff60d23b259c1
+SIZE (nfsen-1.3.2.tar.gz) = 6539382
diff --git a/net-mgmt/nfsen/files/patch-libexec-NfSenRRD.pm b/net-mgmt/nfsen/files/patch-libexec-NfSenRRD.pm
deleted file mode 100644
index 1cebf68d328c..000000000000
--- a/net-mgmt/nfsen/files/patch-libexec-NfSenRRD.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- libexec/NfSenRRD.pm.orig 2008-08-05 10:49:34.000000000 +0100
-+++ libexec/NfSenRRD.pm 2008-08-05 10:50:13.000000000 +0100
-@@ -73,7 +73,7 @@
- if ( $rrd_version < 1.1 ) { # it's RRD 1.0.x
- $RRDoffset = 77;
- }
-- if ( $rrd_version >= 1.2 && $rrd_version < 1.3 ) {
-+ if ( $rrd_version >= 1.2 && $rrd_version < 1.4 ) {
- $RRDoffset = 67;
- }
-
diff --git a/net-mgmt/nfsen/pkg-plist b/net-mgmt/nfsen/pkg-plist
index f57b7798bf94..d2e982c234e0 100644
--- a/net-mgmt/nfsen/pkg-plist
+++ b/net-mgmt/nfsen/pkg-plist
@@ -1,5 +1,4 @@
bin/nfsen
-bin/nfsen.rc
bin/nfsend
bin/RebuildHierarchy.pl
bin/testPlugin
@@ -7,90 +6,154 @@ bin/testPlugin
@exec [ -f %D/etc/nfsen.conf ] || cp %D/etc/nfsen-dist.conf %D/etc/nfsen.conf
etc/nfsen-dist.conf
libexec/%%PORTNAME%%/CopyRecursive.pm
-libexec/%%PORTNAME%%/GenGraph.pl
libexec/%%PORTNAME%%/Log.pm
+libexec/%%PORTNAME%%/Lookup.pm
+libexec/%%PORTNAME%%/NfAlert.pm
libexec/%%PORTNAME%%/NfConf.pm
libexec/%%PORTNAME%%/NfProfile.pm
libexec/%%PORTNAME%%/NfSen.pm
libexec/%%PORTNAME%%/NfSenRC.pm
libexec/%%PORTNAME%%/NfSenRRD.pm
+libexec/%%PORTNAME%%/NfSenSim.pm
libexec/%%PORTNAME%%/Nfcomm.pm
libexec/%%PORTNAME%%/Nfsources.pm
libexec/%%PORTNAME%%/Notification.pm
libexec/%%PORTNAME%%/RRDconvertv1.pm
libexec/%%PORTNAME%%/plugins/demoplugin.pm
-www/%%PORTNAME%%/conf.php
-www/%%PORTNAME%%/EmptyGraph.gif
-www/%%PORTNAME%%/ErrorGraph.gif
-www/%%PORTNAME%%/css-admin.html
-www/%%PORTNAME%%/css.html
+libexec/%%PORTNAME%%/plugins/smily.jpg
+www/%%PORTNAME%%/alerting.php
+www/%%PORTNAME%%/colour_palette.html
+www/%%PORTNAME%%/colour_picker.html
+www/%%PORTNAME%%/css/alerting.css
+www/%%PORTNAME%%/css/detail.css
+www/%%PORTNAME%%/css/lookup.css
+www/%%PORTNAME%%/css/nfsen.css
+www/%%PORTNAME%%/css/profileadmin.css
www/%%PORTNAME%%/details.php
-www/%%PORTNAME%%/edit.png
-www/%%PORTNAME%%/info.php
-www/%%PORTNAME%%/invisible.gif
+www/%%PORTNAME%%/icons/arrow.blue.down.png
+www/%%PORTNAME%%/icons/arrow.blue.right.png
+www/%%PORTNAME%%/icons/arrow.yellow.down.png
+www/%%PORTNAME%%/icons/arrow.yellow.right.png
+www/%%PORTNAME%%/icons/close.png
+www/%%PORTNAME%%/icons/cursor-line.png
+www/%%PORTNAME%%/icons/cursor-start.png
+www/%%PORTNAME%%/icons/cursor-stop.png
+www/%%PORTNAME%%/icons/edit.png
+www/%%PORTNAME%%/icons/EmptyGraph.png
+www/%%PORTNAME%%/icons/Error.png
+www/%%PORTNAME%%/icons/ErrorGraph.png
+www/%%PORTNAME%%/icons/help.png
+www/%%PORTNAME%%/icons/invisible.png
+www/%%PORTNAME%%/icons/minus.png
+www/%%PORTNAME%%/icons/ok.png
+www/%%PORTNAME%%/icons/plus.png
+www/%%PORTNAME%%/icons/progress.png
+www/%%PORTNAME%%/icons/save.png
+www/%%PORTNAME%%/icons/shade.gif
+www/%%PORTNAME%%/icons/shade.png
+www/%%PORTNAME%%/icons/shadeactive.png
+www/%%PORTNAME%%/icons/space.png
+www/%%PORTNAME%%/icons/spyglas.png
+www/%%PORTNAME%%/icons/trash.png
+www/%%PORTNAME%%/icons/trigger.png
+www/%%PORTNAME%%/js/alerting.js
+www/%%PORTNAME%%/js/ColorPicker2.js
+www/%%PORTNAME%%/js/detail.js
+www/%%PORTNAME%%/js/global.js
+www/%%PORTNAME%%/js/menu.js
+www/%%PORTNAME%%/js/profileadmin.js
+www/%%PORTNAME%%/lookup.php
www/%%PORTNAME%%/navigator.php
-www/%%PORTNAME%%/navigator.php.orig
www/%%PORTNAME%%/nfsen.php
+www/%%PORTNAME%%/nfsen.php.orig
www/%%PORTNAME%%/nfsenutil.php
www/%%PORTNAME%%/overview.php
www/%%PORTNAME%%/pic.php
www/%%PORTNAME%%/process.php
www/%%PORTNAME%%/profileadmin.php
www/%%PORTNAME%%/rrdgraph.php
-www/%%PORTNAME%%/trash.png
-www/%%PORTNAME%%/plugins/demoplugin.php
-www/%%PORTNAME%%/doc/BSD-license.html
+www/%%PORTNAME%%/doc/AlertArmed.png
+www/%%PORTNAME%%/doc/AlertArmedMultiple.png
+www/%%PORTNAME%%/doc/AlertArmTrigger.png
+www/%%PORTNAME%%/doc/AlertBlocked.png
+www/%%PORTNAME%%/doc/AlertConditions1.png
+www/%%PORTNAME%%/doc/AlertConditions2.png
+www/%%PORTNAME%%/doc/AlertCreateDialoge.png
+www/%%PORTNAME%%/doc/AlertDefinition.png
+www/%%PORTNAME%%/doc/AlertFired.png
+www/%%PORTNAME%%/doc/AlertFiredOnce.png
+www/%%PORTNAME%%/doc/AlertFlow.png
+www/%%PORTNAME%%/doc/AlertInactive.png
+www/%%PORTNAME%%/doc/AlertInfo.png
+www/%%PORTNAME%%/doc/alerting.png
+www/%%PORTNAME%%/doc/AlertList.png
+www/%%PORTNAME%%/doc/AlertTrigger.png
www/%%PORTNAME%%/doc/Bookmark.png
+www/%%PORTNAME%%/doc/dirstruct.png
+www/%%PORTNAME%%/doc/BSD-license.html
www/%%PORTNAME%%/doc/BuildingProfile.png
-www/%%PORTNAME%%/doc/ConfirmDelete.png
+www/%%PORTNAME%%/doc/ChannelDialog.png
+www/%%PORTNAME%%/doc/cursor_control.png
+www/%%PORTNAME%%/doc/custom-format.png
www/%%PORTNAME%%/doc/DefaultFilter.png
-www/%%PORTNAME%%/doc/DeleteProfile.png
+www/%%PORTNAME%%/doc/details-graphs.png
www/%%PORTNAME%%/doc/DisabledSources.png
-www/%%PORTNAME%%/doc/InputEnd.png
+www/%%PORTNAME%%/doc/DragHandle.png
+www/%%PORTNAME%%/doc/edit.png
+www/%%PORTNAME%%/doc/ExpandStat.png
+www/%%PORTNAME%%/doc/flows.png
+www/%%PORTNAME%%/doc/index.html
+www/%%PORTNAME%%/doc/linegraph.png
+www/%%PORTNAME%%/doc/Lookup.png
www/%%PORTNAME%%/doc/Navigating.png
+www/%%PORTNAME%%/doc/Navigating.psd
+www/%%PORTNAME%%/doc/navigation.png
www/%%PORTNAME%%/doc/NewProfile.png
+www/%%PORTNAME%%/doc/nfsen-dist.conf
www/%%PORTNAME%%/doc/OutOfData.png
+www/%%PORTNAME%%/doc/overview.png
+www/%%PORTNAME%%/doc/PluginGuide/plugin-alertaction.png
+www/%%PORTNAME%%/doc/PluginGuide/plugin-alertcondition.png
+www/%%PORTNAME%%/doc/PluginGuide/plugin-guide.html
+www/%%PORTNAME%%/doc/PluginGuide/plugins-comm.png
+www/%%PORTNAME%%/doc/PluginGuide/plugins-concept.png
+www/%%PORTNAME%%/doc/PluginGuide/plugins-frontend-flow.png
+www/%%PORTNAME%%/doc/PortTracker.png
+www/%%PORTNAME%%/doc/processing-1.png
www/%%PORTNAME%%/doc/ProcessingControls.png
www/%%PORTNAME%%/doc/ProcessingOutput.png
+www/%%PORTNAME%%/doc/ProfileChannels.png
+www/%%PORTNAME%%/doc/ProfileCommit.png
+www/%%PORTNAME%%/doc/ProfileConversion.png
www/%%PORTNAME%%/doc/ProfileCreated.png
-www/%%PORTNAME%%/doc/ResetWindow.png
-www/%%PORTNAME%%/doc/SelectLeft.png
-www/%%PORTNAME%%/doc/SelectRight.png
+www/%%PORTNAME%%/doc/ProfileExamples.png
+www/%%PORTNAME%%/doc/selectprofile.png
+www/%%PORTNAME%%/doc/SelectWindow.png
+www/%%PORTNAME%%/doc/stat.png
www/%%PORTNAME%%/doc/StatSummary.png
www/%%PORTNAME%%/doc/TimeWindow.png
+www/%%PORTNAME%%/doc/trigger.png
www/%%PORTNAME%%/doc/WinScale.png
-www/%%PORTNAME%%/doc/bytes.png
-www/%%PORTNAME%%/doc/cursor_control.png
-www/%%PORTNAME%%/doc/details-graphs.png
-www/%%PORTNAME%%/doc/details-processing.png
-www/%%PORTNAME%%/doc/dirstruct.png
-www/%%PORTNAME%%/doc/edit.png
-www/%%PORTNAME%%/doc/exiisting.png
-www/%%PORTNAME%%/doc/flows.png
-www/%%PORTNAME%%/doc/index.html
-www/%%PORTNAME%%/doc/linegraph.png
-www/%%PORTNAME%%/doc/nfsen-options.png
-www/%%PORTNAME%%/doc/overview.png
-www/%%PORTNAME%%/doc/packets.png
-www/%%PORTNAME%%/doc/plugins.png
-www/%%PORTNAME%%/doc/processing-1.png
-www/%%PORTNAME%%/doc/selectprofile.png
-www/%%PORTNAME%%/doc/stat.png
-www/%%PORTNAME%%/doc/views-2.png
-www/%%PORTNAME%%/doc/views.png
-@dirrm www/%%PORTNAME%%/plugins
+www/%%PORTNAME%%/conf.php
+www/%%PORTNAME%%/plugins/demoplugin.php
+@dirrm www/%%PORTNAME%%/css
+@dirrm www/%%PORTNAME%%/icons
+@dirrm www/%%PORTNAME%%/js
+@dirrm www/%%PORTNAME%%/doc/PluginGuide
@dirrm www/%%PORTNAME%%/doc
+@dirrm www/%%PORTNAME%%/plugins
@dirrm www/%%PORTNAME%%
-@exec mkdir -p %D/var/%%PORTNAME%%/profiles/live/upstream1
-var/%%PORTNAME%%/profiles/live/upstream1.rrd
-var/%%PORTNAME%%/profiles/live/profile.dat
+@exec mkdir -p %D/var/%%PORTNAME%%/profiles-stat/live/
+var/%%PORTNAME%%/profiles-stat/hints
+var/%%PORTNAME%%/profiles-stat/live/upstream1.rrd
+var/%%PORTNAME%%/profiles-stat/live/profile.dat
@exec mkdir -p %D/var/%%PORTNAME%%/run
@exec mkdir -p %D/var/%%PORTNAME%%/filters
@dirrm var/%%PORTNAME%%/run
@dirrm var/%%PORTNAME%%/filters
-@dirrmtry var/%%PORTNAME%%/profiles/live/upstream1
-@dirrmtry var/%%PORTNAME%%/profiles/live
-@dirrmtry var/%%PORTNAME%%/profiles
+@dirrmtry var/%%PORTNAME%%/profiles-stat/live
+@dirrmtry var/%%PORTNAME%%/profiles-stat
+@dirrmtry var/%%PORTNAME%%/profiles-data
@dirrmtry var/%%PORTNAME%%
@dirrm libexec/%%PORTNAME%%/plugins
@dirrm libexec/%%PORTNAME%%