summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-06-02 18:41:59 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-06-02 18:41:59 +0000
commit173e99f15ca676c3a21b7c241c473400350a687c (patch)
treebe6a0a6e9c9cf61ee2b847e94b632897ba41ce84
parentFix devel/py-subversion and ports depending on it (diff)
Add www/logswan: Fast Web log analyzer
PR: 245231 Submitted by: Juraj Lutter <juraj@lutter.sk>
Notes
Notes: svn path=/head/; revision=537568
-rw-r--r--www/Makefile1
-rw-r--r--www/logswan/Makefile23
-rw-r--r--www/logswan/distinfo3
-rw-r--r--www/logswan/pkg-descr8
-rw-r--r--www/logswan/pkg-message10
5 files changed, 45 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 798369ddf6d6..801d97917290 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -311,6 +311,7 @@
SUBDIR += linux-opera
SUBDIR += litmus
SUBDIR += ljdeps
+ SUBDIR += logswan
SUBDIR += logtools
SUBDIR += lua-resty-core
SUBDIR += lua-resty-lrucache
diff --git a/www/logswan/Makefile b/www/logswan/Makefile
new file mode 100644
index 000000000000..3bb4ad93a0e6
--- /dev/null
+++ b/www/logswan/Makefile
@@ -0,0 +1,23 @@
+# Created by: Juraj Lutter <juraj@lutter.sk>
+# $FreeBSD$
+
+PORTNAME= logswan
+PORTVERSION= 2.1.4
+CATEGORIES= www
+
+MAINTAINER= juraj@lutter.sk
+COMMENT= Fast Web log analyzer
+
+LICENSE= BSD2CLAUSE
+
+LIB_DEPENDS= libjansson.so:devel/jansson \
+ libmaxminddb.so:net/libmaxminddb
+
+USES= cmake
+USE_GITHUB= yes
+GH_ACCOUNT= fcambus
+
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
+
+.include <bsd.port.mk>
diff --git a/www/logswan/distinfo b/www/logswan/distinfo
new file mode 100644
index 000000000000..fbb153c1742d
--- /dev/null
+++ b/www/logswan/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585739226
+SHA256 (fcambus-logswan-2.1.4_GH0.tar.gz) = 25bfa62d6eedaad28198c31f596e786006fd8fc6511d020450e702c198be746f
+SIZE (fcambus-logswan-2.1.4_GH0.tar.gz) = 20482
diff --git a/www/logswan/pkg-descr b/www/logswan/pkg-descr
new file mode 100644
index 000000000000..61a5c74e01ee
--- /dev/null
+++ b/www/logswan/pkg-descr
@@ -0,0 +1,8 @@
+Logswan is a fast Web log analyzer using probabilistic data structures. It is
+targeted at very large log files, typically APIs logs. It has constant memory
+usage regardless of the log file size, and takes approximatively 4MB of RAM.
+
+Project design goals include: speed, memory-usage efficiency, and keeping
+the code as simple as possible.
+
+WWW: https://www.logswan.org
diff --git a/www/logswan/pkg-message b/www/logswan/pkg-message
new file mode 100644
index 000000000000..a46df34571c5
--- /dev/null
+++ b/www/logswan/pkg-message
@@ -0,0 +1,10 @@
+[
+{ type: install
+ message: <<EOM
+logswan uses libmaxminddb (GeoIP2) library to perform geolocation-based
+lookups.
+
+Install port net/geoipupdate to fetch and update the GeoIP database(s).
+EOM
+}
+]