From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4989E1382C5 for ; Tue, 2 Mar 2021 09:02:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E91CE0C78; Tue, 2 Mar 2021 09:02:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 896E6E0C78 for ; Tue, 2 Mar 2021 09:02:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE050340D68 for ; Tue, 2 Mar 2021 09:02:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64D304E9 for ; Tue, 2 Mar 2021 09:02:40 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1614576511.5a37335ff00e3982117155c5089e50a0790c7950.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-auth/mrsh/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-auth/mrsh/mrsh-2.12-r1.ebuild X-VCS-Directories: sys-auth/mrsh/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: 5a37335ff00e3982117155c5089e50a0790c7950 X-VCS-Branch: master Date: Tue, 2 Mar 2021 09:02:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f4bd3ee2-7cf3-42d0-8f8c-20e3b8b11410 X-Archives-Hash: 128f3bc189396fc07a7d5f136f3dcac5 commit: 5a37335ff00e3982117155c5089e50a0790c7950 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Mar 1 05:22:24 2021 +0000 Commit: Theo Anderson posteo de> CommitDate: Mon Mar 1 05:28:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a37335f sys-auth/mrsh: make systemd units not executable Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> sys-auth/mrsh/mrsh-2.12-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/sys-auth/mrsh/mrsh-2.12-r1.ebuild b/sys-auth/mrsh/mrsh-2.12-r1.ebuild new file mode 100644 index 00000000..d984b9d2 --- /dev/null +++ b/sys-auth/mrsh/mrsh-2.12-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit systemd + +DESCRIPTION="Mrsh is a set of remote shell programs that use munge authentication." +HOMEPAGE="https://github.com/chaos/mrsh" +SRC_URI="https://github.com/chaos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="pam shadow" +DEPEND=" + sys-auth/munge + + pam? ( sys-libs/pam ) + shadow? ( sys-apps/shadow ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/union-wait-deprecated.diff" ) + +src_configure() { + local myconf=( + --disable-static + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + $(use_with pam) + $(use_with shadow) + ) + econf "${myconf[@]}" +} + +src_install() { + default + #remove executable bit from systemd units + chmod a-x "${ED}/$(systemd_get_systemunitdir)"/* || die +}