Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: acct-user/gogs/
Date: Wed, 16 Sep 2020 20:18:37
Message-Id: 1600181297.b377fbec4b83e1e50f5c2f26f556d6feb36ffc61.andrewammerlaan@gentoo
1 commit: b377fbec4b83e1e50f5c2f26f556d6feb36ffc61
2 Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 15 14:48:05 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Tue Sep 15 14:48:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b377fbec
7
8 acct-user/gogs: changed from /bin/sh to /bin/bash
9
10 Www-apps/gogs use bash, so user also should use
11 that shell instead of standart /bin/sh.
12 Otherwise we will get hangs on some system
13
14 Package-Manager: Portage-3.0.4, Repoman-3.0.1
15 Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
16
17 acct-user/gogs/{gogs-0.ebuild => gogs-1.ebuild} | 4 +++-
18 1 file changed, 3 insertions(+), 1 deletion(-)
19
20 diff --git a/acct-user/gogs/gogs-0.ebuild b/acct-user/gogs/gogs-1.ebuild
21 similarity index 88%
22 rename from acct-user/gogs/gogs-0.ebuild
23 rename to acct-user/gogs/gogs-1.ebuild
24 index f66ad0c6..4186a5b1 100644
25 --- a/acct-user/gogs/gogs-0.ebuild
26 +++ b/acct-user/gogs/gogs-1.ebuild
27 @@ -10,10 +10,12 @@ DESCRIPTION="www-apps/gogs user"
28 ACCT_USER_ID=197 #Following git user; Change if there are conflicts
29 ACCT_USER_HOME_OWNER=gogs:git
30 ACCT_USER_HOME_PERMS=750
31 -ACCT_USER_SHELL=/bin/sh
32 +ACCT_USER_SHELL=/bin/bash
33 ACCT_USER_GROUPS=( git )
34 ACCT_USER_HOME=/var/lib/gogs
35 APP_DIR=/usr/share/gogs
36 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
37
38 +RDEPEND="app-shells/bash"
39 +
40 acct-user_add_deps