pkgsrc-WIP-changes archive

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

Import logswan-1.00 as wip/logswan.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Sep 28 23:34:36 2015 +0200
Changeset:	4109b6c72c2b841ff0d289b740b7c987cbab88b2

Added Files:
	logswan/DESCR
	logswan/Makefile
	logswan/PLIST
	logswan/distinfo

Log Message:
Import logswan-1.00 as wip/logswan.

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.

Unique visitors counting is performed using two HyperLogLog counters (one for
IPv4, and another one for IPv6), providing a relative accuracy of 0.10%.

Project design goals include : speed, memory-usage efficiency, and keeping the
code as simple as possible.

Logswan is opinionated software :
 - It only supports the Common Log Format, in order to keep the parsing code
   simple
 - It does not split results per day, but log files can be split prior to being
   processed

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4109b6c72c2b841ff0d289b740b7c987cbab88b2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 logswan/DESCR    | 15 +++++++++++++++
 logswan/Makefile | 21 +++++++++++++++++++++
 logswan/PLIST    |  2 ++
 logswan/distinfo |  5 +++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/logswan/DESCR b/logswan/DESCR
new file mode 100644
index 0000000..b67fc8b
--- /dev/null
+++ b/logswan/DESCR
@@ -0,0 +1,15 @@
+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.
+
+Unique visitors counting is performed using two HyperLogLog counters (one for
+IPv4, and another one for IPv6), providing a relative accuracy of 0.10%.
+
+Project design goals include : speed, memory-usage efficiency, and keeping the
+code as simple as possible.
+
+Logswan is opinionated software :
+ - It only supports the Common Log Format, in order to keep the parsing code
+   simple
+ - It does not split results per day, but log files can be split prior to being
+   processed
diff --git a/logswan/Makefile b/logswan/Makefile
new file mode 100644
index 0000000..17f0792
--- /dev/null
+++ b/logswan/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	logswan-1.00
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=fcambus/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	${MASTER_SITE_GITHUB:=fcambus/logswan/}
+COMMENT=	fast Web log analyzer using probabilistic data structures
+LICENSE=	modified-bsd
+
+USE_CMAKE=	yes
+
+SUBST_CLASSES+=		geoip
+SUBST_STAGE.geoip=	post-patch
+SUBST_FILES.geoip+=	src/logswan.c
+SUBST_SED.geoip+=	-e 's,/usr/local,${PREFIX},g'
+
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/logswan/PLIST b/logswan/PLIST
new file mode 100644
index 0000000..3030c26
--- /dev/null
+++ b/logswan/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/logswan
diff --git a/logswan/distinfo b/logswan/distinfo
new file mode 100644
index 0000000..83badc3
--- /dev/null
+++ b/logswan/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (logswan-1.00.tar.gz) = c0676c41d87d768d6cc0d30aae1526f8e87e75e2
+RMD160 (logswan-1.00.tar.gz) = ad781c80f91fee577bb814ed70204cc28e89c31b
+Size (logswan-1.00.tar.gz) = 14571 bytes


Home | Main Index | Thread Index | Old Index