Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 19:03:14 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468289 - in head/devel: . clixon clixon/files
Message-ID:  <201804251903.w3PJ3ECM019394@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Wed Apr 25 19:03:14 2018
New Revision: 468289
URL: https://svnweb.freebsd.org/changeset/ports/468289

Log:
  Clixon is a CLI/network interfaced configuration database tool
  
  Using Clixon you can create CLI, RESTCONF, and NETCONF interfaces to manage a
  configuration database. It also provides the mechanism to validate and configure
  system components.
  
  WWW: http://www.clicon.org/
  
  PR:		227681
  Submitted by:	dcornejo@netgate.com
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Added:
  head/devel/clixon/
  head/devel/clixon/Makefile   (contents, props changed)
  head/devel/clixon/distinfo   (contents, props changed)
  head/devel/clixon/files/
  head/devel/clixon/files/patch-apps_netconf_Makefile.in   (contents, props changed)
  head/devel/clixon/files/patch-apps_restconf_Makefile.in   (contents, props changed)
  head/devel/clixon/pkg-descr   (contents, props changed)
  head/devel/clixon/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Apr 25 18:40:14 2018	(r468288)
+++ head/devel/Makefile	Wed Apr 25 19:03:14 2018	(r468289)
@@ -314,6 +314,7 @@
     SUBDIR += cligen
     SUBDIR += clinfo
     SUBDIR += clisp-hyperspec
+    SUBDIR += clixon
     SUBDIR += clojure-cider
     SUBDIR += cloudabi
     SUBDIR += cloudabi-toolchain

Added: head/devel/clixon/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clixon/Makefile	Wed Apr 25 19:03:14 2018	(r468289)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	clixon
+DISTVERSION=	3.6.0.b.20180424
+CATEGORIES=	devel
+
+MAINTAINER=	dcornejo@netgate.com
+COMMENT=	CLIgen is a Command-Line Interface generator
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libcligen.so:devel/cligen \
+		libfcgi.so:www/fcgi
+
+USES=		gmake
+
+USE_LDCONFIG=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	clicon
+GH_TAGNAME=	d57a6cf53cdda4a3e5da122eb34de5ce069676f0
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-cligen=${LOCALBASE} --sysconfdir=${ETCDIR}
+
+MAKE_JOBS_UNSAFE=yes
+
+.include <bsd.port.mk>

Added: head/devel/clixon/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clixon/distinfo	Wed Apr 25 19:03:14 2018	(r468289)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1524681931
+SHA256 (clicon-clixon-3.6.0.b.20180424-d57a6cf53cdda4a3e5da122eb34de5ce069676f0_GH0.tar.gz) = 3985436b89f0e1547ac8d49b277877a1cd5b4001bc2fbca14ffc217d81dcdca9
+SIZE (clicon-clixon-3.6.0.b.20180424-d57a6cf53cdda4a3e5da122eb34de5ce069676f0_GH0.tar.gz) = 697630

Added: head/devel/clixon/files/patch-apps_netconf_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clixon/files/patch-apps_netconf_Makefile.in	Wed Apr 25 19:03:14 2018	(r468289)
@@ -0,0 +1,11 @@
+--- apps/netconf/Makefile.in.orig	2018-04-15 09:53:12 UTC
++++ apps/netconf/Makefile.in
+@@ -44,7 +44,7 @@ bindir 		= @bindir@
+ libdir		= @libdir@
+ mandir		= @mandir@
+ libexecdir	= @libexecdir@
+-wwwdir  	= /www-data
++wwwdir  	= @prefix@/sbin
+ localstatedir	= @localstatedir@
+ sysconfdir	= @sysconfdir@
+ includedir	= @includedir@

Added: head/devel/clixon/files/patch-apps_restconf_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clixon/files/patch-apps_restconf_Makefile.in	Wed Apr 25 19:03:14 2018	(r468289)
@@ -0,0 +1,30 @@
+--- apps/restconf/Makefile.in.orig	2018-04-24 15:43:19 UTC
++++ apps/restconf/Makefile.in
+@@ -44,7 +44,7 @@ bindir 		= @bindir@
+ libdir		= @libdir@
+ mandir		= @mandir@
+ libexecdir	= @libexecdir@
+-wwwdir  	= /www-data
++wwwdir  	= @sbindir@
+ localstatedir	= @localstatedir@
+ sysconfdir	= @sysconfdir@
+ includedir	= @includedir@
+@@ -101,14 +101,14 @@ install:	install-lib $(APPL)
+ 	install -m 0755 -s $(APPL) $(DESTDIR)$(wwwdir)
+ 
+ install-lib: $(MYLIB)
+-	install -d $(DESTDIR)$(libdir) 
+-	install $(MYLIB) $(DESTDIR)$(libdir) 
++	install -d -m 0755 $(DESTDIR)$(libdir) 
++	install -m 0644 -s $(MYLIB) $(DESTDIR)$(libdir) 
+ 	ln -sf $(MYLIB) $(DESTDIR)$(libdir)/$(MYLIBSO)     # -l:libclixon_restconf.so.2
+ 	ln -sf $(MYLIBSO) $(DESTDIR)$(libdir)/$(MYLIBLINK) # -l:libclixon_restconf.so
+ 
+ install-include:	clixon_restconf.h
+-	install -d $(DESTDIR)$(includedir)/clixon
+-	install -m 644 $^ $(DESTDIR)$(includedir)/clixon
++	install -d -m 0755 $(DESTDIR)$(includedir)/clixon
++	install -m 0644 $^ $(DESTDIR)$(includedir)/clixon
+ 
+ uninstall:
+ 	rm -f $(DESTDIR)$(wwwdir)/$(APPL)

Added: head/devel/clixon/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clixon/pkg-descr	Wed Apr 25 19:03:14 2018	(r468289)
@@ -0,0 +1,7 @@
+Clixon is a CLI/network interfaced configuration database tool
+
+Using Clixon you can create CLI, RESTCONF, and NETCONF interfaces to manage a
+configuration database. It also provides the mechanism to validate and configure
+system components.
+
+WWW: http://www.clicon.org/

Added: head/devel/clixon/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clixon/pkg-plist	Wed Apr 25 19:03:14 2018	(r468289)
@@ -0,0 +1,30 @@
+bin/clixon_cli
+bin/clixon_netconf
+bin/datastore_client
+%%ETCDIR%%/clixonrc
+lib/libclixon.so
+lib/libclixon.so.3
+lib/libclixon.so.3.6
+lib/libclixon_backend.so
+lib/libclixon_backend.so.3
+lib/libclixon_backend.so.3.6
+lib/libclixon_cli.so
+lib/libclixon_cli.so.3
+lib/libclixon_cli.so.3.6
+lib/libclixon_netconf.so
+lib/libclixon_netconf.so.3
+lib/libclixon_netconf.so.3.6
+lib/libclixon_restconf.so
+lib/libclixon_restconf.so.3
+lib/libclixon_restconf.so.3.6
+lib/xmldb/text.so
+sbin/clixon_backend
+sbin/clixon_restconf
+%%DATADIR%%/clixon-config@2018-02-12.yang
+%%DATADIR%%/clixon.mk
+%%DATADIR%%/ietf-inet-types@2013-07-15.yang
+%%DATADIR%%/ietf-netconf-acm@2018-02-14.yang
+%%DATADIR%%/ietf-netconf@2011-06-01.yang
+%%DATADIR%%/ietf-yang-types@2013-07-15.yang
+@dir lib/clixon/plugins/backend
+@dir lib/clixon/plugins/cli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804251903.w3PJ3ECM019394>