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