pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ntopng ntopng: updated to 3.6.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e77665f9006
branches:  trunk
changeset: 324416:5e77665f9006
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 18 16:25:40 2018 +0000

description:
ntopng: updated to 3.6.1

3.6.1 Stable
Brew formula fixes

3.6 Stable

New features
------------
New pro charts
Ability to compare data with the past (time shift)
Trend lines based on ASAP
Average and percentile lines overlayed on the graph and animated
New color scheme that uses pastel colors for better visualization
https://www.ntop.org/ntopng/ntopng-and-time-series-from-rrd-to-influxdb-new-charts-with-time-shift/
New timeseries API with support for RRD and InfluxDB
Abstracts and handles multiple sources transparently
https://www.ntop.org/guides/ntopng/api/lua/timeseries/index.html
Streaming pcap captures with BPF support
Download live packet captures right from the browser
New SNMP devices caching
Periodically cache information of all the SNMP device configured
Calculate and visualize interfaces throughput

Improvements
------------
Security
Access to the web user interface is controlled with ACLs
Secure ntopng cookies with SameSite and HttpOnly
HTTP cookie authentication
Improved random session id generation
Various SNMP improvemenets
Caching
Interfaces status change alerts
Device interfaces page
Devices and interfaces added to flows
Fixed several library memory leaks
Improved device and interface charts
Interfaces throughput calculation and visualization
Ability to delete all SNMP devices at once
Improved active devices discovery
OS detection via HTTP User-Agent
Alerts
Crypto miners alerts toggle
Detection and alerting of anomalous terminations
Module for sending telegram.org alerts
Slack
Configurable Slack channel names
Added Slack test button
Charts
Active flows vs local hosts chart
Active flows vs interface traffic chart
Ubuntu 18.04 support
Support for ElasticSearch 6 export
Added support for custom categories lists
Added ability to use the non-JIT Lua interpreter
Improved ntopng startup and shutdown time
Support for capturing from interface pairs with PF_RING ZC
Support for variable PPP header lenght
Migrated geolocation to GeoLite2 and libmaxminddb
Configuration backup and restore
Improved IE browser support
Using client SSL certificate for protocol detection
Optimized host/flows purging

diffstat:

 net/ntopng/Makefile                                      |   36 +-
 net/ntopng/PLIST                                         |  248 ++++++++++----
 net/ntopng/distinfo                                      |   21 +-
 net/ntopng/patches/patch-Makefile.in                     |   25 +-
 net/ntopng/patches/patch-configure.seed                  |   63 +---
 net/ntopng/patches/patch-include_Redis.h                 |   16 +
 net/ntopng/patches/patch-src_DivertInterface.cpp         |   16 -
 net/ntopng/patches/patch-src_Redis.cpp                   |   50 ++-
 net/ntopng/patches/patch-src_Utils.cpp                   |   74 +++-
 net/ntopng/patches/patch-third-party_mongoose_mongoose.c |   16 +
 10 files changed, 358 insertions(+), 207 deletions(-)

diffs (truncated from 905 to 300 lines):

diff -r 75117dc1c7ba -r 5e77665f9006 net/ntopng/Makefile
--- a/net/ntopng/Makefile       Thu Oct 18 16:24:29 2018 +0000
+++ b/net/ntopng/Makefile       Thu Oct 18 16:25:40 2018 +0000
@@ -1,10 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2018/07/20 03:34:24 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2018/10/18 16:25:40 adam Exp $
 
-DISTNAME=      ntopng-2.4-stable
-PKGNAME=       ntopng-2.4
-PKGREVISION=   18
+DISTNAME=      ntopng-3.6.1
 CATEGORIES=    net
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ntop/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ntop/}
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      https://www.ntop.org/
@@ -13,13 +11,26 @@
 
 DEPENDS+=      redis-[0-9]*:../../databases/redis
 
-USE_LANGUAGES=         c c++03
+USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes
-USE_TOOLS+=            autoconf automake gmake pkg-config
+USE_TOOLS+=            autoconf automake bash gmake pkg-config
 GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-ndpi-includes=${BUILDLINK_PREFIX.ndpi}/include/ndpi
 
 RCD_SCRIPTS+=          ntopng
 
+CXXFLAGS+=             -std=c++11  # va_copy()
+
+# Portable types
+CFLAGS.SunOS+=         -Du_int8_t=uint8_t
+CFLAGS.SunOS+=         -Du_int16_t=uint16_t
+CFLAGS.SunOS+=         -Du_int32_t=uint32_t
+CFLAGS.SunOS+=         -Du_int64_t=uint64_t
+LDFLAGS.SunOS+=                -lresolv
+
+REPLACE_BASH=          httpdocs/misc/ntopng-add-user.sh
+REPLACE_BASH+=         httpdocs/misc/ntopng-utils-manage-config.in
+
 SUBST_CLASSES+=                fix-vers
 SUBST_STAGE.fix-vers=  pre-configure
 SUBST_MESSAGE.fix-vers=        Setting package version.
@@ -27,21 +38,14 @@
 SUBST_SED.fix-vers=    -e 's,@VERSION@,${PKGVERSION},g'
 SUBST_SED.fix-vers+=   -e 's,@SHORT_VERSION@,${PKGVERSION_NOREV},g'
 
-# Portable types
-CFLAGS.SunOS+=         -Du_int8_t=uint8_t
-CFLAGS.SunOS+=         -Du_int16_t=uint16_t
-CFLAGS.SunOS+=         -Du_int32_t=uint32_t
-CFLAGS.SunOS+=         -Du_int64_t=uint64_t
-
-LDFLAGS.SunOS+=                -lresolv
-
 pre-configure:
        cd ${WRKSRC} && cp configure.seed configure.ac && autoreconf -fiv
 
 .include "../../databases/hiredis/buildlink3.mk"
 .include "../../databases/rrdtool/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
-.include "../../lang/LuaJIT2/buildlink3.mk"
+.include "../../geography/libmaxminddb/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
 .include "../../net/GeoIP/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../net/ndpi/buildlink3.mk"
diff -r 75117dc1c7ba -r 5e77665f9006 net/ntopng/PLIST
--- a/net/ntopng/PLIST  Thu Oct 18 16:24:29 2018 +0000
+++ b/net/ntopng/PLIST  Thu Oct 18 16:25:40 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/07/01 04:51:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/10/18 16:25:40 adam Exp $
 bin/ntopng
 man/man8/ntopng.8
 share/ntopng/httpdocs/bootstrap/css/bootstrap-theme.css
@@ -11,17 +11,17 @@
 share/ntopng/httpdocs/bootstrap/fonts/glyphicons-halflings-regular.woff
 share/ntopng/httpdocs/bootstrap/img/glyphicons-halflings-white.png
 share/ntopng/httpdocs/bootstrap/img/glyphicons-halflings.png
-share/ntopng/httpdocs/bootstrap/js/bootstrap.js
 share/ntopng/httpdocs/css/Rickshaw/detail.css
 share/ntopng/httpdocs/css/Rickshaw/graph.css
 share/ntopng/httpdocs/css/Rickshaw/legend.css
 share/ntopng/httpdocs/css/bootstrap-datetimepicker.css
 share/ntopng/httpdocs/css/bootstrap-duallistbox.css
+share/ntopng/httpdocs/css/bootstrap-nav-wizard.css
 share/ntopng/httpdocs/css/bootstrap-slider.css
 share/ntopng/httpdocs/css/bubble-chart.css
-share/ntopng/httpdocs/css/c3.css
 share/ntopng/httpdocs/css/cal-heatmap.css
 share/ntopng/httpdocs/css/cubism.css
+share/ntopng/httpdocs/css/custom_theme.css
 share/ntopng/httpdocs/css/datepicker.css
 share/ntopng/httpdocs/css/dc.css
 share/ntopng/httpdocs/css/flags.css
@@ -44,7 +44,6 @@
 share/ntopng/httpdocs/css/nv.d3.css
 share/ntopng/httpdocs/css/pagingbar.css
 share/ntopng/httpdocs/css/pie-chart.css
-share/ntopng/httpdocs/css/prettify.css
 share/ntopng/httpdocs/css/rickshaw.css
 share/ntopng/httpdocs/css/sequence_sunburst.css
 share/ntopng/httpdocs/css/tablesorted.css
@@ -71,6 +70,7 @@
 share/ntopng/httpdocs/font-awesome/less/mixins.less
 share/ntopng/httpdocs/font-awesome/less/path.less
 share/ntopng/httpdocs/font-awesome/less/rotated-flipped.less
+share/ntopng/httpdocs/font-awesome/less/screen-reader.less
 share/ntopng/httpdocs/font-awesome/less/stacked.less
 share/ntopng/httpdocs/font-awesome/less/variables.less
 share/ntopng/httpdocs/font-awesome/scss/_animated.scss
@@ -83,6 +83,7 @@
 share/ntopng/httpdocs/font-awesome/scss/_mixins.scss
 share/ntopng/httpdocs/font-awesome/scss/_path.scss
 share/ntopng/httpdocs/font-awesome/scss/_rotated-flipped.scss
+share/ntopng/httpdocs/font-awesome/scss/_screen-reader.scss
 share/ntopng/httpdocs/font-awesome/scss/_stacked.scss
 share/ntopng/httpdocs/font-awesome/scss/_variables.scss
 share/ntopng/httpdocs/font-awesome/scss/font-awesome.scss
@@ -128,86 +129,71 @@
 share/ntopng/httpdocs/img/os_icon.png
 share/ntopng/httpdocs/img/throbber.gif
 share/ntopng/httpdocs/img/warning.png
-share/ntopng/httpdocs/inc/aggregated_hosts_stats_bottom.inc
-share/ntopng/httpdocs/inc/aggregated_hosts_stats_id.inc
-share/ntopng/httpdocs/inc/aggregated_hosts_stats_top.inc
 share/ntopng/httpdocs/inc/as_stats_id.inc
-share/ntopng/httpdocs/inc/as_stats_top.inc
-share/ntopng/httpdocs/inc/community_stats_bottom.inc
-share/ntopng/httpdocs/inc/community_stats_id.inc
-share/ntopng/httpdocs/inc/community_stats_top.inc
 share/ntopng/httpdocs/inc/country_stats_id.inc
-share/ntopng/httpdocs/inc/country_stats_top.inc
-share/ntopng/httpdocs/inc/flows_stats_bottom.inc
 share/ntopng/httpdocs/inc/flows_stats_id.inc
-share/ntopng/httpdocs/inc/flows_stats_middle.inc
-share/ntopng/httpdocs/inc/flows_stats_top.inc
 share/ntopng/httpdocs/inc/geolocation_disclaimer.inc
+share/ntopng/httpdocs/inc/header-minimal.inc
 share/ntopng/httpdocs/inc/header.inc
 share/ntopng/httpdocs/inc/host_to_server_id.inc
 share/ntopng/httpdocs/inc/host_to_server_top.inc
-share/ntopng/httpdocs/inc/hosts_stats_bottom.inc
 share/ntopng/httpdocs/inc/hosts_stats_id.inc
-share/ntopng/httpdocs/inc/hosts_stats_top.inc
 share/ntopng/httpdocs/inc/http_servers_stats_id.inc
-share/ntopng/httpdocs/inc/http_servers_stats_top.inc
 share/ntopng/httpdocs/inc/index_TopASNs.inc
 share/ntopng/httpdocs/inc/index_TopApplications.inc
 share/ntopng/httpdocs/inc/index_TopFlowSenders.inc
 share/ntopng/httpdocs/inc/index_TopHosts.inc
 share/ntopng/httpdocs/inc/index_TopPorts.inc
-share/ntopng/httpdocs/inc/mac_stats_bottom.inc
 share/ntopng/httpdocs/inc/mac_stats_id.inc
-share/ntopng/httpdocs/inc/mac_stats_top.inc
-share/ntopng/httpdocs/inc/network_stats_bottom.inc
 share/ntopng/httpdocs/inc/network_stats_id.inc
-share/ntopng/httpdocs/inc/network_stats_top.inc
 share/ntopng/httpdocs/inc/os_stats_id.inc
-share/ntopng/httpdocs/inc/os_stats_top.inc
-share/ntopng/httpdocs/inc/processes_stats_bottom.inc
+share/ntopng/httpdocs/inc/pool_stats_id.inc
 share/ntopng/httpdocs/inc/processes_stats_id.inc
-share/ntopng/httpdocs/inc/processes_stats_top.inc
-share/ntopng/httpdocs/inc/sflows_stats_bottom.inc
-share/ntopng/httpdocs/inc/sflows_stats_top.inc
 share/ntopng/httpdocs/inc/sprobe_process.inc
 share/ntopng/httpdocs/inc/sprobe_process_header.inc
 share/ntopng/httpdocs/inc/vlan_stats_id.inc
-share/ntopng/httpdocs/inc/vlan_stats_top.inc
+share/ntopng/httpdocs/js/ASAP.js
+share/ntopng/httpdocs/js/Makefile
 share/ntopng/httpdocs/js/README.gauge
+share/ntopng/httpdocs/js/ays_utils.js
 share/ntopng/httpdocs/js/bootstrap-datatable.js
 share/ntopng/httpdocs/js/bootstrap-datetimepicker.js
 share/ntopng/httpdocs/js/bootstrap-slider.js
-share/ntopng/httpdocs/js/bootstrap.ajaxpager-0.8.js
+share/ntopng/httpdocs/js/bootstrap.js
 share/ntopng/httpdocs/js/bootstrap3-typeahead.js
 share/ntopng/httpdocs/js/bubble-chart.js
-share/ntopng/httpdocs/js/c3.js
 share/ntopng/httpdocs/js/cal-heatmap.js
-share/ntopng/httpdocs/js/cpu_bar.js
 share/ntopng/httpdocs/js/crossfilter.js
 share/ntopng/httpdocs/js/cubism.v1.js
+share/ntopng/httpdocs/js/cubism_ntop.v1.js
 share/ntopng/httpdocs/js/d3.v3.js
+share/ntopng/httpdocs/js/datatable_utils.js
 share/ntopng/httpdocs/js/dc.js
+share/ntopng/httpdocs/js/deps.min.js
+share/ntopng/httpdocs/js/deps.min.js.map
 share/ntopng/httpdocs/js/gauge.js
 share/ntopng/httpdocs/js/googleMapJson.js
-share/ntopng/httpdocs/js/handlebars-1.0.0.0.beta.6.js
-share/ntopng/httpdocs/js/highlight.js
+share/ntopng/httpdocs/js/graph_utils.js
 share/ntopng/httpdocs/js/html5shiv.js
+share/ntopng/httpdocs/js/ie_fix.js
 share/ntopng/httpdocs/js/jquery-ui.js
+share/ntopng/httpdocs/js/jquery.are-you-sure.js
 share/ntopng/httpdocs/js/jquery.bootstrap-duallistbox.js
-share/ntopng/httpdocs/js/jquery.form.js
 share/ntopng/httpdocs/js/jquery.js
 share/ntopng/httpdocs/js/jquery.peity.js
-share/ntopng/httpdocs/js/jquery.sparkline.js
 share/ntopng/httpdocs/js/jquery.tablesorter.js
-share/ntopng/httpdocs/js/line-graph.js
+share/ntopng/httpdocs/js/jquery_bootstrap.min.js
+share/ntopng/httpdocs/js/jquery_bootstrap.min.js.map
 share/ntopng/httpdocs/js/markerclusterer.js
-share/ntopng/httpdocs/js/matrix_volume.js
 share/ntopng/httpdocs/js/moment.js
+share/ntopng/httpdocs/js/ntop.min.js
+share/ntopng/httpdocs/js/ntop.min.js.map
 share/ntopng/httpdocs/js/ntopng_utils.js
+share/ntopng/httpdocs/js/ntopng_validators.js
 share/ntopng/httpdocs/js/nv.d3.js
 share/ntopng/httpdocs/js/pdfmake.js
 share/ntopng/httpdocs/js/pie-chart.js
-share/ntopng/httpdocs/js/prettify.js
+share/ntopng/httpdocs/js/quotas_utils.js
 share/ntopng/httpdocs/js/rickshaw.js
 share/ntopng/httpdocs/js/ripe_widget_api.js
 share/ntopng/httpdocs/js/sankey.js
@@ -217,30 +203,66 @@
 share/ntopng/httpdocs/js/timeline.js
 share/ntopng/httpdocs/js/validator.js
 share/ntopng/httpdocs/js/vfs_fonts.js
+share/ntopng/httpdocs/misc/ntopng-add-user.sh
+share/ntopng/httpdocs/misc/ntopng-utils-manage-config
+share/ntopng/httpdocs/misc/ntopng-utils-manage-config.in
 share/ntopng/httpdocs/misc/ntopng_template_elk.json
+share/ntopng/httpdocs/misc/ntopng_template_elk6.json
 share/ntopng/httpdocs/other/EtherOUI.txt
+share/ntopng/httpdocs/other/TimeZones.txt
+share/ntopng/httpdocs/other/lists/malware.txt
+share/ntopng/httpdocs/other/lists/web_mining.txt
+share/ntopng/httpdocs/other/trackers.txt
 share/ntopng/httpdocs/ssl/README
 share/ntopng/httpdocs/ssl/ntopng-cert.pem.dummy
+share/ntopng/httpdocs/templates/modal_confirm_dialog.html
+share/ntopng/httpdocs/templates/traffic_report.html
+share/ntopng/httpdocs/templates/typeahead_input.html
+share/ntopng/httpdocs/templates/wizard_dialog.html
 share/ntopng/httpdocs/test.lp
-share/ntopng/scripts/callbacks/daily.lua
-share/ntopng/scripts/callbacks/hourly.lua
-share/ntopng/scripts/callbacks/minute.lua
-share/ntopng/scripts/callbacks/second.lua
+share/ntopng/scripts/callbacks/interface/5min.lua
+share/ntopng/scripts/callbacks/interface/daily.lua
+share/ntopng/scripts/callbacks/interface/hourly.lua
+share/ntopng/scripts/callbacks/interface/minute.lua
+share/ntopng/scripts/callbacks/system/5min.lua
+share/ntopng/scripts/callbacks/system/boot.lua
+share/ntopng/scripts/callbacks/system/daily.lua
+share/ntopng/scripts/callbacks/system/discover.lua
+share/ntopng/scripts/callbacks/system/housekeeping.lua
+share/ntopng/scripts/callbacks/system/minute.lua
+share/ntopng/scripts/callbacks/system/pinger.lua
+share/ntopng/scripts/callbacks/system/recovery.lua
+share/ntopng/scripts/callbacks/system/second.lua
+share/ntopng/scripts/callbacks/system/shutdown.lua
+share/ntopng/scripts/callbacks/system/startup.lua
+share/ntopng/scripts/callbacks/user_scripts/inline/default.lua
+share/ntopng/scripts/callbacks/user_scripts/loader.lua
+share/ntopng/scripts/callbacks/user_scripts/periodic/default.lua
+share/ntopng/scripts/locales/en.lua
 share/ntopng/scripts/lua/API.lua
 share/ntopng/scripts/lua/about.lua
 share/ntopng/scripts/lua/admin/add_user.lua
 share/ntopng/scripts/lua/admin/change_user_prefs.lua
 share/ntopng/scripts/lua/admin/delete_user.lua
+share/ntopng/scripts/lua/admin/edit_ndpi_applications.lua
+share/ntopng/scripts/lua/admin/get_ndpi_applications.lua
 share/ntopng/scripts/lua/admin/get_user_info.lua
 share/ntopng/scripts/lua/admin/get_users.lua
+share/ntopng/scripts/lua/admin/host_pools.lua
+share/ntopng/scripts/lua/admin/manage_pool_members.lua
 share/ntopng/scripts/lua/admin/password_reset.lua
 share/ntopng/scripts/lua/admin/prefs.lua
 share/ntopng/scripts/lua/admin/users.lua
 share/ntopng/scripts/lua/admin/validate_new_user.lua
+share/ntopng/scripts/lua/as_details.lua
 share/ntopng/scripts/lua/as_stats.lua
+share/ntopng/scripts/lua/authorize_captive.lua
+share/ntopng/scripts/lua/captive_portal.lua
+share/ntopng/scripts/lua/change_password.lua
+share/ntopng/scripts/lua/check_update.lua
+share/ntopng/scripts/lua/country_details.lua
 share/ntopng/scripts/lua/country_stats.lua
-share/ntopng/scripts/lua/db.lua
-share/ntopng/scripts/lua/db_query.lua
+share/ntopng/scripts/lua/discover.lua
 share/ntopng/scripts/lua/do_export_data.lua



Home | Main Index | Thread Index | Old Index