summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-13 14:16:14 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-13 14:42:50 +0200
commitcd291b8023155e83f299da46eddcb8d55ae5f472 (patch)
tree626cfa4845bba4c04670f614ea81826d856320c2 /sys-apps/pmount
parentnet-wireless/gnome-bluetooth: Use acct-group/plugdev (diff)
downloadgentoo-cd291b8023155e83f299da46eddcb8d55ae5f472.tar.gz
gentoo-cd291b8023155e83f299da46eddcb8d55ae5f472.tar.bz2
gentoo-cd291b8023155e83f299da46eddcb8d55ae5f472.zip
sys-apps/pmount: Use acct-group/plugdev
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/pmount')
-rw-r--r--sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild b/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
index f035b7abd422..52df8b15b9ff 100644
--- a/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
+++ b/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit eutils user bash-completion-r1
+inherit eutils bash-completion-r1
DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
HOMEPAGE="https://launchpad.net/pmount"
@@ -13,7 +13,9 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86"
IUSE="crypt"
-RDEPEND=">=sys-apps/util-linux-2.17.2
+RDEPEND="
+ acct-group/plugdev
+ >=sys-apps/util-linux-2.17.2
crypt? ( >=sys-fs/cryptsetup-1.0.6-r2 )"
DEPEND="${RDEPEND}
dev-util/intltool
@@ -21,10 +23,6 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P/_/-}
-pkg_setup() {
- enewgroup plugdev
-}
-
src_prepare() {
# Restore default value from pmount <= 0.9.23 wrt #393633
sed -i -e '/^not_physically_logged_allow/s:=.*:= yes:' etc/pmount.conf || die