Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 599110 Details for
Bug 702508
devmanual: update example acct-* ebuilds to match recommendations
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-ebuild-writing-users-and-groups-use-an-explicit-plac.patch
0001-ebuild-writing-users-and-groups-use-an-explicit-plac.patch (text/plain), 1.35 KB, created by
Michael Orlitzky
on 2019-12-11 02:16:26 UTC
(
hide
)
Description:
0001-ebuild-writing-users-and-groups-use-an-explicit-plac.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2019-12-11 02:16:26 UTC
Size:
1.35 KB
patch
obsolete
>From cfc26de260292dd6af6924aada622746b95f2d9d Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <mjo@gentoo.org> >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 <mjo@gentoo.org> >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 > </pre> > > <p> >@@ -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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 702508
: 599110 |
599112
|
599114
|
600136
|
600138