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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18082158043 for ; Wed, 17 Apr 2024 11:17:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5255CE29F0; Wed, 17 Apr 2024 11:17:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 332DCE29F0 for ; Wed, 17 Apr 2024 11:17:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1AE3B3433FE for ; Wed, 17 Apr 2024 11:17:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FE9D16D3 for ; Wed, 17 Apr 2024 11:17:42 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1713352636.687f92ccdde14e0caaa0346a7b0b309a0ecd6991.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lockrun/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/lockrun/Manifest dev-util/lockrun/lockrun-20240415.ebuild dev-util/lockrun/metadata.xml X-VCS-Directories: dev-util/lockrun/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 687f92ccdde14e0caaa0346a7b0b309a0ecd6991 X-VCS-Branch: master Date: Wed, 17 Apr 2024 11:17:42 +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: 994bdb1a-d2d7-4c1e-8c63-4f51f3e43f34 X-Archives-Hash: 689b7635f4bf84a34204a262788bcc70 commit: 687f92ccdde14e0caaa0346a7b0b309a0ecd6991 Author: Jaco Kroon uls co za> AuthorDate: Mon Apr 15 12:26:17 2024 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed Apr 17 11:17:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687f92cc dev-util/lockrun: add 20240415 Closes: https://github.com/gentoo/gentoo/pull/36266 Signed-off-by: Jaco Kroon uls.co.za> Signed-off-by: Michael Orlitzky gentoo.org> dev-util/lockrun/Manifest | 1 + dev-util/lockrun/lockrun-20240415.ebuild | 37 ++++++++++++++++++++++++++++++++ dev-util/lockrun/metadata.xml | 9 +++++++- 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/dev-util/lockrun/Manifest b/dev-util/lockrun/Manifest new file mode 100644 index 000000000000..149f25ccb52f --- /dev/null +++ b/dev-util/lockrun/Manifest @@ -0,0 +1 @@ +DIST lockrun-20240415.c.gz 4150 BLAKE2B c70bf08859bf7e2026702b2adc0d3a4224f5a62d25ebeb12359ba34f120300bb7bb1b93a6412696bbf0c0b2f50a958f25beb10a43d45f1dccd148c314fa452eb SHA512 3c7af9bba00018d6ca47c9b737028fb01bd9b7fdd3f29cec89a7c3451eb35fda3bf00f4fe6df8f64b8dcbb2d92f2b7647406bb805dfa3ac78e0ecaf94e95ef05 diff --git a/dev-util/lockrun/lockrun-20240415.ebuild b/dev-util/lockrun/lockrun-20240415.ebuild new file mode 100644 index 000000000000..4c6a71c8ec22 --- /dev/null +++ b/dev-util/lockrun/lockrun-20240415.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Run cronjobs with overrun protection" +HOMEPAGE="http://www.unixwiz.net/tools/lockrun.html" + +SRC_URI="https://downloads.uls.co.za/gentoo/lockrun/lockrun-${PV}.c.gz" +S="${WORKDIR}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +src_prepare() { + default + mv "${P}.c" "${PN}.c" || die +} + +src_compile() { + emake CC="$(tc-getCC)" ${PN} + + # The below tries to extract the first comment block from the source code + # which represents the official "readme" from the project. Delete first + # three lines, then everything from (including) the first comment close at + # the beginning of a line before removing ' *' from the beginning of the + # remaining lines. + sed '1,3 d; /^[[:space:]]*[*]\//,$ d; s/^ \*//' "${PN}.c" > README || die +} + +src_install() { + dobin ${PN} + einstalldocs +} diff --git a/dev-util/lockrun/metadata.xml b/dev-util/lockrun/metadata.xml index 85e4ed814fa2..6aebbc46f559 100644 --- a/dev-util/lockrun/metadata.xml +++ b/dev-util/lockrun/metadata.xml @@ -1,5 +1,12 @@ - + + jaco@uls.co.za + Jaco Kroon + + + proxy-maint@gentoo.org + Proxy Maintainers +