From: maxice8 <maxice8@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: oomd-0.5.0
Date: Mon, 18 Oct 2021 18:18:09 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33620@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
There is a new pull request by maxice8 against master on the void-packages repository
https://github.com/maxice8/void-packages oomd
https://github.com/void-linux/void-packages/pull/33620
New package: oomd-0.5.0
None
A patch file from https://github.com/void-linux/void-packages/pull/33620.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-oomd-33620.patch --]
[-- Type: text/x-diff, Size: 1486 bytes --]
From 47337b4da738469e3254a01047b6815c73c41b9c Mon Sep 17 00:00:00 2001
From: Leo <thinkabit.ukim@gmail.com>
Date: Mon, 18 Oct 2021 13:14:55 -0300
Subject: [PATCH] New package: oomd-0.5.0
---
srcpkgs/oomd/files/oomd/run | 4 ++++
srcpkgs/oomd/template | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100755 srcpkgs/oomd/files/oomd/run
create mode 100644 srcpkgs/oomd/template
diff --git a/srcpkgs/oomd/files/oomd/run b/srcpkgs/oomd/files/oomd/run
new file mode 100755
index 000000000000..253a8c406611
--- /dev/null
+++ b/srcpkgs/oomd/files/oomd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec oomd \
+ --cgroup-fs /sys/fs/cgroup/unified \
+ --config /etc/oomd/oomd.json
diff --git a/srcpkgs/oomd/template b/srcpkgs/oomd/template
new file mode 100644
index 000000000000..3d3d1c813550
--- /dev/null
+++ b/srcpkgs/oomd/template
@@ -0,0 +1,21 @@
+# Template file for 'oomd'
+pkgname=oomd
+version=0.5.0
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="jsoncpp-devel"
+checkdepends="gtest-devel"
+short_desc="userspace Out-Of-Memory (OOM) killer"
+maintainer="Leo <thinkabit.ukim@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/facebookincubator"
+distfiles="https://github.com/facebookincubator/oomd/archive/refs/tags/v$version.tar.gz"
+checksum=89efe256c42223c7688cacdbc51605da1104de666ed27d32e38f60e311fd1356
+
+post_install() {
+ vsv oomd
+
+ # Remove systemd service file
+ rm -rf "$XBPS_DESTDIR"/usr/lib/systemd
+}
next reply other threads:[~2021-10-18 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 16:18 maxice8 [this message]
2021-10-18 16:27 ` [PR PATCH] [Updated] " maxice8
2021-11-28 23:04 ` Piraty
2021-11-29 3:55 ` maxice8
2021-11-29 3:55 ` [PR PATCH] [Closed]: " maxice8
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33620@inbox.vuxu.org \
--to=maxice8@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).