Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/g-cpan/
Date: Sat, 30 Apr 2016 16:57:52
Message-Id: 1462035372.0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1.dilfridge@gentoo
1 commit: 0ebe69b5a4f45573dfb56bbd90c3bf4be8521db1
2 Author: Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 27 13:01:40 2016 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 30 16:56:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ebe69b5
7
8 app-portage/g-cpan: change to create dirs for portage user/group
9
10 this is allow to use g-cpan users besides root more easely,
11 just add users into portage group and do not fix permissions every install
12
13 app-portage/g-cpan/g-cpan-9999.ebuild | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild
17 index 1d1c113..1ff7291 100644
18 --- a/app-portage/g-cpan/g-cpan-9999.ebuild
19 +++ b/app-portage/g-cpan/g-cpan-9999.ebuild
20 @@ -32,15 +32,15 @@ RDEPEND="${DEPEND}
21
22 src_install() {
23 perl-module_src_install
24 - diropts "-m0755"
25 + diropts -m0775 -o portage -g portage
26 dodir "/var/tmp/g-cpan"
27 dodir "/var/log/g-cpan"
28 keepdir "/var/log/g-cpan"
29 }
30
31 pkg_postinst() {
32 - elog "You may wish to adjust the permissions on /var/tmp/g-cpan"
33 - elog "if you have users besides root expecting to use g-cpan."
34 + elog "If you want to use g-cpan besides root you may wish to"
35 + elog " adjust the permissions on /var/tmp/g-cpan or add users into portage group."
36 elog "Please note that some CPAN packages need additional manual"
37 elog "parameters or tweaking, due to bugs in their build systems."
38 }