commit: 0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1
Author: Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com>
AuthorDate: Wed Apr 27 13:01:40 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 16:56:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ebe69b5
app-portage/g-cpan: change to create dirs for portage user/group
this is allow to use g-cpan users besides root more easely,
just add users into portage group and do not fix permissions every install
app-portage/g-cpan/g-cpan-9999.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild
b/app-portage/g-cpan/g-cpan-9999.ebuild
index 1d1c113..1ff7291 100644
--- a/app-portage/g-cpan/g-cpan-9999.ebuild
+++ b/app-portage/g-cpan/g-cpan-9999.ebuild
@@ -32,15 +32,15 @@ RDEPEND="${DEPEND}
src_install() {
perl-module_src_install
- diropts "-m0755"
+ diropts -m0775 -o portage -g portage
dodir "/var/tmp/g-cpan"
dodir "/var/log/g-cpan"
keepdir "/var/log/g-cpan"
}
pkg_postinst() {
- elog "You may wish to adjust the permissions on /var/tmp/g-cpan"
- elog "if you have users besides root expecting to use g-cpan."
+ elog "If you want to use g-cpan besides root you may wish to"
+ elog " adjust the permissions on /var/tmp/g-cpan or add users into
portage group."
elog "Please note that some CPAN packages need additional manual"
elog "parameters or tweaking, due to bugs in their build systems."
}