git: ebbe5273eba1 - main - devel/clixon: update to 6.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Oct 2023 10:51:12 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ebbe5273eba1ef829e4ff1a6bd7cfdc0ff9905ab
commit ebbe5273eba1ef829e4ff1a6bd7cfdc0ff9905ab
Author: R. Christian McDonald <rcm@rcm.sh>
AuthorDate: 2023-10-03 07:34:12 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-10-03 10:51:01 +0000
devel/clixon: update to 6.4.0
ChangeLog: https://github.com/clicon/clixon/releases/tag/6.4.0
PR: 274219
Reported by: rcm@rcm.sh
Approved by: dave@dogwood.com (maintainer, MIA)
---
devel/clixon/Makefile | 5 ++---
devel/clixon/distinfo | 6 +++---
devel/clixon/files/patch-configure.ac | 23 +++++++++++++++++++++++
devel/clixon/pkg-plist | 6 +++---
4 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/devel/clixon/Makefile b/devel/clixon/Makefile
index bb81b24be874..73c90cfa2a25 100644
--- a/devel/clixon/Makefile
+++ b/devel/clixon/Makefile
@@ -1,5 +1,5 @@
PORTNAME= clixon
-PORTVERSION= 6.2.0
+PORTVERSION= 6.4.0
CATEGORIES= devel
MAINTAINER= dave@dogwood.com
@@ -9,13 +9,12 @@ WWW= https://www.clicon.org/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-#LIB_DEPENDS= libfcgi.so:www/fcgi
BUILD_DEPENDS= cligen>=${PORTVERSION}:devel/cligen \
nghttp2>=0:www/nghttp2
RUN_DEPENDS= cligen>=${PORTVERSION}:devel/cligen \
nghttp2>=0:www/nghttp2
-USES= bison compiler:c11 gmake
+USES= autoreconf bison compiler:c11 gmake
USE_GITHUB= yes
GH_ACCOUNT= clicon
diff --git a/devel/clixon/distinfo b/devel/clixon/distinfo
index 1d8a00f0b92c..010e1408e140 100644
--- a/devel/clixon/distinfo
+++ b/devel/clixon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685985947
-SHA256 (clicon-clixon-6.2.0_GH0.tar.gz) = 91b2721c6b09b916cd261a87bfb85cff59ba95c07d13039ad006c681f6dab7c2
-SIZE (clicon-clixon-6.2.0_GH0.tar.gz) = 1731809
+TIMESTAMP = 1696258556
+SHA256 (clicon-clixon-6.4.0_GH0.tar.gz) = 0165867d25db434474001d26c122702a44f60e7f2ac017bdbd5a3cfa4a5ae6f3
+SIZE (clicon-clixon-6.4.0_GH0.tar.gz) = 1763455
diff --git a/devel/clixon/files/patch-configure.ac b/devel/clixon/files/patch-configure.ac
new file mode 100644
index 000000000000..26bb2748f5ac
--- /dev/null
+++ b/devel/clixon/files/patch-configure.ac
@@ -0,0 +1,23 @@
+--- configure.ac.orig 2023-09-25 19:29:54 UTC
++++ configure.ac
+@@ -178,6 +178,9 @@ LIBSTATIC_SUFFIX=".a"
+ # Postfix for static libs
+ LIBSTATIC_SUFFIX=".a"
+
++CPPFLAGS="-I$(eval echo ${includedir}) ${CPPFLAGS}"
++LDFLAGS="-L$(eval echo ${libdir}) ${LDFLAGS}"
++
+ # This is for cligen
+ AC_ARG_WITH([cligen], [AS_HELP_STRING([--with-cligen=dir], [Use CLIGEN installation in this dir])], [
+ CLIGEN_DIR="$withval"
+@@ -185,8 +188,8 @@ if test -n "${CLIGEN_DIR}" -a -d "${CLIGEN_DIR}"; then
+ AC_SUBST(CLIGEN_DIR)
+ if test -n "${CLIGEN_DIR}" -a -d "${CLIGEN_DIR}"; then
+ echo "Using CLIGEN here: ${CLIGEN_DIR}"
+- CPPFLAGS="-I${CLIGEN_DIR}$(eval echo ${includedir}) ${CPPFLAGS}"
+- LDFLAGS="-L${CLIGEN_DIR}$(eval echo ${libdir}) ${LDFLAGS}"
++ CPPFLAGS="-I${CLIGEN_DIR}/include ${CPPFLAGS}"
++ LDFLAGS="-L${CLIGEN_DIR}/lib ${LDFLAGS}"
+ fi
+
+ # Disable/enable yang patch
diff --git a/devel/clixon/pkg-plist b/devel/clixon/pkg-plist
index b59e1e8b3959..973a3a520dcc 100644
--- a/devel/clixon/pkg-plist
+++ b/devel/clixon/pkg-plist
@@ -77,9 +77,9 @@ lib/libclixon_cli.so.%%LIBVERSION%%
%%NO_OFF%%lib/libclixon_restconf.so.%%LIBVERSION%%
sbin/clixon_backend
%%NO_OFF%%sbin/clixon_restconf
-%%DATADIR%%/clixon-autocli@2022-02-11.yang
-%%DATADIR%%/clixon-config@2023-03-01.yang
-%%DATADIR%%/clixon-lib@2023-03-01.yang
+%%DATADIR%%/clixon-autocli@2023-09-01.yang
+%%DATADIR%%/clixon-config@2023-05-01.yang
+%%DATADIR%%/clixon-lib@2023-05-01.yang
%%DATADIR%%/clixon-restconf@2022-08-01.yang
%%DATADIR%%/clixon-rfc5277@2008-07-01.yang
%%DATADIR%%/clixon-xml-changelog@2019-03-21.yang