From addd9a9b6027260bfbde35efc5408b5efe5341d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 27 Jul 2010 09:31:47 +0200 Subject: 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. --- cnf/sets.conf | 84 --------------------------------------------------- cnf/sets/portage.conf | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 84 deletions(-) delete mode 100644 cnf/sets.conf create mode 100644 cnf/sets/portage.conf (limited to 'cnf') diff --git a/cnf/sets.conf b/cnf/sets.conf deleted file mode 100644 index 87280cef6..000000000 --- a/cnf/sets.conf +++ /dev/null @@ -1,84 +0,0 @@ -# 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 world 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 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 world 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 -- cgit v1.2.3-1-g7c22