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