notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Current status

The server has been repaired, with a new power supply, for $23. I am waiting for lower COVID rates before visiting the datacenter to return it.
User login/updates are disabled as part of transition to git. Read details in our recent bog post - this is the old server.
Port details
nlohmann-json JSON library for Modern C++
3.9.1_2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.9.1_2Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-03-29 00:28:30
Last Update: 2020-09-25 22:44:47
SVN Revision: 550086
License: MIT
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (47 items)
Collapse this list.
  1. /usr/local/share/licenses/nlohmann-json-3.9.1_2/catalog.mk
  2. /usr/local/share/licenses/nlohmann-json-3.9.1_2/LICENSE
  3. /usr/local/share/licenses/nlohmann-json-3.9.1_2/MIT
  4. include/nlohmann/adl_serializer.hpp
  5. include/nlohmann/byte_container_with_subtype.hpp
  6. include/nlohmann/detail/conversions/from_json.hpp
  7. include/nlohmann/detail/conversions/to_chars.hpp
  8. include/nlohmann/detail/conversions/to_json.hpp
  9. include/nlohmann/detail/exceptions.hpp
  10. include/nlohmann/detail/hash.hpp
  11. include/nlohmann/detail/input/binary_reader.hpp
  12. include/nlohmann/detail/input/input_adapters.hpp
  13. include/nlohmann/detail/input/json_sax.hpp
  14. include/nlohmann/detail/input/lexer.hpp
  15. include/nlohmann/detail/input/parser.hpp
  16. include/nlohmann/detail/input/position_t.hpp
  17. include/nlohmann/detail/iterators/internal_iterator.hpp
  18. include/nlohmann/detail/iterators/iter_impl.hpp
  19. include/nlohmann/detail/iterators/iteration_proxy.hpp
  20. include/nlohmann/detail/iterators/iterator_traits.hpp
  21. include/nlohmann/detail/iterators/json_reverse_iterator.hpp
  22. include/nlohmann/detail/iterators/primitive_iterator.hpp
  23. include/nlohmann/detail/json_pointer.hpp
  24. include/nlohmann/detail/json_ref.hpp
  25. include/nlohmann/detail/macro_scope.hpp
  26. include/nlohmann/detail/macro_unscope.hpp
  27. include/nlohmann/detail/meta/cpp_future.hpp
  28. include/nlohmann/detail/meta/detected.hpp
  29. include/nlohmann/detail/meta/is_sax.hpp
  30. include/nlohmann/detail/meta/type_traits.hpp
  31. include/nlohmann/detail/meta/void_t.hpp
  32. include/nlohmann/detail/output/binary_writer.hpp
  33. include/nlohmann/detail/output/output_adapters.hpp
  34. include/nlohmann/detail/output/serializer.hpp
  35. include/nlohmann/detail/value_t.hpp
  36. include/nlohmann/json.hpp
  37. include/nlohmann/json_fwd.hpp
  38. include/nlohmann/ordered_map.hpp
  39. include/nlohmann/thirdparty/hedley/hedley.hpp
  40. include/nlohmann/thirdparty/hedley/hedley_undef.hpp
  41. lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
  42. lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
  43. lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
  44. libdata/pkgconfig/nlohmann_json.pc
  45. @owner
  46. @group
  47. @mode
Collapse this list.
Dependency lines:
  • nlohmann-json>0:devel/nlohmann-json
To install the port: cd /usr/ports/devel/nlohmann-json/ && make install clean
To add the package: pkg install nlohmann-json
PKGNAME: nlohmann-json
Flavors: there is no flavor information for this port.
distinfo:
Packages: (move your mouse over the cells for more information)
nlohmann-json
ABIlatestquarterly
FreeBSD:11:aarch643.1.2_13.8.0
FreeBSD:11:amd643.9.1_23.9.1_2
FreeBSD:11:armv6-3.8.0
FreeBSD:11:i3863.9.1_23.9.1_2
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch643.1.2_13.9.1_2
FreeBSD:12:amd643.9.1_23.9.1_2
FreeBSD:12:armv63.1.2_13.9.1_2
FreeBSD:12:armv73.1.2_13.9.1_2
FreeBSD:12:i3863.9.1_23.9.1_2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-3.9.1_2
FreeBSD:13:aarch643.9.1_23.9.1_2
FreeBSD:13:amd643.9.1_23.9.1_2
FreeBSD:13:armv63.9.1_23.9.1_2
FreeBSD:13:armv73.9.1_23.9.1_2
FreeBSD:13:i3863.9.1_23.9.1_2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.9.1_23.9.1_2
FreeBSD:14:aarch643.9.1_2-
FreeBSD:14:amd643.9.1_2-
FreeBSD:14:armv63.9.1_2-
FreeBSD:14:armv73.9.1_2-
FreeBSD:14:i3863.9.1_2-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc643.9.1_2-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
This port is required by:
for Build
  1. cad/ifcopenshell
  2. devel/google-cloud-cpp
  3. devel/xeus
  4. devel/xeus-cling
  5. devel/xtl-quant-stack
  6. editors/imhex
  7. emulators/yuzu
Expand this list (18 items / 11 hidden)
    Collapse this list.
  1. emulators/yuzu-qt5
  2. games/openrct2
  3. math/pdal
  4. math/xtensor
  5. misc/nn-insight
  6. multimedia/obs-streamfx
  7. net-im/mtxclient
  8. net-im/nheko
  9. science/thermofun
  10. science/vipster
  11. x11/nwg-launchers
  12. Collapse this list.
for Run
  1. devel/xtl-quant-stack
  2. math/xtensor

Configuration Options

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/nlohmann/json/tar.gz/v3.9.1?dummy=/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
25 Sep 2020 21:44:47
Original commit files touched by this commit  3.9.1_2
Revision:550086
0mp search for other commits by this committer
devel/nlohmann-json: Install all the headers

It turns out that it is necessary to ship all the headers if the
JSON_MultipleHeaders option was used for building. Otherwise, even the most
popular header, json.hpp, no longer works correctly.

PR:		249895
Approved by:	yuri@ (maintainer)
25 Sep 2020 21:18:30
Original commit files touched by this commit  3.9.1_1
Revision:550083
0mp search for other commits by this committer
devel/nlohmann-json: Install include/nlohmann/json_fwd.hpp

This header file is required by future versions of sysutils/nix.

In order to get that header installed, the JSON_MultipleHeaders option had
to be enable. This option results in the build system installing a lot of
other header files as well. As there is no need to ship those other headers
at the moment, let's delete them in post-install.

PR:		249895
Approved by:	yuri@ (maintainer)
07 Aug 2020 05:42:17
Original commit files touched by this commit  3.9.1
Revision:544314
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.9.0 -> 3.9.1

Changelog: https://github.com/nlohmann/json/releases/tag/v3.9.1
28 Jul 2020 05:22:31
Original commit files touched by this commit  3.9.0
Revision:543573
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.8.0 -> 3.9.0

Reported by:	portscout
15 Jun 2020 16:32:59
Original commit files touched by this commit  3.8.0
Revision:538919
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.7.3 -> 3.8.0

Reported by:	portscout
18 Nov 2019 07:24:31
Original commit files touched by this commit  3.7.3
Revision:517859
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.7.0 -> 3.7.3

Reported by:	portscout
08 Aug 2019 17:58:44
Original commit files touched by this commit  3.7.0
Revision:508398
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.3.0 -> 3.7.0

Maintainer reset due to 3 consecutive timeouts on this port.

PR:		233486
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout 8+ months)
26 Jul 2019 20:46:57
Original commit files touched by this commit  3.3.0_2
Revision:507372
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
25 Dec 2018 20:25:40
Original commit files touched by this commit  3.3.0_1
Revision:488341
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
12 Dec 2018 01:35:36
Original commit files touched by this commit  3.3.0_1
Revision:487272
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
23 Nov 2018 21:11:54
Original commit files touched by this commit  3.3.0
Revision:485707
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.1.2 -> 3.3.0

PR:		232755
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout; 27 days)
14 Aug 2018 21:48:01
Original commit files touched by this commit  3.1.2_1
Revision:477206
jbeich search for other commits by this committer
devel/nlohmann-json: unbreak consumers with libc++ 7

In file included from test/src/unit-conversions.cpp:32:
single_include/nlohmann/json.hpp:1201:9: error: static_assert failed "could not
find from_json() method in T's namespace"
        static_assert(sizeof(BasicJsonType) == 0,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~
single_include/nlohmann/json.hpp:1216:16: note: in instantiation of function
template specialization
'nlohmann::detail::from_json_fn::call<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double,
std::allocator, adl_serializer>, std::__1::basic_string_view<char,
std::__1::char_traits<char> > >' requested here
        return call(j, val, priority_tag<1> {});
               ^
single_include/nlohmann/json.hpp:9660:9: note: in instantiation of function
template specialization
'nlohmann::detail::from_json_fn::operator()<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double,
std::allocator, adl_serializer>, std::__1::basic_string_view<char,
std::__1::char_traits<char> > >' requested here
        ::nlohmann::from_json(std::forward<BasicJsonType>(j), val);
        ^
single_include/nlohmann/json.hpp:12181:36: note: in instantiation of function
template specialization
'nlohmann::adl_serializer<std::__1::basic_string_view<char,
std::__1::char_traits<char> >, void>::from_json<const
nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool,
long, unsigned long, double, std::allocator, adl_serializer> &,
std::__1::basic_string_view<char, std::__1::char_traits<char> > >' requested
here
        JSONSerializer<ValueType>::from_json(*this, ret);
                                   ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Jul 2018 22:18:46
Original commit files touched by this commit  3.1.2_1
Revision:475857
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
17 May 2018 15:37:34
Original commit files touched by this commit  3.1.2
Revision:470225
yuri search for other commits by this committer
devel/nlohmann-json: Update 2.1.1 -> 3.1.2

Port changes:
* Change to DISTVERSION
* Change license to MIT (it changed?)
* Sort USES
* Preserve the cmake file location set in CMakeLists.txt
* Remove the TEST option, because it can be tested without such option.
* Add the do-test target that builds tests and tests in one step

PR:		227145
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout; 48 days)
10 Sep 2017 20:55:39
Original commit files touched by this commit  2.1.1_1
Revision:449591
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
07 Apr 2017 18:01:07
Original commit files touched by this commit  2.1.1
Revision:437949
grembo search for other commits by this committer
Fix version string, improve package naming

Also removed PORTREVISION, as pkg version -t v2.1.1_1 2.1.1 results in "<"

Reported by:	mat
01 Apr 2017 15:23:32
Original commit files touched by this commit  v2.1.1_1
Revision:437439
gerald search for other commits by this committer
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
29 Mar 2017 00:28:20
Original commit files touched by this commit  v2.1.1
Revision:437178
grembo search for other commits by this committer
Add nlohmann-json v2.1.1, JSON library for Modern C++.

PR:		215098
Submitted by:	Viacheslav Mikerov <SlavaMikerov@gmail.com>

Number of commits found: 18

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
Security Policy
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
samba411Mar 28
samba412Mar 28
samba413Mar 28
linux-c7-nettleMar 27
nettleMar 27
opensslMar 26
spamassassinMar 24
giteaMar 23
giteaMar 21
dnsmasqMar 18
dnsmasq-develMar 18
gitlab-ceMar 18
minioMar 17
chromiumMar 16
libresslMar 16

12 vulnerabilities affecting 72 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2021-03-28 22:40:29


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 42809
Broken 73
Deprecated 286
Ignore 313
Forbidden 4
Restricted 137
No CDROM 71
Vulnerable 22
Expired 114
Set to expire 262
Interactive 0
new 24 hours 0
new 48 hours0
new 7 days0
new fortnight6
new month79

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2021 Dan Langille. All rights reserved.