Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-auth/mrsh/
Date: Mon, 01 Mar 2021 05:28:37
Message-Id: 1614576511.5a37335ff00e3982117155c5089e50a0790c7950.Alessandro-Barbieri@gentoo
1 commit: 5a37335ff00e3982117155c5089e50a0790c7950
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon Mar 1 05:22:24 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Mon Mar 1 05:28:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a37335f
7
8 sys-auth/mrsh: make systemd units not executable
9
10 Package-Manager: Portage-3.0.16, Repoman-3.0.2
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 sys-auth/mrsh/mrsh-2.12-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
14 1 file changed, 39 insertions(+)
15
16 diff --git a/sys-auth/mrsh/mrsh-2.12-r1.ebuild b/sys-auth/mrsh/mrsh-2.12-r1.ebuild
17 new file mode 100644
18 index 00000000..d984b9d2
19 --- /dev/null
20 +++ b/sys-auth/mrsh/mrsh-2.12-r1.ebuild
21 @@ -0,0 +1,39 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="7"
26 +
27 +inherit systemd
28 +
29 +DESCRIPTION="Mrsh is a set of remote shell programs that use munge authentication."
30 +HOMEPAGE="https://github.com/chaos/mrsh"
31 +SRC_URI="https://github.com/chaos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64"
35 +IUSE="pam shadow"
36 +DEPEND="
37 + sys-auth/munge
38 +
39 + pam? ( sys-libs/pam )
40 + shadow? ( sys-apps/shadow )
41 +"
42 +RDEPEND="${DEPEND}"
43 +
44 +PATCHES=( "${FILESDIR}/union-wait-deprecated.diff" )
45 +
46 +src_configure() {
47 + local myconf=(
48 + --disable-static
49 + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
50 + $(use_with pam)
51 + $(use_with shadow)
52 + )
53 + econf "${myconf[@]}"
54 +}
55 +
56 +src_install() {
57 + default
58 + #remove executable bit from systemd units
59 + chmod a-x "${ED}/$(systemd_get_systemunitdir)"/* || die
60 +}