Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/users-and-groups/
Date: Fri, 02 Sep 2016 00:29:45
Message-Id: 1472775680.a47f823e94931580ffebcc76f160dc7dcf53e02b.gokturk@gentoo
1 commit: a47f823e94931580ffebcc76f160dc7dcf53e02b
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 00:21:20 2016 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 00:21:20 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=a47f823e
7
8 ebuild-writing/users-and-groups: fix enewuser calling convention #592702
9
10 enewuser stopped passing extra arguments, shown as '[params]' in the
11 docs, to useradd. Update the docs to reflect the eclass change.
12
13 Gentoo-Bug: https://bugs.gentoo.org/592702
14
15 ebuild-writing/users-and-groups/text.xml | 7 +------
16 1 file changed, 1 insertion(+), 6 deletions(-)
17
18 diff --git a/ebuild-writing/users-and-groups/text.xml b/ebuild-writing/users-and-groups/text.xml
19 index e1d0fcd..536be3b 100644
20 --- a/ebuild-writing/users-and-groups/text.xml
21 +++ b/ebuild-writing/users-and-groups/text.xml
22 @@ -52,7 +52,7 @@ To add a user, use the <c>enewuser</c> function:
23 </p>
24
25 <pre>
26 -enewuser &lt;user&gt; [uid] [shell] [homedir] [groups] [params]
27 +enewuser &lt;user&gt; [uid] [shell] [homedir] [groups]
28 </pre>
29
30 <p>
31 @@ -77,11 +77,6 @@ wrapped correctly, for example:
32 enewuser frozd -1 -1 -1 "backup,frozd"
33 </pre>
34
35 -<p>
36 -Finally, any data left over for the <c>params</c> argument is passed directly to
37 -useradd.
38 -</p>
39 -
40 <note>
41 User IDs should rarely be hardcoded. If this is the case, you should
42 probably check first on gentoo-dev.