Add a note about ACCEPT_LICENSE.
[portage.git] / RELEASE-NOTES
1 Release Notes; upgrade information mainly.
2 Features/major bugfixes are listed in NEWS
3
4 portage-2.2
5 ==================================
6
7 * Portage now warns if an ebuild repository does not have a name, as several
8   new features in 2.2 make use of or require named repositories. The repository
9   name is stored in profiles/repo_name in each repository.
10 * Package set support: There are several important notes regarding package
11   sets:
12   - setnames have to be prefixed with @ (exceptions: 'world' and 'system' can
13     be used without the prefix)
14   - they may currently only include simple and versioned atoms or other sets,
15     use conditionals or any-of constructs aren't possible yet
16   - sets can be referenced either in other file-based sets or as argument to
17     emerge, but not in ebuilds, config files or other tools at this time.
18   - packages won't be unmerged if they are referenced by an installed package
19     set (with the exception of the world set, and installed being determined
20     by the world_sets file).
21 * "world" no longer includes "system" unconditionally, but you can add
22   "@system" to the world_sets file to restore the old state.
23
24 portage-2.1.7
25 ==================================
26 * Default behavior for emerge commands has changed so that packages are only
27   updated when necessary. In order to ensure that all packages are updated
28   when possible, you must now specify the -u/--update option. See bug #275945
29   for the rationale behind this change.
30 * If using python3, you may notice that some types of program output which
31   require a tty device (like the wget progress bar) will be disabled. This
32   is due to an upstream python issue: http://bugs.python.org/issue5380. See
33   bug #287648 for more information.
34 * Licenses in the @EULA license group are now masked by the default
35   ACCEPT_LICENSE setting. You can unmask all licenses by setting
36   ACCEPT_LICENSE="*" in /etc/make.conf. See the make.conf(5) man page for
37   more information about ACCEPT_LICENSE.
38
39 portage-2.1.6.12
40 ==================================
41 * If you want overlay eclasses to override eclasses from other repos then see
42   the portage(5) man page for information about the new layout.conf and
43   repos.conf configuration files.
44
45 portage-2.1.6
46 ==================================
47
48 * The default behavior has changed for `emerge world` and `emerge system`
49   commands. These commands will reinstall all packages from the given set
50   unless an option such as --noreplace, --update, or --newuse is specified.
51 * FEATURES=fixpackages is now enabled by default via make.globals. Set
52   FEATURES="-fixpackages" in make.conf if you'd like to disable it.
53 * File collision protection is now enabled by default via make.globals with
54   FEATURES=protect-owned. In order to protect files from be overwritten or
55   removed a inappropriate times, it is recommended to leave protect-owned
56   (or the similar collision-protect feature) enabled at all times. If you
57   want to disable collision protection completely (not recommended), then
58   you need to ensure that neither protect-owned nor collision-protect are
59   enabled.
60 * The python namespace for portage has been sanitized, all portage related code
61   is now contained within the portage namespace. External script should be
62   updated accordingly, though links exist for backward compability.
63 * -* support in package.keywords was changed as it was inconsistent with 
64   ACCEPT_KEYWORDS behavior (also see
65   http://dev.gentoo.org/~genone/docs/KEYWORDS.stupid).
66   Previously having -* in package.keywords matched packages with KEYWORDS="-*",
67   now it resets the ACCEPT_KEYWORDS list for the given atom like it does when
68   used in ACCEPT_KEYWORDS.
69   For packages that don't specify any other KEYWORDS you can use the new **
70   token as documented in portage(5) to disable KEYWORDS filtering completely.
71 * When generating manifests, existing distfiles digests will not be updated
72   in cases when the current file in $DISTDIR does not match. In order to
73   force digests to be updated, run `ebuild --force <ebuild file> manifest`.
74   This is a safety measure which protects valid distfiles digests from being
75   accidentally replaced by invalid digests.
76 * If you have overridden FETCHCOMMAND or RESUMECOMMAND variables, for
77   compatibility with EAPI 2, you must ensure that these variables are written
78   such that the downloaded file will be placed at \"\${DISTDIR}/\${FILE}\".
79   Refer to make.conf(5) for information about FETCHCOMMAND and RESUMECOMMAND.
80
81 portage-2.1.5
82 ==================================
83
84 * The pkg_postinst phase is now called after the previous version of a
85   package has been removed. As a consequence, it is no longer possible
86   to call has_version in pkg_postinst to detect whether the current
87   install operation is an upgrade or downgrade. If this information is
88   needed during the pkg_postinst phase, do the has_version call in an
89   earlier phase (such as pkg_preinst) and store the result in a global
90   variable to be accessed by pkg_postinst when it is called. Bug #226505
91   tracks all issues related to this phase execution order change.
92 * The metadata-transfer feature is now disabled by default. This disables the
93   "Updating Portage cache" routine that used to run at the tail end of each
94   `emerge --sync` operation. If you use something like the sqlite module and
95   want to keep all metadata in that format alone (useful for querying), enable
96   FEATURES="metadata-transfer" in make.conf. You should also enable
97   FEATURES="metadata-transfer" if you have any eclasses from PORTDIR_OVERLAY
98   that override eclasses from PORTDIR (in this case, you may have disabled
99   a relevant warning message by setting PORTAGE_ECLASS_WARNING_ENABLE="0" in
100   make.conf).
101 * The parallel-fetch feature is now enabled by default. It is optimized
102   to avoid doing redundant checksums for previously downloaded files that have
103   the correct size. Run `tail -f /var/log/emerge-fetch.log` in a
104   terminal to view parallel-fetch progress. Add FEATURES="-parallel-fetch"
105   to /etc/make.conf if you want to disable this feature.
106
107 portage-2.1.4.1
108 ==================================
109
110 * If you have an overlay then you should remove **/files/digest-*
111   files (Manifest1) because they are no longer supported.
112 * If earlier versions of portage will be used to generate manifests
113   for your overlay then you should add a file named manifest1_obsolete
114   to the root of the repository in order to disable generation of the
115   Manifest1 digest files.
116
117 portage-2.1.4
118 ==================================
119
120 * Visibility filtering is now supported for binary packages, so masking behavior
121   is essentially equivalent to that of ebuilds.
122 * There is no need to have a complete portage tree available when installing binary
123   packages or uninstalling packages, but a warning message will still be displayed if
124   it appears that a valid profile is not available.
125
126 portage-2.1.3
127 ==================================
128
129 * Portage now requires >=python-2.4, but doesn't need pycrypto anymore if
130   >=python-2.5 is installed and openssl supports the rmd160 hash.
131 * The "save_summary" and "echo" elog modules are now enabled by default. Setting
132   PORTAGE_ELOG_SYSTEM in make.conf will override this, so if you don't want elog
133   set PORTAGE_ELOG_SYSTEM="" in make.conf
134 * The unmerge process will remove any file that is not claimed by another
135   package in the same slot and is not protected by CONFIG_PROTECT, even if the
136   modification time or checksum differs from the file that was originally
137   installed.  The old behavior is still available by adding -unmerge-orphans
138   to FEATURES.
139 * The world file now supports slot atoms such as 'sys-devel/gcc:3.4'. In some
140   cases, emerge --depclean may remove slots that it would not have removed
141   in the past. The emerge --noreplace command can be used to add an atom to the
142   world file and prevent matching packages from being removed.  A slot atom
143   will be recorded in the world file for any atom that is precise enough to
144   identify a specific slot.
145 * For safer operation, emerge --prune will not unmerge packages that have
146   reverse dependencies. Use --verbose to display reverse dependencies. Use
147   --nodeps to completely ignore dependencies.
148 * emerge --depclean now accepts atoms and will unmerge only the specified
149   packages if nothing depends on them. Use --verbose to display reverse
150   dependencies.
151
152 portage-2.1.2
153 ==================================
154
155 * Depending on the number of packages installed, users may notice a difference
156   in the time taken for dependency calculations.  This performance penalty is
157   due to the addition of important new features which include the ability to
158   detect reverse blockers, the building of a complete dependency graph, and the
159   ability to use installed packages to satisify dependencies even after their
160   ebuilds have been removed from the portage tree.
161 * emerge does not necessarily update build time dependencies that are not
162   strictly required.  See the --with-bdeps option in the emerge(1) man page.
163
164 portage-2.1.1
165 ==================================
166
167 * emerge --search doesn't use regular expressions now anymore by default, so
168   emerge --search dvd+rw-tools now works as expected. Regular expressions can be enabled
169   by prefixing the search string with %. 
170 * emerge --depclean algorithm is much safer than the old one.
171 * emerge --newuse detects changes in IUSE that previously went undetected.
172
173 portage-2.1
174 ==================================
175
176 * new cache framework, breaking all old cache modules.
177   If you're having problems with portage_db_cdb, this is likely the cause.
178 * USE flag output ordering has changed.  The old ordering is now an option
179   by the name of --alphabetical.  Adding the option to EMERGE_DEFAULT_OPTS
180   in make.conf will restore the old behaviour permanently.
181 * The deprecated --inject has been removed, use /etc/portage/profile/package.provided
182 * The deprecated --upgradeonly has been removed, use /etc/portage/package.* 
183   instead.
184 * 'emerge sync' has been deprecated, use 'emerge --sync' instead (same 
185   for other actions)
186 * Tools that call emerge should override the EMERGE_DEFAULT_OPTS environment
187   variable or use the emerge --ignore-default-opts option.
188 * rsync option handling has been redesigned, instead of RSYNC_* variables
189   use PORTAGE_RSYNC_EXTRA_OPTS from now on.
190 * autouse (use.defaults) has been deprecated by specifying USE_ORDER in make.defaults
191   Users may still turn this back on by specifying USE_ORDER="env:pkg:conf:auto:defaults"
192   in make.conf.  Interested in figuring out what use flags were turned off?  Check out
193   /usr/portage/profiles/base/use.defaults and other use.defaults files that correspond 
194   to your profile.
195