• R/O
  • HTTP
  • SSH
  • HTTPS

current: Commit

This is for active development.
New funtionalities are to be added actively.


Commit MetaInfo

Revision58a8cf102d0aada905aac0df4feab7710f0fa065 (tree)
Time2018-09-13 15:44:41
AuthorMamoru Sakaue / MwGhennndo <glmwghennndo@user...>
CommiterMamoru Sakaue / MwGhennndo

Log Message

[CHANGED] The history section which was in the man page is separated to HISTORY file.

Changes to be committed:

new file: HISTORY
modified: lib/libcommand_do.sh
modified: man/portsreinstall.8

Change Summary

Incremental Difference

--- /dev/null
+++ b/HISTORY
@@ -0,0 +1,306 @@
1+4.1.0 (?? September 2018)
2+[NEW] Options -j and -x are added.
3+[NEW] Option -J is added to the all utilities.
4+[NEW] Options -f and -s are added to portsreinstall-chroot(8).
5+[NEW] auto and destroy commands are added to portsreinstall-chroot(8).
6+[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.
7+[NEW] Command show status newly supports inst_by_pkg, inst_built_default, inst_built_custom and fossil.
8+[NEW] BUILDCONFLICT and INSTCONFLICT sections are added to ${LOCALBASE}/etc/portsreinstall.conf.
9+[CHANGED] The keyword for identifying build failure is separated into "build" and "requirements build".
10+[CHANGED] The history section which was in the man page is separated to HISTORY file.
11+[IMPROVED] The (Re)installation scheme is changed to skip ports whose requirements are not installed at their turns, and always retry failed build.
12+[IMPROVED] It is changed to detect unflavored ports or ports with old flavor names of flavored ports as obsolete.
13+[IMPROVED] The behavior with union file systems is stabilized.
14+[IMPROVED] It is changed to show messages of reset ports at the stage of reloading ${LOCALBASE}/etc/portsreinstall.conf.
15+[IMPROVED] It is changed so that ports to freeze are upgraded to the latest available package version.
16+[IMPROVED] It is changed to unlock in all error termination.
17+[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.
18+[IMPROVED] The message at the exit from portsreinstall-chroot(8) builder chroot environment is modified to be less shocking.
19+[IMPROVED] The batch mode is made more quiet typically about the output of package tools and make.
20+[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.
21+[IMPROVED] portsreinstall-chroot(8) now allows unprivileged operation of mount, unmount and enter if the file systems of the builder chroot environment are ready.
22+[IMPROVED] Possible confusion by obsolete packages during inspection is made to be avoided by temporary escape.
23+[BUG FIX] Adding packages sometimes failed due to lack of required packages.
24+[BUG FIX] reset command discarded the information of the initially installed packages.
25+[BUG FIX] Dependency inspection might have terminated with error when obsolete ports exist.
26+[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.
27+[BUG FIX] Unmounting of file systems by portsreinstall-chroot(8) had some problems due to inclusion of redundant series of slashes in the path.
28+[BUG FIX] Evaluation of old origins was incomplete for merged ports and resulted in redundant detection of conflict.
29+[BUG FIX] Failure in unmounting of file systems by portsreinstall-chroot(8) left the privilege lock.
30+[BUG FIX] Conflict was not correctly escaped in package installation.
31+[BUG FIX] Evaluation of globs was incorrect for the regular expression form.
32+[BUG FIX] Flavored requirements were incorrectly inspected. This also caused disability of the use of default packages for flavord ports with the default configuration.
33+[BUG FIX] The message about the evaluated dependency level in show command was wrong.
34+
35+4.0.0 (29 June 2018)
36+[NEW] Flavor is supported. Related to this feature, representations of port origins without flavor is recognized to exactly match the unflavored ones.
37+[NEW] Option -F is added.
38+[NEW] packupgrade command is added.
39+[NEW] reset keepstatus command is added.
40+[NEW] freeze and show freeze commands are added. FREEZE section is added to ${LOCALBASE}/etc/portsreinstall.conf.
41+[NEW] show conflict_files command is added.
42+[NEW] CONFLICT section is added to ${LOCALBASE}/etc/portsreinstall.conf.
43+[NEW] Utilities of portsreinstall-upgrade(8) and portsreinstall-chroot(8) are added.
44+[NEW] Change of port options made outside of portsreinstall(8) is automatically detected.
45+[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.
46+[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.
47+[IMPROVED] reset command is improved to reset the database cleaner and preserve manually set taboo/freeze/need/noneed lists.
48+[IMPROVED] reconf command is changed to be available any time.
49+[IMPROVED] Inspection of merged ports is improved to make the deinstallation of old packages effective.
50+[BUG FIX] pkgsanity command had lost its ability to detect missing files because of the specification change of pkg(8).
51+[BUG FIX] Command line arguments could have interpreted "add" keyword as a glob matching math/add.
52+[BUG FIX] Option -k did not work properly with option -g.
53+
54+3.3.2 (15 February 2017)
55+[CHANGED] The permission of the configuration sample file is changed to writable so that pkg(8) will install the configuration file to be writable.
56+[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.
57+
58+3.3.1 (18 August 2016)
59+[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.
60+[BUG FIX] Error messages from failed detection of option configuration were not output.
61+
62+3.3.0 (10 July 2016)
63+[NEW] Option -f is added.
64+[IMPROVED] Automatic workaround of looped dependencies is implemented at the phase of "Completion of *-time requirement lists" in the preparation stage.
65+[CHANGED] Dependencies on pkg(8) is changed to be ignored.
66+[BUG FIX] The rescue process for cases missing pkg(8) was not working well.
67+[BUG FIX] The phase of "Completion of *-time requirement lists" in the preparation stage was caught into an infinite loop when looped dependencies exist.
68+[BUG FIX] Comments on termination were unavailable in some phases.
69+[BUG FIX] The messages of currently installed packages may have shown duplicated ones.
70+
71+3.2.1 (27 January 2015)
72+[BUG FIX] The automatic resolution of installation conflict implemented in the previous version was seriously broken and judged conflicts incorrectly.
73+
74+3.2.0 (30 December 2014)
75+[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.
76+[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.
77+[BUG FIX] Reinstallation of pkg(8) could encounter error termination.
78+
79+3.1.1 (17 December 2014)
80+[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).
81+[BUG FIX] MOVED or REPLACED ports were sometimes incorrectly detected as duplicated ports.
82+[BUG FIX] Command pkgsanity was confused by the specification change of pkg-check(8).
83+[BUG FIX] Option -q did not work correctly in version 3.1.0.
84+
85+3.1.0 (9 August 2014)
86+[IMPROVED] Command reset is now available to work with an updated ports tree by preserving information of the initially installed packages.
87+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.
88+[IMPROVED] A countermeasure operation is implemented for a bug of pkg-1.3.4 that pkg delete -q does not work.
89+[IMPROVED] Revisions are made so that packages whose ports are replaced or moved are deinstalled before installation of the alternative ports.
90+[IMPROVED] Reinstalltion of ports-mgmt/pkg becomes smarter in systems where Pkgng is the default.
91+[BUG FIX] Command prepare was possibly aborted at a port any of whose requirements or dependents is obsolete.
92+[BUG FIX] It silently failed to launch if the ports tree is missing or broken.
93+[BUG FIX] The short help lacked descriptions on need command.
94+[BUG FIX] Some message output failed with a warning "3: Bad file descriptor" in some environment (detected in 10.0-RELEASE).
95+[BUG FIX] The error message for specifying option -L or -N for other than redo command was wrong (-L was missing).
96+[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).
97+[BUG FIX] Reload of configuration where replacement rule is changed possibly caused errors in the phase of "Inspection of necessity".
98+[BUG FIX] Messages about failed ports were inappropriate when failed ports were changed to unneeded.
99+[BUG FIX] Evaluation of glob was incorrect when the pattern is regular expression containing multiple slashes.
100+[BUG FIX] Warning messages might have arise by attempting to restore nonexistent backed-up requirements.
101+[BUG FIX] The error message for invalid operation on reselect command was wrong.
102+[BUG FIX] Selection of leaf packages remained after all of them changed to non-leaves.
103+[BUG FIX] Ports with periods or underscores in their package name, port name or origin were not be treated correctly.
104+[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.
105+[BUG FIX] Execution of reset command unintentionally removed temporally deinstalled leaf ports out of scope of reinstallation.
106+[BUG FIX] A wrong option was given to pkg-info(8) in a compatible command for pkg_info -qoX.
107+[BUG FIX] Variables "REBUILD_*" in ${LOCALBASE}/etc/portsreinstall.conf were not parsed.
108+
109+3.0.5 (14 December 2013)
110+[NEW] Command of rmconf is added.
111+[IMPROVED] Automatic resolution of duplicated registrations of multiple packages for the same port origin is implemented in pkgsanity command.
112+[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.
113+[BUG FIX] Execution of reconf command confused the work of -G option.
114+[BUG FIX] Escaped packages by escape command were unintentionally reinstalled in (re)installation of their dependents.
115+
116+3.0.4 (16 November 2013)
117+[IMPROVED] Support for systems in which pkgng is the default or legacy package tools are abandoned is improved.
118+[IMPROVED] Changes are made so that MAKE_JOBS_UNSAFE=yes is set in retrials of build and installation.
119+[MISC] The manual page is updated regarding -G option by reflecting the official service start of pkgng packages and abandonment of the legacy packages.
120+[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.
121+[BUG FIX] The execution was terminated by error when /etc/make.conf does not exist.
122+[BUG FIX] The execution was terminated by error when there is no INDEX file for the current OS version is prepared.
123+[BUG FIX] Some meaningless warnings are suppressed.
124+[BUG FIX] Comments at termination during building the temporary database were inconsistent.
125+
126+3.0.3 (2 August 2013)
127+[BUG FIX] Cleaning of distfiles before retrial of failed fetch was forgotten.
128+
129+3.0.2 (10 July 2013)
130+[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
131+portsreinstall pkgsanity
132+and select "y" in the queries for spoiled packages.
133+[NEW] Commands of pkgsanity and show status are added.
134+[IMPROVED] Changes are made so as to deinstall conflicts before the first trials in build and installation.
135+[IMPROVED] Changes are made so as to prevent restoration of backed-up packages deinstalled due to matching CONFLICTS_INSTALL of installed packages.
136+[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.
137+[IMPROVED] Command show conflict is changed to append a column of opponent ports of each conflict.
138+[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.
139+[BUG FIX] Configuration changes in replacement were not completely reflected by redo with -L option and ended up with errors.
140+[BUG FIX] Deinstallation of obsolete or new leaf ports did not work in version 3.0.1.
141+[BUG FIX] Conflicts escape was not implemented for (re)installation by prebuilt packages.
142+[BUG FIX] The message format in enumerating port origins or so on was broken.
143+[MISC] Minor changes are made on HISTORY section of the manual page in the level of coding and terminology.
144+
145+3.0.1 (11 June 2013)
146+[NEW] Commands escape and restore are added.
147+[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).
148+[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.
149+[IMPROVED] Changes are made so that uninspected ports are skipped in reconf command.
150+[IMPROVED] A measure to cases of duplicated packages for the same port is implemented.
151+[BUG FIX] Commands permitted for unprivileged users did not work for the users.
152+[BUG FIX] This manual page, comments and messages contained some wrong English words and incorrect descriptions.
153+[BUG FIX] Runs by unprivileged users could end up with errors in message output if /dev/stdin cannot provide information of the console size.
154+[BUG FIX] Meaningless warnings are suppressed.
155+[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.
156+[BUG FIX] Evaluation of glob patterns which have the form of port origin was inappropriately ambiguous.
157+[BUG FIX] Reinstallation processes were unintentionally terminated when the backup package creation was unsuccessful.
158+[BUG FIX] Options -O, -T and -t did not work for once-succeeded ports.
159+[BUG FIX] Detection of conflict was overestimated for some ports.
160+
161+3.0.0 (01 June 2013)
162+[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).
163+[NEW] Long options are supported.
164+[NEW] Commands need, noneed, reset, forget, reselect, glob, reconf, options, show need, show noneed, show restored and show conflict are added.
165+[NEW] (Re)installation by prebuilt packages for ports with default configurations is implemented.
166+[NEW] Controlling the dependency scope for show command becomes available.
167+[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.
168+[CHANGED] The function of show redo is replaced with that of former show pending, and show pending is abandoned in exchange.
169+[CHANGED] Deinstallation of obsolete packages becomes selectable by run-time dialog.
170+[CHANGED] Deinstallation and ignorance of leaf ports becomes available via selection by run-time dialog.
171+[CHANGED] The directory for saving packages of obsolete or removed leaf ports are changed to $PACKAGES/All whose default is /usr/ports/packages/All.
172+[CHANGED] The deinstallation process for unused packages which have been done before reinstallation is changed to be done after it.
173+[CHANGED] Compact forms of options is made to be accepted, e.g., -b -t -o as -bto.
174+[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.
175+[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.
176+[CHANGED] Old options of -x and -X are abandoned due to duplication with taboo add command.
177+[CHANGED] Rules for transferring option settings to restarted runs are changed so as to let the all options renewable.
178+[CHANGED] The evaluation algorithm of glob patterns is improved and changed to be fully original.
179+[CHANGED] The long help is unified with this manual page.
180+[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.
181+[IMPROVED] The treatment of backup packages is modified to be safer by considering possible format fluctuation in case of pkgng.
182+[IMPROVED] Automatic solution to conflicts in (re)installation is implemented.
183+[MISC] Line feeds of the help and information messages are improved.
184+[BUG FIX] Meaningless warnings at the end of leaf ports are suppressed.
185+[BUG FIX] Inappropriate operations could have been attempted on the temporary database by non-superuser privilege.
186+[BUG FIX] Tarballs for ports which depend on other ports could have been lost in the step of cleaning distfiles.
187+[BUG FIX] Self-upgrade was carried out even for commands other than do or prepare.
188+
189+2.2.2 (03 January 2013)
190+[BUG FIX] Commands ok add and ok del failed if no port has reinstalled in the latest do/redo process.
191+[BUG FIX] Makefile was problematic if ${LOCALBASE}/etc/portsreinstall.conf does not exist before installation.
192+
193+2.2.1 (25 December 2012)
194+[CHANGED] Command show todo_next is renamed to show pending.
195+[IMPROVED] Changes are made so as to avoid retrying for dependents of failed ports when no problem has resolved.
196+[BUG FIX] Removed a remained debugging code in the action for save command.
197+
198+2.2.0 (17 December 2012)
199+[NEW] Command of show todo_next is added.
200+[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.
201+[CHANGED] The default settings in portsreinstall.conf was changed so as to include a HOLD pattern for bsdpan.
202+[BUG FIX] There was a problem in evaluating glob patterns expressing origins.
203+[BUG FIX] Minor inappropriate messages and actions emerged when the target and replacement of ports substitution become the same.
204+[BUG FIX] The help messages and this manual page lacked the descriptions about show redo command.
205+
206+2.1.0 (10 December 2012)
207+[NEW] New generation package (pkgng) is supported.
208+[IMPROVED] A countermeasure for a build failure in a restarted build from a terminated build is implemented.
209+[BUG FIX] Restoration of backup packages after failed installation was not working correctly.
210+[BUG FIX] The transferring mechanism of option values to restarted run was broken.
211+[BUG FIX] Error end in case that no packages are installed is fixed.
212+[BUG FIX] A glob evaluation routine used when ports_glob(1) is not installed was broken.
213+
214+2.0.0 (12 August 2012)
215+[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.
216+[NEW] Commands of show requirements and show dependents are added.
217+[NEW] A functionality of self-upgrade is added so as to be carried out first if the port of portsreinstall is new.
218+[NEW] Option -k is added for cases that upgrade of portsreinstall should be avoided.
219+[IMPROVED] Messages are extended to output configuration parameter values.
220+[CHANGED] Functionalities of options -t and -T are changed so as to prevent deinstallation of irrelevant packages and detect obsolete installed dependencies.
221+[CHANGED] Use of commas as delimiters in ok and taboo commands is abolished.
222+[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.
223+[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.
224+[BUG FIX] Termination message is corrected (portsreinstall ok => portsreinstall ok add).
225+[BUG FIX] Values of BEFOREBUILD, BEFOREDEINSTALL and AFTERINSTALL were not correctly imported from pkgtools.conf(5).
226+[BUG FIX] The file name given by save command was with a wrong time stamp.
227+
228+1.1.0 (28 April 2012)
229+[NEW] Command of show deleted is newly added.
230+[CHANGED] Origin names in messages and results of show command are changed to be accompanied with package names.
231+[CHANGED] The default option for treating pkgtools.conf(5) is changed to -p and -Q is newly added.
232+[IMPROVED] Custom make environment variables and arguments are changed to be reflected in the stage of inspection of dependencies.
233+[IMPROVED] Command of show todo is now available before starting reinstallation.
234+[BUG FIX] Independence from portupgrade(1) was incomplete.
235+[BUG FIX] Error messages for show command when the temporary database does not exist are improved.
236+[BUG FIX] Ports with names contaning '+' were not correctly treated.
237+[BUG FIX] Save and load commands were broken.
238+[BUG FIX] Deletion of MOVED-back packages is now prevented.
239+
240+1.0.0 (14 March 2012)
241+[MISC] Explanations for -p and -P are revised because the previous ones were somewhat confusing.
242+[MISC] The output device of helps is changed from stderr to stdout.
243+[MISC] Messages for termination during deinstallation and reinstallation are improved by showing the target port/package names at that time.
244+[BUG FIX] Glob patterns for package/port names were not fully supported.
245+[BUG FIX] Values of MARG_* and MENV_* (MAKE_ARGS and MAKE_ENV in pkgtools.conf(5)) were not working.
246+[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.
247+[BUG FIX] Values of IGNORE_MOVED partially overwrote HOLD_PKGS in pkgtools.conf(5).
248+[BUG FIX] Typographic and grammatical errors in the main script and documents are revised.
249+
250+0.13.1 (29 October 2011)
251+[BUG FIX] Inspection of missing ports was incomplete.
252+[BUG FIX] Origin names with '+' were not correctly treated.
253+[IMPROVED] Inspection of dependencies of installed packages gets faster.
254+
255+0.13.0 (28 August 2011)
256+[IMPROVED] Phase of "Order the ports considering dependencies" is accelerated.
257+
258+0.12.0 (22 June 2011)
259+[NEW] -q, -d and -N options are added.
260+[CHANGED] Settings for -x and -s options becomes to be transferred to restarted runs.
261+
262+0.11.0 (17 May 2011)
263+[NEW] Causes of errors are added to the report of failed ports.
264+[CHANGED] Functionality of -t option is changed and partly splitted into -T.
265+[IMPROVED] Refetch after fetch failure becomes smarter so as not to clean up distfiles.
266+[MISC] Terminology 'abort' is corrected to be 'terminate'.
267+
268+0.10.0 (11 Mar 2011)
269+[NEW] Version check for temporary database and portupgrade is added (as a template).
270+[BUG FIX] Old packages for ports whose package names was renamed were not deleted.
271+[BUG FIX] Duplicated cleans were executed after successful installation.
272+
273+0.9.8 (02 Mar 2011)
274+[MISC] Installation methods of non-executable files in Makefile are improved again.
275+
276+0.9.7 (02 Mar 2011)
277+[MISC] Installation methods of non-executable files in Makefile are improved.
278+
279+0.9.6 (01 Mar 2011)
280+[BUG FIX] Fix at version 0.9.5 was incomplete.
281+[BUG FIX] The release date of 0.9.5 was wrong in the manpage.
282+
283+0.9.5 (28 Feb 2011)
284+[BUG FIX] "install" target in Makefile installed non-executable files as executables.
285+
286+0.9.4 (17 Jan 2011)
287+[BUG FIX] "all" target in Makefile was missing.
288+
289+0.9.3 (16 Jan 2011)
290+[MISC] Makefile is modified to compress manpage in the build process.
291+
292+0.9.2 (10 Jan 2011)
293+[MISC] The 2-Clause BSD License is applied from this version.
294+[NEW] Manpage is created.
295+[NEW] Makefile for installation/uninstallation is added.
296+[BUG FIX] Recovery from distfile checksum error was broken.
297+
298+0.9.1 (27 Dec 2010)
299+[BUG FIX] Wrong warning for -p/-P options in the first run.
300+[BUG FIX] Broken support of recursive chase of MOVED ports.
301+[BUG FIX] Option configuration menus were not accessable.
302+[BUG FIX] The mechanism of loading the configuration file was broken.
303+[BUG FIX] Optionally added taboo ports were not always effective in restart.
304+
305+0.9.0 (21 Nov 2010)
306+First version.
--- a/lib/libcommand_do.sh
+++ b/lib/libcommand_do.sh
@@ -486,6 +486,7 @@ command_do_restore_escaped_obsoletes ()
486486 {
487487 message_section_title "Restoring escaped obsolete packages for inspection"
488488 database_build_restore < ${DBDIR}/escaped_obsoletes
489+ rm -f "${DBDIR}/escaped_obsoletes"
489490 message_echo
490491 }
491492 program_exec_and_record_completion RESTORE_ESCAPED_OBSOLETE_PACKAGES_FOR_INSPECTION
--- a/man/portsreinstall.8
+++ b/man/portsreinstall.8
@@ -1144,581 +1144,6 @@ ${LOCALBASE}/etc/pkgtools.conf
11441144 Configuration file of \fBportupgrade\fR(1).
11451145 .SH HISTORY
11461146 \fBportsreinstall\fR has been developed as below.
1147-.TP
1148-4.1.0 (?? August 2018)
1149-.RS
1150-[NEW] Options \fB\-j\fR and \fB\-x\fR are added.
1151-.PP
1152-[NEW] Option \fB\-J\fR is added to the all utilities.
1153-.PP
1154-[NEW] Options \fB\-f\fR and \fB\-s\fR are added to \fBportsreinstall\-chroot\fR(8).
1155-.PP
1156-[NEW] \fBauto\fR and \fBdestroy\fR commands are added to \fBportsreinstall\-chroot\fR(8).
1157-.PP
1158-[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.
1159-.PP
1160-[NEW] Command \fBshow status\fR newly supports \fBinst_by_pkg\fR, \fBinst_built_default\fR, \fBinst_built_custom\fR and \fBfossil\fR.
1161-.PP
1162-[NEW] BUILDCONFLICT and INSTCONFLICT sections are added to ${LOCALBASE}/etc/portsreinstall.conf.
1163-.PP
1164-[CHANGED] The keyword for identifying build failure is separated into "build" and "requirements build".
1165-.PP
1166-[IMPROVED] The (Re)installation scheme is changed to skip ports whose requirements are not installed at their turns, and always retry failed build.
1167-.PP
1168-[IMPROVED] It is changed to detect unflavored ports or ports with old flavor names of flavored ports as obsolete.
1169-.PP
1170-[IMPROVED] The behavior with union file systems is stabilized.
1171-.PP
1172-[IMPROVED] It is changed to show messages of reset ports at the stage of reloading ${LOCALBASE}/etc/portsreinstall.conf.
1173-.PP
1174-[IMPROVED] It is changed so that ports to freeze are upgraded to the latest available package version.
1175-.PP
1176-[IMPROVED] It is changed to unlock in all error termination.
1177-.PP
1178-[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.
1179-.PP
1180-[IMPROVED] The message at the exit from \fBportsreinstall\-chroot\fR(8) builder chroot environment is modified to be less shocking.
1181-.PP
1182-[IMPROVED] The batch mode is made more quiet typically about the output of package tools and make.
1183-.PP
1184-[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.
1185-.PP
1186-[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.
1187-.PP
1188-[IMPROVED] Possible confusion by obsolete packages during inspection is made to be avoided by temporary escape.
1189-.PP
1190-[BUG FIX] Adding packages sometimes failed due to lack of required packages.
1191-.PP
1192-[BUG FIX] \fBreset\fR command discarded the information of the initially installed packages.
1193-.PP
1194-[BUG FIX] Dependency inspection might have terminated with error when obsolete ports exist.
1195-.PP
1196-[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.
1197-.PP
1198-[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.
1199-.PP
1200-[BUG FIX] Evaluation of old origins was incomplete for merged ports and resulted in redundant detection of conflict.
1201-.PP
1202-[BUG FIX] Failure in unmounting of file systems by \fBportsreinstall\-chroot\fR(8) left the privilege lock.
1203-.PP
1204-[BUG FIX] Conflict was not correctly escaped in package installation.
1205-.PP
1206-[BUG FIX] Evaluation of globs was incorrect for the regular expression form.
1207-.PP
1208-[BUG FIX] Flavored requirements were incorrectly inspected. This also caused disability of the use of default packages for flavord ports with the default configuration.
1209-.PP
1210-[BUG FIX] The message about the evaluated dependency level in \fBshow\fR command was wrong.
1211-.RE
1212-.TP
1213-4.0.0 (29 June 2018)
1214-.RS
1215-[NEW] Flavor is supported. Related to this feature, representations of port origins without flavor is recognized to exactly match the unflavored ones.
1216-.PP
1217-[NEW] Option \fB\-F\fR is added.
1218-.PP
1219-[NEW] \fBpackupgrade\fR command is added.
1220-.PP
1221-[NEW] \fBreset keepstatus\fR command is added.
1222-.PP
1223-[NEW] \fBfreeze\fR and \fBshow freeze\fR commands are added. FREEZE section is added to ${LOCALBASE}/etc/portsreinstall.conf.
1224-.PP
1225-[NEW] \fBshow conflict_files\fR\fR command is added.
1226-.PP
1227-[NEW] CONFLICT section is added to ${LOCALBASE}/etc/portsreinstall.conf.
1228-.PP
1229-[NEW] Utilities of \fBportsreinstall-upgrade\fR(8) and \fBportsreinstall-chroot\fR(8) are added.
1230-.PP
1231-[NEW] Change of port options made outside of \fBportsreinstall\fR(8) is automatically detected.
1232-.PP
1233-[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.
1234-.PP
1235-[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.
1236-.PP
1237-[IMPROVED] \fBreset\fR command is improved to reset the database cleaner and preserve manually set taboo/freeze/need/noneed lists.
1238-.PP
1239-[IMPROVED] \fBreconf\fR command is changed to be available any time.
1240-.PP
1241-[IMPROVED] Inspection of merged ports is improved to make the deinstallation of old packages effective.
1242-.PP
1243-[BUG FIX] \fBpkgsanity\fR command had lost its ability to detect missing files because of the specification change of \fBpkg\fR(8).
1244-.PP
1245-[BUG FIX] Command line arguments could have interpreted "add" keyword as a glob matching math/add.
1246-.PP
1247-[BUG FIX] Option \fB\-k\fR did not work properly with option \fB\-g\fR.
1248-.RE
1249-.TP
1250-3.3.2 (15 February 2017)
1251-.RS
1252-.PP
1253-[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.
1254-.PP
1255-[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.
1256-.RE
1257-.TP
1258-3.3.1 (18 August 2016)
1259-.RS
1260-[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.
1261-.PP
1262-[BUG FIX] Error messages from failed detection of option configuration were not output.
1263-.RE
1264-.TP
1265-3.3.0 (10 July 2016)
1266-.RS
1267-[NEW] Option \-f is added.
1268-.PP
1269-[IMPROVED] Automatic workaround of looped dependencies is implemented at the phase of "Completion of *-time requirement lists" in the preparation stage.
1270-.PP
1271-[CHANGED] Dependencies on \fBpkg\fR(8) is changed to be ignored.
1272-.PP
1273-[BUG FIX] The rescue process for cases missing \fBpkg\fR(8) was not working well.
1274-.PP
1275-[BUG FIX] The phase of "Completion of *-time requirement lists" in the preparation stage was caught into an infinite loop when looped dependencies exist.
1276-.PP
1277-[BUG FIX] Comments on termination were unavailable in some phases.
1278-.PP
1279-[BUG FIX] The messages of currently installed packages may have shown duplicated ones.
1280-.RE
1281-.TP
1282-3.2.1 (27 January 2015)
1283-.RS
1284-[BUG FIX] The automatic resolution of installation conflict implemented in the previous version was seriously broken and judged conflicts incorrectly.
1285-.RE
1286-.TP
1287-3.2.0 (30 December 2014)
1288-.RS
1289-[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.
1290-.PP
1291-[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.
1292-.PP
1293-[BUG FIX] Reinstallation of \fBpkg\fR(8) could encounter error termination.
1294-.RE
1295-.TP
1296-3.1.1 (17 December 2014)
1297-.RS
1298-[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).
1299-.PP
1300-[BUG FIX] MOVED or REPLACED ports were sometimes incorrectly detected as duplicated ports.
1301-.PP
1302-[BUG FIX] Command \fBpkgsanity\fR was confused by the specification change of \fBpkg\-check\fR(8).
1303-.PP
1304-[BUG FIX] Option \fB\-q\fR did not work correctly in version 3.1.0.
1305-.RE
1306-.TP
1307-3.1.0 (9 August 2014)
1308-.RS
1309-[IMPROVED] Command \fBreset\fR is now available to work with an updated ports tree by preserving information of the initially installed packages.
1310-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.
1311-.PP
1312-[IMPROVED] A countermeasure operation is implemented for a bug of pkg-1.3.4 that \fBpkg delete \-q\fR does not work.
1313-.PP
1314-[IMPROVED] Revisions are made so that packages whose ports are replaced or moved are deinstalled before installation of the alternative ports.
1315-.PP
1316-[IMPROVED] Reinstalltion of ports-mgmt/pkg becomes smarter in systems where Pkgng is the default.
1317-.PP
1318-[BUG FIX] Command \fBprepare\fR was possibly aborted at a port any of whose requirements or dependents is obsolete.
1319-.PP
1320-[BUG FIX] It silently failed to launch if the ports tree is missing or broken.
1321-.PP
1322-[BUG FIX] The short help lacked descriptions on \fBneed\fR command.
1323-.PP
1324-[BUG FIX] Some message output failed with a warning "3: Bad file descriptor" in some environment (detected in 10.0-RELEASE).
1325-.PP
1326-[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).
1327-.PP
1328-[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).
1329-.PP
1330-[BUG FIX] Reload of configuration where replacement rule is changed possibly caused errors in the phase of "Inspection of necessity".
1331-.PP
1332-[BUG FIX] Messages about failed ports were inappropriate when failed ports were changed to unneeded.
1333-.PP
1334-[BUG FIX] Evaluation of glob was incorrect when the pattern is regular expression containing multiple slashes.
1335-.PP
1336-[BUG FIX] Warning messages might have arise by attempting to restore nonexistent backed\-up requirements.
1337-.PP
1338-[BUG FIX] The error message for invalid operation on \fBreselect\fR command was wrong.
1339-.PP
1340-[BUG FIX] Selection of leaf packages remained after all of them changed to non\-leaves.
1341-.PP
1342-[BUG FIX] Ports with periods or underscores in their package name, port name or origin were not be treated correctly.
1343-.PP
1344-[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.
1345-.PP
1346-[BUG FIX] Execution of \fBreset\fR command unintentionally removed temporally deinstalled leaf ports out of scope of reinstallation.
1347-.PP
1348-[BUG FIX] A wrong option was given to \fBpkg-info(8)\fR in a compatible command for \fBpkg_info \-qoX\fR.
1349-.PP
1350-[BUG FIX] Variables "REBUILD_*" in ${LOCALBASE}/etc/portsreinstall.conf were not parsed.
1351-.RE
1352-.TP
1353-3.0.5 (14 December 2013)
1354-.RS
1355-[NEW] Command of \fBrmconf\fR is added.
1356-.PP
1357-[IMPROVED] Automatic resolution of duplicated registrations of multiple packages for the same port origin is implemented in \fBpkgsanity\fR command.
1358-.PP
1359-[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.
1360-.PP
1361-[BUG FIX] Execution of \fBreconf\fR command confused the work of \fB\-G\fR option.
1362-.PP
1363-[BUG FIX] Escaped packages by \fBescape\fR command were unintentionally reinstalled in (re)installation of their dependents.
1364-.RE
1365-.TP
1366-3.0.4 (16 November 2013)
1367-.RS
1368-[IMPROVED] Support for systems in which pkgng is the default or legacy package tools are abandoned is improved.
1369-.PP
1370-[IMPROVED] Changes are made so that MAKE_JOBS_UNSAFE=yes is set in retrials of build and installation.
1371-.PP
1372-[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.
1373-.PP
1374-[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.
1375-.PP
1376-[BUG FIX] The execution was terminated by error when /etc/make.conf does not exist.
1377-.PP
1378-[BUG FIX] The execution was terminated by error when there is no INDEX file for the current OS version is prepared.
1379-.PP
1380-[BUG FIX] Some meaningless warnings are suppressed.
1381-.PP
1382-[BUG FIX] Comments at termination during building the temporary database were inconsistent.
1383-.RE
1384-.TP
1385-3.0.3 (2 August 2013)
1386-.RS
1387-[BUG FIX] Cleaning of distfiles before retrial of failed fetch was forgotten.
1388-.RE
1389-.TP
1390-3.0.2 (10 July 2013)
1391-.RS
1392-[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
1393-.RS
1394-\fBportsreinstall pkgsanity\fR
1395-.RE
1396-and select "y" in the queries for spoiled packages.
1397-.PP
1398-[NEW] Commands of \fBpkgsanity\fR and \fBshow status\fR are added.
1399-.PP
1400-[IMPROVED] Changes are made so as to deinstall conflicts before the first trials in build and installation.
1401-.PP
1402-[IMPROVED] Changes are made so as to prevent restoration of backed-up packages deinstalled due to matching CONFLICTS_INSTALL of installed packages.
1403-.PP
1404-[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.
1405-.PP
1406-[IMPROVED] Command \fBshow conflict\fR is changed to append a column of opponent ports of each conflict.
1407-.PP
1408-[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.
1409-.PP
1410-[BUG FIX] Configuration changes in replacement were not completely reflected by redo with \fB\-L\fR option and ended up with errors.
1411-.PP
1412-[BUG FIX] Deinstallation of obsolete or new leaf ports did not work in version 3.0.1.
1413-.PP
1414-[BUG FIX] Conflicts escape was not implemented for (re)installation by prebuilt packages.
1415-.PP
1416-[BUG FIX] The message format in enumerating port origins or so on was broken.
1417-.PP
1418-[MISC] Minor changes are made on HISTORY section of the manual page in the level of coding and terminology.
1419-.RE
1420-.TP
1421-3.0.1 (11 June 2013)
1422-.RS
1423-[NEW] Commands \fBescape\fR and \fBrestore\fR are added.
1424-.PP
1425-[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).
1426-.PP
1427-[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.
1428-.PP
1429-[IMPROVED] Changes are made so that uninspected ports are skipped in \fBreconf\fR command.
1430-.PP
1431-[IMPROVED] A measure to cases of duplicated packages for the same port is implemented.
1432-.PP
1433-[BUG FIX] Commands permitted for unprivileged users did not work for the users.
1434-.PP
1435-[BUG FIX] This manual page, comments and messages contained some wrong English words and incorrect descriptions.
1436-.PP
1437-[BUG FIX] Runs by unprivileged users could end up with errors in message output if /dev/stdin cannot provide information of the console size.
1438-.PP
1439-[BUG FIX] Meaningless warnings are suppressed.
1440-.PP
1441-[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.
1442-.PP
1443-[BUG FIX] Evaluation of glob patterns which have the form of port origin was inappropriately ambiguous.
1444-.PP
1445-[BUG FIX] Reinstallation processes were unintentionally terminated when the backup package creation was unsuccessful.
1446-.PP
1447-[BUG FIX] Options \fB\-O\fR, \fB\-T\fR and \fB\-t\fR did not work for once-succeeded ports.
1448-.PP
1449-[BUG FIX] Detection of conflict was overestimated for some ports.
1450-.RE
1451-.TP
1452-3.0.0 (01 June 2013)
1453-.RS
1454-[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).
1455-.PP
1456-[NEW] Long options are supported.
1457-.PP
1458-[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.
1459-.PP
1460-[NEW] (Re)installation by prebuilt packages for ports with default configurations is implemented.
1461-.PP
1462-[NEW] Controlling the dependency scope for \fBshow\fR command becomes available.
1463-.PP
1464-[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.
1465-.PP
1466-[CHANGED] The function of \fBshow redo\fR is replaced with that of former \fBshow pending\fR, and \fBshow pending\fR is abandoned in exchange.
1467-.PP
1468-[CHANGED] Deinstallation of obsolete packages becomes selectable by run\-time dialog.
1469-.PP
1470-[CHANGED] Deinstallation and ignorance of leaf ports becomes available via selection by run\-time dialog.
1471-.PP
1472-[CHANGED] The directory for saving packages of obsolete or removed leaf ports are changed to $PACKAGES/All whose default is /usr/ports/packages/All.
1473-.PP
1474-[CHANGED] The deinstallation process for unused packages which have been done before reinstallation is changed to be done after it.
1475-.PP
1476-[CHANGED] Compact forms of options is made to be accepted, e.g., \fB\-b \-t \-o\fR as \fB\-bto\fR.
1477-.PP
1478-[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.
1479-.PP
1480-[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.
1481-.PP
1482-[CHANGED] Old options of \fB\-x\fR and \fB\-X\fR are abandoned due to duplication with \fBtaboo add\fR command.
1483-.PP
1484-[CHANGED] Rules for transferring option settings to restarted runs are changed so as to let the all options renewable.
1485-.PP
1486-[CHANGED] The evaluation algorithm of glob patterns is improved and changed to be fully original.
1487-.PP
1488-[CHANGED] The long help is unified with this manual page.
1489-.PP
1490-[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.
1491-.PP
1492-[IMPROVED] The treatment of backup packages is modified to be safer by considering possible format fluctuation in case of pkgng.
1493-.PP
1494-[IMPROVED] Automatic solution to conflicts in (re)installation is implemented.
1495-.PP
1496-[MISC] Line feeds of the help and information messages are improved.
1497-.PP
1498-[BUG FIX] Meaningless warnings at the end of leaf ports are suppressed.
1499-.PP
1500-[BUG FIX] Inappropriate operations could have been attempted on the temporary database by non-superuser privilege.
1501-.PP
1502-[BUG FIX] Tarballs for ports which depend on other ports could have been lost in the step of cleaning distfiles.
1503-.PP
1504-[BUG FIX] Self-upgrade was carried out even for commands other than do or prepare.
1505-.RE
1506-.TP
1507-2.2.2 (03 January 2013)
1508-.RS
1509-[BUG FIX] Commands \fBok add\fR and \fBok del\fR failed if no port has reinstalled in the latest do/redo process.
1510-.PP
1511-[BUG FIX] Makefile was problematic if ${LOCALBASE}/etc/portsreinstall.conf does not exist before installation.
1512-.RE
1513-.TP
1514-2.2.1 (25 December 2012)
1515-.RS
1516-[CHANGED] Command \fBshow todo_next\fR is renamed to \fBshow pending\fR.
1517-.PP
1518-[IMPROVED] Changes are made so as to avoid retrying for dependents of failed ports when no problem has resolved.
1519-.PP
1520-[BUG FIX] Removed a remained debugging code in the action for \fBsave\fR command.
1521-.RE
1522-.TP
1523-2.2.0 (17 December 2012)
1524-.RS
1525-[NEW] Command of \fBshow todo_next\fR is added.
1526-.PP
1527-[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.
1528-.PP
1529-[CHANGED] The default settings in portsreinstall.conf was changed so as to include a HOLD pattern for bsdpan.
1530-.PP
1531-[BUG FIX] There was a problem in evaluating glob patterns expressing origins.
1532-.PP
1533-[BUG FIX] Minor inappropriate messages and actions emerged when the target and replacement of ports substitution become the same.
1534-.PP
1535-[BUG FIX] The help messages and this manual page lacked the descriptions about \fBshow redo\fR command.
1536-.RE
1537-.TP
1538-2.1.0 (10 December 2012)
1539-.RS
1540-[NEW] New generation package (pkgng) is supported.
1541-.PP
1542-[IMPROVED] A countermeasure for a build failure in a restarted build from a terminated build is implemented.
1543-.PP
1544-[BUG FIX] Restoration of backup packages after failed installation was not working correctly.
1545-.PP
1546-[BUG FIX] The transferring mechanism of option values to restarted run was broken.
1547-.PP
1548-[BUG FIX] Error end in case that no packages are installed is fixed.
1549-.PP
1550-[BUG FIX] A glob evaluation routine used when \fBports_glob\fR(1) is not installed was broken.
1551-.RE
1552-.TP
1553-2.0.0 (12 August 2012)
1554-.RS
1555-[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.
1556-.PP
1557-[NEW] Commands of \fBshow requirements\fR and \fBshow dependents\fR are added.
1558-.PP
1559-[NEW] A functionality of self-upgrade is added so as to be carried out first if the port of portsreinstall is new.
1560-.PP
1561-[NEW] Option \fB\-k\fR is added for cases that upgrade of portsreinstall should be avoided.
1562-.PP
1563-[IMPROVED] Messages are extended to output configuration parameter values.
1564-.PP
1565-[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.
1566-.PP
1567-[CHANGED] Use of commas as delimiters in \fBok\fR and \fBtaboo\fR commands is abolished.
1568-.PP
1569-[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.
1570-.PP
1571-[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.
1572-.PP
1573-[BUG FIX] Termination message is corrected (portsreinstall ok => portsreinstall ok add).
1574-.PP
1575-[BUG FIX] Values of BEFOREBUILD, BEFOREDEINSTALL and AFTERINSTALL were not correctly imported from \fBpkgtools.conf\fR(5).
1576-.PP
1577-[BUG FIX] The file name given by save command was with a wrong time stamp.
1578-.RE
1579-.TP
1580-1.1.0 (28 April 2012)
1581-.RS
1582-[NEW] Command of show deleted is newly added.
1583-.PP
1584-[CHANGED] Origin names in messages and results of show command are changed to be accompanied with package names.
1585-.PP
1586-[CHANGED] The default option for treating \fBpkgtools.conf\fR(5) is changed to \fB\-p\fR and \fB\-Q\fR is newly added.
1587-.PP
1588-[IMPROVED] Custom make environment variables and arguments are changed to be reflected in the stage of inspection of dependencies.
1589-.PP
1590-[IMPROVED] Command of show todo is now available before starting reinstallation.
1591-.PP
1592-[BUG FIX] Independence from \fBportupgrade\fR(1) was incomplete.
1593-.PP
1594-[BUG FIX] Error messages for show command when the temporary database does not exist are improved.
1595-.PP
1596-[BUG FIX] Ports with names contaning '+' were not correctly treated.
1597-.PP
1598-[BUG FIX] Save and load commands were broken.
1599-.PP
1600-[BUG FIX] Deletion of MOVED-back packages is now prevented.
1601-.RE
1602-.TP
1603-1.0.0 (14 March 2012)
1604-.RS
1605-[MISC] Explanations for \fB\-p\fR and \fB\-P\fR are revised because the previous ones were somewhat confusing.
1606-.PP
1607-[MISC] The output device of helps is changed from stderr to stdout.
1608-.PP
1609-[MISC] Messages for termination during deinstallation and reinstallation are improved by showing the target port/package names at that time.
1610-.PP
1611-[BUG FIX] Glob patterns for package/port names were not fully supported.
1612-.PP
1613-[BUG FIX] Values of MARG_* and MENV_* (MAKE_ARGS and MAKE_ENV in \fBpkgtools.conf\fR(5)) were not working.
1614-.PP
1615-[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.
1616-.PP
1617-[BUG FIX] Values of IGNORE_MOVED partially overwrote HOLD_PKGS in \fBpkgtools.conf\fR(5).
1618-.PP
1619-[BUG FIX] Typographic and grammatical errors in the main script and documents are revised.
1620-.RE
1621-.TP
1622-0.13.1 (29 October 2011)
1623-.RS
1624-[BUG FIX] Inspection of missing ports was incomplete.
1625-.PP
1626-[BUG FIX] Origin names with '+' were not correctly treated.
1627-.PP
1628-[IMPROVED] Inspection of dependencies of installed packages gets faster.
1629-.RE
1630-.TP
1631-0.13.0 (28 August 2011)
1632-.RS
1633-[IMPROVED] Phase of "Order the ports considering dependencies" is accelerated.
1634-.RE
1635-.TP
1636-0.12.0 (22 June 2011)
1637-.RS
1638-[NEW] \fB\-q\fR, \fB\-d\fR and \fB\-N\fR options are added.
1639-.PP
1640-[CHANGED] Settings for \fB\-x\fR and \fB\-s\fR options becomes to be transferred to restarted runs.
1641-.RE
1642-.TP
1643-0.11.0 (17 May 2011)
1644-.RS
1645-[NEW] Causes of errors are added to the report of failed ports.
1646-.PP
1647-[CHANGED] Functionality of \fB\-t\fR option is changed and partly splitted into \fB\-T\fR.
1648-.PP
1649-[IMPROVED] Refetch after fetch failure becomes smarter so as not to clean up distfiles.
1650-.PP
1651-[MISC] Terminology 'abort' is corrected to be 'terminate'.
1652-.RE
1653-.TP
1654-0.10.0 (11 Mar 2011)
1655-.RS
1656-[NEW] Version check for temporary database and portupgrade is added (as a template).
1657-.PP
1658-[BUG FIX] Old packages for ports whose package names was renamed were not deleted.
1659-.PP
1660-[BUG FIX] Duplicated cleans were executed after successful installation.
1661-.RE
1662-.TP
1663-0.9.8 (02 Mar 2011)
1664-.RS
1665-[MISC] Installation methods of non-executable files in Makefile are improved again.
1666-.RE
1667-.TP
1668-0.9.7 (02 Mar 2011)
1669-.RS
1670-[MISC] Installation methods of non-executable files in Makefile are improved.
1671-.RE
1672-.TP
1673-0.9.6 (01 Mar 2011)
1674-.RS
1675-[BUG FIX] Fix at version 0.9.5 was incomplete.
1676-.PP
1677-[BUG FIX] The release date of 0.9.5 was wrong in the manpage.
1678-.RE
1679-.TP
1680-0.9.5 (28 Feb 2011)
1681-.RS
1682-[BUG FIX] "install" target in Makefile installed non-executable files as executables.
1683-.RE
1684-.TP
1685-0.9.4 (17 Jan 2011)
1686-.RS
1687-[BUG FIX] "all" target in Makefile was missing.
1688-.RE
1689-.TP
1690-0.9.3 (16 Jan 2011)
1691-.RS
1692-[MISC] Makefile is modified to compress manpage in the build process.
1693-.RE
1694-.TP
1695-0.9.2 (10 Jan 2011)
1696-.RS
1697-[MISC] The 2-Clause BSD License is applied from this version.
1698-.PP
1699-[NEW] Manpage is created.
1700-.PP
1701-[NEW] Makefile for installation/uninstallation is added.
1702-.PP
1703-[BUG FIX] Recovery from distfile checksum error was broken.
1704-.RE
1705-.TP
1706-0.9.1 (27 Dec 2010)
1707-.RS
1708-[BUG FIX] Wrong warning for \fB\-p\fR/\fB\-P\fR options in the first run.
1709-.PP
1710-[BUG FIX] Broken support of recursive chase of MOVED ports.
1711-.PP
1712-[BUG FIX] Option configuration menus were not accessable.
1713-.PP
1714-[BUG FIX] The mechanism of loading the configuration file was broken.
1715-.PP
1716-[BUG FIX] Optionally added taboo ports were not always effective in restart.
1717-.RE
1718-.TP
1719-0.9.0 (21 Nov 2010)
1720-.RS
1721-First version.
17221147 .SH APPENDIX: Conditions determining the package system (general specification of FreeBSD Ports/Packages)
17231148 The current package system is automatically detected according to the OS version whose serial number is obtained by
17241149 .RS
Show on old repository browser