notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
jansson C library for encoding, decoding, and manipulating JSON data
2.15.1_1 devel on this many watch lists=26 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.15.1_1Version of this port present on the latest quarterly branch.
Maintainer: vanilla@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-01-30 15:52:37
Last Update: 2026-07-11 12:48:30
Commit Hash: 2978392
People watching this port, also watch:: libgcrypt, libgpg-error, expat, glib, pkg
License: MIT
WWW:
https://github.com/akheron/jansson
Description:
Jansson is a C library for encoding, decoding and manipulating JSON data. Its main features and design principles are: - Simple and intuitive API and data model - Comprehensive documentation - No dependencies on other libraries - Full Unicode support (UTF-8) - Extensive test suite
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (17 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/jansson-2.15.1_1/catalog.mk
  3. /usr/local/share/licenses/jansson-2.15.1_1/LICENSE
  4. /usr/local/share/licenses/jansson-2.15.1_1/MIT
  5. include/jansson.h
  6. include/jansson_config.h
  7. lib/cmake/jansson/janssonConfig.cmake
  8. lib/cmake/jansson/janssonConfigVersion.cmake
  9. lib/cmake/jansson/janssonTargets-release.cmake
  10. lib/cmake/jansson/janssonTargets.cmake
  11. lib/libjansson.so
  12. lib/libjansson.so.4
  13. lib/libjansson.so.4.15.1
  14. libdata/pkgconfig/jansson.pc
  15. @owner
  16. @group
  17. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • jansson>0:devel/jansson
To install the port:
cd /usr/ports/devel/jansson/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/jansson
  • pkg install jansson
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: jansson
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1783682137 SHA256 (jansson-2.15.1.tar.bz2) = f9aa4b3ec8496fee69db94f06f3d76fd4a26b012ee9bf1e917078c2cd2841881 SIZE (jansson-2.15.1.tar.bz2) = 488779

Expand this list (4 items)

Collapse this list.

SHA256 (c9e39c0154f7cdb2de6c33b8c4640a669fea0b58.patch) = c20677519c2b90c371f66467d4ce033caa3937a2eb21abae844deab92e98a1d9 SIZE (c9e39c0154f7cdb2de6c33b8c4640a669fea0b58.patch) = 608 SHA256 (fb012a005573435af7fef8d37df39c06b3c37c65.patch) = 22b26b5476f58a5d27f8faad0ba77a0890eed792790e68462e36915d3057422d SIZE (fb012a005573435af7fef8d37df39c06b3c37c65.patch) = 2122

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Test dependencies:
  1. bash>=0 : shells/bash
This port is required by:
for Build
  1. devel/hoel
  2. net/samba416
  3. net/samba419
  4. net/samba420
  5. net/samba422
  6. net/samba423
  7. www/libjwt
Expand this list (17 items / 10 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/ulfius
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. net/samba4-devel*
  2. net/samba410*
  3. net/samba411*
  4. net/samba412*
  5. net/samba413*
  6. net/samba47*
  7. net/samba48*
  8. security/iddawc*
  9. security/rhonabwy*
  10. Collapse this list of deleted ports.
for Libraries
  1. audio/cardinal
  2. audio/deadbeef
  3. audio/libcoverart
  4. databases/duckdb
  5. devel/avro-c
  6. devel/cjose
  7. devel/hoel
Expand this list (125 items / 118 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/libsearpc
  3. devel/libserdes
  4. devel/universal-ctags
  5. dns/dnsdbflex
  6. dns/dnsdbq
  7. editors/rehex
  8. games/diaspora
  9. games/ezquake
  10. games/fs2open
  11. graphics/cptutils
  12. irc/ircd-hybrid
  13. irc/unreal
  14. mail/cyrus-imapd30
  15. mail/cyrus-imapd310
  16. mail/cyrus-imapd312
  17. mail/cyrus-imapd32
  18. mail/cyrus-imapd34
  19. mail/cyrus-imapd36
  20. mail/cyrus-imapd38
  21. mail/openarc
  22. math/octave-forge-rtree
  23. math/scipoptsuite
  24. misc/iio-oscilloscope
  25. multimedia/handbrake
  26. multimedia/lebiniou
  27. multimedia/obs-studio
  28. multimedia/ustreamer
  29. net/asterisk20
  30. net/asterisk22
  31. net/dpdk
  32. net/dpdk-20.11
  33. net/fort
  34. net/freeipa-client
  35. net/gnunet
  36. net/jose
  37. net/libcapn
  38. net/mtr
  39. net/wayvnc
  40. net-im/telegram-cli
  41. net-mgmt/netxms
  42. net-mgmt/seafile-client
  43. net-mgmt/seafile-gui
  44. net-mgmt/seafile-server
  45. net-p2p/cpuminer
  46. net-p2p/datum_gateway
  47. ports-mgmt/packagekit
  48. security/certmonger
  49. security/passivedns
  50. security/sssd2
  51. security/suricata
  52. security/tang
  53. security/yara
  54. sysutils/bareos-client
  55. sysutils/bareos-server
  56. sysutils/bareos-traymonitor
  57. sysutils/bareos23-client
  58. sysutils/bareos23-server
  59. sysutils/bareos23-traymonitor
  60. sysutils/bareos24-client
  61. sysutils/bareos24-server
  62. sysutils/bareos24-traymonitor
  63. textproc/jshon
  64. www/angie-module-auth-jwt
  65. www/angie-module-jwt
  66. www/apache24
  67. www/janus
  68. www/libjwt
  69. www/libjwt3
  70. www/logswan
  71. www/mod_auth_openidc
  72. www/nghttp2
  73. www/trafficserver
  74. www/ulfius
  75. x11/nvidia-settings
  76. Collapse this list.

Deleted ports which required this port:

Expand this list of 44 deleted ports
  1. net/asterisk13*
  2. net/asterisk15*
  3. net/asterisk16*
  4. net/asterisk18*
  5. net/dpdk-22.11*
  6. net/mtr-nox11*
  7. net-im/telegram*
  8. net-mgmt/ccnet*
  9. net-mgmt/ccnet-client*
  10. net-mgmt/ccnet-server*
  11. net-mgmt/seafile*
  12. ports-mgmt/fbsdmon*
  13. security/iddawc*
  14. security/rhonabwy*
  15. security/sssd-devel*
  16. security/suricata5*
  17. sysutils/bareos-bat*
  18. sysutils/bareos-client-static*
  19. sysutils/bareos16-bat*
  20. sysutils/bareos16-client*
  21. sysutils/bareos16-client-static*
  22. sysutils/bareos16-server*
  23. sysutils/bareos16-traymonitor*
  24. sysutils/bareos17-client*
  25. sysutils/bareos17-client-static*
  26. sysutils/bareos17-server*
  27. sysutils/bareos18-client*
  28. sysutils/bareos18-server*
  29. sysutils/bareos18-traymonitor*
  30. sysutils/bareos19-client*
  31. sysutils/bareos19-server*
  32. sysutils/bareos19-traymonitor*
  33. sysutils/bareos20-client*
  34. sysutils/bareos20-server*
  35. sysutils/bareos20-traymonitor*
  36. sysutils/bareos21-client*
  37. sysutils/bareos21-server*
  38. sysutils/bareos21-traymonitor*
  39. sysutils/bareos22-client*
  40. sysutils/bareos22-server*
  41. sysutils/bareos22-traymonitor*
  42. www/glewlwyd*
  43. www/mod_md-devel*
  44. www/openarc*
  45. Collapse this list of deleted ports.
for Run
  1. devel/yder
  2. net/samba416
  3. net/samba419
  4. net/samba420
  5. net/samba422
  6. net/samba423

Deleted ports which required this port:

Expand this list of 7 deleted ports
  1. net/samba4-devel*
  2. net/samba410*
  3. net/samba411*
  4. net/samba412*
  5. net/samba413*
  6. net/samba47*
  7. net/samba48*
  8. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_jansson
USES:
cmake:testing cpe tar:bzip2 pathfix shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/akheron/jansson/releases/download/v2.15.1/
Collapse this list.

Number of commits found: 40

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.15.1_1
11 Jul 2026 12:48:30
commit hash: 29783922a8601e22f1d5ad36e132703c710d7ee8commit hash: 29783922a8601e22f1d5ad36e132703c710d7ee8commit hash: 29783922a8601e22f1d5ad36e132703c710d7ee8commit hash: 29783922a8601e22f1d5ad36e132703c710d7ee8 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
devel/jansson: Fix symbol versioning

PR:		296617
MFH:		2026Q3
Differential Revision:	https://reviews.freebsd.org/D58120
2.15.1
04 Jul 2026 05:30:39
commit hash: 3a39de4452752ff5a3821d0f7be81ef3bd7d99f6commit hash: 3a39de4452752ff5a3821d0f7be81ef3bd7d99f6commit hash: 3a39de4452752ff5a3821d0f7be81ef3bd7d99f6commit hash: 3a39de4452752ff5a3821d0f7be81ef3bd7d99f6 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/jansson: Update to 2.15.1

Changelog: https://github.com/akheron/jansson/releases/tag/v2.15.1

PR:		296470
Reviewed by:	vanilla
2.15.0
19 Feb 2026 22:48:37
commit hash: 79e861ebb6f24d773ed897f88445c1bdf067230bcommit hash: 79e861ebb6f24d773ed897f88445c1bdf067230bcommit hash: 79e861ebb6f24d773ed897f88445c1bdf067230bcommit hash: 79e861ebb6f24d773ed897f88445c1bdf067230b files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/jansson: Update to 2.15.0

Changelog: https://github.com/akheron/jansson/releases/tag/v2.15.0

PR:		292855
Reviewed by:	vanilla
2.14.1
30 Mar 2025 06:14:59
commit hash: 9460c0948359bde43a14a0b0563f2e9ea67ba0e5commit hash: 9460c0948359bde43a14a0b0563f2e9ea67ba0e5commit hash: 9460c0948359bde43a14a0b0563f2e9ea67ba0e5commit hash: 9460c0948359bde43a14a0b0563f2e9ea67ba0e5 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/jansson: Update to 2.14.1

* Switch to CMake
  Compiles faster and provides .cmake files
* Adjust port Makefile to more closely follow Porters Handbook

Changelog: https://github.com/akheron/jansson/releases/tag/v2.14.1

PR:		285743
Reviewed by:	vanilla (maintainer)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.14
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.14
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.14
12 Sep 2021 08:45:59
commit hash: a09fcddea0001e0a433be7e178dd2b934650d8facommit hash: a09fcddea0001e0a433be7e178dd2b934650d8facommit hash: a09fcddea0001e0a433be7e178dd2b934650d8facommit hash: a09fcddea0001e0a433be7e178dd2b934650d8fa files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/jansson: Update to 2.14

Remove patch
Move WWW links to GitHub repo

Changelog: https://jansson.readthedocs.io/en/latest/changes.html#version-2-14

PR:		258425
Reviewed by:	vanilla (maintainer)
Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D31913
2.13.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.13.1
18 Jun 2020 13:59:16
Revision:539540Original commit files touched by this commit
vanilla search for other commits by this committer
Update jansson to 2.31.1
Remove unnecessary(?) patches

PR:		246642
Submitted by:	daniel.engberg.lists at pyret.net
2.12
22 Apr 2020 16:04:02
Revision:532487Original commit files touched by this commit
vanilla search for other commits by this committer
Remove gmake dependency

PR:		245804
Submitted by:	daniel.engberg.lists at pyret.net
2.12
27 Nov 2018 22:50:16
Revision:486069Original commit files touched by this commit
vanilla search for other commits by this committer
Update to 2.12.
2.11
12 Feb 2018 09:03:45
Revision:461567Original commit files touched by this commit
vanilla search for other commits by this committer
Update to 2.11.
2.10
04 Mar 2017 16:36:01
Revision:435419Original commit files touched by this commit
vanilla search for other commits by this committer
Update to 2.10.
2.9
19 Sep 2016 03:54:09
Revision:422413Original commit files touched by this commit
vanilla search for other commits by this committer
Update to 2.9.
2.8
02 Sep 2016 05:17:16
Revision:421251Original commit files touched by this commit
vanilla search for other commits by this committer
Update to 2.8.
2.7_3
16 May 2016 02:25:40
Revision:415303Original commit files touched by this commit
vanilla search for other commits by this committer
Fix issue to parse large flat json files.

PR:		209492
Reported by:	yuri@rawbw.com
2.7_2
04 May 2016 06:25:13
Revision:414586Original commit files touched by this commit
vanilla search for other commits by this committer
Fix CVE-2016-4425.

PR:		209219
Submitted by:	junovitch@
2.7_1
02 Aug 2015 15:03:20
Revision:393429Original commit files touched by this commit This port version is marked as vulnerable.
tijl search for other commits by this committer
By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.7
08 May 2015 06:32:12
Revision:385731Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Add CPE info
- Add LICENSE_FILE

Approved by:	portmgr blanket
2.7
13 Oct 2014 13:36:57
Revision:370774Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 2.7.
2.6_1
23 Jun 2014 13:20:54
Revision:358938Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Switch devel/jansson to libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2.6
01 May 2014 01:31:06
Revision:352709Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
1: Upgrade jansson to 2.6.
2: bump revision due shared library version.
2.5
25 Sep 2013 01:52:29
Revision:328235Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Add gmake to USES to fix build on 8.3-RELEASE.

Submitted by:	pkg-fallout@
2.5
24 Sep 2013 22:24:50
Revision:328206Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
1: upgrade to latest version (2.5)
2: add support of stage dir.
2.4
20 Sep 2013 17:04:44
Revision:327723Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2)
02 Sep 2013 06:45:48
Revision:325945Original commit files touched by this commit Sanity Test Failure Refresh
bapt search for other commits by this committer
Eradicate USE_GNOME=pkgconfig from devel
While here:
USE_GMAKE->USES=gmake
USE_GNOME=gnomehack->USES=pathfix
USE_PERL5*->USES=perl5
2.4
19 Dec 2012 16:02:07
Revision:309245Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 2.4.
2.3.1
25 Jul 2012 06:32:08
Original commit files touched by this commit This port version is marked as vulnerable.
cs search for other commits by this committer
Fix typos in COMMENT
2.3.1
13 May 2012 15:51:49
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
- Update to 2.3.1

PR:             ports/167501
Submitted by:   Muhammad Moinur Rahman <5u623l20 at gmail.com>
2.3
15 Mar 2012 15:28:41
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
1: Upgrade jansson to 2.3.
2: bump revision of fbsdmon to chase shared library version.

Feature safe: yes
2.2.1
13 Nov 2011 00:39:22
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 2.2.1

PR:             ports/162457
Submitted by:   Zhihao Yuan <lichray.at.gmail.com>
Feature safe:   yes
2.1
11 Aug 2011 19:20:17
Original commit files touched by this commit Sanity Test Failure This port version is marked as vulnerable.
kwm search for other commits by this committer
Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:             ports/159624
Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2.1
13 Jun 2011 01:47:34
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 2.1.
2.0.1
13 Apr 2011 06:42:27
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
1: upgrade to 2.0.1
2: fix compier warnings

PR:             ports/155154 [2]
Submitted by:   darth at vader.dk [2]
2.0
01 Mar 2011 02:03:20
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 2.0.
1.3_1
18 Feb 2011 06:06:59
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Fix compiler warning.

PR:             ports/154109
Submitted by:   darth at vader.dk
Feature safe:   yes
1.3
01 Jul 2010 13:30:49
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 1.3.

Feature safe:   yes
1.2.1
04 Apr 2010 09:45:58
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Upgrade to 1.2.1.
1.2
30 Jan 2010 15:52:16
Original commit files touched by this commit This port version is marked as vulnerable.
vanilla search for other commits by this committer
Yet another JSON library in C.

Number of commits found: 40