You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
172 lines
8.6 KiB
172 lines
8.6 KiB
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
#
|
|
# System-wide defaults for the Portage system
|
|
# See portage(5) manpage
|
|
|
|
# Profile IUSE injection (applies only to ebuilds which use EAPI 5 or later)
|
|
IUSE_IMPLICIT="prefix prefix-chain prefix-guest"
|
|
USE_EXPAND_IMPLICIT="ELIBC KERNEL USERLAND"
|
|
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
|
|
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
|
|
USE_EXPAND_VALUES_USERLAND="BSD GNU"
|
|
|
|
# Env vars to expand into USE vars. Modifying this requires prior
|
|
# discussion on gentoo-dev@lists.gentoo.org.
|
|
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
|
|
|
|
# USE_EXPAND variables whose contents are not shown in package manager
|
|
# output. Changes need discussion on gentoo-dev.
|
|
USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_X86"
|
|
|
|
CONFIG_PROTECT="/etc"
|
|
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
|
|
|
|
# EAPI 7 environment variable blacklist.
|
|
#
|
|
# DBUS_SESSION_BUS_ADDRESS to avoid trying to access the user's session
|
|
# bus.
|
|
#
|
|
# DISPLAY and XAUTHORITY to avoid trying to access the user's X11.
|
|
#
|
|
# XDG_* since the values coming from user environment can collide with
|
|
# ebuild-set ${HOME} (e.g. by referring to user's home directory).
|
|
# We exclude XDG_DATA_DIRS & XDG_CONFIG_DIRS as those are set in env.d.
|
|
#
|
|
# PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX:
|
|
# These are guaranteed to confuse perl module installation. Pre-EAPI7
|
|
# the Perl eclasses bail out if they are set. Now we declare them here.
|
|
#
|
|
# GOBIN needs to be cleaned as random values in GOBIN can affect the
|
|
# building of some packages:
|
|
# https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0
|
|
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN"
|
|
|
|
# Variables that are set exclusively by the profile
|
|
# and not by user configuration files.
|
|
PROFILE_ONLY_VARIABLES="${PROFILE_ONLY_VARIABLES} ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
|
|
|
|
# 'Sane' defaults
|
|
ELIBC="glibc"
|
|
KERNEL="linux"
|
|
USERLAND="GNU"
|
|
INPUT_DEVICES="keyboard mouse"
|
|
|
|
# Accept any license except those in the EULA license group.
|
|
ACCEPT_LICENSE="* -@EULA"
|
|
|
|
# Tomáš Chvátal <scarabeus@gentoo.org> (23 Mar 2013)
|
|
# By default enable libreoffice implementation only.
|
|
OFFICE_IMPLEMENTATION="libreoffice"
|
|
|
|
# Tomáš Chvátal <scarabeus@gentoo.org> (12 Aug 2011)
|
|
# By default do not build any grub platform and let it guess.
|
|
GRUB_PLATFORMS=""
|
|
|
|
# Tomáš Chvátal <scarabeus@gentoo.org> (05 May 2013)
|
|
# By default enable all extensions with no dependencies
|
|
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
|
|
|
|
# Andreas K. Hüttel <dilfridge@gentoo.org> (19 Aug 2011, 25 Mar 2012)
|
|
# Johannes Huber <johu@gentoo.org> (15 Apr 2018)
|
|
# Andreas Sturmlechner <asturm@gentoo.org> (01 Jan 2019)
|
|
# By default build all calligra features (except unmaintained: stage).
|
|
CALLIGRA_FEATURES="karbon sheets words"
|
|
|
|
# Andreas K. Huettel <dilfridge@gentoo.org> (28 Sep 2010)
|
|
# Small default list of enabled plugins for collectd
|
|
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
|
|
|
|
# Tomáš Chvátal <scarabeus@gentoo.org> (26 Oct 2010)
|
|
# By default enable all protocols for average GPS user
|
|
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
|
|
|
|
# Benedikt Böhm <hollow@gentoo.org> (27 Nov 2007)
|
|
# Sane defaults for built-in apache modules
|
|
# Patrick Lauer <patrick@gentoo.org> (12 Oct 2012)
|
|
# extend for apache 2.4
|
|
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
|
|
|
|
# Peter Volkov <pva@gentoo.org> (29 Apr 2010)
|
|
# Set some defaults or package will fail to build (Check mconfig in package sources)
|
|
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
|
|
|
|
# Robert Buchholz <rbu@gentoo.org> (17 Jan 2006)
|
|
# Some common lcd devices
|
|
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
|
|
|
|
# Miroslav Šulc <fordfrog@gentoo.org> (19 Nov 2008)
|
|
# Netbeans modules/clusters
|
|
NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
|
|
|
|
# Manuel Rüger <mrueg@gentoo.org> (09 Sep 2015)
|
|
# Default Ruby build target(s)
|
|
# Updated to include ruby24 on 12 Nov 2018
|
|
RUBY_TARGETS="ruby24"
|
|
|
|
# Samuli Suominen <ssuominen@gentoo.org> (03 Dec 2009)
|
|
# Enable USE cxx by default so base-system and toolchain pkgs can start using USE cxx
|
|
# instead of USE nocxx.
|
|
# https://archives.gentoo.org/gentoo-dev/msg_a181cd0d36600067b599f4b996c6989f.xml
|
|
USE="${USE} cxx"
|
|
|
|
# Enable extended filesystem attribute support by default.
|
|
# https://archives.gentoo.org/gentoo-dev/message/ba0e3457e4b807e79816f0df03566af0
|
|
USE="${USE} xattr"
|
|
|
|
# Tiziano Müller <dev-zero@gentoo.org> (24 Jan 2010)
|
|
# We usually don't want python to (re)write .py[co] files during phase runs
|
|
# since it could cause sandbox violations
|
|
PYTHONDONTWRITEBYTECODE="1"
|
|
|
|
# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (16 Nov 2011)
|
|
# Add default USE value for bootstrap and rename it from STAGE1_USE to BOOTSTRAP_USE
|
|
# Add in expanded PYTHON_TARGETS or stage1 builds break because of USE="-* ${BOOTSTRAP_USE}"
|
|
# This MUST be kept in sync with the PYTHON_TARGETS below
|
|
# Mike Gilbert <floppym@gentoo.org> (23 May 2018)
|
|
# sys-apps/baslayout-2.5 needs split-usr enabled.
|
|
BOOTSTRAP_USE="cxx unicode internal-glib pkg-config split-usr python_targets_python3_6 python_targets_python2_7"
|
|
|
|
# Mike Gilbert <floppym@gentoo.org> (15 May 2012)
|
|
# Default target(s) for python-r1.eclass
|
|
# Mikle Kolyada <zlogene@gentoo.org> (24 Jul 2018)
|
|
# Updated to python3_6
|
|
PYTHON_TARGETS="python2_7 python3_6"
|
|
PYTHON_SINGLE_TARGET="python3_6"
|
|
|
|
# Michał Górny <mgorny@gentoo.org> (10 Aug 2013)
|
|
# Moved from portage's make.globals.
|
|
# 1) do not uninstall kernel modules and therefore allow replacing them,
|
|
# 2,3) removed wrt bug #663170,
|
|
# 4) protect /var/{run,lock} symlinks for bug 519620
|
|
COLLISION_IGNORE="/lib/modules/*"
|
|
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
|
|
|
|
# Andreas K. Hüttel <dilfridge@gentoo.org> (23 Aug 2013)
|
|
# Make emerge messages default to English as per Council decision
|
|
LC_MESSAGES="C"
|
|
|
|
# Brian Dolbec <dolsen@gentoo.org> (16 Jun 2017)
|
|
# disable twisted's plugin cache update to prevent access violations
|
|
# call /usr/bin/twisted-regen-cache in pkg_postinst()
|
|
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
|
|
|
|
# Aaron W. Swenson <titanofold@gentoo.org> (9 Jul 2017)
|
|
# Default target(s) for postgres{,-multi}.eclass
|
|
POSTGRES_TARGETS="postgres9_5 postgres10"
|
|
|
|
# Michael Orlitzky <mjo@gentoo.org> (17 Nov 2017)
|
|
#
|
|
# Default PHP targets, used only for extensions at the moment.
|
|
#
|
|
# The value of this variable should be chosen to be "least annoying by
|
|
# default." For example, some packages support only php-5.x and some
|
|
# only php-7.x. By having both "php5-6" and php7-0" in PHP_TARGETS, we
|
|
# ensure that users who don't care one way or the other don't have to
|
|
# mess with this variable in order to install those packages.
|
|
#
|
|
# Moreover, it should only contain targets that have a stable version
|
|
# of PHP, to avoid pulling in an unstable PHP on stable systems.
|
|
#
|
|
PHP_TARGETS="php5-6 php7-1"
|