pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/goaccess Update goaccess to 1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d03c07537b3
branches:  trunk
changeset: 355007:3d03c07537b3
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Nov 17 22:33:54 2016 +0000

description:
Update goaccess to 1.1

Changes to GoAccess 1.1 - Tuesday, November 08, 2016

  - Added a new layout to the HTML report and additional settings and changes.
  - Added --crawlers-only command line option to display crawlers/bots only.
  - Added --fifo-in and --fifo-out command line options to set websocket FIFO
    reader/writer.
  - Added --no-html-last-updated command line option.
  - Added --num-tests command line option.
  - Added --html-prefs command line option to to set default preferences for
    the HTML report.
  - Added "Amazon S3" Log Format to the list of predefined options.
  - Added "Android 7.1 Nougat" to the list of OSs.
  - Added "Android Marshmallow 6.0.1" to the list of OSs.
  - Added "Android Nougat 7.0" to the list of OSs.
  - Added "Feed Wrangler" to the list of feeds.
  - Added "Go-http-client" to the list of browsers.
  - Added "MicroMessenger" (WeChat) to the list of browsers.
  - Added "SemrushBot" to the list of crawlers.
  - Added "Remote User" panel to capture HTTP authentication requests. Use %e
    within the log-format variable to enable this panel.
  - Added tebibyte unit to the byte to string function converter.
  - Added the ability to parse reverse proxy logs that have multiple IPs. This
    adds the ability to parse the "X-Forwarded-For" field in a reverse proxy
    setup.
  - Added the ability to show which token didn't match log/date/time pattern.
    This also ensures that in the absence of data, its output is not treated as
    error but instead it produces an empty report.
  - Added the ability to specify a WebSocket protocol (ws|wss) through
    --ws-url.
  - Added the request query string to the W3C format.
  - Added TLS/SSL support to the HTML real-time report.
  - Changed browser classification for Google Cloud Clients.
  - Changed how "Darwin" OS was reported to display AppName instead.
  - Changed default W3C log format to use the URL path instead of full request.
  - Changed HTML default number of items on each table to 7.
  - Changed request parser to allow empty query strings.
  - Changed default HTML output theme to darkBlue.
  - Ensure every version of iOS is broken down under the OS panel.
  - Ensure latest JSON data is fast-forwarded when connection is opened.
    GoAccess now sends the latest JSON data to the client as soon as the
    WebSocket connection is opened.
  - Ensure localStorage is supported and enabled in the HTML report
  - Ensure unknown coutries/continents are listed.
  - Fixed D3 chart width overflow issue on Edge.
  - Fixed integer to string key conversion for unique visitors. This fixes the
    issue where resulting keys would collide with existing keys and thus not
    keeping the right visitors count on certain panels.
  - Fixed memory leak when unable to URL decode %q specifier.
  - Fixed memory leak when unable to URL decode %U specifier.
  - Fixed month name abbreviation on app.js.
  - Fixed percentage integer overflow with large numbers on 32bits platforms.
  - Fixed percent calculation due to integer division rounding to zero.
  - Fixed possible code injection when outputting an HTML report.
  - Fixed segfault when using options -H or -M without an argument.
  - Removed timestamp from the HTML report title tag.

Changes to GoAccess 1.0.2 - Tuesday, July 05, 2016

  - Added minor changes to the HTML report stylesheet.
  - Added the ability to specify the WebSocket port within --ws-url.
  - Added the proper byte swap functions used by Sun Solaris.
  - Added the proper default --http-method/protocol values on the config file.
  - Changed bar transition to scale delay dynamically to the length of the
    dataset.
  - Fixed build issue on platforms lacking of open_memstream() by refactoring
    the JSON module to use its own memory buffer.
  - Fixed issue where the server wouldn't send cached buffer to slow clients.
  - Fixed OS X build check of ncursesw.
  - Implemented a throttle mechanism for slow clients to avoid caching too much
    data on the server-side.
  - Removed flickering on D3 line and bar chart redraw.

Changes to GoAccess 1.0.1 - Friday, June 17, 2016

  - Added Android version number along with the codename when using --real-os,
    e.g., "Lollipop 5.1".
  - Added some missing headers and function checks to configure.ac.
  - Fixed a regression where it wouldn't allow abbreviated date and time
    formats such as %F or %T.
  - Fixed build issues on systems running GLIBC older than 2.9, such as RHEL <= 5.
  - Fixed issue where it wouldn't send the whole buffer to a socket causing the
    real-time-html WebSocket server to progressively consume a lot more memory.
  - Fixed memory leak when using getline and follow mode enabled.
  - Fixed some buffer initialization issues on read_line() and
    perform_tail_follow().
  - Fixed uint types in sha1 files.

Changes to GoAccess 1.0 - Thursday, June 09, 2016

  - Added --enable-panel=<PANEL> command line option to display the given
    module.
  - Added --json-pretty-print command line option to output pretty json.
  - Added --log-format=<format> command-line shortcuts for standard log
    formats.
  - Added --origin command line option to match the origin WebSocket header.
  - Added --output=<file.[html|csv|json]> as a shortcut to --output-format.
  - Added a complete real-time functionality to the HTML output.
  - Added an option to set the max number of items to show per panel.
  - Added D3 Visualziations to the HTML dashboard.
  - Added metadata metrics to the each of the panels (JSON output)
  - Added option to specify time distribution specificity.
  - Added the ability to download a JSON file from the HTML report.
  - Added the ability to output multiple formats on a single log parse.
  - Added the ability to set the date specificity in hours.
  - Added the ability to sort all HTML tables on all panels.
  - Added the ability to specify a custom CSS and JS file to the HTML report.
  - Added user-agents to the JSON output per each host.
  - Added "Vivaldi" to the list of browsers.
  - Bootstrapify the HTML dashboard.
  - Changed configure.ac to use LDFLAGS instead of CFLAGS where applicable.
  - Changed default terminal color scheme to 256 Monokai if terminal supports 256 colors.
  - Changed GoAccess license to The MIT License (MIT)
  - Changed the visitors panel to display its dates continuously.
  - Changed the visitors panel to display its dates continuously instead of top.
  - Default to 256 Monokai color scheme if terminal supports 256 colors.
  - Default to display HTTP method/protocol (if applicable).
  - Display the children's Max. T.S. as the parent's top Max. T.S.
  - Ensure the parent's Avg. T.S. displays parent's Cum. T.S. over parent's Hits.
  - Fixed color issue when switching from the color scheme window.
  - Fixed cross platform build issue when ncurses is built with and without
    termlib=tinfo.
  - Fixed issue header curses window wouldn't clear out on small window sizes.
  - Fixed issue where tail mode wouldn't parse full lines using getline().
  - Fixed minor background color issue when using ncurses 6.
  - Fixed possible division by zero when getting an entry percentage.
  - Fixed singly link list node removal.
  - Fixed still reachable memory leak on GeoIP cleanup (geoip legacy >= 1.4.7).
  - Fixed Valgrind's still reachable memory leaks.
  - Removed -Wredundant-decls.

diffstat:

 www/goaccess/Makefile                   |   6 +++---
 www/goaccess/PLIST                      |  10 +++++++++-
 www/goaccess/distinfo                   |  13 +++++++------
 www/goaccess/patches/patch-Makefile.am  |  10 +++++-----
 www/goaccess/patches/patch-configure.ac |  18 ++++++++++++++++++
 5 files changed, 42 insertions(+), 15 deletions(-)

diffs (98 lines):

diff -r 534a570827bb -r 3d03c07537b3 www/goaccess/Makefile
--- a/www/goaccess/Makefile     Thu Nov 17 21:00:15 2016 +0000
+++ b/www/goaccess/Makefile     Thu Nov 17 22:33:54 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2016/03/17 00:39:25 wiedi Exp $
+# $NetBSD: Makefile,v 1.13 2016/11/17 22:33:54 wiedi Exp $
 
-DISTNAME=      goaccess-0.9.8
+DISTNAME=      goaccess-1.1
 CATEGORIES=    www
 MASTER_SITES=  http://tar.goaccess.io/
 
@@ -23,7 +23,7 @@
 .include "options.mk"
 
 pre-configure:
-       cd ${WRKSRC} && aclocal && automake --add-missing
+       cd ${WRKSRC} && autoreconf -fiv
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 534a570827bb -r 3d03c07537b3 www/goaccess/PLIST
--- a/www/goaccess/PLIST        Thu Nov 17 21:00:15 2016 +0000
+++ b/www/goaccess/PLIST        Thu Nov 17 22:33:54 2016 +0000
@@ -1,4 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2014/06/14 09:56:16 wiedi Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/11/17 22:33:54 wiedi Exp $
 bin/goaccess
 man/man1/goaccess.1
+share/doc/goaccess/app.css
+share/doc/goaccess/app.js
+share/doc/goaccess/bootstrap.min.css
+share/doc/goaccess/charts.js
+share/doc/goaccess/d3.v3.min.js
+share/doc/goaccess/fa.min.css
+share/doc/goaccess/hogan.min.js
+share/doc/goaccess/tpls.html
 share/examples/goaccess/goaccess.conf
diff -r 534a570827bb -r 3d03c07537b3 www/goaccess/distinfo
--- a/www/goaccess/distinfo     Thu Nov 17 21:00:15 2016 +0000
+++ b/www/goaccess/distinfo     Thu Nov 17 22:33:54 2016 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2016/03/17 00:39:25 wiedi Exp $
+$NetBSD: distinfo,v 1.12 2016/11/17 22:33:54 wiedi Exp $
 
-SHA1 (goaccess-0.9.8.tar.gz) = 35d3cd6004c566e017d3e2702d5fc0f566655766
-RMD160 (goaccess-0.9.8.tar.gz) = fcf5ff2b905f9ee1047d00ef3b674e5570a8db47
-SHA512 (goaccess-0.9.8.tar.gz) = 40ce161c14f058d5482b90c1fe9c88a7ca8abf063bc041597b23390c5715466bde9bda58beb6e5b61d578a0f7b7d7860a9b3d2056812cc96564d3208e17703e1
-Size (goaccess-0.9.8.tar.gz) = 277618 bytes
-SHA1 (patch-Makefile.am) = 8bb0bbd6595be0ac32ecbc7990716a24092504f0
+SHA1 (goaccess-1.1.tar.gz) = 392aac6236a8d6cbe87fcd44cf9ecb3621bfbf5a
+RMD160 (goaccess-1.1.tar.gz) = f1b4a9d2ed06faf19caf5acb87b8ee6bed63e15f
+SHA512 (goaccess-1.1.tar.gz) = d0d2cb37921ed510d3ee6d8ce65809d50092e9ba1e0234d86798f0ef71c90d88f506b667c1c02207ed33bb8aebdcea18af17bb3c8de1932d6bb3d61922ef6e4a
+Size (goaccess-1.1.tar.gz) = 411861 bytes
+SHA1 (patch-Makefile.am) = 780091c644a7d4d6e8311f0cbdef0146796df602
+SHA1 (patch-configure.ac) = e9e6c47f579c11bb03a625b2854c6540f2fb877b
diff -r 534a570827bb -r 3d03c07537b3 www/goaccess/patches/patch-Makefile.am
--- a/www/goaccess/patches/patch-Makefile.am    Thu Nov 17 21:00:15 2016 +0000
+++ b/www/goaccess/patches/patch-Makefile.am    Thu Nov 17 22:33:54 2016 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile.am,v 1.2 2015/06/04 21:32:35 wiedi Exp $
+$NetBSD: patch-Makefile.am,v 1.3 2016/11/17 22:33:54 wiedi Exp $
 
 deploy example config in the correct place
---- Makefile.am.orig   2015-05-25 17:21:15.000000000 +0000
+--- Makefile.am.orig   2016-09-30 02:28:08.000000000 +0000
 +++ Makefile.am
-@@ -2,7 +2,7 @@
- bin_PROGRAMS = goaccess
- AUTOMAKE_OPTIONS = subdir-objects
+@@ -60,7 +60,7 @@ chartsjs.h: bin2c$(EXEEXT) resources/js/
+ appjs.h: bin2c$(EXEEXT) resources/js/app.js
+       ./bin2c resources/js/app.js src/appjs.h app_js
  
 -confdir = $(sysconfdir)
 +confdir = $(PREFIX)/share/examples/goaccess
diff -r 534a570827bb -r 3d03c07537b3 www/goaccess/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/goaccess/patches/patch-configure.ac   Thu Nov 17 22:33:54 2016 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-configure.ac,v 1.1 2016/11/17 22:33:54 wiedi Exp $
+
+remove ncursesw hack which actually breaks osx
+
+--- configure.ac.orig  2016-11-08 01:35:09.000000000 +0000
++++ configure.ac
+@@ -75,11 +75,6 @@ AC_ARG_ENABLE(utf8, [  --enable-utf8   E
+ 
+ if test "$utf8" = "yes"; then
+   libncursesw=ncursesw
+-  # Simply called libncurses on OS X
+-  case "$host_os" in
+-    *darwin*) libncursesw=ncurses
+-    ;;
+-  esac
+ 
+   AC_CHECK_LIB([$libncursesw], [mvaddwstr], [],
+       [AC_MSG_ERROR([*** Missing development libraries for ncursesw])])



Home | Main Index | Thread Index | Old Index