svn commit: r411614 - in head/sysutils: . epazote
William Grzybowski
wg at FreeBSD.org
Mon Mar 21 19:06:19 UTC 2016
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list