Commit 639254ae authored by garga's avatar garga
Browse files

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)
parent 3c5e2404
......@@ -314,6 +314,7 @@
SUBDIR += cligen
SUBDIR += clinfo
SUBDIR += clisp-hyperspec
SUBDIR += clixon
SUBDIR += clojure-cider
SUBDIR += cloudabi
SUBDIR += cloudabi-toolchain
......
# $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>
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
--- 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@
--- 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)
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/
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment