LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 829|回复: 2

Portage 2.1 Released!

[复制链接]
发表于 2006-6-11 15:18:14 | 显示全部楼层 |阅读模式
The Gentoo Portage Team is proud to announce that version 2.1 of portage has been completed and added to the tree for testing. The list of new features and major bug fixed is quite impressive. For those interested, a complete list of closed bugs is also available. You can read the full release notes or follow the stabilization bug to see the progress in bringing this wonderful achievement to stable users.

Release Notes; upgrade information mainly.
Features/major bugfixes are listed in NEWS

portage-2.1
==================================

* new cache framework, breaking all old cache modules.
  If you're having problems with portage_db_cdb, this is likely the cause.
* USE flag output ordering has changed.  The old ordering is now an option
  by the name of --alphabetical.  Adding the option to EMERGE_DEFAULT_OPTS
  in make.conf will restore the old behaviour permanently.
* The deprecated --inject has been removed, use /etc/portage/profile/package.provided
* The deprecated --upgradeonly has been removed, use /etc/portage/package.*
  instead.
* 'emerge sync' has been deprecated, use 'emerge --sync' instead (same
  for other actions)
* Tools that call emerge should override the EMERGE_DEFAULT_OPTS environment
  variable or use the emerge --ignore-default-opts option.
* rsync option handling has been redesigned, instead of RSYNC_* variables
  use PORTAGE_RSYNC_EXTRA_OPTS from now on.


相信和多gentoo用户都用上2.1的了,最明显的进步就是new cache framework,emerge --sync 后同步 cache 的时候会快很多,解决了“50%事件” 的问题。
发表于 2006-6-13 08:04:55 | 显示全部楼层

Portage 2.1 Released

After many months in development, the Portage team has released Portage-2.1. This new release sees a great many new features, fixed bugs, and performance improvements. A detailed description of changes can be found in the release notes and NEWS file. Some highlights, however, are:

    * confcache integration: In combination with the dev-util/confcachepackage, users can now benefit from cached configure checks, speeding up build times for many packages.
    * New cache framework: The Portage cache has been completely overhauled, leading to massive speed improvements when updating cache after sync, as well as in other areas.
    * New elog functionality: In the past, important messages from ebuilds were delivered by means of the einfo, ewarn, and eerror functions, which print messages to the standard output. However, in a length multi-package merge, it is very easy for these messages to get lost. The new elog function allows them to be collected in one place for later inspection, and should greatly ease the process of upgrading many packages at one time.
    * New hooks framework: Using /etc/portage/bashrc, users can now define bash functions to be executed before and after any given ebuild phase. This can be used to make almost arbitrary customisations to the build environment, and is a powerful tool for those who need functionality or behaviour that stock Portage cannot provide.
    * Digest improvements: Portage can now use SHA256 and RMD160 digests in addition to MD5 for checking the integrity of downloaded files. This release also introduces support for a new Manifest2 format that should allow the current Manifest and digest-* files to be unified into one much more efficient file format.
    * Improved debugging support: using FEATURES="splitdebug" it is now possible to keep the performance improvements from using stripped binaries, while still having the debug information around on disk should it be needed. This should make filing useful bug reports much easier.
    * Colour remappings: Using the /etc/portage/color.map file, you can now remap the colours that Portage will use in its output. Have you ever wanted a pretty pink portage? Well now you can, without having to change the source code.
    * Configuration improvements: Certain config files can now be made into directories, for easier management (for example, /etc/portage/package.unmask/kde, /etc/portage/package.unmask/xorg will be combined to make the old /etc/portage/package.unmask). /etc/portageitself can also be loaded from different locations, making certain tasks much simpler.
    * Various other improvements: Certain types of binary security issues can now be fixed automatically. The initial import of the Portage module should now be faster in certain circumstances, meaning that external scripts which import it should see speed improvements. Emerge now supports a -q or 'really quiet mode' option, reducing its output to a minimum.
回复 支持 反对

使用道具 举报

发表于 2006-6-13 08:07:09 | 显示全部楼层
News (mainly features/major bug fixes)

portage-2.1 (ongoing via pre releases)
------------

* FEATURES="confcache" integration; global caching to speed up configure calls,
  requires dev-util/confcache
* elog framework and accompanying modules for logging ebuild warnings, errors
  and general notices. Collects eerror/ewarn/elog/einfo messages.
* New elog function (should replace einfo in many cases)
* version syntax enhancements allowing multiple suffixes and a new 'cvs'
  prefix for denoting "live sources" ebuilds.
* config files as directories enabling more flexible settings management.
* Addition of an register_die_hook method that allows ebuild/eclasses to
  register functions to be called for better debugging on errors.
* Addition of pre and post user hookable functions for each ebuild phase, accessible
  via portage bashrc.  Example would be pre_src_unpack .
* cache refactoring- runtime improvement from 35% -> 65%.
* Intelligently handle and display USE_EXPAND-based IUSE variables.
* FEATURES="parallel-fetch".  Download in parallel to compilation.
* Include a "changed or new" USE flag output when --verbose isn't specified.
* Support for splitting out debug information into separate files in
  /usr/lib{,32,64}.
* exec subsystem refactoring (now with less bugs!)
* Added sha256 and rmd160 hashes for digests/manifests
* Make --emptytree only apply to ${ROOT} rather than always including /.
* Allow packages to be upgraded that are only depended on via a
  "|| ( =cat/pkg-1* =cat/pkg-2* )" construct.
* Ebuild output is no longer cut off early when using PORT_LOGDIR.
* Distfiles indirection- $DISTFILES access goes through a tmp dir to fail
  access to files not listed in SRC_URI.
* Emerge now uses --resume to restart itself after portage upgrade.
* Atomic file updates via the new atomic_ofstream class.
* Global updates and fixpackages performance optimizations.
* Tests show that file locking is now more reliable.
* A bash call stack is printed when an ebuild dies in ebuild.sh.
* New rsync option handling by using a generic PORTAGE_RSYNC_EXTRA_OPTS variable
* Manifest2 support that will allow digest-* files to be eliminated from the tree.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表