summaryrefslogtreecommitdiff
path: root/profiles/base/make.defaults
blob: c80be3fc9f06d73d54f40117e4c5e1d4e8749a15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Welcome to Adélie Linux.
# This file contains the default settings for Portage(++) under Adélie Linux.

IUSE_IMPLICIT="amd64 kernel_FreeBSD prefix prefix-guest"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"

# Tier 1 and Tier 2 only, for now.  Consult Platform Group before *ever* changing this.
TIER1_ARCH="x86 x86_64 ppc ppc64 mips arm"
TIER2_ARCH="alpha arm64 hppa ia64 sparc sparc64"
UNFORTUNATE_STUPID_XORG_EBUILD_ARCH="x86-interix ppc-aix x86-winnt s390 sh x64-macos x86-fbsd amd64-fbsd x86-linux amd64-linux"
USE_EXPAND_VALUES_ARCH="${TIER1_ARCH} ${TIER2_ARCH} ${UNFORTUNATE_STUPID_XORG_EBUILD_ARCH}"

# We only support these libcs right now.
# Darwin, FreeBSD, glibc, mintlib, SunOS, and uclibc must be added due to stupid gentoo ebuilds
USE_EXPAND_VALUES_ELIBC="AIX Darwin FreeBSD glibc mintlib musl SunOS uclibc"

# XXX Someday fix it to know that busybox != GNU
USE_EXPAND_VALUES_KERNEL="linux"
USE_EXPAND_VALUES_USERLAND="BSD GNU"

# and set the defaults (can be overridden in other profiles)
ELIBC="musl"
KERNEL="linux"
USERLAND="GNU"

# lightly copied from gentoo/profiles/base/make.defaults, edited to fit
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NOXCUSE_APPS OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS ROS_MESSAGES"

# we do not hide CROSSCOMPILE_OPTS or ELIBC from the user.
USE_EXPAND_HIDDEN="USERLAND KERNEL ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_X86"

CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"

# again, useful from gentoo/profiles/base/make.defaults
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"

# we attempt to be python3-clean in the base system profile.
PYTHON_TARGETS="python3_5"
PYTHON_SINGLE_TARGET="python3_5"

# These USE will be forced onto every system running Adélie.  DO NOT MODIFY THIS LIGHTLY!
USE="cxx icu -introspection ipv6 modules ssl unicode xattr"

# Auto-build .apks, always
PORTAGE_BINPKG_FORMAT="apk"
FEATURES="buildpkg splitdebug"

# Use curl instead of wget for fetching.
FETCHCOMMAND="curl -f -L -o \"\${DISTDIR}\"/\"\${FILE}\" \"\${URI}\""

# This masks files on EVERY SYSTEM running Adélie.  BE CAREFUL!
# Specifically, do not mask systemd unit files or such from the base profile.
# It can't be overriden in the systemd profile!
INSTALL_MASK="/usr/lib/charset.alias"

PORTAGE_TMPDIR="/usr/src"

APACHE2_MODULES="access_compat actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_file authz_core authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cern_meta cgi cgid charset_lite dav deflate dir dumpio env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_config log_forensic logio macro mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_fcgi proxy_html proxy_http proxy_scgi ratelimit remoteip reqtimeout rewrite setenvif slotmem_shm socache_shmcb speling status substitute unique_id unixd userdir usertrack version vhost_alias"
APACHE2_MPMS="event"

# vmmouse is x86 only
INPUT_DEVICES="* -vmmouse"

# only put video cards in the base profile that are supported on all architectures (at least tier 1)
VIDEO_CARDS="chips cirrus dummy epson fbdev glint mach64 mga nouveau nv r128 radeon s3 s3virge savage sisusb tdfx trident voodoo"