pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/jansson



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jul  6 05:38:50 UTC 2026

Modified Files:
        pkgsrc/textproc/jansson: Makefile PLIST distinfo

Log Message:
jansson: update to 2.15.1.

Version 2.15.1
==============

Released 2026-06-30

* Fixes:

  - Include the object key or array index in unpack type mismatch error
    messages (@cwalther in #731)
  - Reject negative string length in the `json_pack` `s#` and `+#` formats
    (@akheron in #740)
  - Limit recursion depth in dump, equal and deep copy to prevent stack
    overflow (@akheron in #741)

* Build:

  - Only export symbols starting with `json_` and `jansson_` from the CMake
    build (@shyjun in #705)
  - Include `jansson_private_config.h` only if `HAVE_CONFIG_H` is enabled
    (@jaeyoonjung in #704)
  - Add a configurable pkg-config install path to the CMake build
    (@akallabeth in #721)
  - Only use `--default-symver` when the linker supports it (@kraj in #744)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/jansson/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/jansson/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/jansson/distinfo

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

Modified files:

Index: pkgsrc/textproc/jansson/Makefile
diff -u pkgsrc/textproc/jansson/Makefile:1.14 pkgsrc/textproc/jansson/Makefile:1.15
--- pkgsrc/textproc/jansson/Makefile:1.14       Sun Jan 25 23:05:24 2026
+++ pkgsrc/textproc/jansson/Makefile    Mon Jul  6 05:38:50 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2026/01/25 23:05:24 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2026/07/06 05:38:50 wiz Exp $
 
-DISTNAME=      jansson-2.15.0
+DISTNAME=      jansson-2.15.1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=akheron/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -10,13 +10,14 @@ HOMEPAGE=   https://github.com/akheron/jan
 COMMENT=       C library for encoding, decoding and manipulating JSON data
 LICENSE=       mit
 
-USE_LANGUAGES=         c99
-USE_LIBTOOL=           yes
-GNU_CONFIGURE=         yes
+USE_LANGUAGES=         c
+USE_CC_FEATURES=       c99
+CMAKE_CONFIGURE_ARGS+= -DJANSSON_BUILD_SHARED_LIBS=ON
+# needs sphinx
+CMAKE_CONFIGURE_ARGS+= -DJANSSON_BUILD_DOCS=OFF
 PKGCONFIG_OVERRIDE+=   jansson.pc.in
-# Fails a self-test because the library exports more symbols than it should.
-# It seems "libtool ... -export-symbols-regex '^json_' ..." doesn't work,
-# at least not on NetBSD-11.99.4/amd64.
 TEST_TARGET=           check
+TEST_ENV+=             LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/jansson/PLIST
diff -u pkgsrc/textproc/jansson/PLIST:1.1 pkgsrc/textproc/jansson/PLIST:1.2
--- pkgsrc/textproc/jansson/PLIST:1.1   Sat Jul 13 10:38:32 2013
+++ pkgsrc/textproc/jansson/PLIST       Mon Jul  6 05:38:50 2026
@@ -1,5 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2013/07/13 10:38:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/07/06 05:38:50 wiz Exp $
 include/jansson.h
 include/jansson_config.h
-lib/libjansson.la
+lib/cmake/jansson/janssonConfig.cmake
+lib/cmake/jansson/janssonConfigVersion.cmake
+lib/cmake/jansson/janssonTargets-noconfig.cmake
+lib/cmake/jansson/janssonTargets.cmake
+lib/libjansson.so
+lib/libjansson.so.4
+lib/libjansson.so.4.15.1
 lib/pkgconfig/jansson.pc

Index: pkgsrc/textproc/jansson/distinfo
diff -u pkgsrc/textproc/jansson/distinfo:1.12 pkgsrc/textproc/jansson/distinfo:1.13
--- pkgsrc/textproc/jansson/distinfo:1.12       Sun Jan 25 23:05:24 2026
+++ pkgsrc/textproc/jansson/distinfo    Mon Jul  6 05:38:50 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2026/01/25 23:05:24 wiz Exp $
+$NetBSD: distinfo,v 1.13 2026/07/06 05:38:50 wiz Exp $
 
-BLAKE2s (jansson-2.15.0.tar.gz) = cced25a2a1e153e4f72c3284e6f64fc9b65e6250b6d62e075beba6e4e736c5a7
-SHA512 (jansson-2.15.0.tar.gz) = 6c3d74acdf33f0c7940173e1a058c838af87f9de69f70896d246e54bbcf7e2734218b1b53bf4ddbf6b5d4b324184788f20853cc953b8397fa2c43e563ea57b1e
-Size (jansson-2.15.0.tar.gz) = 620331 bytes
+BLAKE2s (jansson-2.15.1.tar.gz) = 3da31b52e1f0df8e1ae61e4e49faabed04223f2783d926dc5a8e1e87f1070da3
+SHA512 (jansson-2.15.1.tar.gz) = cb952d51bf0b358f316f36fb925267f3ce7529ef88faca935db73923708269e21733b9682eb64d5478a6d9a3d366b34b42d9b63dd1f510537342c4cc79345740
+Size (jansson-2.15.1.tar.gz) = 623952 bytes



Home | Main Index | Thread Index | Old Index