6.5.0develΣ=0 6.5.0Version of this port present on the latest quarterly branch.upstream: 7.9.0A newer version was found upstream by portscout, first on 2026-09-26.
CLIgen is a Command-Line Interface generator written by Olof Hagsand.
Well, actually it is not really a generator, since it does not generate code
for CLI's. Instead, it builds and interprets datastructures (a parse-tree)
which a library (libcligen) interprets in runtime. It is fast and efficient
and helps you develop CLI:s easier. You enter a CLI syntax either in a text
file, you write callback functions where you call the right library routines.
The callback functions add the semantics, that is, what the commands in the
CLI are supposed to do.
devel/cligen: update to 6.4.0
ChangeLog: https://github.com/clicon/cligen/releases/tag/6.4.0
* Changed tv parameter of time2str() from struct to a pointer.
* Removed obsolete functions pt_name_get() / pt_name_set()
Corrected Bugs
* Output pipes released in 6.3 have several minor bugfixes
* Fixed: CLI show config | display exits over mountpoints with large YANGs
* Fixed: Escaping with backslash() in variable strings cannot be done for
backslash itself
PR: 274216
Reported by: rcm@rcm.sh
Approved by: dave@dogwood.com (maintainer, MIA)
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)
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 )
devel/cligen: Update to 5.8.0
Added some macros on pkg-plist to automatically use PORTVERSION on
libraries and make upgrade process easier on future versions.
Approved by: Dave Cornejo <dcornejo@netgate.com> (maintainer)
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/cligen: fix build on GCC architectures
In file included from cligen_object.c:63:
cligen_object.h:98: error: redefinition of typedef 'parse_tree'
cligen_parsetree.h:53: error: previous declaration of 'parse_tree' was here
cligen_object.h:187: error: redefinition of typedef 'cg_obj'
cligen_parsetree.h:51: error: previous declaration of 'cg_obj' was here
devel/cligen: Move to new github namespace
cligen project moved from olofhagsand to clicon namespace
Approved by: maintainer
Sponsored by: Rubicon Communications, LLC (Netgate)
Add devel/cligen:
cligen builds and interprets datastructures (a parse-tree) which a
library (libcligen) interprets in runtime. It is fast and efficient
and helps you develop CLIs easier. You enter a CLI syntax either in
a text file, you write callback functions where you call the right
library routines.
WWW: http://cligen.se/
PR: 227663
Submitted by: Dave Cornejo <dcornejo@netgate.com>