Port details
jshon JSON parser for the shell
20180209_1 textproc Σ=1 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 20180209_1Version of this port present on the latest quarterly branch.
Maintainer: 0mp@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-01-23 13:53:55
Last Update: 2024-10-01 18:56:20
Commit Hash: 4485bd8
People watching this port, also watch: netpbm, mc, maelstrom, symlinks, expect
License: MIT
WWW:
http://kmkeen.com/jshon/
Description: #
Jshon parses, reads and creates JSON. It is designed to be as usable as possible from within the shell and replaces fragile ad hoc parsers made from grep/sed/awk as well as heavyweight one-line parsers made from perl/python. Jshon loads JSON text from stdin, performs actions, then displays the last action on stdout. Some of the options output JSON, others output plain text meta information. Because Bash has very poor nested data structures, Jshon does not try to return a native bash data structure as a typical library would. Instead, Jshon provides a history stack containing all the manipulations. The big change in the latest release is switching the everything from pass-by-value to pass-by-reference. In a typical use case (processing AUR search results for 'python') by-ref is twice as fast and uses one sixth the memory. If you are editing JSON, by-ref also makes your life a lot easier as modifications do not need to be manually inserted through the entire stack.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (6 items)
Collapse this list.
  1. bin/jshon
  2. share/man/man1/jshon.1.gz
  3. share/zsh/site-functions/jshon_zsh_completion
  4. /usr/local/share/licenses/jshon-20180209_1/catalog.mk
  5. /usr/local/share/licenses/jshon-20180209_1/LICENSE
  6. /usr/local/share/licenses/jshon-20180209_1/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • jshon>0:textproc/jshon
To install the port: #
cd /usr/ports/textproc/jshon/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/jshon
  • pkg install jshon
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: jshon
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1633351648 SHA256 (keenerd-jshon-20180209-d919aea_GH0.tar.gz) = a14521b9a0bf06e48949d6bd233403b754a8ac47b08f37244e589c34d8a4db0f SIZE (keenerd-jshon-20180209-d919aea_GH0.tar.gz) = 14126

Packages (timestamps in pop-ups are UTC): #
jshon
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest20180209_120180209_1-20180209_120180209_1
FreeBSD:14:quarterly20180209_120180209_1-20180209_120180209_1
FreeBSD:15:latest20180209_120180209_1n/a20180209_1n/a
FreeBSD:15:quarterly20180209_120180209_1n/a-n/a
FreeBSD:16:latest CURRENT20180209_120180209_1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gmake>=4.4.1 : devel/gmake
Library dependencies: #
  1. libjansson.so : devel/jansson
There are no ports dependent upon this port #

Configuration Options: #
===> The following configuration options are available for jshon-20180209_1: ZSH=on: Install programmable completions for zsh ===> Use 'make config' to modify these settings
Options name: #
textproc_jshon
USES: #
gmake localbase:ldflags
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/keenerd/jshon/tar.gz/d919aea?dummy=/
Collapse this list.

Number of commits found: 27 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20180209_1
01 Oct 2024 18:56:20
commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: drop support for expired FreeBSD 14.0

Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
20180209_1
11 Jan 2024 13:59:36
commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MANPREFIX: eliminate usage of MANPREFIX

While here move some manpages to share/man
20180209
17 May 2023 16:30:15
commit hash: 9b178ffd7e2fd77fecb8c80d22f7c80bc9e93977commit hash: 9b178ffd7e2fd77fecb8c80d22f7c80bc9e93977commit hash: 9b178ffd7e2fd77fecb8c80d22f7c80bc9e93977commit hash: 9b178ffd7e2fd77fecb8c80d22f7c80bc9e93977 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: llvm15 build fixes

llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.

Approved by:	portmgr (blanket)
20180209
13 May 2023 14:24:17
commit hash: 764d261d105e33cda5b486e7ad8d7ce957430320commit hash: 764d261d105e33cda5b486e7ad8d7ce957430320commit hash: 764d261d105e33cda5b486e7ad8d7ce957430320commit hash: 764d261d105e33cda5b486e7ad8d7ce957430320 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
textproc/jshon: Unbreak on HEAD

Approved by:	portmgr (blanket)
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)
20180209
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)
20180209
04 Oct 2021 18:39:30
commit hash: cdc9311a8b96c3d4050a027e63d1528098b379aecommit hash: cdc9311a8b96c3d4050a027e63d1528098b379aecommit hash: cdc9311a8b96c3d4050a027e63d1528098b379aecommit hash: cdc9311a8b96c3d4050a027e63d1528098b379ae files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
textproc/jshon: Match version with MacPorts

While here, clean up the makefile a bit.
20170302.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
20170302.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.
20170302.1
03 Dec 2018 17:38:16
Revision:486525commit hash: bf6ac4b88b124e5269337e0e2942db3acc1301f6commit hash: bf6ac4b88b124e5269337e0e2942db3acc1301f6commit hash: bf6ac4b88b124e5269337e0e2942db3acc1301f6commit hash: bf6ac4b88b124e5269337e0e2942db3acc1301f6Original commit files touched by this commit
0mp search for other commits by this committer
textproc/jshon: Update to 20170302.1

- Take over MAINTAINER'ship.
- Sort variables.
- Remove the COMMIT_HASH variable. Use only GH_TAGNAME instead.
- Add ZSH to OPTIONS_DEFAULT as suggested by the handbook.
- Do not strip in post-install since INSTALL_PROGRAM is already used in
  do-install.
- Improve pkg-descr.

Reviewed by:	krion
Approved by:	krion (mentor)
Differential Revision:	https://reviews.freebsd.org/D18422
20160111.2
28 Oct 2017 05:56:55
Revision:453046commit hash: 81babc4b1825bb99c5cd6ab08db6e004d00d9751commit hash: 81babc4b1825bb99c5cd6ab08db6e004d00d9751commit hash: 81babc4b1825bb99c5cd6ab08db6e004d00d9751commit hash: 81babc4b1825bb99c5cd6ab08db6e004d00d9751Original commit files touched by this commit
tcberner search for other commits by this committer
Update textproc/jshon to 20160111.2

PR:		223280
Submitted by:	kalten@gmx.at
20131105
01 Apr 2016 14:25:18
Revision:412349commit hash: 597afc47baba19000afd8ec4880a2c47975b0367commit hash: 597afc47baba19000afd8ec4880a2c47975b0367commit hash: 597afc47baba19000afd8ec4880a2c47975b0367commit hash: 597afc47baba19000afd8ec4880a2c47975b0367Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
20131105
15 Dec 2015 14:49:14
Revision:403782commit hash: 7341121d11518b71dfc9c4455a73e0851d92ad6ecommit hash: 7341121d11518b71dfc9c4455a73e0851d92ad6ecommit hash: 7341121d11518b71dfc9c4455a73e0851d92ad6ecommit hash: 7341121d11518b71dfc9c4455a73e0851d92ad6eOriginal commit files touched by this commit
miwi search for other commits by this committer
- Update to 20131105

PR:		205224
Submitted by:	Ports Fury
Approved by:	mat (mentor)
Differential Revision:	D4583
20121210_3
27 Jul 2015 19:01:11
Revision:393009commit hash: 0e306e030758c2cf310eb2e4a21becd52d581900commit hash: 0e306e030758c2cf310eb2e4a21becd52d581900commit hash: 0e306e030758c2cf310eb2e4a21becd52d581900commit hash: 0e306e030758c2cf310eb2e4a21becd52d581900Original commit files touched by this commit
bdrewery search for other commits by this committer
Drop maintainership
20121210_3
20 Mar 2015 20:07:51
Revision:381777commit hash: 37a1520519ee83036c46ea4a7bef0737f7af41aacommit hash: 37a1520519ee83036c46ea4a7bef0737f7af41aacommit hash: 37a1520519ee83036c46ea4a7bef0737f7af41aacommit hash: 37a1520519ee83036c46ea4a7bef0737f7af41aaOriginal commit files touched by this commit
bdrewery search for other commits by this committer
For the new USE_GITHUB with only GH_TAGNAME set default DISTNAME to
include GH_PROJECT/GH_ACCOUNT/GH_TAGNAME. This prevents the distfile
having the same name despite changing one of these values and causing
a bad checksum.

Differential Revision:	https://reviews.freebsd.org/D2103
Reviewed by:	mat
With hat:	bdrewery
20121210_3
20 Mar 2015 01:42:37
Revision:381704commit hash: 511fe251f8b24d64a54153df677c3f41360d78a8commit hash: 511fe251f8b24d64a54153df677c3f41360d78a8commit hash: 511fe251f8b24d64a54153df677c3f41360d78a8commit hash: 511fe251f8b24d64a54153df677c3f41360d78a8Original commit files touched by this commit
bdrewery search for other commits by this committer
Convert my ports to the new USE_GITHUB
20121210_3
03 Aug 2014 14:15:09
Revision:363904commit hash: 22d7896c1731a371a072a9f3254f9f770ba01b97commit hash: 22d7896c1731a371a072a9f3254f9f770ba01b97commit hash: 22d7896c1731a371a072a9f3254f9f770ba01b97commit hash: 22d7896c1731a371a072a9f3254f9f770ba01b97Original commit files touched by this commit
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories T-V.

CR:		D509
Approved by:	portmgr (antoine)
20121210_3
23 Jun 2014 13:20:54
Revision:358938commit hash: 275c65d7c3a1b287f8b4b94c5982ed04d134c9cfcommit hash: 275c65d7c3a1b287f8b4b94c5982ed04d134c9cfcommit hash: 275c65d7c3a1b287f8b4b94c5982ed04d134c9cfcommit hash: 275c65d7c3a1b287f8b4b94c5982ed04d134c9cfOriginal commit files touched by this commit
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
20121210_2
01 May 2014 01:31:06
Revision:352709commit hash: b3b7323d8ef412f19e96f476f048c4f46aa36babcommit hash: b3b7323d8ef412f19e96f476f048c4f46aa36babcommit hash: b3b7323d8ef412f19e96f476f048c4f46aa36babcommit hash: b3b7323d8ef412f19e96f476f048c4f46aa36babOriginal commit files touched by this commit
vanilla search for other commits by this committer
1: Upgrade jansson to 2.6.
2: bump revision due shared library version.
20121210_1
16 Dec 2013 20:29:03
Revision:336661commit hash: ca91f2a53c2411a32747141fbe88f8815fb64baacommit hash: ca91f2a53c2411a32747141fbe88f8815fb64baacommit hash: ca91f2a53c2411a32747141fbe88f8815fb64baacommit hash: ca91f2a53c2411a32747141fbe88f8815fb64baaOriginal commit files touched by this commit
bdrewery search for other commits by this committer
Take maintainership
20121210_1
16 Dec 2013 17:26:49
Revision:336648commit hash: 4ceae583cc5816ee9c334c3fbc5f819b4d44e4f9commit hash: 4ceae583cc5816ee9c334c3fbc5f819b4d44e4f9commit hash: 4ceae583cc5816ee9c334c3fbc5f819b4d44e4f9commit hash: 4ceae583cc5816ee9c334c3fbc5f819b4d44e4f9Original commit files touched by this commit
bapt search for other commits by this committer
Drop maintainership
20121210_1
26 Sep 2013 11:37:25
Revision:328349commit hash: c74a310db691b158c3b546e88925bcb5e5111548commit hash: c74a310db691b158c3b546e88925bcb5e5111548commit hash: c74a310db691b158c3b546e88925bcb5e5111548commit hash: c74a310db691b158c3b546e88925bcb5e5111548Original commit files touched by this commit
vanilla search for other commits by this committer
bump version due jansson shlib change.
20121210
23 Sep 2013 10:11:13
Revision:327963commit hash: 40fbb56016415c9e6a8d4317c5a8b3578ff8a148commit hash: 40fbb56016415c9e6a8d4317c5a8b3578ff8a148commit hash: 40fbb56016415c9e6a8d4317c5a8b3578ff8a148commit hash: 40fbb56016415c9e6a8d4317c5a8b3578ff8a148Original commit files touched by this commit
bapt search for other commits by this committer
Unmute installation commands

Reported by:	danfe
20121210
23 Sep 2013 06:19:19
Revision:327936commit hash: 12b275bb72e12cc3a0b69058e3b58b9999dc36f2commit hash: 12b275bb72e12cc3a0b69058e3b58b9999dc36f2commit hash: 12b275bb72e12cc3a0b69058e3b58b9999dc36f2commit hash: 12b275bb72e12cc3a0b69058e3b58b9999dc36f2Original commit files touched by this commit
bapt search for other commits by this committer
Use stage
20121210
20 Sep 2013 23:17:32
Revision:327773commit hash: 0068f2d47fabca8b05218243fb099000a6413c86commit hash: 0068f2d47fabca8b05218243fb099000a6413c86commit hash: 0068f2d47fabca8b05218243fb099000a6413c86commit hash: 0068f2d47fabca8b05218243fb099000a6413c86Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
20121210
05 Jul 2013 13:44:31
Revision:322325commit hash: 6151b40b59c5db815c5ece27fc485acdac899308commit hash: 6151b40b59c5db815c5ece27fc485acdac899308commit hash: 6151b40b59c5db815c5ece27fc485acdac899308commit hash: 6151b40b59c5db815c5ece27fc485acdac899308Original commit files touched by this commit
bapt search for other commits by this committer
Convert to USES=gmake
20121210
23 Jan 2013 13:53:45
Revision:310867commit hash: b7d57b373b1e9de553bda92739d105052f598410commit hash: b7d57b373b1e9de553bda92739d105052f598410commit hash: b7d57b373b1e9de553bda92739d105052f598410commit hash: b7d57b373b1e9de553bda92739d105052f598410Original commit files touched by this commit
bapt search for other commits by this committer
jshon parses, reads and creates JSON. It is designed to be as usable as possible
from within the shell and replaces fragile adhoc parsers made from grep/sed/awk
as well as heavyweight one-line parsers made from perl/python.

WWW: http://kmkeen.com/jshon/

Number of commits found: 27