pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
logswan: update to 1.03
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Sat Jan 2 13:20:50 2016 +0000
Changeset: 6b09c4c18466cb50737190e5a53c6e7c76f930ff
Modified Files:
logswan/Makefile
logswan/PLIST
logswan/distinfo
Log Message:
logswan: update to 1.03
Changes in 1.03:
- Remove header display and do not print name of processed file
- Print results to stderr instead of stdout
- Output JSON data to stdout instead of creating a new file
- Define GeoIP databases path in CMakeLists.txt
- Adding log file name in the JSON output
- Removing some hardcoded values and replacing them with constants
defined in config.h
- Breaking the loop when a match is found in the request parser
- Using enumeration constants instead of macros
- Process GeoIP continent information
- Re-ordering protocols and methods with more common occurences on top of
the list, allowing to break earlier when iterating through the array
- Adding support for reading logs from standard input
- Renaming 'definitions' files to 'config'
- Increasing countries array size, as an attempt to be future-proof
- Initial support for using pledge() on OpenBSD
- Documentation updates (HLL precision, Features list, GeoIP databases)
- Updated output file example
- Added a manual page
Changes in 1.02:
- Renaming 'resource' variable to 'request' in the 'logLine' struct
- Do not attempt to parse empty date tokens
- Do not attempt to parse empty request tokens (Thanks Brian Carpenter for
reporting the issue)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b09c4c18466cb50737190e5a53c6e7c76f930ff
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
logswan/Makefile | 8 +++++---
logswan/PLIST | 5 +++--
logswan/distinfo | 8 ++++----
3 files changed, 12 insertions(+), 9 deletions(-)
diffs:
diff --git a/logswan/Makefile b/logswan/Makefile
index 0d010d6..cae3495 100644
--- a/logswan/Makefile
+++ b/logswan/Makefile
@@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.3 2015/10/01 21:38:44 kamil Exp $
-DISTNAME= logswan-1.01
+DISTNAME= logswan-1.03
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.logswan.org
+HOMEPAGE= http://www.logswan.org/
COMMENT= Fast Web log analyzer using probabilistic data structures
LICENSE= modified-bsd
@@ -19,7 +19,7 @@ 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
+#CONF_FILES+= ${EGDIR}/logswan.json ${PKG_SYSCONFDIR}/logswan.json
AUTO_MKDIRS= yes
@@ -29,6 +29,8 @@ post-install:
.endfor
${RUN}${INSTALL_DATA} ${WRKSRC}/examples/logswan.json \
${DESTDIR}${PREFIX}/${EGDIR}
+ ${RUN}${INSTALL_MAN} ${WRKSRC}/logswan.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../textproc/jansson/buildlink3.mk"
.include "../../net/GeoIP/buildlink3.mk"
diff --git a/logswan/PLIST b/logswan/PLIST
index cd392d1..341a712 100644
--- a/logswan/PLIST
+++ b/logswan/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2015/09/28 22:33:43 kamil Exp $
+@comment $NetBSD$
bin/logswan
+man/man1/logswan.1
share/doc/logswan/AUTHORS
share/doc/logswan/README.md
share/doc/logswan/THANKS
share/doc/logswan/TODO
-share/examples/logswan/logswan.json
+share/examples/logswan
diff --git a/logswan/distinfo b/logswan/distinfo
index f9abdb4..3750b81 100644
--- a/logswan/distinfo
+++ b/logswan/distinfo
@@ -1,6 +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
+SHA1 (logswan-1.03.tar.gz) = cfd8da715930a3dd83355e7985e80185780e98ae
+RMD160 (logswan-1.03.tar.gz) = 0e9ccf2c65498cd27946374e12259d38e2061310
+SHA512 (logswan-1.03.tar.gz) = 2ab46125e207b5023d0aee74779fca617b5b565e25307184d2fdc25779c0c0be6db7b4ccbd1e6a13a5db7cff96bfdf8255d3ceb4d4443c67dd1d30dcca15c1c7
+Size (logswan-1.03.tar.gz) = 16485 bytes
Home |
Main Index |
Thread Index |
Old Index