git: b7b4ae443f9c - main - devel/clixon: Update to 5.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 17:10:06 UTC
The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7b4ae443f9cabe10c475c63eb52c63fe8e80f69 commit b7b4ae443f9cabe10c475c63eb52c63fe8e80f69 Author: Renato Botelho <garga@FreeBSD.org> AuthorDate: 2022-04-08 11:44:10 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2022-04-08 17:09:59 +0000 devel/clixon: Update to 5.6.0 Added new OPTIONS to let users to enable/disable restconf and if enabled, chose between embedded one or fcgi Approved by: Dave Cornejo <dcornejo@netgate.com> (maintainer) Sponsored by: Rubicon Communications, LLC ("Netgate") --- devel/clixon/Makefile | 40 +++++++++++++++++++++++++++---------- devel/clixon/distinfo | 6 +++--- devel/clixon/pkg-plist | 54 +++++++++++++++++++++++++++++++++----------------- 3 files changed, 68 insertions(+), 32 deletions(-) diff --git a/devel/clixon/Makefile b/devel/clixon/Makefile index a734c0f7347e..d26a8a07df23 100644 --- a/devel/clixon/Makefile +++ b/devel/clixon/Makefile @@ -1,5 +1,5 @@ PORTNAME= clixon -PORTVERSION= 4.8.0 +PORTVERSION= 5.6.0 CATEGORIES= devel MAINTAINER= dcornejo@netgate.com @@ -8,27 +8,45 @@ COMMENT= YANG-based toolchain including CLI, NETCONF and RESTCONF interfaces LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.md -LIB_DEPENDS= libcligen.so:devel/cligen \ - libfcgi.so:www/fcgi -BUILD_DEPENDS= cligen>=4.8.0:devel/cligen +#LIB_DEPENDS= libfcgi.so:www/fcgi +BUILD_DEPENDS= cligen>=5.6.0:devel/cligen \ + nghttp2>=0:www/nghttp2 +RUN_DEPENDS= cligen>=5.6.0:devel/cligen \ + nghttp2>=0:www/nghttp2 -USES= autoreconf bison compiler:c11 gmake +USES= bison compiler:c11 gmake -USE_LDCONFIG= yes USE_GITHUB= yes - GH_ACCOUNT= clicon -MAKE_ARGS= wwwdir=${PREFIX}/sbin \ - wwwuser=${WWWOWN} -GROUPS= clixon -USERS= clixon +USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${ETCDIR} \ --with-cligen=${LOCALBASE} CONFIGURE_ENV= YACC="bison -y" +MAKE_ARGS= wwwdir=${PREFIX}/sbin \ + wwwuser=${WWWOWN} SUB_FILES= pkg-message +USERS= clixon +GROUPS= clixon + +OPTIONS_DEFAULT= NATIVE +OPTIONS_SINGLE= RESTCONF +OPTIONS_SINGLE_RESTCONF= NATIVE FCGI OFF +OPTIONS_SUB= yes + +FCGI_DESC= FCGI interface for stand-alone web rev-proxy (eg nginx) +NATIVE_DESC= Use embedded web server +OFF_DESC= Disable restconf + +FCGI_LIB_DEPENDS= libfcgi.so:www/fcgi +FCGI_CONFIGURE_ON= --with-restconf=fcgi +NATIVE_BUILD_DEPENDS= nghttp2>=0:www/nghttp2 +NATIVE_RUN_DEPENDS= nghttp2>=0:www/nghttp2 +NATIVE_CONFIGURE_ON= --with-restconf=native +OFF_CONFIGURE_ON= --without-restconf + .include <bsd.port.mk> diff --git a/devel/clixon/distinfo b/devel/clixon/distinfo index bc9b7a790764..a5974f692919 100644 --- a/devel/clixon/distinfo +++ b/devel/clixon/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1606784428 -SHA256 (clicon-clixon-4.8.0_GH0.tar.gz) = 9691e1387af144e30df730c420097b12edaae87b8fcd54183160b26ac6fd07e9 -SIZE (clicon-clixon-4.8.0_GH0.tar.gz) = 1187697 +TIMESTAMP = 1649416117 +SHA256 (clicon-clixon-5.6.0_GH0.tar.gz) = 19d1847a49ffb947b492c4e535704492aabd670cc7cc431f99aeb075c79e8f59 +SIZE (clicon-clixon-5.6.0_GH0.tar.gz) = 1410229 diff --git a/devel/clixon/pkg-plist b/devel/clixon/pkg-plist index a6830fd3bb72..8d9d55700c70 100644 --- a/devel/clixon/pkg-plist +++ b/devel/clixon/pkg-plist @@ -1,14 +1,20 @@ bin/clixon_cli bin/clixon_netconf %%ETCDIR%%/clixonrc +include/clixon/cli_autocli.h +include/clixon/cli_generate.h include/clixon/clixon.h include/clixon/clixon_backend.h +include/clixon/clixon_backend_commit.h include/clixon/clixon_backend_handle.h +include/clixon/clixon_backend_plugin.h include/clixon/clixon_backend_transaction.h include/clixon/clixon_cli.h include/clixon/clixon_cli_api.h +include/clixon/clixon_client.h include/clixon/clixon_data.h include/clixon/clixon_datastore.h +include/clixon/clixon_dispatcher.h include/clixon/clixon_err.h include/clixon/clixon_err_string.h include/clixon/clixon_event.h @@ -20,15 +26,16 @@ include/clixon/clixon_log.h include/clixon/clixon_nacm.h include/clixon/clixon_netconf.h include/clixon/clixon_netconf_lib.h +include/clixon/clixon_netns.h include/clixon/clixon_options.h include/clixon/clixon_path.h include/clixon/clixon_plugin.h +include/clixon/clixon_proc.h include/clixon/clixon_proto.h include/clixon/clixon_proto_client.h include/clixon/clixon_queue.h include/clixon/clixon_regex.h -include/clixon/clixon_restconf.h -include/clixon/clixon_sha1.h +%%NO_OFF%%include/clixon/clixon_restconf.h include/clixon/clixon_sig.h include/clixon/clixon_stream.h include/clixon/clixon_string.h @@ -45,37 +52,48 @@ include/clixon/clixon_xml_vec.h include/clixon/clixon_xpath.h include/clixon/clixon_xpath_ctx.h include/clixon/clixon_xpath_optimize.h +include/clixon/clixon_xpath_yang.h include/clixon/clixon_yang.h include/clixon/clixon_yang_module.h include/clixon/clixon_yang_parse_lib.h include/clixon/clixon_yang_type.h lib/libclixon.so -lib/libclixon.so.4 -lib/libclixon.so.4.8 +lib/libclixon.so.5 +lib/libclixon.so.5.6 lib/libclixon_backend.so -lib/libclixon_backend.so.4 -lib/libclixon_backend.so.4.8 +lib/libclixon_backend.so.5 +lib/libclixon_backend.so.5.6 lib/libclixon_cli.so -lib/libclixon_cli.so.4 -lib/libclixon_cli.so.4.8 +lib/libclixon_cli.so.5 +lib/libclixon_cli.so.5.6 lib/libclixon_netconf.so -lib/libclixon_netconf.so.4 -lib/libclixon_netconf.so.4.8 -lib/libclixon_restconf.so -lib/libclixon_restconf.so.4 -lib/libclixon_restconf.so.4.8 +lib/libclixon_netconf.so.5 +lib/libclixon_netconf.so.5.6 +%%NO_OFF%%lib/libclixon_restconf.so +%%NO_OFF%%lib/libclixon_restconf.so.5 +%%NO_OFF%%lib/libclixon_restconf.so.5.6 sbin/clixon_backend -sbin/clixon_restconf -%%DATADIR%%/clixon-config@2020-10-01.yang -%%DATADIR%%/clixon-lib@2020-04-23.yang +%%NO_OFF%%sbin/clixon_restconf +%%DATADIR%%/clixon-autocli@2022-02-11.yang +%%DATADIR%%/clixon-config@2022-02-11.yang +%%DATADIR%%/clixon-lib@2021-12-05.yang +%%DATADIR%%/clixon-restconf@2021-05-20.yang %%DATADIR%%/clixon-rfc5277@2008-07-01.yang %%DATADIR%%/clixon-xml-changelog@2019-03-21.yang -%%DATADIR%%/ietf-inet-types@2013-07-15.yang +%%DATADIR%%/ietf-datastores@2018-02-14.yang +%%DATADIR%%/ietf-inet-types@2021-02-22.yang +%%DATADIR%%/ietf-list-pagination-nc@2021-10-25.yang +%%DATADIR%%/ietf-list-pagination@2021-10-25.yang %%DATADIR%%/ietf-netconf-acm@2018-02-14.yang +%%DATADIR%%/ietf-netconf-nmda@2019-01-07.yang +%%DATADIR%%/ietf-netconf-with-defaults@2011-06-01.yang %%DATADIR%%/ietf-netconf@2011-06-01.yang +%%DATADIR%%/ietf-origin@2018-02-14.yang %%DATADIR%%/ietf-restconf-monitoring@2017-01-26.yang %%DATADIR%%/ietf-restconf@2017-01-26.yang -%%DATADIR%%/ietf-yang-library@2016-06-21.yang +%%DATADIR%%/ietf-yang-library@2019-01-04.yang +%%DATADIR%%/ietf-yang-metadata@2016-08-05.yang +%%DATADIR%%/ietf-yang-patch@2017-02-22.yang %%DATADIR%%/ietf-yang-types@2013-07-15.yang @dir lib/clixon/plugins/backend @dir lib/clixon/plugins/cli