From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDE9E138330 for ; Fri, 2 Sep 2016 00:29:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 680F5E0B49; Fri, 2 Sep 2016 00:29:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 766E5E0B49 for ; Fri, 2 Sep 2016 00:29:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E984D3405BB for ; Fri, 2 Sep 2016 00:29:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B687B246F for ; Fri, 2 Sep 2016 00:29:36 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1472775680.a47f823e94931580ffebcc76f160dc7dcf53e02b.gokturk@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/users-and-groups/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/users-and-groups/text.xml X-VCS-Directories: ebuild-writing/users-and-groups/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: a47f823e94931580ffebcc76f160dc7dcf53e02b X-VCS-Branch: master Date: Fri, 2 Sep 2016 00:29:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c1f5ebd6-d5a8-4490-be2f-f92fc1b7e48f X-Archives-Hash: 2aa218e4b151ad3ba3778ff797c41572 commit: a47f823e94931580ffebcc76f160dc7dcf53e02b Author: Göktürk Yüksek gentoo org> AuthorDate: Fri Sep 2 00:21:20 2016 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Fri Sep 2 00:21:20 2016 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=a47f823e ebuild-writing/users-and-groups: fix enewuser calling convention #592702 enewuser stopped passing extra arguments, shown as '[params]' in the docs, to useradd. Update the docs to reflect the eclass change. Gentoo-Bug: https://bugs.gentoo.org/592702 ebuild-writing/users-and-groups/text.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ebuild-writing/users-and-groups/text.xml b/ebuild-writing/users-and-groups/text.xml index e1d0fcd..536be3b 100644 --- a/ebuild-writing/users-and-groups/text.xml +++ b/ebuild-writing/users-and-groups/text.xml @@ -52,7 +52,7 @@ To add a user, use the enewuser function:

-enewuser <user> [uid] [shell] [homedir] [groups] [params]
+enewuser <user> [uid] [shell] [homedir] [groups]
 

@@ -77,11 +77,6 @@ wrapped correctly, for example: enewuser frozd -1 -1 -1 "backup,frozd" -

-Finally, any data left over for the params argument is passed directly to -useradd. -

- User IDs should rarely be hardcoded. If this is the case, you should probably check first on gentoo-dev.