diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /sys-process/forkstat | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'sys-process/forkstat')
| -rw-r--r-- | sys-process/forkstat/Manifest | 1 | ||||
| -rw-r--r-- | sys-process/forkstat/files/musl-prio.patch | 21 | ||||
| -rw-r--r-- | sys-process/forkstat/forkstat-0.03.02-r2.ebuild | 23 | ||||
| -rw-r--r-- | sys-process/forkstat/metadata.xml | 18 |
4 files changed, 0 insertions, 63 deletions
diff --git a/sys-process/forkstat/Manifest b/sys-process/forkstat/Manifest deleted file mode 100644 index 11e47728953f..000000000000 --- a/sys-process/forkstat/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST forkstat-0.03.02.tar.gz 189866 BLAKE2B 286d73fd080b10983fcc39537a0e6040e77f0af8f02e867eb161eb75d2079417d7a0522e20864a7f3eadd73ff18d3fb110d8a0abc594e40264388ee06e342cef SHA512 2b614552ecd573814517d81a4b23ff432a128cc534e8e44d98a063c261003de5c077a406a476870f6468a7141616a02192793ab564fbef4ddf592b586c7c2b98 diff --git a/sys-process/forkstat/files/musl-prio.patch b/sys-process/forkstat/files/musl-prio.patch deleted file mode 100644 index bb50007bee76..000000000000 --- a/sys-process/forkstat/files/musl-prio.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/forkstat.c b/forkstat.c -index 57dc9c8..4b22c42 100644 ---- a/forkstat.c -+++ b/forkstat.c -@@ -40,6 +40,7 @@ - #include <time.h> - #include <getopt.h> - #include <sched.h> -+#include <pthread.h> - #include <pwd.h> - - #include <sys/ioctl.h> -@@ -2022,7 +2023,7 @@ int main(int argc, char * const argv[]) - - (void)memset(¶m, 0, sizeof(param)); - param.sched_priority = max_prio; -- if (sched_setscheduler(getpid(), policy, ¶m) < 0) { -+ if (pthread_setschedparam(pthread_self(), policy, ¶m) < 0) { - (void)fprintf(stderr, "sched_setscheduler failed: errno=%d (%s)\n", - errno, strerror(errno)); - goto abort_sock; diff --git a/sys-process/forkstat/forkstat-0.03.02-r2.ebuild b/sys-process/forkstat/forkstat-0.03.02-r2.ebuild deleted file mode 100644 index f8ea4005e280..000000000000 --- a/sys-process/forkstat/forkstat-0.03.02-r2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Logs process fork(), exec() and exit() activity" -HOMEPAGE="https://github.com/ColinIanKing/forkstat" -SRC_URI="https://github.com/ColinIanKing/forkstat/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P}" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -PATCHES=( "${FILESDIR}/musl-prio.patch" ) -src_prepare() { - default - sed -i 's/8.gz/8/g' Makefile -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="$CFLAGS -DVERSION='\"${PV}\"'" -} diff --git a/sys-process/forkstat/metadata.xml b/sys-process/forkstat/metadata.xml deleted file mode 100644 index f39b90a9b3f5..000000000000 --- a/sys-process/forkstat/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>carana2099@gmail.com</email> - <name>Carlos E.</name> - </maintainer> - <longdescription lang="en"> - Forkstat is a program that logs process fork(), exec() and - exit() activity. It is useful for monitoring system behaviour - and to track down rogue processes that are spawning off - processes and potentially abusing the system. - </longdescription> - <upstream> - <remote-id type="github">ColinIanKing/forkstat</remote-id> - <changelog>https://github.com/ColinIanKing/forkstat/blob/master/debian/changelog</changelog> - </upstream> -</pkgmetadata> |
