git: 0206d84e8e70 - main - devel/cligen: Update to 5.6.0

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Fri, 08 Apr 2022 17:10:05 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0206d84e8e706db7a81bb59e456250ebeefadeb0

commit 0206d84e8e706db7a81bb59e456250ebeefadeb0
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2022-04-08 11:42:27 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2022-04-08 17:09:58 +0000

    devel/cligen: Update to 5.6.0
    
    Approved by:    Dave Cornejo <dcornejo@netgate.com> (maintainer)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 devel/cligen/Makefile                      |  4 ++--
 devel/cligen/distinfo                      |  6 +++---
 devel/cligen/files/patch-cligen__getline.h | 20 --------------------
 devel/cligen/pkg-plist                     |  6 ++++--
 4 files changed, 9 insertions(+), 27 deletions(-)

diff --git a/devel/cligen/Makefile b/devel/cligen/Makefile
index e177b73000ff..883ed3c099ca 100644
--- a/devel/cligen/Makefile
+++ b/devel/cligen/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cligen
-PORTVERSION=	4.8.0
+PORTVERSION=	5.6.0
 CATEGORIES=	devel
 
 MAINTAINER=	dcornejo@netgate.com
@@ -13,7 +13,7 @@ USES=		bison:alias compiler:c11 gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	clicon
 
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/cligen/distinfo b/devel/cligen/distinfo
index 23b0f11c9a84..76ececd36432 100644
--- a/devel/cligen/distinfo
+++ b/devel/cligen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606783057
-SHA256 (clicon-cligen-4.8.0_GH0.tar.gz) = 6f1abefa14ccb7b9d3af5e5b28c4cbd56a8fe1631aa31730b2741a5a5f79df80
-SIZE (clicon-cligen-4.8.0_GH0.tar.gz) = 755747
+TIMESTAMP = 1649415244
+SHA256 (clicon-cligen-5.6.0_GH0.tar.gz) = fc8a295a47c752a557f779c177e50f681791bc9995518236326f625e14d56f06
+SIZE (clicon-cligen-5.6.0_GH0.tar.gz) = 781493
diff --git a/devel/cligen/files/patch-cligen__getline.h b/devel/cligen/files/patch-cligen__getline.h
deleted file mode 100644
index d3efeffb4365..000000000000
--- a/devel/cligen/files/patch-cligen__getline.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- cligen_getline.h.orig	2020-10-18 14:29:28 UTC
-+++ cligen_getline.h
-@@ -48,11 +48,11 @@ void	gl_redraw(cligen_handle h);	/* issue \n and redra
- int     gl_regfd(int, cligen_fd_cb_t *, void *);
- int     gl_unregfd(int);
- 
--int 	(*gl_in_hook)(void *, char *);
--int 	(*gl_out_hook)(void*, char *);
--int	(*gl_tab_hook)(cligen_handle, int *);
--cligen_susp_cb_t *gl_susp_hook;
--cligen_interrupt_cb_t *gl_interrupt_hook;
--int	(*gl_qmark_hook)(cligen_handle, char *);
-+extern int 	(*gl_in_hook)(void *, char *);
-+extern int 	(*gl_out_hook)(void*, char *);
-+extern int	(*gl_tab_hook)(cligen_handle, int *);
-+extern cligen_susp_cb_t *gl_susp_hook;
-+extern cligen_interrupt_cb_t *gl_interrupt_hook;
-+extern int	(*gl_qmark_hook)(cligen_handle, char *);
- 
- #endif /* CLIGEN_GETLINE_H */
diff --git a/devel/cligen/pkg-plist b/devel/cligen/pkg-plist
index 0938c17ac26f..da85e0bad60d 100644
--- a/devel/cligen/pkg-plist
+++ b/devel/cligen/pkg-plist
@@ -1,5 +1,6 @@
 include/cligen/cligen.h
 include/cligen/cligen_buf.h
+include/cligen/cligen_callback.h
 include/cligen/cligen_cv.h
 include/cligen/cligen_cvec.h
 include/cligen/cligen_expand.h
@@ -12,8 +13,9 @@ include/cligen/cligen_print.h
 include/cligen/cligen_pt_head.h
 include/cligen/cligen_read.h
 include/cligen/cligen_regex.h
+include/cligen/cligen_result.h
 include/cligen/cligen_syntax.h
 include/cligen/cligen_util.h
 lib/libcligen.so
-lib/libcligen.so.4
-lib/libcligen.so.4.8
+lib/libcligen.so.5
+lib/libcligen.so.5.6