From owner-svn-ports-all@freebsd.org Wed Apr 25 19:03:16 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 079CAFAD008; Wed, 25 Apr 2018 19:03:16 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACCFE6CA9B; Wed, 25 Apr 2018 19:03:15 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A7AD2559D; Wed, 25 Apr 2018 19:03:15 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3PJ3Fjj019401; Wed, 25 Apr 2018 19:03:15 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3PJ3ECM019394; Wed, 25 Apr 2018 19:03:14 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201804251903.w3PJ3ECM019394@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Wed, 25 Apr 2018 19:03:14 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: in head/devel: . clixon clixon/files X-SVN-Commit-Revision: 468289 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 19:03:16 -0000 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 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