pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/goaccess Define rcvar so goaccess=NO works. Fix a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9805b0fbd312
branches:  trunk
changeset: 428193:9805b0fbd312
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Apr 25 20:02:35 2020 +0000

description:
Define rcvar so goaccess=NO works. Fix a spell-o. Bump PKGREVISION.

diffstat:

 www/goaccess/Makefile          |  4 ++--
 www/goaccess/files/goaccess.sh |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r f054234b2856 -r 9805b0fbd312 www/goaccess/Makefile
--- a/www/goaccess/Makefile     Sat Apr 25 19:56:49 2020 +0000
+++ b/www/goaccess/Makefile     Sat Apr 25 20:02:35 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2020/04/07 09:29:26 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2020/04/25 20:02:35 schmonz Exp $
 
 DISTNAME=      goaccess-1.3
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    www
 MASTER_SITES=  http://tar.goaccess.io/
 
diff -r f054234b2856 -r 9805b0fbd312 www/goaccess/files/goaccess.sh
--- a/www/goaccess/files/goaccess.sh    Sat Apr 25 19:56:49 2020 +0000
+++ b/www/goaccess/files/goaccess.sh    Sat Apr 25 20:02:35 2020 +0000
@@ -7,6 +7,7 @@
 $_rc_subr_loaded . /etc/rc.subr
 
 name="goaccess"
+rcvar=$name
 command="@PREFIX@/bin/$name"
 pidfile="/var/run/goaccess/$name.pid"
 start_precmd="goaccess_prestart"
@@ -18,7 +19,7 @@
 goaccess_prestart()
 {
        if [ -z "$goaccess_logfile" ]; then
-               echo "goacess_logfile is not set" >&2
+               echo "goaccess_logfile is not set" >&2
                return 1
        fi
 



Home | Main Index | Thread Index | Old Index