summaryrefslogtreecommitdiff
path: root/dev-util/lockrun
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-18 12:04:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-18 12:04:39 +0100
commit2d01b3d133c0fbf17de8d7b47905585af88bd6e4 (patch)
treef74eb9a3d16ed25f8c15b825f4d28b759ae99a42 /dev-util/lockrun
parent97bacba3ead078e5db8b87ab651a3ffa7d82f60f (diff)
gentoo auto-resync : 18:04:2024 - 12:04:39
Diffstat (limited to 'dev-util/lockrun')
-rw-r--r--dev-util/lockrun/Manifest4
-rw-r--r--dev-util/lockrun/lockrun-20240415.ebuild37
-rw-r--r--dev-util/lockrun/metadata.xml9
3 files changed, 48 insertions, 2 deletions
diff --git a/dev-util/lockrun/Manifest b/dev-util/lockrun/Manifest
index 65716fbbb4ca..dd5c72f16f77 100644
--- a/dev-util/lockrun/Manifest
+++ b/dev-util/lockrun/Manifest
@@ -1,3 +1,5 @@
AUX lockrun.c-20120508 7025 BLAKE2B fe577a1e360c0595a2448ed03f7af1a049327e21b6f4caba6d69659e557a527c16f07e80b2591d4dfa1633e1a77a78bb1cd9f231ca4fec3ef261cbadf284c4ca SHA512 f800e96d41d11c9b6f7e28c5bd1f2b59b824ccba5f093574d8f4df8e737f2df47c3f8e89a08eee81b9c3fb46377e62be9c5ddf83df253fd0ab3a25a85a8bee0b
+DIST lockrun-20240415.c.gz 4150 BLAKE2B c70bf08859bf7e2026702b2adc0d3a4224f5a62d25ebeb12359ba34f120300bb7bb1b93a6412696bbf0c0b2f50a958f25beb10a43d45f1dccd148c314fa452eb SHA512 3c7af9bba00018d6ca47c9b737028fb01bd9b7fdd3f29cec89a7c3451eb35fda3bf00f4fe6df8f64b8dcbb2d92f2b7647406bb805dfa3ac78e0ecaf94e95ef05
EBUILD lockrun-20120508-r2.ebuild 596 BLAKE2B 2c613df88e73ff40785d70f4a921d78d12317cd8b01952bd82300307f7f0ad1f171ffd02b0d8c85460ebb02bb7e9b684147b5ca032b5b975ee7b2cd684e11f3e SHA512 d5d137587cd835ff92a09c1677f671a2f06d524685cc2ee4d5ee9019b6d3ed619e4d9efb64f015d60135d05a04fdd88d4ae6bc289fbe451e2a206aeb85395993
-MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
+EBUILD lockrun-20240415.ebuild 941 BLAKE2B 9f9bff49bc8f429865f67c06c11c03d213723846ae3f6428598bb6ce958808a54bce5d427612029824e3b1b5a2f757a457df10c3a3960d777328f76bed3c1117 SHA512 7e40365151d22227d65c29ae699b76b18de0539737cbe56dc20b24bbe84bdbb65655ebb6876ce96c4c42db73831bb4d26067fc4db48e8545f41c199af38eab76
+MISC metadata.xml 388 BLAKE2B 8627eaf1867246255f9cf5e886749300fe854b6fc4add00c1fb7395a41349a42aeaf9bcd1866b1ef8a6b3ecd04416cd6ebb7dcebd266ae341af4aaa144de510d SHA512 238ec6ad37a6fcb588eeb6f5f00befa9e9f483cbd012d7e98b9627a3bf3f401ea74aee560a1909458a471e6c44b3ea13eb3a7d30e5f5a1f5c5464c9775d5614d
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>jaco@uls.co.za</email>
+ <name>Jaco Kroon</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>