From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 303D8138334 for ; Fri, 31 May 2019 22:42:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3325BE0824; Fri, 31 May 2019 22:42:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0489FE0824 for ; Fri, 31 May 2019 22:42:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3352A345498 for ; Fri, 31 May 2019 22:42:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF9EF55B for ; Fri, 31 May 2019 22:42:33 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1559342545.0aa797efeae11d475794323415d158f6f6857142.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/cronlocker/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/cronlocker/Manifest app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild app-admin/cronlocker/metadata.xml X-VCS-Directories: app-admin/cronlocker/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 0aa797efeae11d475794323415d158f6f6857142 X-VCS-Branch: master Date: Fri, 31 May 2019 22:42:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9ea3bac4-071c-44e9-8bf1-10a1c8dfef1f X-Archives-Hash: a31b6d78b4a1e2f9da9bc952b28daecf commit: 0aa797efeae11d475794323415d158f6f6857142 Author: William Hubbs sony com> AuthorDate: Fri May 31 22:41:12 2019 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri May 31 22:42:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa797ef 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 gentoo.org> app-admin/cronlocker/Manifest | 1 + .../cronlocker/cronlocker-0.4.0_p20180710.ebuild | 26 ++++++++++++++++++++++ app-admin/cronlocker/metadata.xml | 8 +++++++ 3 files changed, 35 insertions(+) diff --git a/app-admin/cronlocker/Manifest b/app-admin/cronlocker/Manifest new file mode 100644 index 00000000000..89950da9936 --- /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 00000000000..46e33d17179 --- /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 00000000000..c36c37139fa --- /dev/null +++ b/app-admin/cronlocker/metadata.xml @@ -0,0 +1,8 @@ + + + + + williamh@gentoo.org + William Hubbs + +