summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2021-02-26 11:59:14 -0500
committerRick Farina <zerochaos@gentoo.org>2021-02-26 11:59:25 -0500
commit3152e11d60b2f45ccad4137c5bf56e770853c5ee (patch)
tree56fc6d235ee0a3560d906e22cfd0aa3a282cc9b2 /sys-apps
parentnet-dialup/ppp: add back option to disable eap-tls (diff)
downloadgentoo-3152e11d60b2f45ccad4137c5bf56e770853c5ee.tar.gz
gentoo-3152e11d60b2f45ccad4137c5bf56e770853c5ee.tar.bz2
gentoo-3152e11d60b2f45ccad4137c5bf56e770853c5ee.zip
sys-apps/earlyoom: bump
fix bug #757879 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/earlyoom/Manifest2
-rw-r--r--sys-apps/earlyoom/earlyoom-1.6.2.ebuild (renamed from sys-apps/earlyoom/earlyoom-1.6.1.ebuild)6
-rw-r--r--sys-apps/earlyoom/files/earlyoom-r16
3 files changed, 11 insertions, 3 deletions
diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest
index 6987a325711d..4afcde075831 100644
--- a/sys-apps/earlyoom/Manifest
+++ b/sys-apps/earlyoom/Manifest
@@ -1,2 +1,2 @@
DIST earlyoom-1.3.tar.gz 31399 BLAKE2B 3867540afb23493fbb532bcb72a5cfacca4ed297a053ff5e2c7e394bfa3640887e3e7c6430789bc1eda4b7a68680d8a74ab56b641fe9e5d4caa4406e2edb0667 SHA512 c5de742289e82c2098bd88c61dcb3e20eb022905a015b4894c95a4de3978ce18d794a9e7c17c97851ca9f8888728908f7bf978c014b3b69799bffa8b546d258a
-DIST earlyoom-1.6.1.tar.gz 48200 BLAKE2B 559ed59fa24cb05dbc74785eff06e1e4a2772b555fba2c67cda2651cf1c514e842f18cd085905d556e0bd1de238012385eae37953d90a6a5302f7a727be9eb8a SHA512 4f7e2053f6331c1a0c0163952067503da0ea4f09a5650ef4f4d2692530e04cd0841e4fd83fe593d54dc5361d51c86002d93fb9e6ae0f76d669646bd8de9f2065
+DIST earlyoom-1.6.2.tar.gz 49006 BLAKE2B 85a02d4171ba1bb94d5ddf573b8f5ac58d28a0cf9766f4fb2c96be5b45eee7aab853008c36f9e3aac76685b70008051faa2fe339797ecf9137469f089935a6b3 SHA512 d622a5347591d2017f6e62255940482af431e647acf1b35ab035e0dbfd44da7fc52633e6dd6433e42a1348fd294d766550ba092260f3ec59bd51e545f08e466b
diff --git a/sys-apps/earlyoom/earlyoom-1.6.1.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
index 898c4fbac557..e0e59d47574f 100644
--- a/sys-apps/earlyoom/earlyoom-1.6.1.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -41,7 +41,9 @@ src_install() {
insinto /etc/default
newins earlyoom.default earlyoom
+ insinto /etc/conf.d
+ ln -s ../default/earlyoom "${ED}/etc/conf.d/earlyoom"
- doinitd "${FILESDIR}/${PN}"
+ newinitd "${FILESDIR}/${PN}-r1" "${PN}"
use systemd && systemd_dounit earlyoom.service
}
diff --git a/sys-apps/earlyoom/files/earlyoom-r1 b/sys-apps/earlyoom/files/earlyoom-r1
new file mode 100644
index 000000000000..124e5b0023fd
--- /dev/null
+++ b/sys-apps/earlyoom/files/earlyoom-r1
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+name=earlyoom
+command=/usr/bin/earlyoom
+command_args="${EARLYOOM_ARGS}"
+command_background=1
+pidfile=/run/earlyoom.pid