Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23435 - "Local" category in Portage
Summary: "Local" category in Portage
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 22:17 UTC by Joshua J. Berry (CondorDes) (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua J. Berry (CondorDes) (RETIRED) gentoo-dev 2003-06-24 22:17:11 UTC
I would like a "local" category in Portage, which isn't used by Gentoo for
"official" ebuilds, but instead can be used by individual system administrators
to house custom ebuilds.

I think this would help administrators of large numbers of systems greatly,
because they can use this functionality to either distribute custom builds of
apps which may be used internally, or maintain a centralized repository for
configuration data.

Thanks in advance.

Reproducible: Always
Steps to Reproduce:
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-14 06:44:44 UTC
Already found PORTDIR_OVERLAY?
See http://www.gentoo.org/doc/en/portage-user.xml
I think it does exactly what you are looking for.
Comment 2 Joshua J. Berry (CondorDes) (RETIRED) gentoo-dev 2003-07-14 09:19:26 UTC
Yes, I have, and that's not what I'm talking about. 
 
When you create your own ebuilds in Portage (and shove them in PORTDIR_OVERLAY), you 
are limited to using the categories which are listed in /usr/portage/profiles/categories. 
 
I have several servers running Gentoo which I manage, all of which must have the same 
configuration (packages, files in /etc, ...). To this end, I've created ebuilds which contain that 
configuration. It's easier for me to do it this way because (a) I have to distribute a common set 
of configuration files, some of which have server-specific modifications (etc-update is a great 
tool to use here), and (b) I need a specific set of packages installed. I know I can use the 
world file for (b), but I can't do the same for (a). (Plus, it's easier to propagate ebuilds than it is 
to propagate the world file.) 
 
There is no suitable category for these ebuilds (e.g. sys-config or sys-profiles, or something 
similar), so I have been putting them in app-admin in my PORTDIR_OVERLAY tree. I would 
like a local category, because these ebuilds don't really belong in any of the already-
existing categories, and I feel that local sysadmins should have a category all to themselves 
(hence the generic name "local"). 
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-07-16 02:12:46 UTC
I have no problem with this. It can be added to rsync's exclude directories.

Seemant?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-07-16 02:36:27 UTC
I think this makes sense, personally
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2003-09-21 11:02:37 UTC
The new /etc/portage/categories file should fix this issue :)