Skip to content

Commit

Permalink
devel/clixon: update to 6.4.0
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
rcmcdonald91 authored and fernape committed Oct 3, 2023
1 parent 272fb59 commit ebbe527
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 9 deletions.
5 changes: 2 additions & 3 deletions devel/clixon/Makefile
@@ -1,5 +1,5 @@
PORTNAME= clixon
PORTVERSION= 6.2.0
PORTVERSION= 6.4.0
CATEGORIES= devel

MAINTAINER= dave@dogwood.com
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
23 changes: 23 additions & 0 deletions 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
6 changes: 3 additions & 3 deletions devel/clixon/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit ebbe527

Please sign in to comment.