diff options
author | William Hubbs <william.hubbs@sony.com> | 2019-05-31 17:41:12 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-05-31 17:42:25 -0500 |
commit | 0aa797efeae11d475794323415d158f6f6857142 (patch) | |
tree | 268eab66f261c994d9d3f7b5bed864db3ca2ffe4 /app-admin/cronlocker | |
parent | dev-vcs/hg-evolve: Version bumps and clean old (diff) | |
download | gentoo-0aa797efeae11d475794323415d158f6f6857142.tar.gz gentoo-0aa797efeae11d475794323415d158f6f6857142.tar.bz2 gentoo-0aa797efeae11d475794323415d158f6f6857142.zip |
app-admin/cronlocker: synchronize a cron job across hosts
This utility uses the consul lock feature to synchronize a cron job
across multiple hosts.
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/cronlocker')
-rw-r--r-- | app-admin/cronlocker/Manifest | 1 | ||||
-rw-r--r-- | app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild | 26 | ||||
-rw-r--r-- | app-admin/cronlocker/metadata.xml | 8 |
3 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/cronlocker/Manifest b/app-admin/cronlocker/Manifest new file mode 100644 index 000000000000..89950da99365 --- /dev/null +++ b/app-admin/cronlocker/Manifest @@ -0,0 +1 @@ +DIST cronlocker-0.4.0_p20180710.tar.gz 60256 BLAKE2B 62adf6a935e13d97de9776f40a9349f7b3f1758c9d90c11f66759b87d3d8d9dc20a78ecfe0aa7849319be3c8c557dae3d9cc04c87bc6226af5842c72efac0611 SHA512 fc73b572da4fe485f9ba13340b946db40d7e0224643b5fe0b8f56b24560ce4bc32d0a42e3e0e33b979d3aec2910e96ff847249181e7b69776174e2f28d67797c diff --git a/app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild b/app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild new file mode 100644 index 000000000000..46e33d17179c --- /dev/null +++ b/app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild @@ -0,0 +1,26 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +EGO_PN=github.com/Barzahlen/cronlocker +HASH=c0ac605 +inherit golang-vcs-snapshot + +DESCRIPTION="synchronize a cron job across multiple hosts using the consul lock feature" +HOMEPAGE="https://github.com/Barzahlen/cronlocker" +SRC_URI="https://github.com/Barzahlen/${PN}/archive/${HASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + pushd src/${EGO_PN} || die + GOPATH="${S}" emake cronlocker +} + +src_install() { + pushd src/${EGO_PN} +dobin cronlocker +dodoc *.md package/changelog +} diff --git a/app-admin/cronlocker/metadata.xml b/app-admin/cronlocker/metadata.xml new file mode 100644 index 000000000000..c36c37139fad --- /dev/null +++ b/app-admin/cronlocker/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> +</pkgmetadata> |