From owner-svn-ports-all@freebsd.org Thu Jan 3 21:08:54 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FC8F1437863; Thu, 3 Jan 2019 21:08:54 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB61D680F5; Thu, 3 Jan 2019 21:08:53 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D3F9426C4A; Thu, 3 Jan 2019 21:08:53 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x03L8rMH096279; Thu, 3 Jan 2019 21:08:53 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x03L8qin096269; Thu, 3 Jan 2019 21:08:52 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201901032108.x03L8qin096269@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Thu, 3 Jan 2019 21:08:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489224 - in head: . sysutils/goaccess sysutils/goaccess/files X-SVN-Group: ports-head X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: in head: . sysutils/goaccess sysutils/goaccess/files X-SVN-Commit-Revision: 489224 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EB61D680F5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.965,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 21:08:54 -0000 Author: adamw Date: Thu Jan 3 21:08:51 2019 New Revision: 489224 URL: https://svnweb.freebsd.org/changeset/ports/489224 Log: Update goaccess to 1.3. With this release: - The config file has moved from PREFIX/etc to ETCDIR - The web assets are no longer installed separately (they are compiled into the binary so this should not affect end-users) - NLS support (and OPTION) added pkg-message and UPDATING entry added for conf file location change. Changes: https://goaccess.io/release-notes PR: 234047 Approved by: maintainer (sbz) Added: head/sysutils/goaccess/files/ head/sysutils/goaccess/files/patch-src_gholder.c (contents, props changed) head/sysutils/goaccess/files/patch-src_goaccess.c (contents, props changed) head/sysutils/goaccess/files/patch-src_labels.h (contents, props changed) head/sysutils/goaccess/files/pkg-message.in (contents, props changed) Modified: head/UPDATING head/sysutils/goaccess/Makefile head/sysutils/goaccess/distinfo head/sysutils/goaccess/pkg-plist Modified: head/UPDATING ============================================================================== --- head/UPDATING Thu Jan 3 21:05:47 2019 (r489223) +++ head/UPDATING Thu Jan 3 21:08:51 2019 (r489224) @@ -6,6 +6,18 @@ You should get into the habit of checking this file fo you update your ports collection, before attempting any port upgrades. 20190103: + AFFECTS: users of sysutils/goaccess + AUTHOR: adamw@FreeBSD.org + + The goaccess.conf location has changed for version 1.3. To preserve + your settings, you must move your goaccess.conf to the new location. + + OLD: ${PREFIX}/etc/goaccess.conf + NEW: ${PREFIX}/etc/goaccess/goaccess.conf + + # mv /usr/local/etc/goaccess.conf /usr/local/etc/goaccess/goaccess.conf + +20190103: AFFECTS: users of multimedia/vlc* AUTHOR: riggs@FreeBSD.org Modified: head/sysutils/goaccess/Makefile ============================================================================== --- head/sysutils/goaccess/Makefile Thu Jan 3 21:05:47 2019 (r489223) +++ head/sysutils/goaccess/Makefile Thu Jan 3 21:08:51 2019 (r489224) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= goaccess -PORTVERSION= 1.2 -PORTREVISION= 1 +PORTVERSION= 1.3 CATEGORIES= sysutils MASTER_SITES= http://tar.goaccess.io/ @@ -22,18 +21,22 @@ CFLAGS+= -I${NCURSESINC} -I${LOCALBASE}/include LDFLAGS+= -L${NCURSESLIB} -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO +SUB_FILES= pkg-message -OPTIONS_DEFINE= DOCS DEBUG UTF8 +OPTIONS_DEFINE= DOCS DEBUG NLS UTF8 OPTIONS_DEFAULT= GEOIP UTF8 OPTIONS_RADIO= GEOIPDB TOKYOCABINET OPTIONS_RADIO_GEOIPDB= GEOIP GEOIP2 OPTIONS_RADIO_TOKYOCABINET= TOKYOCABINET_BTREE TOKYOCABINET_MHASH +OPTIONS_SUB= yes GEOIPDB_DESC= GeoIP IP location support GEOIP_DESC= Legacy/free database format GEOIP2_DESC= New/paid database format DEBUG_CONFIGURE_ON= --enable-debug +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext-runtime UTF8_CONFIGURE_ON= --enable-utf8 GEOIP_CONFIGURE_ON= --enable-geoip=legacy @@ -54,7 +57,7 @@ do-install-DOCS-on: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install: - ${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf \ - ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + ${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf \ + ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample .include Modified: head/sysutils/goaccess/distinfo ============================================================================== --- head/sysutils/goaccess/distinfo Thu Jan 3 21:05:47 2019 (r489223) +++ head/sysutils/goaccess/distinfo Thu Jan 3 21:08:51 2019 (r489224) @@ -1,3 +1,3 @@ -TIMESTAMP = 1489850741 -SHA256 (goaccess-1.2.tar.gz) = 6ba9f66540ea58fc2c17f175265f9ed76d74a8432eeac1182b74ebf4f2cd3414 -SIZE (goaccess-1.2.tar.gz) = 423103 +TIMESTAMP = 1544921228 +SHA256 (goaccess-1.3.tar.gz) = 8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b +SIZE (goaccess-1.3.tar.gz) = 541374 Added: head/sysutils/goaccess/files/patch-src_gholder.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/goaccess/files/patch-src_gholder.c Thu Jan 3 21:08:51 2019 (r489224) @@ -0,0 +1,10 @@ +--- src/gholder.c.orig 2018-12-16 00:54:24 UTC ++++ src/gholder.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_LIBTOKYOCABINET + #include "tcabdb.h" Added: head/sysutils/goaccess/files/patch-src_goaccess.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/goaccess/files/patch-src_goaccess.c Thu Jan 3 21:08:51 2019 (r489224) @@ -0,0 +1,13 @@ +--- src/goaccess.c.orig 2018-12-16 01:14:48 UTC ++++ src/goaccess.c +@@ -1202,8 +1202,10 @@ set_locale (void) + char *loc_ctype; + + setlocale (LC_ALL, ""); ++#ifdef ENABLE_NLS + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); ++#endif + + loc_ctype = getenv ("LC_CTYPE"); + if (loc_ctype != NULL) Added: head/sysutils/goaccess/files/patch-src_labels.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/goaccess/files/patch-src_labels.h Thu Jan 3 21:08:51 2019 (r489224) @@ -0,0 +1,20 @@ +--- src/labels.h.orig 2018-11-23 02:16:45 UTC ++++ src/labels.h +@@ -30,11 +30,17 @@ + #ifndef LABELS_H_INCLUDED + #define LABELS_H_INCLUDED + ++#ifdef ENABLE_NLS + #include + + #define _(String) dgettext (PACKAGE , String) + #define gettext_noop(String) String + #define N_(String) gettext_noop (String) ++#else ++#define _(String) String ++#define gettext_noop(String) String ++#define N_(String) String ++#endif + + /* global lang attribute */ + #define DOC_LANG _( "en") Added: head/sysutils/goaccess/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/goaccess/files/pkg-message.in Thu Jan 3 21:08:51 2019 (r489224) @@ -0,0 +1,8 @@ +==================================================================== + +The goaccess.conf location has changed for goaccess-1.3. To preserve +your settings, you must move your goaccess.conf to the new location: + + mv %%PREFIX%%/etc/goaccess.conf %%ETCDIR%%/goaccess.conf + +==================================================================== Modified: head/sysutils/goaccess/pkg-plist ============================================================================== --- head/sysutils/goaccess/pkg-plist Thu Jan 3 21:05:47 2019 (r489223) +++ head/sysutils/goaccess/pkg-plist Thu Jan 3 21:08:51 2019 (r489224) @@ -1,11 +1,8 @@ bin/goaccess -@sample etc/goaccess.conf.sample +%%ETCDIR%%/browsers.list +@sample %%ETCDIR%%/goaccess.conf.sample man/man1/goaccess.1.gz -%%PORTDOCS%%%%DOCSDIR%%/app.css -%%PORTDOCS%%%%DOCSDIR%%/app.js -%%PORTDOCS%%%%DOCSDIR%%/bootstrap.min.css -%%PORTDOCS%%%%DOCSDIR%%/charts.js -%%PORTDOCS%%%%DOCSDIR%%/d3.v3.min.js -%%PORTDOCS%%%%DOCSDIR%%/fa.min.css -%%PORTDOCS%%%%DOCSDIR%%/hogan.min.js -%%PORTDOCS%%%%DOCSDIR%%/tpls.html +%%NLS%%share/locale/es/LC_MESSAGES/goaccess.mo +%%NLS%%share/locale/fr/LC_MESSAGES/goaccess.mo +%%NLS%%share/locale/ja/LC_MESSAGES/goaccess.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/goaccess.mo