diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-08-31 20:32:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-13 14:42:34 +0200 |
commit | 011482c262ccbce84ce869e3406757346f1394a2 (patch) | |
tree | d169fcdb85d2584f0e66ace6b394eb4934044708 /sys-apps/uam | |
parent | acct-group/plugdev: Introduce new group (GID 272) (diff) | |
download | gentoo-011482c262ccbce84ce869e3406757346f1394a2.tar.gz gentoo-011482c262ccbce84ce869e3406757346f1394a2.tar.bz2 gentoo-011482c262ccbce84ce869e3406757346f1394a2.zip |
sys-apps/uam: Use acct-group/plugdev
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/uam')
-rw-r--r-- | sys-apps/uam/uam-0.3.2-r1.ebuild | 14 | ||||
-rw-r--r-- | sys-apps/uam/uam-9999.ebuild | 14 |
2 files changed, 10 insertions, 18 deletions
diff --git a/sys-apps/uam/uam-0.3.2-r1.ebuild b/sys-apps/uam/uam-0.3.2-r1.ebuild index eddf29d0f8aa..e22ef2bb8000 100644 --- a/sys-apps/uam/uam-0.3.2-r1.ebuild +++ b/sys-apps/uam/uam-0.3.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit udev user +inherit udev DESCRIPTION="Simple udev-based automounter for removable USB media" HOMEPAGE="https://github.com/mgorny/uam/" @@ -14,16 +14,12 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -RDEPEND="virtual/udev" -DEPEND="${RDEPEND} - virtual/pkgconfig" +RDEPEND=" + acct-group/plugdev + virtual/udev" +DEPEND="virtual/pkgconfig" pkg_postinst() { - # The plugdev group is created by pam, pmount and many other ebuilds - # in gx86. As we don't want to depend on any of them (even pmount is - # optional), we create it ourself too. - enewgroup plugdev - elog "To be able to access uam-mounted filesystems, you have to be" elog "a member of the 'plugdev' group." elog diff --git a/sys-apps/uam/uam-9999.ebuild b/sys-apps/uam/uam-9999.ebuild index 4aa949336985..3a247b31bd2c 100644 --- a/sys-apps/uam/uam-9999.ebuild +++ b/sys-apps/uam/uam-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools git-r3 udev user +inherit autotools git-r3 udev DESCRIPTION="Simple udev-based automounter for removable USB media" HOMEPAGE="https://github.com/mgorny/uam/" @@ -15,9 +15,10 @@ SLOT="0" KEYWORDS="" IUSE="" -RDEPEND="virtual/udev" -DEPEND="${RDEPEND} - virtual/pkgconfig" +RDEPEND=" + acct-group/plugdev + virtual/udev" +DEPEND="virtual/pkgconfig" src_prepare() { default @@ -25,11 +26,6 @@ src_prepare() { } pkg_postinst() { - # The plugdev group is created by pam, pmount and many other ebuilds - # in gx86. As we don't want to depend on any of them (even pmount is - # optional), we create it ourself too. - enewgroup plugdev - elog "To be able to access uam-mounted filesystems, you have to be" elog "a member of the 'plugdev' group." elog |