OSDN Git Service

[CHANGED] The history section which was in the man page is separated to HISTORY file.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Thu, 13 Sep 2018 06:44:41 +0000 (14:44 +0800)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Thu, 13 Sep 2018 06:44:41 +0000 (14:44 +0800)
 Changes to be committed:
new file:   HISTORY
modified:   lib/libcommand_do.sh
modified:   man/portsreinstall.8

HISTORY [new file with mode: 0644]
lib/libcommand_do.sh
man/portsreinstall.8

diff --git a/HISTORY b/HISTORY
new file mode 100644 (file)
index 0000000..ad721e6
--- /dev/null
+++ b/HISTORY
@@ -0,0 +1,306 @@
+4.1.0 (?? September 2018)
+[NEW] Options -j and -x are added.
+[NEW] Option -J is added to the all utilities.
+[NEW] Options -f and -s are added to portsreinstall-chroot(8).
+[NEW] auto and destroy commands are added to portsreinstall-chroot(8).
+[NEW] pkg, make, show build_conflict_pkgs, show inst_conflict_pkgs, show errormessage, show inst_by_pkg, show inst_built_default, show inst_built_custom, show fossil, show moved, show leaves and show obsolete commands are added.
+[NEW] Command show status newly supports inst_by_pkg, inst_built_default, inst_built_custom and fossil.
+[NEW] BUILDCONFLICT and INSTCONFLICT sections are added to ${LOCALBASE}/etc/portsreinstall.conf.
+[CHANGED] The keyword for identifying build failure is separated into "build" and "requirements build".
+[CHANGED] The history section which was in the man page is separated to HISTORY file.
+[IMPROVED] The (Re)installation scheme is changed to skip ports whose requirements are not installed at their turns, and always retry failed build.
+[IMPROVED] It is changed to detect unflavored ports or ports with old flavor names of flavored ports as obsolete.
+[IMPROVED] The behavior with union file systems is stabilized.
+[IMPROVED] It is changed to show messages of reset ports at the stage of reloading ${LOCALBASE}/etc/portsreinstall.conf.
+[IMPROVED] It is changed so that ports to freeze are upgraded to the latest available package version.
+[IMPROVED] It is changed to unlock in all error termination.
+[IMPROVED] Inside- and outside-parent jail/chroot mounting/unmounting operations by portsreinstall-chroot(8) and portsreinstall-chroot-mount(8) are now safely protected from each other.
+[IMPROVED] The message at the exit from portsreinstall-chroot(8) builder chroot environment is modified to be less shocking.
+[IMPROVED] The batch mode is made more quiet typically about the output of package tools and make.
+[IMPROVED] The full build-time requirements are changed to the ports of the least required packages for building, which consist of the direct build-time requirements and their full run-time requirements. The full build-time dependents are also redefined in accordance. The all needed ports for building from scratch are actually the full all-time requirements.
+[IMPROVED] portsreinstall-chroot(8) now allows unprivileged operation of mount, unmount and enter if the file systems of the builder chroot environment are ready.
+[IMPROVED] Possible confusion by obsolete packages during inspection is made to be avoided by temporary escape.
+[BUG FIX] Adding packages sometimes failed due to lack of required packages.
+[BUG FIX] reset command discarded the information of the initially installed packages.
+[BUG FIX] Dependency inspection might have terminated with error when obsolete ports exist.
+[BUG FIX] Changes made by commands or in ${LOCALBASE}/etc/portsreinstall.conf were not reflected to dependents of the specified ports in the redo runs with incorrect messages notifying as already inspected merged ports.
+[BUG FIX] Unmounting of file systems by portsreinstall-chroot(8) had some problems due to inclusion of redundant series of slashes in the path.
+[BUG FIX] Evaluation of old origins was incomplete for merged ports and resulted in redundant detection of conflict.
+[BUG FIX] Failure in unmounting of file systems by portsreinstall-chroot(8) left the privilege lock.
+[BUG FIX] Conflict was not correctly escaped in package installation.
+[BUG FIX] Evaluation of globs was incorrect for the regular expression form.
+[BUG FIX] Flavored requirements were incorrectly inspected. This also caused disability of the use of default packages for flavord ports with the default configuration. 
+[BUG FIX] The message about the evaluated dependency level in show command was wrong. 
+
+4.0.0 (29 June 2018)
+[NEW] Flavor is supported. Related to this feature, representations of port origins without flavor is recognized to exactly match the unflavored ones.
+[NEW] Option -F is added.
+[NEW] packupgrade command is added.
+[NEW] reset keepstatus command is added.
+[NEW] freeze and show freeze commands are added. FREEZE section is added to ${LOCALBASE}/etc/portsreinstall.conf.
+[NEW] show conflict_files command is added.
+[NEW] CONFLICT section is added to ${LOCALBASE}/etc/portsreinstall.conf.
+[NEW] Utilities of portsreinstall-upgrade(8) and portsreinstall-chroot(8) are added.
+[NEW] Change of port options made outside of portsreinstall(8) is automatically detected.
+[IMPROVED] The (re)installation process is changed to be repeated until all-automatically resolvable problems are resolved. Thus there is no more need to simply repeat redo command to complete the automatic solution.
+[IMPROVED] The way of detecting the packages system is changed to check both WITH_PKG and WITH_PKGNG in accordance with the specification change of the ports tree. The descriptions about the packages system is updated as well.
+[IMPROVED] reset command is improved to reset the database cleaner and preserve manually set taboo/freeze/need/noneed lists.
+[IMPROVED] reconf command is changed to be available any time.
+[IMPROVED] Inspection of merged ports is improved to make the deinstallation of old packages effective.
+[BUG FIX] pkgsanity command had lost its ability to detect missing files because of the specification change of pkg(8).
+[BUG FIX] Command line arguments could have interpreted "add" keyword as a glob matching math/add.
+[BUG FIX] Option -k did not work properly with option -g.
+
+3.3.2 (15 February 2017)
+[CHANGED] The permission of the configuration sample file is changed to writable so that pkg(8) will install the configuration file to be writable.
+[BUG FIX] "Selection of removing leaf ports" might have failed at ports which has not been installed yet and becomes leaves by REPLACE_* tags in the configuration file.
+
+3.3.1 (18 August 2016)
+[BUG FIX] Detection of the default option configuration was unsuccessful or wrong when /etc/make.conf was configured; some ports caused aborting in the phase of inspection.
+[BUG FIX] Error messages from failed detection of option configuration were not output.
+
+3.3.0 (10 July 2016)
+[NEW] Option -f is added.
+[IMPROVED] Automatic workaround of looped dependencies is implemented at the phase of "Completion of *-time requirement lists" in the preparation stage.
+[CHANGED] Dependencies on pkg(8) is changed to be ignored.
+[BUG FIX] The rescue process for cases missing pkg(8) was not working well.
+[BUG FIX] The phase of "Completion of *-time requirement lists" in the preparation stage was caught into an infinite loop when looped dependencies exist.
+[BUG FIX] Comments on termination were unavailable in some phases.
+[BUG FIX] The messages of currently installed packages may have shown duplicated ones.
+
+3.2.1 (27 January 2015)
+[BUG FIX] The automatic resolution of installation conflict implemented in the previous version was seriously broken and judged conflicts incorrectly.
+
+3.2.0 (30 December 2014)
+[IMPROVED] The automatic resolution of installation conflict is improved to avoid stripping due to restore-and-delete of backup packages that possibly occurs when the default version changes.
+[IMPROVED] Support for cases that alternative version of ports-mgmt/pkg (ports-mgmt/pkg-devel, switched by defining WITH_PKG=devel in /etc/make.conf) or ports-mgmt/dialog4ports (DIALOGPORT=port_origin in /etc/make.conf, reserved for the future) is used are implemented.
+[BUG FIX] Reinstallation of pkg(8) could encounter error termination.
+
+3.1.1 (17 December 2014)
+[IMPROVED] The automatic resolution of installation conflict is improved to detect actual conflict not described in CONFLICTS or CONFLICTS_INSTALL (for the sake of the staging mechanism).
+[BUG FIX] MOVED or REPLACED ports were sometimes incorrectly detected as duplicated ports.
+[BUG FIX] Command pkgsanity was confused by the specification change of pkg-check(8).
+[BUG FIX] Option -q did not work correctly in version 3.1.0.
+
+3.1.0 (9 August 2014)
+[IMPROVED] Command reset is now available to work with an updated ports tree by preserving information of the initially installed packages.
+The manual page is updated by adding "Workaround for failed ports: update of ports tree" subsection to explain an example to utilize this improved specification.
+[IMPROVED] A countermeasure operation is implemented for a bug of pkg-1.3.4 that pkg delete -q does not work.
+[IMPROVED] Revisions are made so that packages whose ports are replaced or moved are deinstalled before installation of the alternative ports.
+[IMPROVED] Reinstalltion of ports-mgmt/pkg becomes smarter in systems where Pkgng is the default.
+[BUG FIX] Command prepare was possibly aborted at a port any of whose requirements or dependents is obsolete.
+[BUG FIX] It silently failed to launch if the ports tree is missing or broken.
+[BUG FIX] The short help lacked descriptions on need command.
+[BUG FIX] Some message output failed with a warning "3: Bad file descriptor" in some environment (detected in 10.0-RELEASE).
+[BUG FIX] The error message for specifying option -L or -N for other than redo command was wrong (-L was missing).
+[BUG FIX] Control sequences in output of the long help by -H option was not correctly handled in some environment (detected in 10.0-RELEASE).
+[BUG FIX] Reload of configuration where replacement rule is changed possibly caused errors in the phase of "Inspection of necessity".
+[BUG FIX] Messages about failed ports were inappropriate when failed ports were changed to unneeded.
+[BUG FIX] Evaluation of glob was incorrect when the pattern is regular expression containing multiple slashes.
+[BUG FIX] Warning messages might have arise by attempting to restore nonexistent backed-up requirements.
+[BUG FIX] The error message for invalid operation on reselect command was wrong.
+[BUG FIX] Selection of leaf packages remained after all of them changed to non-leaves.
+[BUG FIX] Ports with periods or underscores in their package name, port name or origin were not be treated correctly.
+[BUG FIX] Changes in "REPLACE_*" in ${LOCALBASE}/etc/portsreinstall.conf were not correctly reflected in recursive reinstallation of dependents. The specification of the temporary database is changed for this fix.
+[BUG FIX] Execution of reset command unintentionally removed temporally deinstalled leaf ports out of scope of reinstallation.
+[BUG FIX] A wrong option was given to pkg-info(8) in a compatible command for pkg_info -qoX.
+[BUG FIX] Variables "REBUILD_*" in ${LOCALBASE}/etc/portsreinstall.conf were not parsed.
+
+3.0.5 (14 December 2013)
+[NEW] Command of rmconf is added.
+[IMPROVED] Automatic resolution of duplicated registrations of multiple packages for the same port origin is implemented in pkgsanity command.
+[CHANGED] Specification changes are made so that (re)installation processes are skipped for ports any of whose requirements is missing. This results in improvement to avoid attempt of unsuccessful builds due to unsuccessful installation of requirements and a fix of the following bug regarding unintentional reinstallation of escaped packages.
+[BUG FIX] Execution of reconf command confused the work of -G option.
+[BUG FIX] Escaped packages by escape command were unintentionally reinstalled in (re)installation of their dependents.
+
+3.0.4 (16 November 2013)
+[IMPROVED] Support for systems in which pkgng is the default or legacy package tools are abandoned is improved.
+[IMPROVED] Changes are made so that MAKE_JOBS_UNSAFE=yes is set in retrials of build and installation.
+[MISC] The manual page is updated regarding -G option by reflecting the official service start of pkgng packages and abandonment of the legacy packages.
+[BUG FIX] Commands of forget and reconf and option -L could have caused error ends in following show failure command and the part showing the failure list at the end of execution of do and redo commands.
+[BUG FIX] The execution was terminated by error when /etc/make.conf does not exist.
+[BUG FIX] The execution was terminated by error when there is no INDEX file for the current OS version is prepared.
+[BUG FIX] Some meaningless warnings are suppressed.
+[BUG FIX] Comments at termination during building the temporary database were inconsistent.
+
+3.0.3 (2 August 2013)
+[BUG FIX] Cleaning of distfiles before retrial of failed fetch was forgotten.
+
+3.0.2 (10 July 2013)
+[NOTE] Version 3.0.1 has a serious defect that newly installed files can be spoiled by restoration of conflicting old packages. When the current version is to executed only for limited ports (with -q, -t, -T or -O) after this previous version was used, in advance to that, it is strongly encouraged to execute
+portsreinstall pkgsanity
+and select "y" in the queries for spoiled packages.
+[NEW] Commands of pkgsanity and show status are added.
+[IMPROVED] Changes are made so as to deinstall conflicts before the first trials in build and installation.
+[IMPROVED] Changes are made so as to prevent restoration of backed-up packages deinstalled due to matching CONFLICTS_INSTALL of installed packages.
+[IMPROVED] Changes are made so as to retry build by deinstalling the current package and packages matching CONFLICTS_INSTALL even if not in CONFLICTS_BUILD nor CONFLICTS.
+[IMPROVED] Command show conflict is changed to append a column of opponent ports of each conflict.
+[CHANGED] Changes are made so that FORCE_PKG_REGISTER is disabled in the all operations. This had become obsolete and even harmful after the implementation of the automatic workaround function for conflicts.
+[BUG FIX] Configuration changes in replacement were not completely reflected by redo with -L option and ended up with errors.
+[BUG FIX] Deinstallation of obsolete or new leaf ports did not work in version 3.0.1.
+[BUG FIX] Conflicts escape was not implemented for (re)installation by prebuilt packages.
+[BUG FIX] The message format in enumerating port origins or so on was broken.
+[MISC] Minor changes are made on HISTORY section of the manual page in the level of coding and terminology.
+
+3.0.1 (11 June 2013)
+[NEW] Commands escape and restore are added.
+[IMPROVED] The behavior of -C option is changed in case of dialog4ports(1) so that the port options are unchanged and unsaved throughout the all stages from the temporary database build to (re)installation. This allows the all stages to run on script(1) and nohup(1).
+[IMPROVED] Changes are made so that installation by packages is split into fetch and installation stages and backup/deletion of old packages are skipped if the fetch is unsuccessful.
+[IMPROVED] Changes are made so that uninspected ports are skipped in reconf command.
+[IMPROVED] A measure to cases of duplicated packages for the same port is implemented.
+[BUG FIX] Commands permitted for unprivileged users did not work for the users.
+[BUG FIX] This manual page, comments and messages contained some wrong English words and incorrect descriptions.
+[BUG FIX] Runs by unprivileged users could end up with errors in message output if /dev/stdin cannot provide information of the console size.
+[BUG FIX] Meaningless warnings are suppressed.
+[BUG FIX] Leaf ports replaced by REPLACE_* were recognized to be new leaf ports to delete even if they are targets of -O, -T or -t or in the needed list.
+[BUG FIX] Evaluation of glob patterns which have the form of port origin was inappropriately ambiguous.
+[BUG FIX] Reinstallation processes were unintentionally terminated when the backup package creation was unsuccessful.
+[BUG FIX] Options -O, -T and -t did not work for once-succeeded ports.
+[BUG FIX] Detection of conflict was overestimated for some ports.
+
+3.0.0 (01 June 2013)
+[NEW] Options of -a, -A, -b, -B, -C, -D, -g, -G, -i, -I, -l, -L, -M, -n, -o, -O, -X and -Y are added (-X is redefined as a different function).
+[NEW] Long options are supported.
+[NEW] Commands need, noneed, reset, forget, reselect, glob, reconf, options, show need, show noneed, show restored and show conflict are added.
+[NEW] (Re)installation by prebuilt packages for ports with default configurations is implemented.
+[NEW] Controlling the dependency scope for show command becomes available. 
+[NEW] Commands of do, prepare and redo are rearranged with do and redo with an optional mode either of prepare or all so that the default and synonyms are compatible with the earlier versions.
+[CHANGED] The function of show redo is replaced with that of former show pending, and show pending is abandoned in exchange.
+[CHANGED] Deinstallation of obsolete packages becomes selectable by run-time dialog.
+[CHANGED] Deinstallation and ignorance of leaf ports becomes available via selection by run-time dialog.
+[CHANGED] The directory for saving packages of obsolete or removed leaf ports are changed to $PACKAGES/All whose default is /usr/ports/packages/All.
+[CHANGED] The deinstallation process for unused packages which have been done before reinstallation is changed to be done after it.
+[CHANGED] Compact forms of options is made to be accepted, e.g., -b -t -o as -bto.
+[CHANGED] The behaviors of -q, -t and -T options are changed to ignore build-time-only dependencies. The former function is reproduced with -b option. The document for -t and -T options are revised so as to correct wrong descriptions that they could newly install the specified ports.
+[CHANGED] Syntax of -t and -T options are changed so as to give all port globs by a single argument value as concatenation with colons as delimiters. Along this change, -r and -R options are abandoned.
+[CHANGED] Old options of -x and -X are abandoned due to duplication with taboo add command.
+[CHANGED] Rules for transferring option settings to restarted runs are changed so as to let the all options renewable.
+[CHANGED] The evaluation algorithm of glob patterns is improved and changed to be fully original.
+[CHANGED] The long help is unified with this manual page.
+[IMPROVED] A change is made so as to carry out upgrade of ports-mgmt/pkg in advanced to everything in case of pkgng and as to ignore dependencies on ports-mgmt/pkg.
+[IMPROVED] The treatment of backup packages is modified to be safer by considering possible format fluctuation in case of pkgng.
+[IMPROVED] Automatic solution to conflicts in (re)installation is implemented.
+[MISC] Line feeds of the help and information messages are improved.
+[BUG FIX] Meaningless warnings at the end of leaf ports are suppressed.
+[BUG FIX] Inappropriate operations could have been attempted on the temporary database by non-superuser privilege.
+[BUG FIX] Tarballs for ports which depend on other ports could have been lost in the step of cleaning distfiles.
+[BUG FIX] Self-upgrade was carried out even for commands other than do or prepare.
+
+2.2.2 (03 January 2013)
+[BUG FIX] Commands ok add and ok del failed if no port has reinstalled in the latest do/redo process.
+[BUG FIX] Makefile was problematic if ${LOCALBASE}/etc/portsreinstall.conf does not exist before installation.
+
+2.2.1 (25 December 2012)
+[CHANGED] Command show todo_next is renamed to show pending.
+[IMPROVED] Changes are made so as to avoid retrying for dependents of failed ports when no problem has resolved.
+[BUG FIX] Removed a remained debugging code in the action for save command.
+
+2.2.0 (17 December 2012)
+[NEW] Command of show todo_next is added.
+[CHANGED] Changes are made so as to skip wasteful reinstallation where the target port is already reinstalled once (with -q option, when its version is up-to-date) and no change has been made for either of its requirements afterwards.
+[CHANGED] The default settings in portsreinstall.conf was changed so as to include a HOLD pattern for bsdpan.
+[BUG FIX] There was a problem in evaluating glob patterns expressing origins.
+[BUG FIX] Minor inappropriate messages and actions emerged when the target and replacement of ports substitution become the same.
+[BUG FIX] The help messages and this manual page lacked the descriptions about show redo command.
+
+2.1.0 (10 December 2012)
+[NEW] New generation package (pkgng) is supported.
+[IMPROVED] A countermeasure for a build failure in a restarted build from a terminated build is implemented.
+[BUG FIX] Restoration of backup packages after failed installation was not working correctly.
+[BUG FIX] The transferring mechanism of option values to restarted run was broken.
+[BUG FIX] Error end in case that no packages are installed is fixed.
+[BUG FIX] A glob evaluation routine used when ports_glob(1) is not installed was broken.
+
+2.0.0 (12 August 2012)
+[NEW] Options -X, -r and -R are added so as to compensate a fact that -x, -t and -T cannot specify package names with commas.
+[NEW] Commands of show requirements and  show dependents are added.
+[NEW] A functionality of self-upgrade is added so as to be carried out first if the port of portsreinstall is new.
+[NEW] Option -k is added for cases that upgrade of portsreinstall should be avoided.
+[IMPROVED] Messages are extended to output configuration parameter values.
+[CHANGED] Functionalities of options -t and -T are changed so as to prevent deinstallation of irrelevant packages and detect obsolete installed dependencies.
+[CHANGED] Use of commas as delimiters in ok and taboo commands is abolished.
+[CHANGED] The specification of show command is changed to exclude irrelevant packages/ports and output messages about the matching targets when options -r, -R, -t and -T are enabled.
+[CHANGED] The default behavior in case that the temporary database is older than the ports tree is changed from warnings to automatic reconstruction; the old behavior is recovered by option -c.
+[BUG FIX] Termination message is corrected (portsreinstall ok => portsreinstall ok add).
+[BUG FIX] Values of BEFOREBUILD, BEFOREDEINSTALL and AFTERINSTALL were not correctly imported from pkgtools.conf(5).
+[BUG FIX] The file name given by save command was with a wrong time stamp.
+
+1.1.0 (28 April 2012)
+[NEW] Command of show deleted is newly added.
+[CHANGED] Origin names in messages and results of show command are changed to be accompanied with package names.
+[CHANGED] The default option for treating pkgtools.conf(5) is changed to -p and -Q is newly added.
+[IMPROVED] Custom make environment variables and arguments are changed to be reflected in the stage of inspection of dependencies.
+[IMPROVED] Command of show todo is now available before starting reinstallation.
+[BUG FIX] Independence from portupgrade(1) was incomplete.
+[BUG FIX] Error messages for show command when the temporary database does not exist are improved.
+[BUG FIX] Ports with names contaning '+' were not correctly treated.
+[BUG FIX] Save and load commands were broken.
+[BUG FIX] Deletion of MOVED-back packages is now prevented.
+
+1.0.0 (14 March 2012)
+[MISC] Explanations for -p and -P are revised because the previous ones were somewhat confusing.
+[MISC] The output device of helps is changed from stderr to stdout.
+[MISC] Messages for termination during deinstallation and reinstallation are improved by showing the target port/package names at that time.
+[BUG FIX] Glob patterns for package/port names were not fully supported.
+[BUG FIX] Values of MARG_* and MENV_* (MAKE_ARGS and MAKE_ENV in pkgtools.conf(5)) were not working.
+[BUG FIX] Globs of obsolete packages were not detected, so especially HOLD_PKGS and IGNORE_MOVED in pkgtools.conf(5) and portsreinstall.conf had lost their functionalities.
+[BUG FIX] Values of IGNORE_MOVED partially overwrote HOLD_PKGS in pkgtools.conf(5).
+[BUG FIX] Typographic and grammatical errors in the main script and documents are revised.
+
+0.13.1 (29 October 2011)
+[BUG FIX] Inspection of missing ports was incomplete.
+[BUG FIX] Origin names with '+' were not correctly treated.
+[IMPROVED] Inspection of dependencies of installed packages gets faster.
+
+0.13.0 (28 August 2011)
+[IMPROVED] Phase of "Order the ports considering dependencies" is accelerated.
+
+0.12.0 (22 June 2011)
+[NEW] -q, -d and -N options are added.
+[CHANGED] Settings for -x and -s options becomes to be transferred to restarted runs.
+
+0.11.0 (17 May 2011)
+[NEW] Causes of errors are added to the report of failed ports.
+[CHANGED] Functionality of -t option is changed and partly splitted into -T.
+[IMPROVED] Refetch after fetch failure becomes smarter so as not to clean up distfiles.
+[MISC] Terminology 'abort' is corrected to be 'terminate'.
+
+0.10.0 (11 Mar 2011)
+[NEW] Version check for temporary database and portupgrade is added (as a template).
+[BUG FIX] Old packages for ports whose package names was renamed were not deleted.
+[BUG FIX] Duplicated cleans were executed after successful installation.
+
+0.9.8 (02 Mar 2011)
+[MISC] Installation methods of non-executable files in Makefile are improved again.
+
+0.9.7 (02 Mar 2011)
+[MISC] Installation methods of non-executable files in Makefile are improved.
+
+0.9.6 (01 Mar 2011)
+[BUG FIX] Fix at version 0.9.5 was incomplete.
+[BUG FIX] The release date of 0.9.5 was wrong in the manpage.
+
+0.9.5 (28 Feb 2011)
+[BUG FIX] "install" target in Makefile installed non-executable files as executables.
+
+0.9.4 (17 Jan 2011)
+[BUG FIX] "all" target in Makefile was missing.
+
+0.9.3 (16 Jan 2011)
+[MISC] Makefile is modified to compress manpage in the build process.
+
+0.9.2 (10 Jan 2011)
+[MISC] The 2-Clause BSD License is applied from this version.
+[NEW] Manpage is created.
+[NEW] Makefile for installation/uninstallation is added.
+[BUG FIX] Recovery from distfile checksum error was broken.
+
+0.9.1 (27 Dec 2010)    
+[BUG FIX] Wrong warning for -p/-P options in the first run.
+[BUG FIX] Broken support of recursive chase of MOVED ports.
+[BUG FIX] Option configuration menus were not accessable.
+[BUG FIX] The mechanism of loading the configuration file was broken.
+[BUG FIX] Optionally added taboo ports were not always effective in restart.
+
+0.9.0 (21 Nov 2010)
+First version.
index 1067d54..a5aea06 100644 (file)
@@ -486,6 +486,7 @@ command_do_restore_escaped_obsoletes ()
        {
                message_section_title "Restoring escaped obsolete packages for inspection"
                database_build_restore < ${DBDIR}/escaped_obsoletes
+               rm -f "${DBDIR}/escaped_obsoletes"
                message_echo
        }
        program_exec_and_record_completion RESTORE_ESCAPED_OBSOLETE_PACKAGES_FOR_INSPECTION
index c17a142..4d036c1 100644 (file)
@@ -1144,581 +1144,6 @@ ${LOCALBASE}/etc/pkgtools.conf
 Configuration file of \fBportupgrade\fR(1).
 .SH HISTORY
 \fBportsreinstall\fR has been developed as below.
-.TP
-4.1.0 (?? August 2018)
-.RS
-[NEW] Options \fB\-j\fR and \fB\-x\fR are added.
-.PP
-[NEW] Option \fB\-J\fR is added to the all utilities.
-.PP
-[NEW] Options \fB\-f\fR and \fB\-s\fR are added to \fBportsreinstall\-chroot\fR(8).
-.PP
-[NEW] \fBauto\fR and \fBdestroy\fR commands are added to \fBportsreinstall\-chroot\fR(8).
-.PP
-[NEW] \fBpkg\fR, \fBmake\fR, \fBshow build_conflict_pkgs\fR, \fBshow inst_conflict_pkgs\fR, \fBshow errormessage\fR, \fBshow inst_by_pkg\fR, \fBshow inst_built_default\fR, \fBshow inst_built_custom\fR, \fBshow fossil\fR, \fBshow moved\fR, \fBshow leaves\fR and \fBshow obsolete\fR commands are added.
-.PP
-[NEW] Command \fBshow status\fR newly supports \fBinst_by_pkg\fR, \fBinst_built_default\fR, \fBinst_built_custom\fR and \fBfossil\fR.
-.PP
-[NEW] BUILDCONFLICT and INSTCONFLICT sections are added to ${LOCALBASE}/etc/portsreinstall.conf.
-.PP
-[CHANGED] The keyword for identifying build failure is separated into "build" and "requirements build".
-.PP
-[IMPROVED] The (Re)installation scheme is changed to skip ports whose requirements are not installed at their turns, and always retry failed build.
-.PP
-[IMPROVED] It is changed to detect unflavored ports or ports with old flavor names of flavored ports as obsolete.
-.PP
-[IMPROVED] The behavior with union file systems is stabilized.
-.PP
-[IMPROVED] It is changed to show messages of reset ports at the stage of reloading ${LOCALBASE}/etc/portsreinstall.conf.
-.PP
-[IMPROVED] It is changed so that ports to freeze are upgraded to the latest available package version.
-.PP
-[IMPROVED] It is changed to unlock in all error termination.
-.PP
-[IMPROVED] Inside- and outside-parent jail/chroot mounting/unmounting operations by \fBportsreinstall\-chroot\fR(8) and \fBportsreinstall\-chroot\-mount\fR(8) are now safely protected from each other.
-.PP
-[IMPROVED] The message at the exit from \fBportsreinstall\-chroot\fR(8) builder chroot environment is modified to be less shocking.
-.PP
-[IMPROVED] The batch mode is made more quiet typically about the output of package tools and make.
-.PP
-[IMPROVED] The full build\-time requirements are changed to the ports of the least required packages for building, which consist of the direct build\-time requirements and their full run\-time requirements. The full build\-time dependents are also redefined in accordance. The all needed ports for building from scratch are actually the full all\-time requirements.
-.PP
-[IMPROVED] \fBportsreinstall\-chroot\fR(8) now allows unprivileged operation of \fBmount\fR, \fBunmount\fR and \fBenter\fR if the file systems of the builder chroot environment are ready.
-.PP
-[IMPROVED] Possible confusion by obsolete packages during inspection is made to be avoided by temporary escape.
-.PP
-[BUG FIX] Adding packages sometimes failed due to lack of required packages.
-.PP
-[BUG FIX] \fBreset\fR command discarded the information of the initially installed packages.
-.PP
-[BUG FIX] Dependency inspection might have terminated with error when obsolete ports exist.
-.PP
-[BUG FIX] Changes made by commands or in ${LOCALBASE}/etc/portsreinstall.conf were not reflected to dependents of the specified ports in the redo runs with incorrect messages notifying as already inspected merged ports.
-.PP
-[BUG FIX] Unmounting of file systems by \fBportsreinstall\-chroot\fR(8) had some problems due to inclusion of redundant series of slashes in the path.
-.PP
-[BUG FIX] Evaluation of old origins was incomplete for merged ports and resulted in redundant detection of conflict.
-.PP
-[BUG FIX] Failure in unmounting of file systems by \fBportsreinstall\-chroot\fR(8) left the privilege lock.
-.PP
-[BUG FIX] Conflict was not correctly escaped in package installation.
-.PP
-[BUG FIX] Evaluation of globs was incorrect for the regular expression form.
-.PP
-[BUG FIX] Flavored requirements were incorrectly inspected. This also caused disability of the use of default packages for flavord ports with the default configuration. 
-.PP
-[BUG FIX] The message about the evaluated dependency level in \fBshow\fR command was wrong. 
-.RE
-.TP
-4.0.0 (29 June 2018)
-.RS
-[NEW] Flavor is supported. Related to this feature, representations of port origins without flavor is recognized to exactly match the unflavored ones.
-.PP
-[NEW] Option \fB\-F\fR is added.
-.PP
-[NEW] \fBpackupgrade\fR command is added.
-.PP
-[NEW] \fBreset keepstatus\fR command is added.
-.PP
-[NEW] \fBfreeze\fR and \fBshow freeze\fR commands are added. FREEZE section is added to ${LOCALBASE}/etc/portsreinstall.conf.
-.PP
-[NEW] \fBshow conflict_files\fR\fR command is added.
-.PP
-[NEW] CONFLICT section is added to ${LOCALBASE}/etc/portsreinstall.conf.
-.PP
-[NEW] Utilities of \fBportsreinstall-upgrade\fR(8) and \fBportsreinstall-chroot\fR(8) are added.
-.PP
-[NEW] Change of port options made outside of \fBportsreinstall\fR(8) is automatically detected.
-.PP
-[IMPROVED] The (re)installation process is changed to be repeated until all-automatically resolvable problems are resolved. Thus there is no more need to simply repeat \fBredo\fR command to complete the automatic solution.
-.PP
-[IMPROVED] The way of detecting the packages system is changed to check both WITH_PKG and WITH_PKGNG in accordance with the specification change of the ports tree. The descriptions about the packages system is updated as well.
-.PP
-[IMPROVED] \fBreset\fR command is improved to reset the database cleaner and preserve manually set taboo/freeze/need/noneed lists.
-.PP
-[IMPROVED] \fBreconf\fR command is changed to be available any time.
-.PP
-[IMPROVED] Inspection of merged ports is improved to make the deinstallation of old packages effective.
-.PP
-[BUG FIX] \fBpkgsanity\fR command had lost its ability to detect missing files because of the specification change of \fBpkg\fR(8).
-.PP
-[BUG FIX] Command line arguments could have interpreted "add" keyword as a glob matching math/add.
-.PP
-[BUG FIX] Option \fB\-k\fR did not work properly with option \fB\-g\fR.
-.RE
-.TP
-3.3.2 (15 February 2017)
-.RS
-.PP
-[CHANGED] The permission of the configuration sample file is changed to writable so that \fBpkg\fR(8) will install the configuration file to be writable.
-.PP
-[BUG FIX] "Selection of removing leaf ports" might have failed at ports which has not been installed yet and becomes leaves by REPLACE_* tags in the configuration file.
-.RE
-.TP
-3.3.1 (18 August 2016)
-.RS
-[BUG FIX] Detection of the default option configuration was unsuccessful or wrong when /etc/make.conf was configured; some ports caused aborting in the phase of inspection.
-.PP
-[BUG FIX] Error messages from failed detection of option configuration were not output.
-.RE
-.TP
-3.3.0 (10 July 2016)
-.RS
-[NEW] Option \-f is added.
-.PP
-[IMPROVED] Automatic workaround of looped dependencies is implemented at the phase of "Completion of *-time requirement lists" in the preparation stage.
-.PP
-[CHANGED] Dependencies on \fBpkg\fR(8) is changed to be ignored.
-.PP
-[BUG FIX] The rescue process for cases missing \fBpkg\fR(8) was not working well.
-.PP
-[BUG FIX] The phase of "Completion of *-time requirement lists" in the preparation stage was caught into an infinite loop when looped dependencies exist.
-.PP
-[BUG FIX] Comments on termination were unavailable in some phases.
-.PP
-[BUG FIX] The messages of currently installed packages may have shown duplicated ones.
-.RE
-.TP
-3.2.1 (27 January 2015)
-.RS
-[BUG FIX] The automatic resolution of installation conflict implemented in the previous version was seriously broken and judged conflicts incorrectly.
-.RE
-.TP
-3.2.0 (30 December 2014)
-.RS
-[IMPROVED] The automatic resolution of installation conflict is improved to avoid stripping due to restore\-and\-delete of backup packages that possibly occurs when the default version changes.
-.PP
-[IMPROVED] Support for cases that alternative version of ports\-mgmt/pkg (ports\-mgmt/pkg\-devel, switched by defining WITH_PKG=devel in /etc/make.conf) or ports-mgmt/dialog4ports (DIALOGPORT=\fIport_origin\fR in /etc/make.conf, reserved for the future) is used are implemented.
-.PP
-[BUG FIX] Reinstallation of \fBpkg\fR(8) could encounter error termination.
-.RE
-.TP
-3.1.1 (17 December 2014)
-.RS
-[IMPROVED] The automatic resolution of installation conflict is improved to detect actual conflict not described in CONFLICTS or CONFLICTS_INSTALL (for the sake of the staging mechanism).
-.PP
-[BUG FIX] MOVED or REPLACED ports were sometimes incorrectly detected as duplicated ports.
-.PP
-[BUG FIX] Command \fBpkgsanity\fR was confused by the specification change of \fBpkg\-check\fR(8).
-.PP
-[BUG FIX] Option \fB\-q\fR did not work correctly in version 3.1.0.
-.RE
-.TP
-3.1.0 (9 August 2014)
-.RS
-[IMPROVED] Command \fBreset\fR is now available to work with an updated ports tree by preserving information of the initially installed packages.
-The manual page is updated by adding "Workaround for failed ports: update of ports tree" subsection to explain an example to utilize this improved specification.
-.PP
-[IMPROVED] A countermeasure operation is implemented for a bug of pkg-1.3.4 that \fBpkg delete \-q\fR does not work.
-.PP
-[IMPROVED] Revisions are made so that packages whose ports are replaced or moved are deinstalled before installation of the alternative ports.
-.PP
-[IMPROVED] Reinstalltion of ports-mgmt/pkg becomes smarter in systems where Pkgng is the default.
-.PP
-[BUG FIX] Command \fBprepare\fR was possibly aborted at a port any of whose requirements or dependents is obsolete.
-.PP
-[BUG FIX] It silently failed to launch if the ports tree is missing or broken.
-.PP
-[BUG FIX] The short help lacked descriptions on \fBneed\fR command.
-.PP
-[BUG FIX] Some message output failed with a warning "3: Bad file descriptor" in some environment (detected in 10.0-RELEASE).
-.PP
-[BUG FIX] The error message for specifying option \fB\-L\fR or \fB\-N\fR for other than \fBredo\fR command was wrong (\fB\-L\fR was missing).
-.PP
-[BUG FIX] Control sequences in output of the long help by \fB\-H\fR option was not correctly handled in some environment (detected in 10.0\-RELEASE).
-.PP
-[BUG FIX] Reload of configuration where replacement rule is changed possibly caused errors in the phase of "Inspection of necessity".
-.PP
-[BUG FIX] Messages about failed ports were inappropriate when failed ports were changed to unneeded.
-.PP
-[BUG FIX] Evaluation of glob was incorrect when the pattern is regular expression containing multiple slashes.
-.PP
-[BUG FIX] Warning messages might have arise by attempting to restore nonexistent backed\-up requirements.
-.PP
-[BUG FIX] The error message for invalid operation on \fBreselect\fR command was wrong.
-.PP
-[BUG FIX] Selection of leaf packages remained after all of them changed to non\-leaves.
-.PP
-[BUG FIX] Ports with periods or underscores in their package name, port name or origin were not be treated correctly.
-.PP
-[BUG FIX] Changes in "REPLACE_*" in ${LOCALBASE}/etc/portsreinstall.conf were not correctly reflected in recursive reinstallation of dependents. The specification of the temporary database is changed for this fix.
-.PP
-[BUG FIX] Execution of \fBreset\fR command unintentionally removed temporally deinstalled leaf ports out of scope of reinstallation.
-.PP
-[BUG FIX] A wrong option was given to \fBpkg-info(8)\fR in a compatible command for \fBpkg_info \-qoX\fR.
-.PP
-[BUG FIX] Variables "REBUILD_*" in ${LOCALBASE}/etc/portsreinstall.conf were not parsed.
-.RE
-.TP
-3.0.5 (14 December 2013)
-.RS
-[NEW] Command of \fBrmconf\fR is added.
-.PP
-[IMPROVED] Automatic resolution of duplicated registrations of multiple packages for the same port origin is implemented in \fBpkgsanity\fR command.
-.PP
-[CHANGED] Specification changes are made so that (re)installation processes are skipped for ports any of whose requirements is missing. This results in improvement to avoid attempt of unsuccessful builds due to unsuccessful installation of requirements and a fix of the following bug regarding unintentional reinstallation of escaped packages.
-.PP
-[BUG FIX] Execution of \fBreconf\fR command confused the work of \fB\-G\fR option.
-.PP
-[BUG FIX] Escaped packages by \fBescape\fR command were unintentionally reinstalled in (re)installation of their dependents.
-.RE
-.TP
-3.0.4 (16 November 2013)
-.RS
-[IMPROVED] Support for systems in which pkgng is the default or legacy package tools are abandoned is improved.
-.PP
-[IMPROVED] Changes are made so that MAKE_JOBS_UNSAFE=yes is set in retrials of build and installation.
-.PP
-[MISC] The manual page is updated regarding \fB\-G\fR option by reflecting the official service start of pkgng packages and abandonment of the legacy packages.
-.PP
-[BUG FIX] Commands of \fBforget\fR and \fBreconf\fR and option \fB\-L\fR could have caused error ends in following \fBshow failure\fR command and the part showing the failure list at the end of execution of \fBdo\fR and \fBredo\fR commands.
-.PP
-[BUG FIX] The execution was terminated by error when /etc/make.conf does not exist.
-.PP
-[BUG FIX] The execution was terminated by error when there is no INDEX file for the current OS version is prepared.
-.PP
-[BUG FIX] Some meaningless warnings are suppressed.
-.PP
-[BUG FIX] Comments at termination during building the temporary database were inconsistent.
-.RE
-.TP
-3.0.3 (2 August 2013)
-.RS
-[BUG FIX] Cleaning of distfiles before retrial of failed fetch was forgotten.
-.RE
-.TP
-3.0.2 (10 July 2013)
-.RS
-[NOTE] Version 3.0.1 has a serious defect that newly installed files can be spoiled by restoration of conflicting old packages. When the current version is to executed only for limited ports (with \fB\-q\fR, \fB\-t\fR, \fB\-T\fR or \fB\-O\fR) after this previous version was used, in advance to that, it is strongly encouraged to execute
-.RS
-\fBportsreinstall pkgsanity\fR
-.RE
-and select "y" in the queries for spoiled packages.
-.PP
-[NEW] Commands of \fBpkgsanity\fR and \fBshow status\fR are added.
-.PP
-[IMPROVED] Changes are made so as to deinstall conflicts before the first trials in build and installation.
-.PP
-[IMPROVED] Changes are made so as to prevent restoration of backed-up packages deinstalled due to matching CONFLICTS_INSTALL of installed packages.
-.PP
-[IMPROVED] Changes are made so as to retry build by deinstalling the current package and packages matching CONFLICTS_INSTALL even if not in CONFLICTS_BUILD nor CONFLICTS.
-.PP
-[IMPROVED] Command \fBshow conflict\fR is changed to append a column of opponent ports of each conflict.
-.PP
-[CHANGED] Changes are made so that FORCE_PKG_REGISTER is disabled in the all operations. This had become obsolete and even harmful after the implementation of the automatic workaround function for conflicts.
-.PP
-[BUG FIX] Configuration changes in replacement were not completely reflected by redo with \fB\-L\fR option and ended up with errors.
-.PP
-[BUG FIX] Deinstallation of obsolete or new leaf ports did not work in version 3.0.1.
-.PP
-[BUG FIX] Conflicts escape was not implemented for (re)installation by prebuilt packages.
-.PP
-[BUG FIX] The message format in enumerating port origins or so on was broken.
-.PP
-[MISC] Minor changes are made on HISTORY section of the manual page in the level of coding and terminology.
-.RE
-.TP
-3.0.1 (11 June 2013)
-.RS
-[NEW] Commands \fBescape\fR and \fBrestore\fR are added.
-.PP
-[IMPROVED] The behavior of \fB\-C\fR option is changed in case of \fBdialog4ports\fR(1) so that the port options are unchanged and unsaved throughout the all stages from the temporary database build to (re)installation. This allows the all stages to run on \fBscript\fR(1) and \fBnohup\fR(1).
-.PP
-[IMPROVED] Changes are made so that installation by packages is split into fetch and installation stages and backup/deletion of old packages are skipped if the fetch is unsuccessful.
-.PP
-[IMPROVED] Changes are made so that uninspected ports are skipped in \fBreconf\fR command.
-.PP
-[IMPROVED] A measure to cases of duplicated packages for the same port is implemented.
-.PP
-[BUG FIX] Commands permitted for unprivileged users did not work for the users.
-.PP
-[BUG FIX] This manual page, comments and messages contained some wrong English words and incorrect descriptions.
-.PP
-[BUG FIX] Runs by unprivileged users could end up with errors in message output if /dev/stdin cannot provide information of the console size.
-.PP
-[BUG FIX] Meaningless warnings are suppressed.
-.PP
-[BUG FIX] Leaf ports replaced by REPLACE_* were recognized to be new leaf ports to delete even if they are targets of \fB\-O\fR, \fB\-T\fR or \fB\-t\fR or in the needed list.
-.PP
-[BUG FIX] Evaluation of glob patterns which have the form of port origin was inappropriately ambiguous.
-.PP
-[BUG FIX] Reinstallation processes were unintentionally terminated when the backup package creation was unsuccessful.
-.PP
-[BUG FIX] Options \fB\-O\fR, \fB\-T\fR and \fB\-t\fR did not work for once-succeeded ports.
-.PP
-[BUG FIX] Detection of conflict was overestimated for some ports.
-.RE
-.TP
-3.0.0 (01 June 2013)
-.RS
-[NEW] Options of \fB\-a\fR, \fB\-A\fR, \fB\-b\fR, \fB\-B\fR, \fB\-C\fR, \fB\-D\fR, \fB\-g\fR, \fB\-G\fR, \fB\-i\fR, \fB\-I\fR, \fB\-l\fR, \fB\-L\fR, \fB\-M\fR, \fB\-n\fR, \fB\-o\fR, \fB\-O\fR, \fB\-X\fR and \fB\-Y\fR are added (\fB\-X\fR is redefined as a different function).
-.PP
-[NEW] Long options are supported.
-.PP
-[NEW] Commands \fBneed\fR, \fBnoneed\fR, \fBreset\fR, \fBforget\fR, \fBreselect\fR, \fBglob\fR, \fBreconf\fR, \fBoptions\fR, \fBshow need\fR, \fBshow noneed\fR, \fBshow restored\fR and \fBshow conflict\fR are added.
-.PP
-[NEW] (Re)installation by prebuilt packages for ports with default configurations is implemented.
-.PP
-[NEW] Controlling the dependency scope for \fBshow\fR command becomes available. 
-.PP
-[NEW] Commands of \fBdo\fR, \fBprepare\fR and \fBredo\fR are rearranged with \fBdo\fR and \fBredo\fR with an optional mode either of \fBprepare\fR or \fBall\fR so that the default and synonyms are compatible with the earlier versions.
-.PP
-[CHANGED] The function of \fBshow redo\fR is replaced with that of former \fBshow pending\fR, and \fBshow pending\fR is abandoned in exchange.
-.PP
-[CHANGED] Deinstallation of obsolete packages becomes selectable by run\-time dialog.
-.PP
-[CHANGED] Deinstallation and ignorance of leaf ports becomes available via selection by run\-time dialog.
-.PP
-[CHANGED] The directory for saving packages of obsolete or removed leaf ports are changed to $PACKAGES/All whose default is /usr/ports/packages/All.
-.PP
-[CHANGED] The deinstallation process for unused packages which have been done before reinstallation is changed to be done after it.
-.PP
-[CHANGED] Compact forms of options is made to be accepted, e.g., \fB\-b \-t \-o\fR as \fB\-bto\fR.
-.PP
-[CHANGED] The behaviors of \fB\-q\fR, \fB\-t\fR and \fB\-T\fR options are changed to ignore build\-time-only dependencies. The former function is reproduced with \fB\-b\fR option. The document for \fB\-t\fR and \fB\-T\fR options are revised so as to correct wrong descriptions that they could newly install the specified ports.
-.PP
-[CHANGED] Syntax of \fB\-t\fR and \fB\-T\fR options are changed so as to give all port globs by a single argument value as concatenation with colons as delimiters. Along this change, \fB\-r\fR and \fB\-R\fR options are abandoned.
-.PP
-[CHANGED] Old options of \fB\-x\fR and \fB\-X\fR are abandoned due to duplication with \fBtaboo add\fR command.
-.PP
-[CHANGED] Rules for transferring option settings to restarted runs are changed so as to let the all options renewable.
-.PP
-[CHANGED] The evaluation algorithm of glob patterns is improved and changed to be fully original.
-.PP
-[CHANGED] The long help is unified with this manual page.
-.PP
-[IMPROVED] A change is made so as to carry out upgrade of ports-mgmt/pkg in advanced to everything in case of pkgng and as to ignore dependencies on ports-mgmt/pkg.
-.PP
-[IMPROVED] The treatment of backup packages is modified to be safer by considering possible format fluctuation in case of pkgng.
-.PP
-[IMPROVED] Automatic solution to conflicts in (re)installation is implemented.
-.PP
-[MISC] Line feeds of the help and information messages are improved.
-.PP
-[BUG FIX] Meaningless warnings at the end of leaf ports are suppressed.
-.PP
-[BUG FIX] Inappropriate operations could have been attempted on the temporary database by non-superuser privilege.
-.PP
-[BUG FIX] Tarballs for ports which depend on other ports could have been lost in the step of cleaning distfiles.
-.PP
-[BUG FIX] Self-upgrade was carried out even for commands other than do or prepare.
-.RE
-.TP
-2.2.2 (03 January 2013)
-.RS
-[BUG FIX] Commands \fBok add\fR and \fBok del\fR failed if no port has reinstalled in the latest do/redo process.
-.PP
-[BUG FIX] Makefile was problematic if ${LOCALBASE}/etc/portsreinstall.conf does not exist before installation.
-.RE
-.TP
-2.2.1 (25 December 2012)
-.RS
-[CHANGED] Command \fBshow todo_next\fR is renamed to \fBshow pending\fR.
-.PP
-[IMPROVED] Changes are made so as to avoid retrying for dependents of failed ports when no problem has resolved.
-.PP
-[BUG FIX] Removed a remained debugging code in the action for \fBsave\fR command.
-.RE
-.TP
-2.2.0 (17 December 2012)
-.RS
-[NEW] Command of \fBshow todo_next\fR is added.
-.PP
-[CHANGED] Changes are made so as to skip wasteful reinstallation where the target port is already reinstalled once (with \fB\-q\fR option, when its version is up-to-date) and no change has been made for either of its requirements afterwards.
-.PP
-[CHANGED] The default settings in portsreinstall.conf was changed so as to include a HOLD pattern for bsdpan.
-.PP
-[BUG FIX] There was a problem in evaluating glob patterns expressing origins.
-.PP
-[BUG FIX] Minor inappropriate messages and actions emerged when the target and replacement of ports substitution become the same.
-.PP
-[BUG FIX] The help messages and this manual page lacked the descriptions about \fBshow redo\fR command.
-.RE
-.TP
-2.1.0 (10 December 2012)
-.RS
-[NEW] New generation package (pkgng) is supported.
-.PP
-[IMPROVED] A countermeasure for a build failure in a restarted build from a terminated build is implemented.
-.PP
-[BUG FIX] Restoration of backup packages after failed installation was not working correctly.
-.PP
-[BUG FIX] The transferring mechanism of option values to restarted run was broken.
-.PP
-[BUG FIX] Error end in case that no packages are installed is fixed.
-.PP
-[BUG FIX] A glob evaluation routine used when \fBports_glob\fR(1) is not installed was broken.
-.RE
-.TP
-2.0.0 (12 August 2012)
-.RS
-[NEW] Options \fB\-X\fR, \fB\-r\fR and \fB\-R\fR are added so as to compensate a fact that \fB\-x\fR, \fB\-t\fR and \fB\-T\fR cannot specify package names with commas.
-.PP
-[NEW] Commands of \fBshow requirements\fR and  \fBshow dependents\fR are added.
-.PP
-[NEW] A functionality of self-upgrade is added so as to be carried out first if the port of portsreinstall is new.
-.PP
-[NEW] Option \fB\-k\fR is added for cases that upgrade of portsreinstall should be avoided.
-.PP
-[IMPROVED] Messages are extended to output configuration parameter values.
-.PP
-[CHANGED] Functionalities of options \fB\-t\fR and \fB\-T\fR are changed so as to prevent deinstallation of irrelevant packages and detect obsolete installed dependencies.
-.PP
-[CHANGED] Use of commas as delimiters in \fBok\fR and \fBtaboo\fR commands is abolished.
-.PP
-[CHANGED] The specification of \fBshow\fR command is changed to exclude irrelevant packages/ports and output messages about the matching targets when options \fB\-r\fR, \fB\-R\fR, \fB\-t\fR and \fB\-T\fR are enabled.
-.PP
-[CHANGED] The default behavior in case that the temporary database is older than the ports tree is changed from warnings to automatic reconstruction; the old behavior is recovered by option \fB\-c\fR.
-.PP
-[BUG FIX] Termination message is corrected (portsreinstall ok => portsreinstall ok add).
-.PP
-[BUG FIX] Values of BEFOREBUILD, BEFOREDEINSTALL and AFTERINSTALL were not correctly imported from \fBpkgtools.conf\fR(5).
-.PP
-[BUG FIX] The file name given by save command was with a wrong time stamp.
-.RE
-.TP
-1.1.0 (28 April 2012)
-.RS
-[NEW] Command of show deleted is newly added.
-.PP
-[CHANGED] Origin names in messages and results of show command are changed to be accompanied with package names.
-.PP
-[CHANGED] The default option for treating \fBpkgtools.conf\fR(5) is changed to \fB\-p\fR and \fB\-Q\fR is newly added.
-.PP
-[IMPROVED] Custom make environment variables and arguments are changed to be reflected in the stage of inspection of dependencies.
-.PP
-[IMPROVED] Command of show todo is now available before starting reinstallation.
-.PP
-[BUG FIX] Independence from \fBportupgrade\fR(1) was incomplete.
-.PP
-[BUG FIX] Error messages for show command when the temporary database does not exist are improved.
-.PP
-[BUG FIX] Ports with names contaning '+' were not correctly treated.
-.PP
-[BUG FIX] Save and load commands were broken.
-.PP
-[BUG FIX] Deletion of MOVED-back packages is now prevented.
-.RE
-.TP
-1.0.0 (14 March 2012)
-.RS
-[MISC] Explanations for \fB\-p\fR and \fB\-P\fR are revised because the previous ones were somewhat confusing.
-.PP
-[MISC] The output device of helps is changed from stderr to stdout.
-.PP
-[MISC] Messages for termination during deinstallation and reinstallation are improved by showing the target port/package names at that time.
-.PP
-[BUG FIX] Glob patterns for package/port names were not fully supported.
-.PP
-[BUG FIX] Values of MARG_* and MENV_* (MAKE_ARGS and MAKE_ENV in \fBpkgtools.conf\fR(5)) were not working.
-.PP
-[BUG FIX] Globs of obsolete packages were not detected, so especially HOLD_PKGS and IGNORE_MOVED in \fBpkgtools.conf\fR(5) and portsreinstall.conf had lost their functionalities.
-.PP
-[BUG FIX] Values of IGNORE_MOVED partially overwrote HOLD_PKGS in \fBpkgtools.conf\fR(5).
-.PP
-[BUG FIX] Typographic and grammatical errors in the main script and documents are revised.
-.RE
-.TP
-0.13.1 (29 October 2011)
-.RS
-[BUG FIX] Inspection of missing ports was incomplete.
-.PP
-[BUG FIX] Origin names with '+' were not correctly treated.
-.PP
-[IMPROVED] Inspection of dependencies of installed packages gets faster.
-.RE
-.TP
-0.13.0 (28 August 2011)
-.RS
-[IMPROVED] Phase of "Order the ports considering dependencies" is accelerated.
-.RE
-.TP
-0.12.0 (22 June 2011)
-.RS
-[NEW] \fB\-q\fR, \fB\-d\fR and \fB\-N\fR options are added.
-.PP
-[CHANGED] Settings for \fB\-x\fR and \fB\-s\fR options becomes to be transferred to restarted runs.
-.RE
-.TP
-0.11.0 (17 May 2011)
-.RS
-[NEW] Causes of errors are added to the report of failed ports.
-.PP
-[CHANGED] Functionality of \fB\-t\fR option is changed and partly splitted into \fB\-T\fR.
-.PP
-[IMPROVED] Refetch after fetch failure becomes smarter so as not to clean up distfiles.
-.PP
-[MISC] Terminology 'abort' is corrected to be 'terminate'.
-.RE
-.TP
-0.10.0 (11 Mar 2011)
-.RS
-[NEW] Version check for temporary database and portupgrade is added (as a template).
-.PP
-[BUG FIX] Old packages for ports whose package names was renamed were not deleted.
-.PP
-[BUG FIX] Duplicated cleans were executed after successful installation.
-.RE
-.TP
-0.9.8 (02 Mar 2011)
-.RS
-[MISC] Installation methods of non-executable files in Makefile are improved again.
-.RE
-.TP
-0.9.7 (02 Mar 2011)
-.RS
-[MISC] Installation methods of non-executable files in Makefile are improved.
-.RE
-.TP
-0.9.6 (01 Mar 2011)
-.RS
-[BUG FIX] Fix at version 0.9.5 was incomplete.
-.PP
-[BUG FIX] The release date of 0.9.5 was wrong in the manpage.
-.RE
-.TP
-0.9.5 (28 Feb 2011)
-.RS
-[BUG FIX] "install" target in Makefile installed non-executable files as executables.
-.RE
-.TP
-0.9.4 (17 Jan 2011)
-.RS
-[BUG FIX] "all" target in Makefile was missing.
-.RE
-.TP
-0.9.3 (16 Jan 2011)
-.RS
-[MISC] Makefile is modified to compress manpage in the build process.
-.RE
-.TP
-0.9.2 (10 Jan 2011)
-.RS
-[MISC] The 2-Clause BSD License is applied from this version.
-.PP
-[NEW] Manpage is created.
-.PP
-[NEW] Makefile for installation/uninstallation is added.
-.PP
-[BUG FIX] Recovery from distfile checksum error was broken.
-.RE
-.TP
-0.9.1 (27 Dec 2010)    
-.RS
-[BUG FIX] Wrong warning for \fB\-p\fR/\fB\-P\fR options in the first run.
-.PP
-[BUG FIX] Broken support of recursive chase of MOVED ports.
-.PP
-[BUG FIX] Option configuration menus were not accessable.
-.PP
-[BUG FIX] The mechanism of loading the configuration file was broken.
-.PP
-[BUG FIX] Optionally added taboo ports were not always effective in restart.
-.RE
-.TP
-0.9.0 (21 Nov 2010)
-.RS
-First version.
 .SH APPENDIX: Conditions determining the package system (general specification of FreeBSD Ports/Packages)
 The current package system is automatically detected according to the OS version whose serial number is obtained by
 .RS