Enable FEATURES=news by default and document it.
[portage.git] / cnf / make.globals
1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Id$
4 # System-wide defaults for the Portage system
5
6 #            *****************************
7 #            **  DO NOT EDIT THIS FILE  **
8 # ***************************************************
9 # **** CHANGES TO make.conf *OVERRIDE* THIS FILE ****
10 # ***************************************************
11 # ** Incremental Variables Accumulate Across Files **
12 # **  USE, CONFIG_*, and FEATURES are incremental  **
13 # ***************************************************
14
15 # When compiler flags are unset, many packages will substitute their own
16 # implicit flags. For uniformity, use an empty string as the default.
17 CFLAGS=""
18 CXXFLAGS=""
19 LDFLAGS=""
20
21 # Default rsync mirror
22 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
23
24 # Default distfiles mirrors
25 GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
26
27 ACCEPT_LICENSE="* -@EULA"
28 ACCEPT_PROPERTIES="*"
29
30 # Repository Paths
31 PORTDIR=/usr/portage
32 DISTDIR=/usr/portage/distfiles
33 PKGDIR=/usr/portage/packages
34 RPMDIR=/usr/portage/rpm
35
36 # Temporary build directory
37 PORTAGE_TMPDIR=/var/tmp
38
39 # Fetching command (5 tries, passive ftp for firewall compatibility)
40 FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
41 RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
42
43 # Default user options
44 FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned
45           sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
46
47 # Ignore file collisions in /lib/modules since files inside this directory
48 # are never unmerged, and therefore collisions must be ignored in order for
49 # FEATURES=protect-owned to operate smoothly in all cases.
50 COLLISION_IGNORE="/lib/modules"
51
52 # Enable for global testing
53 FEATURES="${FEATURES} preserve-libs"
54
55 # Default chunksize for binhost comms
56 PORTAGE_BINHOST_CHUNKSIZE="3000"
57
58 # By default wait 5 secs before cleaning a package
59 CLEAN_DELAY="5"
60
61 # By default wait 10 secs on an important warning
62 EMERGE_WARNING_DELAY="10"
63
64 # Automatically clean installed packages after they are updated.
65 # This option will be removed and forced to yes.
66 AUTOCLEAN="yes"
67
68 # Don't compress files with these suffixes.
69 PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
70
71 # Number of mirrors to try when a downloaded file has an incorrect checksum.
72 PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
73
74 # Minimum size of existing file for RESUMECOMMAND to be called.
75 PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
76
77 # Number of times 'emerge --sync' will run before giving up.
78 PORTAGE_RSYNC_RETRIES="3"
79
80 # Number of seconds rsync will wait before timing out.
81 #RSYNC_TIMEOUT="180"
82
83 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
84
85 # Minimal CONFIG_PROTECT
86 CONFIG_PROTECT="/etc"
87 CONFIG_PROTECT_MASK="/etc/env.d"
88
89 # Disable auto-use
90 USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
91
92 # Default ownership of installed files.
93 PORTAGE_INST_UID="0"
94 PORTAGE_INST_GID="0"
95
96 # Mode bits for ${WORKDIR} (see ebuild.5).
97 PORTAGE_WORKDIR_MODE="0700"
98
99 # Some defaults for elog
100 PORTAGE_ELOG_CLASSES="log warn error"
101 PORTAGE_ELOG_SYSTEM="save_summary echo"
102
103 PORTAGE_ELOG_MAILURI="root"
104 PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for \${PACKAGE} on \${HOST}"
105 PORTAGE_ELOG_MAILFROM="portage@localhost"
106
107 #            *****************************
108 #            **  DO NOT EDIT THIS FILE  **
109 # ***************************************************
110 # **** CHANGES TO make.conf *OVERRIDE* THIS FILE ****
111 # ***************************************************
112 # ** Incremental Variables Accumulate Across Files **
113 # **  USE, CONFIG_*, and FEATURES are incremental  **
114 # ***************************************************