pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import www/logswan version 1.01 from pkgsrc
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Fri Jan 1 23:35:08 2016 +0000
Changeset: 82e240dc06a1dbeade773cc59839d138a064a39f
Added Files:
logswan/DESCR
logswan/Makefile
logswan/PLIST
logswan/distinfo
Log Message:
Import www/logswan version 1.01 from pkgsrc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=82e240dc06a1dbeade773cc59839d138a064a39f
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 | 35 +++++++++++++++++++++++++++++++++++
logswan/PLIST | 7 +++++++
logswan/distinfo | 6 ++++++
4 files changed, 63 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..0d010d6
--- /dev/null
+++ b/logswan/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.3 2015/10/01 21:38:44 kamil Exp $
+
+DISTNAME= logswan-1.01
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.logswan.org
+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'
+
+DOCDIR= share/doc/logswan
+EGDIR= share/examples/logswan
+
+CONF_FILES+= ${EGDIR}/logswan.json ${PKG_SYSCONFDIR}/logswan.json
+
+AUTO_MKDIRS= yes
+
+post-install:
+.for f in AUTHORS README.md THANKS TODO
+ ${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
+ ${RUN}${INSTALL_DATA} ${WRKSRC}/examples/logswan.json \
+ ${DESTDIR}${PREFIX}/${EGDIR}
+
+.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..cd392d1
--- /dev/null
+++ b/logswan/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2015/09/28 22:33:43 kamil Exp $
+bin/logswan
+share/doc/logswan/AUTHORS
+share/doc/logswan/README.md
+share/doc/logswan/THANKS
+share/doc/logswan/TODO
+share/examples/logswan/logswan.json
diff --git a/logswan/distinfo b/logswan/distinfo
new file mode 100644
index 0000000..f9abdb4
--- /dev/null
+++ b/logswan/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/11/04 02:46:57 agc Exp $
+
+SHA1 (logswan-1.01.tar.gz) = 0b936d2900926926f2c9fd9742c69357ec56a813
+RMD160 (logswan-1.01.tar.gz) = 34705112dfd137a9c258fd6bf6c73db07763343b
+SHA512 (logswan-1.01.tar.gz) = cfdfc67cebc8a32fbe260e20867af4363e734c6890b3a5f0e4b9bba43d8caa10722171014dc6f2f2de17f4c4b03fb9eaadc935e1143b95afcbfeb9b83ccd1d80
+Size (logswan-1.01.tar.gz) = 14790 bytes
Home |
Main Index |
Thread Index |
Old Index