Hi ports@,

Here is a diff to drop Tokyo Cabinet storage support, this greatly
speeds up processing time, more than 10 times actually.

With the current version:

- Total Requests: 1,347,757
- Log Size:          282.49 MiB
- Init. Proc. Time:     712 secs

With the diff applied:

- Total Requests: 1,347,757
- Log Size:          282.49 MiB
- Init. Proc. Time:      67 secs

While there, switch HOMEPAGE and MASTER_SITES to HTTPS and update
license marker to specify the MIT license, which goaccess switched
to since the 1.0 release.

Comments? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/goaccess/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    15 Nov 2017 21:28:05 -0000      1.17
+++ Makefile    11 Apr 2018 20:28:48 -0000
@@ -3,28 +3,26 @@
 COMMENT =              realtime console web log analyzer
 
 DISTNAME =             goaccess-1.2
-REVISION =             0
+REVISION =             1
 
 CATEGORIES =           www
 
-HOMEPAGE =             http://goaccess.io/
+HOMEPAGE =             https://goaccess.io/
 
 MAINTAINER =           Kirill Bychkov <[email protected]>
 
-# GPLv2
+# MIT
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += GeoIP bz2 c ncursesw pthread tokyocabinet z
+WANTLIB += GeoIP c curses pthread
 
-MASTER_SITES =         http://tar.goaccess.io/
+MASTER_SITES =         https://tar.goaccess.io/
 
-LIB_DEPENDS =          databases/tokyocabinet \
-                       net/GeoIP
+LIB_DEPENDS =          net/GeoIP
 
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS =       --enable-geoip=legacy \
-                       --enable-utf8 \
-                       --enable-tcb=btree
+                       --enable-utf8
 
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"

Reply via email to