pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/logswan logswan: update to 1.07. Add simple smoket...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69f8f317701f
branches:  trunk
changeset: 358582:69f8f317701f
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Feb 15 20:51:57 2017 +0000

description:
logswan: update to 1.07. Add simple smoketest.

Changes since 1.06:
    Harmonize arrays names
    Remove array of months, it's currently unused and will likely remain so
    Simplify internal JSON array and object names
    Use OpenBSD style(9) for function prototypes and declarations
    Revert back to using strtok, at least for now
    Do not use EXIT_SUCCESS and EXIT_FAILURE macros anymore
    Fix implicit function declaration rrror on NetBSD (Thanks Maya Rashish)
    Remove now useless variables initialization and unnecessary includes
    Do not add an extra new line when displaying usage or version

diffstat:

 www/logswan/Makefile |  10 +++++-----
 www/logswan/distinfo |  11 +++++------
 2 files changed, 10 insertions(+), 11 deletions(-)

diffs (42 lines):

diff -r 9eebbb8f2abf -r 69f8f317701f www/logswan/Makefile
--- a/www/logswan/Makefile      Wed Feb 15 17:36:38 2017 +0000
+++ b/www/logswan/Makefile      Wed Feb 15 20:51:57 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2017/01/12 17:53:01 maya Exp $
+# $NetBSD: Makefile,v 1.9 2017/02/15 20:51:57 maya Exp $
 
-DISTNAME=      logswan-1.06
+DISTNAME=      logswan-1.07
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fcambus/}
 
@@ -11,10 +11,10 @@
 
 USE_CMAKE=     yes
 
-# XXX drop this next version
-CFLAGS+=       -D_XOPEN_SOURCE=600
+CMAKE_ARGS+=   -DGEOIPDIR=${PREFIX}/share/GeoIP
 
-CMAKE_ARGS+=   -DGEOIPDIR=${PREFIX}/share/GeoIP
+do-test:
+       logswan ${WRKSRC}/examples/logswan.json
 
 .include "../../textproc/jansson/buildlink3.mk"
 .include "../../net/GeoIP/buildlink3.mk"
diff -r 9eebbb8f2abf -r 69f8f317701f www/logswan/distinfo
--- a/www/logswan/distinfo      Wed Feb 15 17:36:38 2017 +0000
+++ b/www/logswan/distinfo      Wed Feb 15 20:51:57 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2016/12/18 18:49:39 maya Exp $
+$NetBSD: distinfo,v 1.7 2017/02/15 20:51:57 maya Exp $
 
-SHA1 (logswan-1.06.tar.gz) = 2885b0e9ce8760fd99c3901c89bf9c7e766f322d
-RMD160 (logswan-1.06.tar.gz) = 67816fbf92747dded4618fb2dd8d9224c0a8104f
-SHA512 (logswan-1.06.tar.gz) = f9c38e267ef47816fd0c6b6dc9a4d6c145c71bf9eadd22a8dd93f6897646407c48ede1c96c73cf82ea911409ccf33b7bf8979275dd0265e5c3ee616f9654d6a6
-Size (logswan-1.06.tar.gz) = 18621 bytes
-SHA1 (patch-CMakeLists.txt) = 1933d865dd34f4ca56e244541430479177faf958
+SHA1 (logswan-1.07.tar.gz) = d12e2f480549eac8801e36600647f72cff3dd72a
+RMD160 (logswan-1.07.tar.gz) = b6a6bb17764096b1b5bdad739d0770d141aca9d1
+SHA512 (logswan-1.07.tar.gz) = c87af5cb01ee7c6d005593f64b76d1670e4182f07ed612df21d10be8e16f41ffa7a2000706a5e34391c99126f67781f5f43e38e409c44c9045316a11f69eed19
+Size (logswan-1.07.tar.gz) = 18697 bytes



Home | Main Index | Thread Index | Old Index