#usr/lib/cmake/json-c/json-c-targets.cmake
#usr/lib/libjson-c.so
usr/lib/libjson-c.so.5
-usr/lib/libjson-c.so.5.4.0
+usr/lib/libjson-c.so.5.5.0
#usr/lib/pkgconfig/json-c.pc
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2026 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 0.18
+VER = 0.19
THISAPP = json-c-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = d39bab289976cb2f76bcf3ad8254f7f5b4d11e2aa4dedebd60dc7d131a3f6ec57beacdc575aeeb191cf449d16c549d424172e78464731eeb66305f47f72371c2
+$(DL_FILE)_BLAKE2 = 9d0d96520f6c3f8708d2ff3dd98de49b34982b88e8b3eecd5bb706a2fbca0dd79b23a40b4e30efb6162dd96ffaf986580814826627dda4719e61b727402911c7
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/json-c-0.18_allow_build_with_cmake_4.0.0.patch
cd $(DIR_APP) && mkdir -pv build
cd $(DIR_APP)/build && cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
+++ /dev/null
---- json-c-0.18/apps/CMakeLists.txt.orig 2024-09-15 18:15:01.000000000 +0200
-+++ json-c-0.18/apps/CMakeLists.txt 2025-05-06 19:08:35.807635404 +0200
-@@ -1,5 +1,5 @@
-
--cmake_minimum_required(VERSION 2.8) # see ../CMakeLists.txt for why 2.8
-+cmake_minimum_required(VERSION 3.9...3.12)
-
- if(POLICY CMP0075)
- cmake_policy(SET CMP0075 NEW)