Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2023 02:35:31 GMT
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 65e72753aa72 - main - sysutils/goaccess: Default goaccess_enable to avoid warnings when unset
Message-ID:  <202311090235.3A92ZVHN062354@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65e72753aa722ac52b5821714e3d9eab64599914

commit 65e72753aa722ac52b5821714e3d9eab64599914
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2023-11-09 02:35:20 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2023-11-09 02:35:20 +0000

    sysutils/goaccess: Default goaccess_enable to avoid warnings when unset
---
 sysutils/goaccess/Makefile          | 1 +
 sysutils/goaccess/files/goaccess.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sysutils/goaccess/Makefile b/sysutils/goaccess/Makefile
index d4210fa2c66d..77dbec026793 100644
--- a/sysutils/goaccess/Makefile
+++ b/sysutils/goaccess/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	goaccess
 PORTVERSION=	1.8.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://tar.goaccess.io/
 
diff --git a/sysutils/goaccess/files/goaccess.in b/sysutils/goaccess/files/goaccess.in
index b8ef6987b1db..6c7bd146b66d 100644
--- a/sysutils/goaccess/files/goaccess.in
+++ b/sysutils/goaccess/files/goaccess.in
@@ -19,6 +19,7 @@ rcvar=goaccess_enable
 
 load_rc_config $name
 
+: ${goaccess_enable:=NO}
 : ${goaccess_html:=/var/run/goaccess/goaccess.html}
 : ${goaccess_log:=/var/log/httpd-access.log}
 : ${goaccess_config:=%%ETCDIR%%/goaccess.conf}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311090235.3A92ZVHN062354>