Port details |
- jshon JSON parser for the shell
- 20180209_1 textproc =3 20180209_1Version of this port present on the latest quarterly branch.
- Maintainer: 0mp@FreeBSD.org
- 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:: oss, monit, proggy_fonts-ttf, inotify-tools
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- Library dependencies:
-
- 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
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
20180209_1 01 Oct 2024 18:56:20 |
Rene Ladan (rene) |
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 |
Baptiste Daroussin (bapt) |
MANPREFIX: eliminate usage of MANPREFIX
While here move some manpages to share/man |
20180209 17 May 2023 16:30:15 |
Muhammad Moinur Rahman (bofh) |
*/*: 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 |
Muhammad Moinur Rahman (bofh) |
textproc/jshon: Unbreak on HEAD
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
20180209 04 Oct 2021 18:39:30 |
Mateusz Piotrowski (0mp) |
textproc/jshon: Match version with MacPorts
While here, clean up the makefile a bit. |
20170302.1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
20170302.1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
20170302.1 03 Dec 2018 17:38:16 |
0mp |
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 |
tcberner |
Update textproc/jshon to 20160111.2
PR: 223280
Submitted by: kalten@gmx.at |
20131105 01 Apr 2016 14:25:18 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
20131105 15 Dec 2015 14:49:14 |
miwi |
- Update to 20131105
PR: 205224
Submitted by: Ports Fury
Approved by: mat (mentor)
Differential Revision: D4583 |
20121210_3 27 Jul 2015 19:01:11 |
bdrewery |
Drop maintainership |
20121210_3 20 Mar 2015 20:07:51 |
bdrewery |
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 |
bdrewery |
Convert my ports to the new USE_GITHUB |
20121210_3 03 Aug 2014 14:15:09 |
olgeni |
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 |
amdmi3 |
- 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 |
vanilla |
1: Upgrade jansson to 2.6.
2: bump revision due shared library version. |
20121210_1 16 Dec 2013 20:29:03 |
bdrewery |
Take maintainership |
20121210_1 16 Dec 2013 17:26:49 |
bapt |
Drop maintainership |
20121210_1 26 Sep 2013 11:37:25 |
vanilla |
bump version due jansson shlib change. |
20121210 23 Sep 2013 10:11:13 |
bapt |
Unmute installation commands
Reported by: danfe |
20121210 23 Sep 2013 06:19:19 |
bapt |
Use stage |
20121210 20 Sep 2013 23:17:32 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
20121210 05 Jul 2013 13:44:31 |
bapt |
Convert to USES=gmake |
20121210 23 Jan 2013 13:53:45 |
bapt |
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/ |