Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pmount/
Date: Fri, 13 Sep 2019 12:59:02
Message-Id: 1568378570.cd291b8023155e83f299da46eddcb8d55ae5f472.mgorny@gentoo
1 commit: cd291b8023155e83f299da46eddcb8d55ae5f472
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 13 12:16:14 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 13 12:42:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd291b80
7
8 sys-apps/pmount: Use acct-group/plugdev
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild | 10 ++++------
13 1 file changed, 4 insertions(+), 6 deletions(-)
14
15 diff --git a/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild b/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
16 index f035b7abd42..52df8b15b9f 100644
17 --- a/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
18 +++ b/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=5
23 -inherit eutils user bash-completion-r1
24 +inherit eutils bash-completion-r1
25
26 DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
27 HOMEPAGE="https://launchpad.net/pmount"
28 @@ -13,7 +13,9 @@ SLOT="0"
29 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86"
30 IUSE="crypt"
31
32 -RDEPEND=">=sys-apps/util-linux-2.17.2
33 +RDEPEND="
34 + acct-group/plugdev
35 + >=sys-apps/util-linux-2.17.2
36 crypt? ( >=sys-fs/cryptsetup-1.0.6-r2 )"
37 DEPEND="${RDEPEND}
38 dev-util/intltool
39 @@ -21,10 +23,6 @@ DEPEND="${RDEPEND}
40
41 S=${WORKDIR}/${P/_/-}
42
43 -pkg_setup() {
44 - enewgroup plugdev
45 -}
46 -
47 src_prepare() {
48 # Restore default value from pmount <= 0.9.23 wrt #393633
49 sed -i -e '/^not_physically_logged_allow/s:=.*:= yes:' etc/pmount.conf || die