cfb6518229
- Fixed build issue due to initial declarations only allowed in C99 mode (e.g., CentOS7). - Added 'Caddy' to the list of pre-defined log formats. - Added command line option '--no-strict-status' to disable status validation. - Added native support to parse JSON logs. - Added the ability to process timestamps in milliseconds using '%*'. - Ensure TUI/CSV/HTML reports are able to output 'uint64_t' data. - Ensure we allow UI render if the rate at which data is being read is greater than '8192' req/s. - Ensure we don't re-render Term/HTML output if no data was read/piped. - Fixed build configure to work on NetBSD. - Fixed issue where it would send data via socket each second when managed by systemd. - Fixed issue where parser was unable to parse syslog date with padding. - Fixed issue where some items under browsers.list were not tab separated. - Fixed issue where the format parser was unable to properly parse logs delimited by a pipe. - Fixed issue where T.X. Amount metrics were not shown when data was piped. - Fixed issue where XFF parser could swallow an additional field. - Fixed memory leak when using '%x' as date/time specifier. - Replaced select(2) with poll(2) as it is more efficient and a lot faster than select(2). - Updated Swedish i18n. - Added the ability to set how often goaccess will parse data and output to the HTML report via '--html-refresh=<secs>'. - Changed how TLS is parsed so the Cypher uses a separate specifier. It now uses '%K' for the TLS version and '%k' for the Cypher. - Fixed issue where real-time output would double count a rotated log. This was due to the change of inode upon rotating the log. - Updated man page to reflect proper way of 'tail -f' a remote access log. - Added the ability to show 'Encryption Settings' such as 'TLSv1.2' and Cipher Suites on its own panel. - Added the ability to show 'MIME Types' such as 'application/javascript' on its own panel. - Ensure the HTML report defaults to widescreen if viewport is larger than '2560px'. - Fixed inability to properly process multiple logs in real-time. - Fixed issue where named PIPEs were not properly seed upon generating filename. - Fixed issue where served time metrics were not shown when data was piped. - Removed unnecessary padding from SVG charts. Improves readability on mobile. - Added addtional browsers and bots to the main list. - Added 'Android 11' to the list of OSs. - Added 'macOS 11.0 Big Sur' to the list of OSs. - Added 'average' to each panel overall metrics. - Added '.dmg', '.xz', and '.zst' to the static list. - Added extra check to ensure restoring from disk verifies the content of the log against previous runs. - Added Russian translation (i18n). - Added Ukrainian translation (i18n). - Added support for HTTP status code '308'. - Added the ability for 'get_home ()' to return NULL on error, instead of terminating the process. Great if using through systemd. - Added the ability to read lowercase predefined log formats. For instance, '--log-format=COMBINED' or '--log-format=combined'. - Changed how FIFOs are created and avoid using predictable filenames under '/tmp'. - Changed '--ignore-referer' to use whole referrer instead of referring site. - Ensure Cache Status can be parsed without sensitivity to case. - Ensure restored data enforces '--keep-last' if used by truncating accordingly. - Fixed a few memory leaks when restoring from disk. - Fixed blank time distribution panel when using timestamps. - Fixed build issue due to lack of 'mmap' on 'Win'/'Cygwin'/'MinGW'. - Fixed crash in mouse enabled mode. - Fixed double free on data restore. - Fixed inability to keep processing a log when using '--keep-last'. - Fixed inability to properly parse truncated logs. - Fixed inability to properly count certain requests when restoring from disk. - Fixed issue where it would not parse subsequent requests coming from stdin (tail). - Fixed issue where log truncation could prevent accurate number counting. - Fixed issue where parsed date range was not rendered with '--date-spec'. - Fixed issue where parser would stop regardless of a valid '--num-test' value. - Fixed issue where restoring from disk would increment 'MAX.TS'. - Fixed possible incremental issue when log rotation occurs. - Fixed possible XSS when getting real-time data into the HTML report. - Fixed potential memory leak when failing to get root node. - Fixed real-time hits count issue for certain scenarios. - Fixed segfault in 'Docker' due to a bad allocation when generating FIFOs. - Fixed 'Unknown' Operating Systems with 'W3C' format. - Removed unnecessary include from parser.c so it builds in macOS. - Updated each panel overall UI to be more streamlined. - Updated French translation. - Updated German translation. - Updated Spanish translation. - Updated sigsegv handler.
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2021/02/26 15:39:46 schmonz Exp $
|
|
|
|
DISTNAME= goaccess-1.4.5
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://tar.goaccess.io/
|
|
|
|
MAINTAINER= wiedi@frubar.net
|
|
HOMEPAGE= https://goaccess.io/
|
|
COMMENT= Real-time web log analyzer and viewer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LANGUAGES= c99
|
|
USE_TOOLS+= pkg-config aclocal autoconf automake
|
|
|
|
USE_CURSES= getmouse
|
|
FAKE_NCURSES= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
CONF_FILES= ${EGDIR}/goaccess.conf ${PKG_SYSCONFDIR}/goaccess.conf
|
|
|
|
LIBS.SunOS+= -lsocket -lnsl
|
|
CPPFLAGS.SunOS+= -D__EXTENSIONS__
|
|
LDFLAGS.NetBSD+= -lterminfo
|
|
|
|
BROKEN_GETTEXT_DETECTION= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GOACCESS_USER?= ${APACHE_USER}
|
|
GOACCESS_GROUP?= ${APACHE_GROUP}
|
|
|
|
BUILD_DEFS+= VARBASE GOACCESS_USER GOACCESS_GROUP
|
|
|
|
PKG_USERS_VARS= GOACCESS_USER
|
|
PKG_GROUPS_VARS= GOACCESS_GROUP
|
|
PKG_GROUPS= ${GOACCESS_GROUP}
|
|
PKG_USERS= ${GOACCESS_USER}:${GOACCESS_GROUP}
|
|
|
|
RCD_SCRIPTS+= goaccess
|
|
FILES_SUBST+= GOACCESS_USER=${GOACCESS_USER:Q}
|
|
|
|
.include "options.mk"
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoreconf -fiv
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/terminfo.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|