From cfc26de260292dd6af6924aada622746b95f2d9d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 10 Dec 2019 21:00:45 -0500 Subject: [PATCH 1/3] ebuild-writing/users-and-groups: use an explicit placeholder UID/GID. The number "123" is used as the UID/GID in our example acct-user and acct-group ebuilds. Those IDs are now however claimed by the "ntp" user and group, so they are perhaps not the best examples. Instead, I've chosen to use an invalid number 123456, which will never collide with a real package, and which cannot accidentally be committed. Signed-off-by: Michael Orlitzky Bug: https://bugs.gentoo.org/702508 --- ebuild-writing/users-and-groups/text.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebuild-writing/users-and-groups/text.xml b/ebuild-writing/users-and-groups/text.xml index 26d23ab..22133eb 100644 --- a/ebuild-writing/users-and-groups/text.xml +++ b/ebuild-writing/users-and-groups/text.xml @@ -48,7 +48,7 @@ EAPI=7 inherit acct-group DESCRIPTION="Meaningful description of the group" -ACCT_GROUP_ID=123 +ACCT_GROUP_ID=123456

@@ -77,7 +77,7 @@ EAPI=7 inherit acct-user DESCRIPTION="Meaningful description of the user" -ACCT_USER_ID=123 +ACCT_USER_ID=123456 ACCT_USER_SHELL=/usr/bin/foo ACCT_USER_HOME=/var/lib/foo ACCT_USER_HOME_OWNER=foo:bar -- 2.23.0