source: trunk/base/NEWS @ 68676

Last change on this file since 68676 was 68676, checked in by jmr@…, 10 years ago

typo in NEWS

  • Property svn:eol-style set to native
File size: 12.2 KB
Line 
1== Overview of changes from MacPorts 1.8.2 to 1.9.0 ==
2
3# For regular users:
4
5*) All output is now logged to a file, whose location will be shown if a port
6   target fails. This should be attached to bug reports. The new 'log' action
7   can also be used to view the log for a port.
8*) Command line options can be abbreviated if unambiguous.
9*) New actions: rdeps, rdependents, setrequested, unsetrequested
10*) --follow-dependencies option for uninstall (ports with the requested flag
11   set or with other dependents are skipped).
12*) New pseudo-ports and selectors: requested, unrequested, leaves, depof:,
13   rdepof:, dependentof:, rdependentof:.
14*) Architectures of dependencies are checked before install, and in many cases
15   will be automatically fixed by upgrading with +universal.
16*) New sqlite registry format which is faster and lacks some of the old
17   format's inconvenient limitations.
18*) Explicitly deselected variants (e.g. -foo) are now recorded, so they will
19   not be set to + when upgrading if +foo appears in variants.conf or
20   the port's default_variants.
21
22# For Portfile writers:
23
24*) New os.subplatform variable.
25*) New configure.ld_archflags option to match configure.cc_archflags et al.
26*) 'platform' acts like an 'if' statement rather than a variant.
27*) New supported_archs option for indicating a port only supports certain
28   archs or is noarch.
29*) pre-/post-deactivate and pre-/post-uninstall procedures can now be used,
30   and pre-/post-activate procedures are run every time the port is activated,
31   not just the first time when it is installed.
32
33== Overview of changes from MacPorts 1.7.1 to 1.8.0 ==
34
35# For regular users:
36
37*) Compatible with Mac OS X 10.6 Snow Leopard, requires at least 10.4 Tiger
38*) CPU architecture to build for is now configurable
39*) Performance and memory usage improvements
40*) New -y option for dry-run
41*) 'port search' has many new options that make it more flexible
42*) 'port upgrade' now follows the right dependencies when variants change them
43*) 'port info' and 'port variants' indicate selected and default variants;
44   'port variants' also shows conflicts and dependencies between variants
45*) A port can be marked as being replaced by another port; upgrading will
46   perform the replacement
47*) upgrade accepts new options: --force, --enforce-variants, --no-replace
48*) Ports can be marked as conflicting, and conflicts will be detected before
49   the install process starts
50*) Proxy information can now be obtained from System Preferences and from
51   macports.conf
52*) Activating a port will now first deactivate any other version of the same
53   port that is already active
54*) MacPorts can be configured to drop root privileges when not needed
55*) port(1) will exit with an appropriate status code when an error is
56   encountered (use -p to continue despite errors)
57
58# For Portfile writers:
59
60*) New options: replaced_by, conflicts, depends_fetch, depends_extract, license
61*) build_arch variable indicates which architecture should be targeted. Flags
62   used to implement this are configured per-compiler, for example,
63   configure.cc_archflags will be passed to configure.cc in CFLAGS
64*) Dependencies can be satisfied by ports that are installed but not
65   available in the ports tree
66*) Deleting all the contents of an option no longer unsets the option entirely
67*) Using an alternative fetch or extract type now adds appropriate
68   dependencies automatically, e.g. 'use_zip yes' adds a dep on unzip, and
69   'fetch.type svn' adds a dep on subversion
70*) Running phases prior to install should now work reliably when the port is
71   already installed
72
73== Overview of changes from MacPorts 1.6.0 to 1.7.0 ==
74
75# For regular users:
76
77*) The resources directory (containing port group information and the mirror sites) has been moved into the ports tree, so a new MacPorts release is no longer needed to update these items
78*) The error message from 'port upgrade outdated' when no ports are outdated is much improved
79*) Improvement on handling of MacPorts configuration files (global and user-defined options)
80*) Case-insensitive issues have been fixed
81*) 'port help' is improved
82*) The MacPorts mirror, distfiles.macports.org, is automatically checked when the normal sites fail to respond
83*) The search command of port now searches the name, description, and long_description fields
84*) Numerous improvements to dependency handling
85*) Work around a bug in 10.5's Tcl environment handling
86*) Fetching distfiles now tries to ping all mirror sites first in an attempt to pick the best source
87*) A new option was added to uninstall: --recursive
88*) The output for the port commands info, deps, dependents, and search has been improved
89*) Two new options to selfupdate: --pretend and --nosync
90*) A platform command has been added to port to display your platform information
91*) A suitable message is output when the requested port is not installed when polling its dependents;
92*) Fixed the "Error: Unable to open port: invalid command name "ui_prefix"" runtime error on Panther;
93*) Fixed the "Error: Unable to open port: invalid command name "ui_channels"" runtime error on Panther;
94*) Fixed a MacPorts, Panther specific build failure due to missing sqlite headers on that platform;
95*) Fixed a MacPorts build failure when building itself in universal fashion;
96
97
98# For Portfile writers:
99
100*) ruby port group adds a new parameter to ruby.setup for multiple ruby version support
101*) New use_dmg option allows DMG-format distfiles
102*) ruby.setup (part of the ruby port group) now takes a fetch type
103*) git has been added as a valid fetch.type
104*) On Mac OS X, MACOSX_DEPLOYMENT_TARGET is now always set to workaround various issues
105*) Several universal-specific variables added to the configure.* group
106*) A merge function is now available for easier merging of multiple architectures for universal support
107*) Pre-fabricated statements with correct checksums are output when in verbose mode if the existing ones in the Portfile are incorrect;
108*) "port lint" now recognizes non-canonical modelines;
109*) Added a 'configure.pipe' Portfile option for using pipes rather than intermediate files when compiling C/C++ based ports;
110
111
112
113== Overview of changes from MacPorts 1.5.2 to 1.6.0 ==
114
115# For regular usage:
116
117*) Revived and thoroughly refreshed web presence at http://www.macports.org/ , with more improvements still on the way;
118*) New project guide at http://guide.macports.org/
119*) Fixed the "upgrade" target of the port(1) command to properly handle installed versions beginning with letters;
120*) Improved the "variants" target of the port(1) command to behave like the "info" target to poll the requested Portfile directly
121    rather than the index for more up-to-date information, while also providing a --index flag for legacy behavior;
122*) Fixed a bug by which a user-specific 'macports.conf' file would not be read;
123*) Tightened security by installing MacPorts in 0755 mode (no write permission for group and others) by default;
124*) Added 'none' as a possible option for supported types of startupitems scripts;
125*) Disabled readline support in interactive mode of the port(1) command by deafult;
126*) Fixed a bug by which the "variants" target of the port(1) command would spit out an error backtrace to the terminal when no match
127    was found for the requested port;
128*) Revamped the "postflight" script that takes care of setting a MacPorts-compatible shell environment after installation from our
129    "pkg" is complete; it now gracefully handles the addition of PATH, MANPATH and DISPLAY environment variables separately and only
130    if strictly needed, properly backing up appropriate shell configuration files before proceeding to modify them
131    (http://guide.macports.org/#installing.binary.postflight.details for more information);
132
133
134# Individual port-building-related improvements:
135
136*) Eugene Pimenov's GSoC2007 work on improving "trace mode" for the building of ports in clean environments,
137    http://trac.macports.org/projects/macports/wiki/soc2007/epimenov ;
138*) Added 'bsdmake' and 'gnumake' defaults for building ports on the FreeBSD and Linux platforms;
139*) Added 'configureccache' and 'configuredistcc' configuration options to the main 'macports.conf' for distributed
140    builds (defaulting to no);
141*) Improved building of configure-based universal ports on Leopard;
142*) Fixed a bug by which the 'universal' variant would disappear if a 'macosx' variant was selected;
143*) Added a 'macosx_deployment_target' option to the main 'macports.conf' file for ports that benefit form this Mac OS X specific flag;
144*) Added a 'configurepipe' option to the main 'macports.conf' file for using pipes rather than intermediate files when compiling C/C++
145    based ports;
146*) Removed LD_PREBIND & LD_PREBIND_ALLOW_OVERLAP variables from MacPorts' environment to prevent prebinding of binaries, which can be harmful
147    on Tiger and above;
148
149
150# Packaging-related improvements:
151
152*) Created pkg's no longer have /etc, /var/ or /tmp directories in them;
153*) Fixed a bug by which all .mpkg packages were missing their welcome page;
154*) Fixed a bug by which HTML contents were written as a pkg's Welcome.rtf file, causing it to not display at all;
155*) Made the homepage clickable in a pkg's welcoming screen;
156*) Added support for lzma compression for archives;
157*) Improved pkg & dmg creation on Leopard, for both Intel and PowerPC platforms;
158*) Added an 'mdmg' target, for the creation of a dmg for a port and its dependencies;
159*) Dramatically improved performace of the port(1) command's Portfile level actions like "file", "dir", "work" and "url"
160
161
162# For Portfile writers:
163
164*) Added more compiler suites as options to the 'configure.compiler' Portfile option;
165*) Added 'configure.fflags' 'configure.fcflags' 'configure.f90flags' Portfile options for Fortran based ports;
166*) Added 'configure.javac' and 'configure.classpath' Portfile options for Java ports;
167*) Added 'configure.objc' 'configure.objcflags' Portfile options for Objective-C based ports;
168*) Added 'build.nice' and 'build.jobs' Portfile options for parallel builds and build prioritizing;
169*) Added 'startupitem.netchange' boolean flag Portfile option for generated startup scripts;
170*) Added a "lint" target to the port(1) command, for Portfile verification and beautification;
171*) Added Portfile group code for Python 3.0 based ports and deprecated the plain 'python' group code;
172*) Added generic GNU livecheck rules;
173*) The "x86" platform has been normalized as "i386";
174*) Added a 'use_parallel_build' Portfile option for declaring if a particular port can be built in parallel through make's -j flag,
175    defaulting to no;
176*) Added 'configure.awk', 'configure.bison', 'configure.pkg_config', 'configure.pkg_config_path' Portfile options to point to the
177    relevant programs/paths to use;
178*) Added a 'extract.mkdir' Portfile option to better deal with so-called "tar bombs";
179
180
181# For MacPorts scripting:
182
183*) Moved the 'ui_isset' and 'global_option_isset' Tcl procedures for testing of the UI and global options to the macports1.0 API
184    sparing its clients from having to implement them;
185*) Improved defaults for implicit ui_prefix and ui_channels behaviour at the macports1.0 layer;
186
187
188# Miscellaneous:
189
190*) Added MacPorts-configure time checks for Mac OS X and Xcode versions and warnings for old versions;
191*) Added a 'user-agent' parameters to our libcurl-based fetching of sources for sites that require a user agent;
192*) 'livecheck' regular expressions are now checked against each entry in the listed master_site in the Portfile;
193*) Fixed regexp in livecheck code to work when there is both a tag and a subdir in the mirror uri;
194*) Improved the integrated "daemondo" program to better handle the death of startupitem-based programs;
195*) Added a "--restart-wait=n" argument to the integrated "daemondo" program to control the number of seconds to wait during restart of
196    the process it is monitoring, defaulting to 3;
197*) Enabled building of our objc bridge against GNUStep on platforms other than Mac OS X;
198*) Added support for packing of MacPorts itself on FreeBSD and Fedora platforms;
199*) Added SourceForge.jp to our list of SourceForge-based mirrors for sources fetching;
200*) Added http mirror sites for the postgresql mirrors list;
201*) Added the ftp://ftp.gnu.org/old-gnu/ mirror to the GNU mirrors list;
202*) Fixed a bug by which paths with embedded spaces would cause the "dp2mp-move" upgrade code to fail when trying to find user-specific
203    'macports.conf' files;
Note: See TracBrowser for help on using the repository browser.