aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-01-28 07:00:36 +0800
committerfeld <feld@FreeBSD.org>2017-01-28 07:00:36 +0800
commit3b747bf1a233dafa1e9413a53a0c9882e9e7d91a (patch)
treedcfbc7537953dd8a2f502c88196007f83746045e /net-mgmt
parent7d14ad32a9cdb74465a2ea1025b1f5d2a0af6ef6 (diff)
downloadfreebsd-ports-gnome-3b747bf1a233dafa1e9413a53a0c9882e9e7d91a.tar.gz
freebsd-ports-gnome-3b747bf1a233dafa1e9413a53a0c9882e9e7d91a.tar.zst
freebsd-ports-gnome-3b747bf1a233dafa1e9413a53a0c9882e9e7d91a.zip
net-mgmt/nfsen: Update to 1.3.7
This release fixes a remote command execution vulnerability Pet portlint Announcement: https://sourceforge.net/p/nfsen/mailman/message/35623845/ MFH: 2017Q1 Security: 6e83b2f3-e4e3-11e6-9ac1-a4badb2f4699
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nfsen/Makefile6
-rw-r--r--net-mgmt/nfsen/distinfo5
-rw-r--r--net-mgmt/nfsen/files/patch-libexec_NfSenRRD.pm6
3 files changed, 9 insertions, 8 deletions
diff --git a/net-mgmt/nfsen/Makefile b/net-mgmt/nfsen/Makefile
index 397dfd318316..ba9f652a5308 100644
--- a/net-mgmt/nfsen/Makefile
+++ b/net-mgmt/nfsen/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= nfsen
-PORTVERSION= 1.3.7
-PORTREVISION= 3
+PORTVERSION= 1.3.8
+PORTREVISION= 0
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} \
http://nfsen.sourceforge.net/
@@ -19,7 +19,7 @@ RUN_DEPENDS= rrdtool>=0:databases/rrdtool \
p5-Socket6>=0:net/p5-Socket6 \
nfdump>=0:net-mgmt/nfdump
-USES= cpe iconv shebangfix perl5
+USES= cpe iconv shebangfix perl5 php
CPE_VENDOR= nfsen
CPE_PRODUCT= nfsen
USE_PHP= session pcre sockets
diff --git a/net-mgmt/nfsen/distinfo b/net-mgmt/nfsen/distinfo
index eb795ba926be..404259d27f01 100644
--- a/net-mgmt/nfsen/distinfo
+++ b/net-mgmt/nfsen/distinfo
@@ -1,2 +1,3 @@
-SHA256 (nfsen-1.3.7.tar.gz) = 635ba97564fe81cbeee0a3950735b9651677b69e1f53a67c654ddd5b00db469d
-SIZE (nfsen-1.3.7.tar.gz) = 226463
+TIMESTAMP = 1485556082
+SHA256 (nfsen-1.3.8.tar.gz) = a7612e430357e683af81dbc07335b770b4ada115a6a88591e086ff5b6ed593a9
+SIZE (nfsen-1.3.8.tar.gz) = 221769
diff --git a/net-mgmt/nfsen/files/patch-libexec_NfSenRRD.pm b/net-mgmt/nfsen/files/patch-libexec_NfSenRRD.pm
index a1ab73edcf43..c65fd99acc99 100644
--- a/net-mgmt/nfsen/files/patch-libexec_NfSenRRD.pm
+++ b/net-mgmt/nfsen/files/patch-libexec_NfSenRRD.pm
@@ -1,11 +1,11 @@
---- libexec/NfSenRRD.pm.orig 2016-03-07 15:51:47 UTC
+--- libexec/NfSenRRD.pm.orig 2017-01-27 22:36:32 UTC
+++ libexec/NfSenRRD.pm
@@ -73,7 +73,7 @@ sub GetRRDoffset {
if ( $rrd_version < 1.1 ) { # it's RRD 1.0.x
$RRDoffset = 77;
}
-- if ( $rrd_version >= 1.2 && $rrd_version < 1.5 ) {
-+ if ( $rrd_version >= 1.2 ) {
+- if ( $rrd_version >= 1.2 && $rrd_version < 1.6 ) {
++ if ( $rrd_version >= 1.2 {
$RRDoffset = 67;
}