guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: goaccess: Update to 1.7.2.


From: guix-commits
Subject: branch master updated: gnu: goaccess: Update to 1.7.2.
Date: Tue, 08 Aug 2023 05:09:07 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b20e5bcafd gnu: goaccess: Update to 1.7.2.
b20e5bcafd is described below

commit b20e5bcafd9654a767ffb78eefd7494f73ca67c8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Aug 8 10:42:40 2023 +0200

    gnu: goaccess: Update to 1.7.2.
    
    * gnu/packages/web.scm (goaccess): Update to 1.7.2.
    [source]: Patch second timestamp in parser.c.
    [arguments]: Enable geoip and utf8.
    [inputs]: Add libmaxminddb and openssl.
---
 gnu/packages/web.scm | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7cc563586b..45b4560e5a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -131,6 +131,7 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gd)
+  #:use-module (gnu packages geo)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -5915,23 +5916,27 @@ config files---you only have to specify the www root.")
 (define-public goaccess
   (package
     (name "goaccess")
-    (version "1.5.2")
+    (version "1.7.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://tar.goaccess.io/goaccess-";
                                   version ".tar.gz"))
               (sha256
                (base32
-                "12hwmd9cn7yy7vj92110skjaslpxkn05msb9wj228qmjjf9jzkm0"))
+                "0sqjkla4fjw5h49x675qibp860bk0haajc3i31m1q782kjiap6hf"))
               (modules '((guix build utils)))
-              (snippet '(begin
-                          (substitute* "src/error.h"
-                            (("__DATE__") "\"1970-01-01\"")
-                            (("__TIME__") "\"00:00:00\""))))))
+              (snippet '(substitute* '("src/error.h"
+                                       "src/parser.c")
+                          (("__DATE__") "\"1970-01-01\"")
+                          (("__TIME__") "\"00:00:00\"")))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      '(list "--enable-geoip=mmdb"
+             "--enable-utf8")))
     (inputs
-     ;; TODO: Add dependency on geoip-tools.
-     (list glib ncurses))
+     (list glib ncurses libmaxminddb openssl))
     (native-inputs
      (list pkg-config))
     (home-page "https://goaccess.io";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]