summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-06-16 15:35:06 -0400
committerElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-06-16 15:35:06 -0400
commit57f890989457e22843c889b72ac98d37dbb5f3a7 (patch)
treefd81b648f57703a9a7492c721c1a58aff80787b9 /sys-apps
parentAdded ebuild for udevil-0.2.8 just released... (diff)
downloadArmageddon-57f890989457e22843c889b72ac98d37dbb5f3a7.tar.gz
Armageddon-57f890989457e22843c889b72ac98d37dbb5f3a7.tar.bz2
Armageddon-57f890989457e22843c889b72ac98d37dbb5f3a7.zip
Fixes to all udevil ebuilds...
Fixing groups such as only member of plugdev group can use udevil. Fixes to the DEPEND and RDEPEND making them cleaner, repoman subsequently does not complain anymore. Minor fix to the elog output message.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/udevil/udevil-0.2.7.ebuild21
-rw-r--r--sys-apps/udevil/udevil-0.2.8.ebuild21
-rw-r--r--sys-apps/udevil/udevil-9999.ebuild21
3 files changed, 39 insertions, 24 deletions
diff --git a/sys-apps/udevil/udevil-0.2.7.ebuild b/sys-apps/udevil/udevil-0.2.7.ebuild
index dab068c..e072036 100644
--- a/sys-apps/udevil/udevil-0.2.7.ebuild
+++ b/sys-apps/udevil/udevil-0.2.7.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit eutils autotools
+inherit eutils autotools user
DESCRIPTION="Linux program to mount and unmount removable devices without a password"
HOMEPAGE="http://ignorantguru.github.com/udevil/"
@@ -15,15 +15,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="
+COMMON_DEPEND="
>=app-shells/bash-4.0
- dev-util/intltool
virtual/acl
- virtual/pkgconfig
- sys-devel/gettext
>=sys-fs/udev-143
sys-libs/glibc"
-RDEPEND="${DEPEND}"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+RDEPEND="${COMMON_DEPEND}"
+
+pkg_setup() {
+ enewgroup plugdev
+}
src_prepare() {
epatch "${FILESDIR}/${P}-flags.patch"
@@ -38,13 +43,13 @@ src_install() {
emake DESTDIR="${D}" install
doman man/udevil.1
dodoc AUTHORS ChangeLog README
- fowners root:wheel /usr/bin/udevil
+ fowners root:plugdev /usr/bin/udevil
fperms 4754 /usr/bin/udevil
}
pkg_postinst() {
echo
- elog "You need to add yourself to the wheel group"
+ elog "Please add your user to the plugdev group"
elog "to be able to use ${PN} as a user"
echo
}
diff --git a/sys-apps/udevil/udevil-0.2.8.ebuild b/sys-apps/udevil/udevil-0.2.8.ebuild
index dab068c..441c990 100644
--- a/sys-apps/udevil/udevil-0.2.8.ebuild
+++ b/sys-apps/udevil/udevil-0.2.8.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit eutils autotools
+inherit eutils autotools user
DESCRIPTION="Linux program to mount and unmount removable devices without a password"
HOMEPAGE="http://ignorantguru.github.com/udevil/"
@@ -15,15 +15,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="
+COMMON_DEPEND="
>=app-shells/bash-4.0
- dev-util/intltool
virtual/acl
- virtual/pkgconfig
- sys-devel/gettext
>=sys-fs/udev-143
sys-libs/glibc"
-RDEPEND="${DEPEND}"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+RDEPEND="${COMMON_DEPEND}"
+
+pkg_setup(){
+ enewgroup plugdev
+}
src_prepare() {
epatch "${FILESDIR}/${P}-flags.patch"
@@ -38,13 +43,13 @@ src_install() {
emake DESTDIR="${D}" install
doman man/udevil.1
dodoc AUTHORS ChangeLog README
- fowners root:wheel /usr/bin/udevil
+ fowners root:plugdev /usr/bin/udevil
fperms 4754 /usr/bin/udevil
}
pkg_postinst() {
echo
- elog "You need to add yourself to the wheel group"
+ elog "Please add your user to the plugdev group"
elog "to be able to use ${PN} as a user"
echo
}
diff --git a/sys-apps/udevil/udevil-9999.ebuild b/sys-apps/udevil/udevil-9999.ebuild
index 2854595..e7fb776 100644
--- a/sys-apps/udevil/udevil-9999.ebuild
+++ b/sys-apps/udevil/udevil-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit eutils autotools git-2
+inherit eutils autotools git-2 user
DESCRIPTION="Linux program to mount and unmount removable devices without a password"
HOMEPAGE="http://ignorantguru.github.com/udevil/"
@@ -17,15 +17,20 @@ SLOT="0"
KEYWORDS=""
IUSE=""
-DEPEND="
+COMMON_DEPEND="
>=app-shells/bash-4.0
- dev-util/intltool
virtual/acl
- virtual/pkgconfig
- sys-devel/gettext
>=sys-fs/udev-143
sys-libs/glibc"
-RDEPEND="${DEPEND}"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+RDEPEND="${COMMON_DEPEND}"
+
+pkg_setup() {
+ enewgroup plugdev
+}
src_prepare() {
epatch "${FILESDIR}/${P}-flags.patch"
@@ -40,13 +45,13 @@ src_install() {
emake DESTDIR="${D}" install
doman man/udevil.1
dodoc AUTHORS ChangeLog README
- fowners root:wheel /usr/bin/udevil
+ fowners root:plugdev /usr/bin/udevil
fperms 4754 /usr/bin/udevil
}
pkg_postinst() {
echo
- elog "You need to add yourself to the wheel group"
+ elog "Please add your user to the plugdev group"
elog "to be able to use ${PN} as a user"
echo
}