earlyoom 1.0 (new)
This commit is contained in:
parent
0bb0019a99
commit
9c8b5932b3
4
sys-apps/earlyoom/Manifest
Normal file
4
sys-apps/earlyoom/Manifest
Normal file
|
@ -0,0 +1,4 @@
|
|||
AUX earlyoom 153 BLAKE2B 8dc56f5ac35a1a68ece5933edd1751ad187353e55ef6be0d12cbe8aa217f91fb343e38b6905f43abef4e3814d71fcc04cc16ff21e68c595bdb4d7c8a2133e309 SHA512 e7882c08c790b0f2d0bce4e436a38924b67ed29e99cd9a007e86c228fd7b41982330ddba91ae81d871fa7e6c9f2c673394650602bd50d766b033cc43ca508426
|
||||
DIST earlyoom-1.0.tar.gz 13706 BLAKE2B 3564e42172b50c727f216faefc5a89a091c1bcda57956699742a5de989ed586b43581f7554142b9dc56ce8b4f9626b1ec80fc4e13dbdb3c5002e2386d1873e7a SHA512 d747b5a5d2e58040aa1531ee652a3705d79195d001ba93650fe20817859848f81e5d306a921dfaaf8c894b843a328a823a8f8adaf52b8ea2e92479a32a9f17df
|
||||
EBUILD earlyoom-1.0.ebuild 605 BLAKE2B 433ca4e0455963b2c4d22ffc8c316e923641eaabe3bce97a721dfb00f73a107aa92de95b9adf3fbc7d509cc759d2db4a983f21baea48a794067f4f203d1508c7 SHA512 775cd6aa2ddc1f3f195848aa5151eb9330df589169f8afee1487d62bb432a4a2ac644ad04c65e3d8b7b716b27c1ea10f22cefba4c838fcefeabdb0e09aee87c0
|
||||
MISC metadata.xml 396 BLAKE2B 4229a8dbb04e9f8ab7e516d2a558f5f0f25cfda5c47c1912f3ee6dd6e29e7f3607350092231afa245447c040728dd244ec46e19a2457d2956185ea7b6219d121 SHA512 3e1c82f26cfe49dece2ce8cbb41cdb9a579e7115ebd6156d938a401ddb2643a2d9a1c9a7a50c2eeca774e0b83ba96cd853aa0d88f8e7563b9b147d8195750d50
|
29
sys-apps/earlyoom/earlyoom-1.0.ebuild
Normal file
29
sys-apps/earlyoom/earlyoom-1.0.ebuild
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Early OOM Daemon for Linux"
|
||||
HOMEPAGE="https://github.com/rfjakob/earlyoom"
|
||||
SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz"
|
||||
|
||||
LICENSE="MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="openrc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake earlyoom
|
||||
use systemd && emake earlyoom.service
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin earlyoom
|
||||
use openrc && doinitd "$FILESDIR/$PN"
|
||||
use systemd && systemd_dounit earlyoom.service
|
||||
}
|
7
sys-apps/earlyoom/files/earlyoom
Normal file
7
sys-apps/earlyoom/files/earlyoom
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/sbin/openrc-run
|
||||
name=earlyoom
|
||||
command=/usr/bin/earlyoom
|
||||
command_user=odrling
|
||||
#command_args=-s 100 -m 5
|
||||
command_background=1
|
||||
pidfile=/run/earlyoom.pid
|
12
sys-apps/earlyoom/metadata.xml
Normal file
12
sys-apps/earlyoom/metadata.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>florianbadie@odrling.xyz</email>
|
||||
<description>Primary maintainer</description>
|
||||
</maintainer>
|
||||
<longdescription>EarlyOOM daemon</longdescription>
|
||||
<use>
|
||||
<flag name="openrc">Creates the earlyoom openrc service</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue