Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/uksmd/
Date: Wed, 01 Apr 2020 07:38:50
Message-Id: 1585726717.3858627785970eb844e3f7758690dca7a6d32653.juippis@gentoo
1 commit: 3858627785970eb844e3f7758690dca7a6d32653
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 1 07:25:50 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 07:38:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38586277
7
8 sys-process/uksmd: remove dependency on pf-sources
9
10 - KSM can be applied manually to any kernel-sources.
11
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 sys-process/uksmd/uksmd-0_pre20190726-r2.ebuild | 34 +++++++++++++++++++++++++
15 1 file changed, 34 insertions(+)
16
17 diff --git a/sys-process/uksmd/uksmd-0_pre20190726-r2.ebuild b/sys-process/uksmd/uksmd-0_pre20190726-r2.ebuild
18 new file mode 100644
19 index 00000000000..91de2f16cdb
20 --- /dev/null
21 +++ b/sys-process/uksmd/uksmd-0_pre20190726-r2.ebuild
22 @@ -0,0 +1,34 @@
23 +# Copyright 2019-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit linux-info systemd
29 +
30 +MY_COMMIT="42f4ff8eb09011bf1a199938aa2afe23040d7faf"
31 +MY_P="${PN}-${MY_COMMIT}"
32 +
33 +DESCRIPTION="Userspace KSM helper daemon"
34 +HOMEPAGE="https://gitlab.com/post-factum/uksmd"
35 +SRC_URI="https://gitlab.com/post-factum/uksmd/-/archive/${MY_COMMIT}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
36 +
37 +LICENSE="GPL-3"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +
41 +DEPEND="sys-process/procps:="
42 +RDEPEND="${DEPEND}"
43 +
44 +CONFIG_CHECK="~KSM"
45 +
46 +S="${WORKDIR}/${MY_P}"
47 +
48 +PATCHES=( "${FILESDIR}/${P}-respect-cflags-ldflags.patch" )
49 +
50 +src_install() {
51 + default
52 + einstalldocs
53 +
54 + newinitd "${FILESDIR}/uksmd.init" uksmd
55 + systemd_dounit distro/uksmd.service
56 +}