From owner-svn-ports-all@freebsd.org Mon Mar 21 19:06:19 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97E94AD6C3B; Mon, 21 Mar 2016 19:06:19 +0000 (UTC) (envelope-from wg@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 mx1.freebsd.org (Postfix) with ESMTPS id 623BFCCB; Mon, 21 Mar 2016 19:06:19 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2LJ6IdU086948; Mon, 21 Mar 2016 19:06:18 GMT (envelope-from wg@FreeBSD.org) Received: (from wg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2LJ6I1I086944; Mon, 21 Mar 2016 19:06:18 GMT (envelope-from wg@FreeBSD.org) Message-Id: <201603211906.u2LJ6I1I086944@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wg set sender to wg@FreeBSD.org using -f From: William Grzybowski Date: Mon, 21 Mar 2016 19:06:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411614 - in head/sysutils: . epazote X-SVN-Group: ports-head 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.21 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: Mon, 21 Mar 2016 19:06:19 -0000 Author: wg Date: Mon Mar 21 19:06:18 2016 New Revision: 411614 URL: https://svnweb.freebsd.org/changeset/ports/411614 Log: sysutils/epazote: Automated microservices supervisor Epazote automatically update/add services specified in a file call epazote.yml. Periodically checks the defined endpoints and execute recovery commands in case services responses are not behaving like expected helping with this to automate actions in order to keep services/applications up and running. WWW: http://about.epazote.io PR: 208103 Submitted by: Nicolas de Bari Embriz Garcia Rojas Added: head/sysutils/epazote/ head/sysutils/epazote/Makefile (contents, props changed) head/sysutils/epazote/distinfo (contents, props changed) head/sysutils/epazote/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Mar 21 18:47:47 2016 (r411613) +++ head/sysutils/Makefile Mon Mar 21 19:06:18 2016 (r411614) @@ -250,6 +250,7 @@ SUBDIR += entr SUBDIR += env4801 SUBDIR += envconsul + SUBDIR += epazote SUBDIR += etcmerge SUBDIR += etcupdate SUBDIR += eventlog Added: head/sysutils/epazote/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/epazote/Makefile Mon Mar 21 19:06:18 2016 (r411614) @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= epazote +PORTVERSION= 1.5.2 +CATEGORIES= sysutils + +MAINTAINER= nbari@dalmp.com +COMMENT= Automated microservices supervisor + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go>=1.6:${PORTSDIR}/lang/go + +USES= compiler + +USE_GITHUB= yes +GH_ACCOUNT= nbari:DEFAULT \ + go-yaml:yaml +GH_PROJECT= epazote yaml:yaml +GH_TAGNAME= v2:yaml + +STRIP= # stripping can break go binaries + +PLIST_FILES= bin/epazote + +post-patch: + @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} +.for src in .gitignore a_test.go cmd config.go mail.go mailman_test.go \ + request.go scandir_test.go singleton_test.go supervice.go try.go \ + block.go color.go config_test.go mail_test.go report.go \ + request_test.go scheduler start.go supervice_test.go \ + try_test.go .travis.yml README.md changelog.md color_test.go \ + examples mailman.go report_test.go scandir.go singleton.go \ + start_test.go test + @${MV} ${WRKSRC}/${src} \ + ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} +.endfor + @${MKDIR} ${WRKSRC}/src/gopkg.in + @${MV} ${WRKSRC_yaml}/ \ + ${WRKSRC}/src/gopkg.in/yaml.v2 + +do-build: + @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \ + ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \ + "-X main.version=${PORTVERSION}" -o epazote cmd/epazote/main.go; + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/epazote ${STAGEDIR}${PREFIX}/bin/epazote + +.include Added: head/sysutils/epazote/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/epazote/distinfo Mon Mar 21 19:06:18 2016 (r411614) @@ -0,0 +1,4 @@ +SHA256 (nbari-epazote-1.5.2_GH0.tar.gz) = a01ff0f07b9a9fb792fcc7ac413c0baf85432fe8e951edbcf1751991b66b25ad +SIZE (nbari-epazote-1.5.2_GH0.tar.gz) = 145361 +SHA256 (go-yaml-yaml-v2_GH0.tar.gz) = 15bdfb44493124a6ff10dcc3ce9e623a3ff435fe20ab8c6dea0190cbc939bd5a +SIZE (go-yaml-yaml-v2_GH0.tar.gz) = 63044 Added: head/sysutils/epazote/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/epazote/pkg-descr Mon Mar 21 19:06:18 2016 (r411614) @@ -0,0 +1,6 @@ +Epazote automatically update/add services specified in a file call epazote.yml. +Periodically checks the defined endpoints and execute recovery commands in +case services responses are not behaving like expected helping with this to +automate actions in order to keep services/applications up and running. + +WWW: http://about.epazote.io