Port details
gson Java library to convert Java Objects into JSON and back
2.15.0 devel Σ=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 2.14.0Version of this port present on the latest quarterly branch.
Maintainer: thierry@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-09 10:24:27
Last Update: 2026-12-03 23:14:23
Commit Hash: 3b20962
Also Listed In: java
License: APACHE20
WWW:
https://github.com/google/gson
Description: #
Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. There are a few open-source projects that can convert Java objects to JSON. However, most of them require that you place Java annotations in your classes; something that you can not do if you do not have access to the source-code. Most also do not fully support the use of Java Generics. Gson considers both of these as very important design goals.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (5 items)
Collapse this list.
  1. share/java/classes/gson.jar
  2. /usr/local/share/licenses/gson-2.15.0/catalog.mk
  3. /usr/local/share/licenses/gson-2.15.0/LICENSE
  4. /usr/local/share/licenses/gson-2.15.0/APACHE20
  5. share/sbom/pc/gson.pc
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gson>0:devel/gson
To install the port: #
cd /usr/ports/devel/gson/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/gson
  • pkg install gson
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gson
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1795623938 SHA256 (gson-2.15.0.jar) = 96d3dd843dc2911de01cdabcd50064cb9e860353102a0a78c96fd833d396fc7d SIZE (gson-2.15.0.jar) = 316396

Packages (timestamps in pop-ups are UTC): #
gson
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.14.02.14.0--2.14.0
FreeBSD:14:quarterly2.14.02.14.0--2.14.0
FreeBSD:15:latest2.14.02.14.0n/a-n/a
FreeBSD:15:quarterly2.14.02.14.0n/a-n/a
FreeBSD:16:latest CURRENT2.14.02.14.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies: #
  1. java : java/openjdk25
This port is required by: #
for Build #
  1. math/scilab
for Run #
  1. math/scilab

Configuration Options: #
No options to configure
Options name: #
devel_gson
USES: #
cpe java:run
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://repo1.maven.org/maven2/com/google/code/gson/gson/2.15.0/
Collapse this list.

Number of commits found: 3 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.15.0
03 Dec 2026 23:14:23
commit hash: 3b20962bb91c20158618ed2d52009ecbcd6cdfb6commit hash: 3b20962bb91c20158618ed2d52009ecbcd6cdfb6commit hash: 3b20962bb91c20158618ed2d52009ecbcd6cdfb6commit hash: 3b20962bb91c20158618ed2d52009ecbcd6cdfb6 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
devel/gson: upgrade to 2.15.0

Release notes at
	https://github.com/google/gson/releases/tag/gson-parent-2.15.0
2.14.0
26 Nov 2026 08:47:53
commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
*/*: Add CPE declaration to 617 ports

  Improve CPE coverage in the ports tree to help security scanners match
  software with vulnerability reports.

  Matched project and download URLs from port metadata against references
  in the official NVD CPE dictionary. Reviewed product identities to
  distinguish applications from related components and similarly named
  projects.

Sponsored by:	OTTRIA
Differential Revision:	https://reviews.freebsd.org/D61941
2.14.0
09 Aug 2026 10:22:31
commit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aacommit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aacommit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aacommit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aa files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
devel/gson: new port, Java library to convert Java Objects into JSON

This is a basic port, just to install a dependency used by Scilab.
It uses a pre-built jar provided by Maven.

Number of commits found: 3