Summary: | users.eclass enewgroup/enewuser improvements for darwin9 and up | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Armando Di Cianno <armando> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED OBSOLETE | ||
Severity: | major | CC: | leho |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260027 | ||
Attachments: |
Fixes eutils.eclass support for Mac OS X 10.5 on Prefix
A bzip2 of an overlay that contains useful QA ebuilds. |
Description
Armando Di Cianno
2009-02-22 15:44:25 UTC
Created attachment 182779 [details, diff]
Fixes eutils.eclass support for Mac OS X 10.5 on Prefix
Comment on attachment 182779 [details, diff]
Fixes eutils.eclass support for Mac OS X 10.5 on Prefix
This patch doesn't /remove/ the code it replaces, it just supersedes it.
Created attachment 182781 [details]
A bzip2 of an overlay that contains useful QA ebuilds.
$ tar tjvf overlay.tar.bz2
drwxr-xr-x fafhrd/staff 0 2009-02-21 17:44 overlay/
drwxr-xr-x fafhrd/staff 0 2009-02-22 10:29 overlay/eclass/
-rw-r--r-- fafhrd/staff 55214 2009-02-22 10:18 overlay/eclass/eutils.eclass
drwxr-xr-x fafhrd/staff 0 2009-02-21 17:40 overlay/profiles/
-rw-r--r-- fafhrd/staff 5 2009-02-21 17:40 overlay/profiles/categories
-rw-r--r-- fafhrd/staff 12 2009-02-21 17:40 overlay/profiles/repo_name
drwxr-xr-x fafhrd/staff 0 2009-02-21 19:47 overlay/test/
drwxr-xr-x fafhrd/staff 0 2009-02-21 23:12 overlay/test/enewgroup/
-rw-r--r-- fafhrd/staff 1485 2009-02-21 19:35 overlay/test/enewgroup/enewgroup-1.ebuild
-rw-r--r-- root/staff 197 2009-02-21 23:12 overlay/test/enewgroup/Manifest
drwxr-xr-x fafhrd/staff 0 2009-02-21 23:12 overlay/test/enewuser/
-rw-r--r-- fafhrd/staff 2229 2009-02-21 22:41 overlay/test/enewuser/enewuser-1.ebuild
-rw-r--r-- fafhrd/staff 196 2009-02-21 23:12 overlay/test/enewuser/Manifest
drwxr-xr-x fafhrd/staff 0 2009-02-21 23:13 overlay/test/userland/
-rw-r--r-- root/staff 195 2009-02-21 23:13 overlay/test/userland/Manifest
-rw-r--r-- fafhrd/staff 443 2009-02-21 19:49 overlay/test/userland/userland-1.ebuild
Comment on attachment 182781 [details]
A bzip2 of an overlay that contains useful QA ebuilds.
You can use the enewgroup and enewuser ebuilds in this overlay like so:
* emerge enewuser
** Make sure all tests pass
* Take a look on the system, and see if everything make sense and was created.
* emerge enewuser -C
** Make sure all tests pass.
Oh -- You shouldn't emerge enewgroup and enewuser at the same time -- do one, remove it, then do the other.
I don't think we should use (E)ROOT when creating the user account for shell, but ${EPREFIX}${eshell} instead. Sure, it's a small change. I moved it from ROOT -> EROOT, only because it was less of a change. The only relevant part of the eclass patch nowadays is a darwin9 bit that tries harder to create useful users on OSX. Yet is remains questionable if it's really necessary, but that is only relevant when we will dive into the privileged area more seriously. Yeah, it's still pretty much necessary. Funny, I was actually finally updating this particular part of my permissions/privileges stuff for 10.6 just last week. I'm might be the only one out there using prefix portage in a privileged / more-osx-integrated way, though. I believe since this bug Apple has changed their ways once or twice, so I'm affraid the content is no longer current. |