diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /sys-process/cronutils | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'sys-process/cronutils')
| -rw-r--r-- | sys-process/cronutils/Manifest | 1 | ||||
| -rw-r--r-- | sys-process/cronutils/cronutils-1.10.ebuild | 27 | ||||
| -rw-r--r-- | sys-process/cronutils/files/cronutils-1.10-musl-1.2.5.patch | 37 | ||||
| -rw-r--r-- | sys-process/cronutils/metadata.xml | 15 |
4 files changed, 80 insertions, 0 deletions
diff --git a/sys-process/cronutils/Manifest b/sys-process/cronutils/Manifest new file mode 100644 index 000000000000..79b422c09b94 --- /dev/null +++ b/sys-process/cronutils/Manifest @@ -0,0 +1 @@ +DIST cronutils-1.10.tar.gz 17098 BLAKE2B e450d9547355a6e6c447c533c69837b0e4a0c7f2100d1afe4088951ff988dea38029d3aac7433360ef3952d8ad9b1c0d90d6443546f7730e5bdd001612ed1ca7 SHA512 15f42054d86d7352d1454b3a18d959db3dc73d207fa3304708c002bfbcc86e630e97306ec84a26a904deb080428f5cc8c046aea55adbea2e69de2b4fab7538f4 diff --git a/sys-process/cronutils/cronutils-1.10.ebuild b/sys-process/cronutils/cronutils-1.10.ebuild new file mode 100644 index 000000000000..04037ab1c5ac --- /dev/null +++ b/sys-process/cronutils/cronutils-1.10.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Utilities to assist running batch processing jobs" +HOMEPAGE="https://github.com/google/cronutils" +SRC_URI="https://github.com/google/${PN}/archive/version/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-version-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" + +PATCHES=( + "${FILESDIR}/${P}-musl-1.2.5.patch" +) + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="-D_XOPEN_SOURCE=500 ${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install +} diff --git a/sys-process/cronutils/files/cronutils-1.10-musl-1.2.5.patch b/sys-process/cronutils/files/cronutils-1.10-musl-1.2.5.patch new file mode 100644 index 000000000000..a332dcb5a432 --- /dev/null +++ b/sys-process/cronutils/files/cronutils-1.10-musl-1.2.5.patch @@ -0,0 +1,37 @@ +From cbab73af5a3c218aabd16e3733c77d2b1c541564 Mon Sep 17 00:00:00 2001 +From: Paul Meyer <49727155+katexochen@users.noreply.github.com> +Date: Wed, 31 Jan 2024 20:12:01 +0100 +Subject: [PATCH] add missing libgen include + +Without including libgen.h, build will fail on darwin as basename isn't declared. + +Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> +--- + runalarm.c | 1 + + runlock.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/runalarm.c b/runalarm.c +index fb8617a..95a40ac 100644 +--- a/runalarm.c ++++ b/runalarm.c +@@ -17,6 +17,7 @@ limitations under the License. + #define _GNU_SOURCE /* basename */ + + #include <errno.h> ++#include <libgen.h> + #include <signal.h> + #include <stdio.h> + #include <stdlib.h> +diff --git a/runlock.c b/runlock.c +index 0e446b0..75ac08f 100644 +--- a/runlock.c ++++ b/runlock.c +@@ -18,6 +18,7 @@ limitations under the License. + + #include <errno.h> + #include <fcntl.h> ++#include <libgen.h> + #include <limits.h> + #include <signal.h> + #include <stdio.h> diff --git a/sys-process/cronutils/metadata.xml b/sys-process/cronutils/metadata.xml new file mode 100644 index 000000000000..0d110bfd0a30 --- /dev/null +++ b/sys-process/cronutils/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription lang="en"> + Utilities to assist running batch processing jobs. + + * runalarm: Limit the run time of a process. + * runlock: Prevent concurrent runs of a process. + * runstat: Export statistics about a process's execution. + </longdescription> + <upstream> + <remote-id type="github">google/cronutils</remote-id> + </upstream> +</pkgmetadata> |
