Files
bpfire/lfs/jansson
Adolf Belka d3a4c2fc50 jansson: Update to version 2.14
- Update from 2.12 to 2.14
- Update rootfile
- Changelog
   Version 2.14 Released 2021-09-09
    * New Features:
      - Add `json_object_getn`, `json_object_setn`, `json_object_deln`, and the
        corresponding `nocheck` functions. (#520, by Maxim Zhukov)
    * Fixes:
      - Handle `sprintf` corner cases (#537, by Tobias Stoeckmann)
    * Build:
      - Symbol versioning for all exported symbols (#540, by Simon McVittie)
      - Fix compiler warnings (#555, by Kelvin Lee)
    * Documentation:
      - Small fixes (#544, #546, by @i-ky)
      - Sphinx 3 compatibility (#543, by Pierce Lopez)
   Version 2.13.1 Released 2020-05-07
    * Build:
      - Include `jansson_version_str()` and `jansson_version_cmp()` in
        shared library. (#534)
      - Include ``scripts/`` in tarball. (#535)
   Version 2.13 Released 2020-05-05
    * New Features:
      - Add `jansson_version_str()` and `jansson_version_cmp()` for runtime
        version checking (#465).
      - Add `json_object_update_new()`, `json_object_update_existing_new()`
        and `json_object_update_missing_new()` functions (#499).
      - Add `json_object_update_recursive()` (#505).
    * Build:
      - Add ``-Wno-format-truncation`` to suppress format truncation warnings (#489).
    * Bug fixes:
      - Remove ``strtod`` macro definition for MinGW (#498).
      - Add infinite loop check in `json_deep_copy()` (#490).
      - Add ``pipe`` macro definition for MinGW (#500).
      - Enhance ``JANSSON_ATTRS`` macro to support earlier C standard(C89) (#501).
      - Update version detection for sphinx-build (#502).
    * Documentation:
      - Fix typos (#483, #494).
      - Document that call the custom free function to free the return value
        of `json_dumps()` if you have a custom malloc/free (#490).
      - Add vcpkg installation instructions (#496).
      - Document that non-blocking file descriptor is not supported on
        `json_loadfd()` (#503).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-11-24 09:05:10 +00:00

81 lines
3.1 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.14
THISAPP = jansson-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 6cbfc54c2ab3b4d7284e188e185c2b0b
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)