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