summaryrefslogtreecommitdiffstats
path: root/cnf/sets
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-07-27 09:31:47 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-27 00:36:32 -0700
commitaddd9a9b6027260bfbde35efc5408b5efe5341d6 (patch)
treef6fc2dad6bf2f922db881393ad627ed2a1bb09e9 /cnf/sets
parent3914366fc40ed4d5971547cf0bfd035fe0f70cc6 (diff)
downloadportage-addd9a9b6027260bfbde35efc5408b5efe5341d6.tar.gz
portage-addd9a9b6027260bfbde35efc5408b5efe5341d6.tar.bz2
portage-addd9a9b6027260bfbde35efc5408b5efe5341d6.zip
Use a directory for the default set configuration.
Expect /usr/share/portage/config/sets to be a directory containing any number of set configuration files. The default Portage sets.conf should be now installed as sets/portage.conf, and other ebuilds are free to install their own set configuration files there.
Diffstat (limited to 'cnf/sets')
-rw-r--r--cnf/sets/portage.conf84
1 files changed, 84 insertions, 0 deletions
diff --git a/cnf/sets/portage.conf b/cnf/sets/portage.conf
new file mode 100644
index 000000000..87280cef6
--- /dev/null
+++ b/cnf/sets/portage.conf
@@ -0,0 +1,84 @@
+# WARNING: default set configuration, DO NOT CHANGE.
+# If you want to change anything redefine the relevant section in
+# /etc/portage/sets.conf. Any changes to this file will be lost on the next
+# portage update, and configuration errors here might upset portage in
+# unexpected ways.
+
+# Not much that could be changed for world, so better leave it alone
+[world]
+class = portage.sets.base.DummyPackageSet
+world-candidate = False
+packages = @selected @system
+
+# Not much that could be changed for world, so better leave it alone
+[selected]
+class = portage.sets.files.WorldSelectedSet
+world-candidate = False
+
+# Same as for world, though later portage versions might use a different class
+[system]
+class = portage.sets.profiles.PackagesSystemSet
+world-candidate = False
+
+# For security there are multiple classes available, but differences are
+# rather small (normally there should be no visible difference):
+# - AffectedSet: include all GLSAs that cover a vulnerable package
+# - NewAffectedSet: include all GLSAs that cover a vulnerable package and
+# haven't been applied previously
+# - NewGlsaSet: include all GLSAs that haven't been applied
+# - SecuritySet: include all GLSAs
+[security]
+class = portage.sets.security.NewAffectedSet
+world-candidate = False
+
+# A superset of the classic <parameter>world</parameter> target, a set created
+# by this class contains SLOT atoms to match all installed packages. Note that
+# use of this set makes it impossible for emerge to solve blockers by automatic
+# uninstallation of blocked packages.
+[installed]
+class = portage.sets.dbapi.EverythingSet
+world-candidate = False
+
+# The following treats all files in /etc/portage/sets as a package set called
+# '$filename'.
+[usersets]
+class = portage.sets.files.StaticFileSet
+multiset = true
+directory = %(PORTAGE_CONFIGROOT)setc/portage/sets
+
+# Set to rebuild all packages that need a preserved lib that only remains due
+# to FEATURES=preserve-libs
+[preserved-rebuild]
+class = portage.sets.libs.PreservedLibraryConsumerSet
+world-candidate = False
+
+# Installed ebuilds that inherit from known live eclasses.
+[live-rebuild]
+class = portage.sets.dbapi.VariableSet
+world-candidate = False
+variable = INHERITED
+includes = bzr cvs darcs git mercurial subversion tla
+
+# Installed packages that own files inside /lib/modules.
+[module-rebuild]
+class = portage.sets.dbapi.OwnerSet
+world-candidate = False
+files = %(ROOT)slib/modules
+
+# Binary packages that have a different build time from a currently
+# installed package of the exact same version.
+[rebuilt-binaries]
+class = portage.sets.dbapi.RebuiltBinaries
+world-candidate = False
+
+# Installed packages for which the highest visible ebuild
+# version is lower than the currently installed version.
+[downgrade]
+class = portage.sets.dbapi.DowngradeSet
+world-candidate = False
+
+# Installed packages for which there are no visible ebuilds
+# corresponding to the same $CATEGORY/$PN:$SLOT.
+[unavailable]
+class = portage.sets.dbapi.UnavailableSet
+world-candidate = False