OSDN Git Service

portsreinstall/current.git
16 months agoBumped to Release version 4.1.0. master
Mamoru Sakaue / MwGhennndo [Sat, 22 Sep 2018 05:40:34 +0000 (14:40 +0900)]
Bumped to Release version 4.1.0.

 Changes to be committed:
modified:   HISTORY
modified:   INSTALL
modified:   README
modified:   lib/libmain.sh
modified:   man/portsreinstall-chroot-mount.8
modified:   man/portsreinstall-chroot.8
modified:   man/portsreinstall-upgrade.8
modified:   man/portsreinstall.8

16 months agoFixed a bug in portsreinstall-upgrade that unchanged packages were deleted.
Mamoru Sakaue / MwGhennndo [Thu, 20 Sep 2018 01:56:20 +0000 (10:56 +0900)]
Fixed a bug in portsreinstall-upgrade that unchanged packages were deleted.

 Changes to be committed:
modified:   HISTORY
modified:   lib/libmain.sh
modified:   lib/upgrade/libcommand_do.sh

16 months agoFixed bugs related to command_do_complete_necessary_upgrades_for_build ().
Mamoru Sakaue / MwGhennndo [Wed, 19 Sep 2018 16:26:48 +0000 (01:26 +0900)]
Fixed bugs related to command_do_complete_necessary_upgrades_for_build ().

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh

16 months agoFixed the wrong implementation of command_do_complete_necessary_upgrades_for_build ().
Mamoru Sakaue / MwGhennndo [Wed, 19 Sep 2018 14:11:31 +0000 (23:11 +0900)]
Fixed the wrong implementation of command_do_complete_necessary_upgrades_for_build ().

 Changes to be committed:
modified:   HISTORY
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh

16 months agoFixed a bug that unselected leaf ports were skipped in reinstalltion.
Mamoru Sakaue / MwGhennndo [Wed, 19 Sep 2018 02:12:05 +0000 (11:12 +0900)]
Fixed a bug that unselected leaf ports were skipped in reinstalltion.
Fixed a bug that show commands took the negative lists oppositely.

 Changes to be committed:
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

16 months ago[NEW] Options -f is added to portsreinstall-chroot-mount(8).
Mamoru Sakaue / MwGhennndo [Tue, 18 Sep 2018 12:30:23 +0000 (21:30 +0900)]
[NEW] Options -f is added to portsreinstall-chroot-mount(8).

 Changes to be committed:
modified:   HISTORY
modified:   Makefile
new file:   lib/chroot-mount/libfs.sh
modified:   lib/chroot-mount/liboptions.sh
modified:   lib/chroot-mount/libusage.sh
modified:   lib/chroot/libfs.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall-chroot-mount.8
modified:   share/bin/portsreinstall-chroot-mount

16 months agoSome fixes about removing unecessary redo.
Mamoru Sakaue / MwGhennndo [Mon, 17 Sep 2018 16:20:55 +0000 (01:20 +0900)]
Some fixes about removing unecessary redo.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

16 months agoFixed a syntax error.
Mamoru Sakaue / MwGhennndo [Sun, 16 Sep 2018 13:23:19 +0000 (22:23 +0900)]
Fixed a syntax error.

 Changes to be committed:
modified:   lib/libdatabase_query.sh

16 months agoFixed a bug that incompletion of necessary build dependent detection caused incomlete...
Mamoru Sakaue / MwGhennndo [Sun, 16 Sep 2018 13:14:24 +0000 (22:14 +0900)]
Fixed a bug that incompletion of necessary build dependent detection caused incomlete reinstallation.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh

16 months agoAdded option -g to portsreinstall-chroot.
Mamoru Sakaue / MwGhennndo [Fri, 14 Sep 2018 04:10:45 +0000 (13:10 +0900)]
Added option -g to portsreinstall-chroot.

 Changes to be committed:
modified:   HISTORY
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/liboptions.sh
modified:   lib/chroot/libusage.sh
modified:   man/portsreinstall-chroot.8

16 months agoFixed bugs about freezing.
Mamoru Sakaue / MwGhennndo [Fri, 14 Sep 2018 03:17:01 +0000 (12:17 +0900)]
Fixed bugs about freezing.

 Changes to be committed:
modified:   HISTORY
modified:   lib/libcommand_flexconf.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   lib/libreinstall.sh

16 months agoFixed a bug that obsolete or moved ports were not inspected. For this purpose, the...
Mamoru Sakaue / MwGhennndo [Thu, 13 Sep 2018 15:33:07 +0000 (00:33 +0900)]
Fixed a bug that obsolete or moved ports were not inspected. For this purpose, the inspection of ports is split to ones for initially installed packages and finally installed ports.

 Changes to be committed:
modified:   bin/portsreinstall
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh

16 months agoFixed a bug of error end when no obsolete package is installed.
Mamoru Sakaue / MwGhennndo [Thu, 13 Sep 2018 13:24:28 +0000 (22:24 +0900)]
Fixed a bug of error end when no obsolete package is installed.

 Changes to be committed:
modified:   lib/libcommand_do.sh

16 months agoRegularized the source and manual formats about the release dates.
Mamoru Sakaue / MwGhennndo [Thu, 13 Sep 2018 07:07:16 +0000 (15:07 +0800)]
Regularized the source and manual formats about the release dates.

 Changes to be committed:
modified:   HISTORY
modified:   README
modified:   man/portsreinstall-chroot-mount.8
modified:   man/portsreinstall-chroot.8
modified:   man/portsreinstall-upgrade.8
modified:   man/portsreinstall.8

16 months ago[CHANGED] The history section which was in the man page is separated to HISTORY file.
Mamoru Sakaue / MwGhennndo [Thu, 13 Sep 2018 06:44:41 +0000 (14:44 +0800)]
[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

16 months agoMade portsreinstall-upgrade available even pkg(8) is not installed at first.
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 16:59:32 +0000 (00:59 +0800)]
Made portsreinstall-upgrade available even pkg(8) is not installed at first.

 Changes to be committed:
modified:   lib/libcommand_pkgs.sh
modified:   lib/libpkgsys.sh
modified:   lib/upgrade/libcommand_do.sh

16 months agoModified the part of full course of portsreinstall-chroot in the manual page.
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 16:49:01 +0000 (00:49 +0800)]
Modified the part of full course of portsreinstall-chroot in the manual page.

 Changes to be committed:
modified:   man/portsreinstall-chroot.8

16 months agoChanged portsreintsall-chroot to carry out portsnap and pkg update in full course...
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 16:41:43 +0000 (00:41 +0800)]
Changed portsreintsall-chroot to carry out portsnap and pkg update in full course to do at the host environment.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh

16 months agoFixed a bug that deleting packages didn't work in portsreinstall-upgrade.
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 16:18:45 +0000 (00:18 +0800)]
Fixed a bug that deleting packages didn't work in portsreinstall-upgrade.

 Changes to be committed:
modified:   lib/libcommand_pkgs.sh
modified:   lib/libmain.sh
modified:   lib/upgrade/libcommand_do.sh

16 months agoFixed a bug that restoration is missing in the previous modification.
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 15:02:50 +0000 (23:02 +0800)]
Fixed a bug that restoration is missing in the previous modification.

 Changes to be committed:
modified:   lib/libcommand_do.sh

16 months ago[IMPROVED] Possible confusion by obsolete packages during inspection is made to be...
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 14:52:01 +0000 (22:52 +0800)]
[IMPROVED] Possible confusion by obsolete packages during inspection is made to be avoided by temporary escape.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall.8

16 months agoFixed a bug related to the previous modification.
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 13:20:53 +0000 (21:20 +0800)]
Fixed a bug related to the previous modification.

 Changes to be committed:
modified:   lib/libcommand_pkgs.sh
modified:   lib/libmain.sh
modified:   lib/upgrade/libcommand_do.sh

16 months agoNewly added portsreinstall show moved and fixed packupgrade create to delete all...
Mamoru Sakaue / MwGhennndo [Wed, 12 Sep 2018 11:38:34 +0000 (19:38 +0800)]
Newly added portsreinstall show moved and fixed packupgrade create to delete all moved ports.

 Changes to be committed:
modified:   lib/libcommand_pkgs.sh
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

16 months agoFixed bugs related to portsreinstall packupgrade and portsreinstall-upgrade.
Mamoru Sakaue / MwGhennndo [Tue, 11 Sep 2018 16:02:40 +0000 (00:02 +0800)]
Fixed bugs related to portsreinstall packupgrade and portsreinstall-upgrade.

 Changes to be committed:
modified:   lib/chroot-mount/liboptions.sh
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libcommand.sh
modified:   lib/libcommand_pkgs.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/liboptions.sh
modified:   lib/upgrade/libcommand.sh
modified:   lib/upgrade/libcommand_do.sh
modified:   lib/upgrade/liboptions.sh
modified:   share/bin/portsreinstall-chroot-mount

16 months agoFixed bugs about command_do_update_host_files().
Mamoru Sakaue / MwGhennndo [Tue, 11 Sep 2018 12:55:12 +0000 (20:55 +0800)]
Fixed bugs about command_do_update_host_files().

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libcommand_pkgs.sh
modified:   lib/libmain.sh

16 months agoFixed a bug that -S option prevented recording the completion.
Mamoru Sakaue / MwGhennndo [Tue, 11 Sep 2018 08:31:58 +0000 (16:31 +0800)]
Fixed a bug that -S option prevented recording the completion.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libmain.sh

16 months agoFixed a bug emerged due to the previous modification.
Mamoru Sakaue / MwGhennndo [Tue, 11 Sep 2018 07:31:26 +0000 (15:31 +0800)]
Fixed a bug emerged due to the previous modification.

 Changes to be committed:
modified:   lib/libdatabase_build.sh

16 months agoFixed a bug that the list of reinstallation became messy because of possible insertio...
Mamoru Sakaue / MwGhennndo [Tue, 11 Sep 2018 06:50:53 +0000 (14:50 +0800)]
Fixed a bug that the list of reinstallation became messy because of possible insertion of blank lines in requirements list.

Removed a confusing message at the end about ignorance of unrelated ports.

 Changes to be committed:
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh
modified:   lib/libmessage.sh

16 months agoFixed a bug that the last counter was invisible.
Mamoru Sakaue / MwGhennndo [Mon, 10 Sep 2018 08:11:37 +0000 (16:11 +0800)]
Fixed a bug that the last counter was invisible.

 Changes to be committed:
modified:   lib/libprogram.sh

16 months agoFixed a bug that the loops didn't work.
Mamoru Sakaue / MwGhennndo [Mon, 10 Sep 2018 05:43:21 +0000 (13:43 +0800)]
Fixed a bug that the loops didn't work.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libprogram.sh

16 months agoFixed a bug that portsreinstall-chroot failed to mount when some shared directories...
Mamoru Sakaue / MwGhennndo [Mon, 10 Sep 2018 04:58:08 +0000 (12:58 +0800)]
Fixed a bug that portsreinstall-chroot failed to mount when some shared directories are not yet existing.

 Changes to be committed:
modified:   lib/chroot/libfs.sh
modified:   lib/libcommand_pkgs.sh
modified:   lib/libmain.sh

16 months agoImproved the log output to show 100% at the end of countered loop always.
Mamoru Sakaue / MwGhennndo [Mon, 10 Sep 2018 04:26:24 +0000 (12:26 +0800)]
Improved the log output to show 100% at the end of countered loop always.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libmain.sh
modified:   lib/libprogram.sh

16 months agoFixed a bug that the redo list was not recorded correctly when any requirement succeeds.
Mamoru Sakaue / MwGhennndo [Mon, 10 Sep 2018 02:36:44 +0000 (10:36 +0800)]
Fixed a bug that the redo list was not recorded correctly when any requirement succeeds.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/libprogram.sh
modified:   lib/libreinstall.sh

16 months agoFixed a bug that ok, taboo, freeze, need and noneed commands lost their functionality.
Mamoru Sakaue / MwGhennndo [Sun, 9 Sep 2018 07:54:39 +0000 (15:54 +0800)]
Fixed a bug that ok, taboo, freeze, need and noneed commands lost their functionality.

 Changes to be committed:
modified:   lib/libcommand_flexconf.sh
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh

16 months agoMakefile is modified to add a missing line for deleting portsreinstall-chroot.
Mamoru Sakaue / MwGhennndo [Mon, 27 Aug 2018 18:19:50 +0000 (02:19 +0800)]
Makefile is modified to add a missing line for deleting portsreinstall-chroot.

 Changes to be committed:
modified:   Makefile

16 months agoFixed a bug that arguments following options were not recognized correctly.
Mamoru Sakaue / MwGhennndo [Mon, 27 Aug 2018 15:18:45 +0000 (23:18 +0800)]
Fixed a bug that arguments following options were not recognized correctly.

 Changes to be committed:
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   lib/libmain.sh
modified:   share/bin/portsreinstall-chroot-mount
modified:   share/bin/portsreinstall-upgrade

16 months agoFixed a bug that ports installed by prebuilt packages were not registered correctly.
Mamoru Sakaue / MwGhennndo [Sun, 26 Aug 2018 17:04:41 +0000 (01:04 +0800)]
Fixed a bug that ports installed by prebuilt packages were not registered correctly.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

16 months agoBug fix in parsing arguments.
Mamoru Sakaue / MwGhennndo [Sun, 26 Aug 2018 16:53:03 +0000 (00:53 +0800)]
Bug fix in parsing arguments.

 Changes to be committed:
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   lib/chroot-mount/libcommand.sh
modified:   lib/chroot/libcommand.sh
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh
modified:   share/bin/portsreinstall-chroot-mount
modified:   share/bin/portsreinstall-upgrade

16 months agoFixed a bug emerged by the previous modification.
Mamoru Sakaue / MwGhennndo [Sun, 26 Aug 2018 10:12:03 +0000 (18:12 +0800)]
Fixed a bug emerged by the previous modification.

 Changes to be committed:
modified:   lib/libpkgsys.sh

16 months agoChanged the implementation related to port option databases internally.
Mamoru Sakaue / MwGhennndo [Sun, 26 Aug 2018 10:04:40 +0000 (18:04 +0800)]
Changed the implementation related to port option databases internally.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libpkgsys.sh

16 months ago[NEW] Commands of show inst_built_default and show inst_built_custom are added.
Mamoru Sakaue / MwGhennndo [Sun, 26 Aug 2018 08:39:54 +0000 (16:39 +0800)]
[NEW] Commands of show inst_built_default and show inst_built_custom are added.

[NEW] show status newly has inst_built_default, inst_built_custom and fossil.

 Changes to be committed:
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libdatabase_record.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

16 months agoKeyword heritage is renamed to fossil.
Mamoru Sakaue / MwGhennndo [Thu, 23 Aug 2018 15:43:33 +0000 (23:43 +0800)]
Keyword heritage is renamed to fossil.

 Changes to be committed:
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

16 months agoFixed a bug to detect requirements build incorrectly.
Mamoru Sakaue / MwGhennndo [Thu, 23 Aug 2018 13:56:27 +0000 (21:56 +0800)]
Fixed a bug to detect requirements build incorrectly.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoFixed a bug that reinstall_exec_reinstall_close_successful_install () was defined...
Mamoru Sakaue / MwGhennndo [Wed, 22 Aug 2018 15:01:56 +0000 (23:01 +0800)]
Fixed a bug that reinstall_exec_reinstall_close_successful_install () was defined with a wrong name.

 Changes to be committed:
modified:   lib/libreinstall.sh

17 months agoFixed a bug that portsreinstall-chroot auto had lost its functionality.
Mamoru Sakaue / MwGhennndo [Wed, 22 Aug 2018 14:43:56 +0000 (22:43 +0800)]
Fixed a bug that portsreinstall-chroot auto had lost its functionality.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh

17 months ago[CHANGED] The keyword for identifying build failure is separated into "build" and...
Mamoru Sakaue / MwGhennndo [Wed, 22 Aug 2018 14:39:03 +0000 (22:39 +0800)]
[CHANGED] The keyword for identifying build failure is separated into "build" and "requirements build".

 Changes to be committed:
modified:   bin/portsreinstall
modified:   lib/chroot-mount/liboptions.sh
modified:   lib/chroot-mount/libusage.sh
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/liboptions.sh
modified:   lib/chroot/libusage.sh
modified:   lib/libcommand.sh
modified:   lib/libcommand_do.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/liboptions.sh
modified:   lib/main/libusage.sh
modified:   lib/upgrade/liboptions.sh
modified:   lib/upgrade/libusage.sh
modified:   man/portsreinstall.8

17 months agoTermination messages are simplified.
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 17:32:42 +0000 (01:32 +0800)]
Termination messages are simplified.

The full coiurse mode operation of portsreinstall-chroot is corrected to resume rationally.

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libfs.sh
modified:   lib/libmain.sh
modified:   lib/libtemp.sh
modified:   lib/main/libmain.sh

17 months ago-S option is changed to supress terminating messages as well.
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 16:38:31 +0000 (00:38 +0800)]
-S option is changed to supress terminating messages as well.

 Changes to be committed:
modified:   lib/chroot-mount/libusage.sh
modified:   lib/chroot/libusage.sh
modified:   lib/libmain.sh
modified:   lib/main/libusage.sh
modified:   lib/upgrade/libusage.sh
modified:   man/portsreinstall-chroot-mount.8
modified:   man/portsreinstall-chroot.8
modified:   man/portsreinstall-upgrade.8
modified:   man/portsreinstall.8

17 months agoCorrected so as not to show opening messages of portsreinstall launched by portsreins...
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 16:28:44 +0000 (00:28 +0800)]
Corrected so as not to show opening messages of portsreinstall launched by portsreinstall-chroot in the full course mode when resuming.

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libfs.sh
modified:   lib/libmain.sh

17 months agoFixed the same thing again.
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 08:00:18 +0000 (16:00 +0800)]
Fixed the same thing again.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoCorrected theimplementation of portsreinstall-chroot destroy.
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 07:39:51 +0000 (15:39 +0800)]
Corrected theimplementation of portsreinstall-chroot destroy.

 Changes to be committed:
modified:   lib/chroot/libdatabase_maintain.sh
modified:   lib/libmain.sh

17 months agoSkipping of reinstallation due to missing or old requirements is changed from failure...
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 07:20:20 +0000 (15:20 +0800)]
Skipping of reinstallation due to missing or old requirements is changed from failure to skip.
So the list of failure becomes more fundamental.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoFixed a bug that portsreinstall-chroot in the full course mode couldn't resume.
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 06:21:17 +0000 (14:21 +0800)]
Fixed a bug that portsreinstall-chroot in the full course mode couldn't resume.

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libmain.sh

17 months agoThe previous improvement is added to HISTORY section of the man page.
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 04:46:28 +0000 (12:46 +0800)]
The previous improvement is added to HISTORY section of the man page.

 Changes to be committed:
modified:   man/portsreinstall.8

17 months agoImproved portsreintsall-chroot to allow unpriveliged enter, mount and unmount if...
Mamoru Sakaue / MwGhennndo [Tue, 21 Aug 2018 04:40:26 +0000 (12:40 +0800)]
Improved portsreintsall-chroot to allow unpriveliged enter, mount and unmount if no privilege is required actually.

Fixed a bug that show command was disabled.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libmain.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libfs.sh
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh

17 months agoThe options passed to portsreinstall in the builder chroot environment by portsreinst...
Mamoru Sakaue / MwGhennndo [Mon, 20 Aug 2018 17:13:41 +0000 (01:13 +0800)]
The options passed to portsreinstall in the builder chroot environment by portsreinstall-chroot -f was inappropriate for -Y option of portsreinstall.

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall-chroot.8

17 months agoSome bug fiz related to the previously added new features.
Mamoru Sakaue / MwGhennndo [Mon, 20 Aug 2018 16:19:24 +0000 (00:19 +0800)]
Some bug fiz related to the previously added new features.

 Changes to be committed:
modified:   bin/portsreinstall-chroot
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libmain.sh
modified:   lib/libcommand_do.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall-chroot.8

17 months ago[NEW] Option -f and command destroy are added to portsreinstall-chroot.
Mamoru Sakaue / MwGhennndo [Mon, 20 Aug 2018 14:35:40 +0000 (22:35 +0800)]
[NEW] Option -f and command destroy are added to portsreinstall-chroot.

[NEW] Option -j is added.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libdatabase_maintain.sh
modified:   lib/chroot/liboptions.sh
modified:   lib/chroot/libusage.sh
modified:   lib/libcommand_do.sh
modified:   lib/main/liboptions.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall-chroot.8
modified:   man/portsreinstall.8
modified:   lib/libmain.sh

17 months ago[NEW] show heritage command is added. The database records ports which have not eithe...
Mamoru Sakaue / MwGhennndo [Sun, 19 Aug 2018 13:11:36 +0000 (21:11 +0800)]
[NEW] show heritage command is added. The database records ports which have not either upgraded or resinatlled in a reset-safe directory. Some reset-safe databases are added/corrected.

Other miscellaneous changes are included.

 Changes to be committed:
modified:   Makefile
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   etc/portsreinstall.conf
modified:   lib/chroot-mount/libmain.sh
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libmain.sh
modified:   lib/libcommand.sh
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_maintain.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   lib/libreinstall.sh
modified:   lib/libtemp.sh
modified:   lib/main/libcommand.sh
new file:   lib/main/libmain.sh

17 months agoCommands of show build_conflict_pkgs and show inst_conflict_pkgs are added.
Mamoru Sakaue / MwGhennndo [Fri, 17 Aug 2018 06:39:07 +0000 (14:39 +0800)]
Commands of show build_conflict_pkgs and show inst_conflict_pkgs are added.

 Changes to be committed:
modified:   lib/libcommand_show.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

17 months ago[NEW] show inst_by_pkg commands are added.
Mamoru Sakaue / MwGhennndo [Wed, 15 Aug 2018 18:37:30 +0000 (02:37 +0800)]
[NEW] show inst_by_pkg commands are added.

[NEW] Command show status newly supports inst_by_pkg.

 Changes to be committed:
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

17 months agoShow command didn't work forsome subjects due to failure to reference to package...
Mamoru Sakaue / MwGhennndo [Wed, 15 Aug 2018 18:03:58 +0000 (02:03 +0800)]
Show command didn't work forsome subjects due to failure to reference to package name tags, which was moved from requires to moved_from.

 Changes to be committed:
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh

17 months agoThe full build-time requirements are changed to the ports of the least required packa...
Mamoru Sakaue / MwGhennndo [Wed, 15 Aug 2018 15:33:44 +0000 (23:33 +0800)]
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.

 Changes to be committed:
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall.8

17 months ago[BUG FIX] Adding packages sometimes failed due to lack of required packages.
Mamoru Sakaue / MwGhennndo [Sat, 11 Aug 2018 10:58:32 +0000 (18:58 +0800)]
[BUG FIX] Adding packages sometimes failed due to lack of required packages.

Some parts of comments and the man page about the full build dependencies are modofied.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   lib/upgrade/libcommand.sh
modified:   man/portsreinstall.8

17 months agoVersion change related to the previous modification.
Mamoru Sakaue / MwGhennndo [Fri, 10 Aug 2018 15:19:15 +0000 (23:19 +0800)]
Version change related to the previous modification.

 Changes to be committed:
modified:   lib/libmain.sh

17 months agoSeveral minor modification or tunings were made.
Mamoru Sakaue / MwGhennndo [Fri, 10 Aug 2018 15:18:04 +0000 (23:18 +0800)]
Several minor modification or tunings were made.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libdatabase_maintain.sh
modified:   lib/libfileedit.sh
modified:   lib/libpkgsys.sh
modified:   lib/libusage.sh
modified:   man/portsreinstall-chroot.8

17 months agoMade pkg deinstallation more quiet.
Mamoru Sakaue / MwGhennndo [Tue, 7 Aug 2018 04:24:46 +0000 (12:24 +0800)]
Made pkg deinstallation more quiet.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh

17 months agoMade pkg installation more quiet.
Mamoru Sakaue / MwGhennndo [Tue, 7 Aug 2018 02:07:25 +0000 (10:07 +0800)]
Made pkg installation more quiet.

 Changes to be committed:
modified:   lib/libpkgsys.sh

17 months agoBug fix in the previous modification.
Mamoru Sakaue / MwGhennndo [Mon, 6 Aug 2018 17:01:45 +0000 (01:01 +0800)]
Bug fix in the previous modification.

 Changes to be committed:
modified:   lib/main/libcommand.sh

17 months ago[NEW] pkg command is added.
Mamoru Sakaue / MwGhennndo [Mon, 6 Aug 2018 16:49:02 +0000 (00:49 +0800)]
[NEW] pkg command is added.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

17 months agoThe previous changes are mentioned in the man page.
Mamoru Sakaue / MwGhennndo [Mon, 6 Aug 2018 02:06:39 +0000 (10:06 +0800)]
The previous changes are mentioned in the man page.

 Changes to be committed:
modified:   man/portsreinstall.8

17 months agoOperation by make is made more quite for the batch mode.
Mamoru Sakaue / MwGhennndo [Mon, 6 Aug 2018 02:03:01 +0000 (10:03 +0800)]
Operation by make is made more quite for the batch mode.

 Changes to be committed:
modified:   lib/libdatabase_record.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoThe batch mode is made more quite about package tools operations.
Mamoru Sakaue / MwGhennndo [Mon, 6 Aug 2018 01:40:39 +0000 (09:40 +0800)]
The batch mode is made more quite about package tools operations.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   lib/main/libcommand.sh

17 months agoCheck of pkg(8) availability is modified to be safer in accordance with the recommend...
Mamoru Sakaue / MwGhennndo [Sun, 5 Aug 2018 07:07:48 +0000 (15:07 +0800)]
Check of pkg(8) availability is modified to be safer in accordance with the recommendation in the man page.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   man/portsreinstall.8

17 months agoFixed a bug of the command interface of the previously added make command.
Mamoru Sakaue / MwGhennndo [Sat, 4 Aug 2018 18:38:27 +0000 (02:38 +0800)]
Fixed a bug of the command interface of the previously added make command.

 Changes to be committed:
modified:   lib/libcommand_pkgs.sh
modified:   lib/libmain.sh

17 months ago[NEW] make command is added.
Mamoru Sakaue / MwGhennndo [Sat, 4 Aug 2018 18:06:47 +0000 (02:06 +0800)]
[NEW] make command is added.

reinstall_exec() is broken into smaller functions.

 Changes to be committed:
modified:   lib/libcommand.sh
modified:   lib/libcommand_pkgs.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

17 months ago[BUG FIX] The message about the evaluated dependency level in show command was wrong.
Mamoru Sakaue / MwGhennndo [Sat, 4 Aug 2018 10:22:56 +0000 (18:22 +0800)]
[BUG FIX] The message about the evaluated dependency level in show command was wrong.

 Changes to be committed:
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/libmessage.sh
modified:   man/portsreinstall.8

17 months agoFix a syntax destruction at command_do_is_everything_resolved () about /dev/null.
Mamoru Sakaue / MwGhennndo [Thu, 2 Aug 2018 18:20:18 +0000 (02:20 +0800)]
Fix a syntax destruction at command_do_is_everything_resolved () about /dev/null.

 Changes to be committed:
modified:   lib/libcommand_do.sh

17 months agoFixed to suppress warnings of missing requirements.all.full in build of mandatory...
Mamoru Sakaue / MwGhennndo [Thu, 2 Aug 2018 12:43:24 +0000 (20:43 +0800)]
Fixed to suppress warnings of missing requirements.all.full in build of mandatory ports/packages management tools.

 Changes to be committed:
modified:   lib/libmain.sh

17 months agoFixed a bug that some commands were broken when options are specified.
Mamoru Sakaue / MwGhennndo [Wed, 1 Aug 2018 16:51:47 +0000 (00:51 +0800)]
Fixed a bug that some commands were broken when options are specified.

 Changes to be committed:
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libmain.sh
modified:   share/bin/portsreinstall-chroot-mount
modified:   share/bin/portsreinstall-upgrade

17 months agoMoved command_do_prepare_for_inspect_all_dependencies into the loop of catching port...
Mamoru Sakaue / MwGhennndo [Wed, 1 Aug 2018 15:54:58 +0000 (23:54 +0800)]
Moved command_do_prepare_for_inspect_all_dependencies into the loop of catching port option changes so that the changes are correctly reflected.

 Changes to be committed:
modified:   lib/libcommand_do.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoCorrected the broken functionality of skipping reinetallation/installatopn of ports...
Mamoru Sakaue / MwGhennndo [Wed, 1 Aug 2018 10:47:17 +0000 (18:47 +0800)]
Corrected the broken functionality of skipping reinetallation/installatopn of ports whose requirements are missing.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoImproved the error message in case of unmount error.
Mamoru Sakaue / MwGhennndo [Wed, 1 Aug 2018 10:28:19 +0000 (18:28 +0800)]
Improved the error message in case of unmount error.

 Changes to be committed:
modified:   lib/chroot/libfs.sh
modified:   lib/chroot/libmain.sh
modified:   lib/libmain.sh
modified:   lib/libtemp.sh

17 months agoThe description of the previous modification in HISTORY section of the man page was...
Mamoru Sakaue / MwGhennndo [Wed, 1 Aug 2018 02:23:18 +0000 (10:23 +0800)]
The description of the previous modification in HISTORY section of the man page was enriched.

 Changes to be committed:
modified:   man/portsreinstall.8

17 months ago[BUG FIX] Flavored requirements were incorrectly inspected.
Mamoru Sakaue / MwGhennndo [Wed, 1 Aug 2018 01:52:57 +0000 (09:52 +0800)]
[BUG FIX] Flavored requirements were incorrectly inspected.

Fixed a bug that pending file systems were not shown in case of mount error by portsreinstall-chroot.

 Changes to be committed:
modified:   lib/chroot/libfs.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall.8

17 months ago[IMPROVED] Inside- and outside-parent jail/chroot mounting/unmounting operations...
Mamoru Sakaue / MwGhennndo [Tue, 31 Jul 2018 13:49:35 +0000 (21:49 +0800)]
[IMPROVED] Inside- and outside-parent jail/chroot mounting/unmounting operations by portsreinstall-chroot(8) and portsreinstall-chroot-mount(8) are now safely protected each other.

 Changes to be committed:
modified:   bin/portsreinstall-chroot
modified:   lib/chroot-mount/libcommand.sh
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libdatabase_maintain.sh
modified:   lib/chroot/libfs.sh
modified:   lib/chroot/libmain.sh
modified:   lib/libfs.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall.8
modified:   share/bin/portsreinstall-chroot-mount

17 months ago[IMPROVED] The message at the exit from portsreinstall-chroot(8) builder chroot envir...
Mamoru Sakaue / MwGhennndo [Sun, 29 Jul 2018 12:50:34 +0000 (20:50 +0800)]
[IMPROVED] The message at the exit from portsreinstall-chroot(8) builder chroot environment is modified to be less shocking.

The bugs of portsreinstall-chroot -s option is fixed.

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libfs.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   man/portsreinstall.8

17 months ago[NEW] show leaves and show obsolete commands are added.
Mamoru Sakaue / MwGhennndo [Sun, 29 Jul 2018 09:21:05 +0000 (17:21 +0800)]
[NEW] show leaves and show obsolete commands are added.

 Changes to be committed:
modified:   lib/libcommand.sh
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

17 months agoFixed the wrong implementation of show errormessage.
Mamoru Sakaue / MwGhennndo [Sun, 29 Jul 2018 06:07:04 +0000 (14:07 +0800)]
Fixed the wrong implementation of show errormessage.

 Changes to be committed:
modified:   lib/libcommand_show.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libmain.sh

17 months agoFixed a bug that -chroot auto didn't block duplicated execution.
Mamoru Sakaue / MwGhennndo [Sun, 29 Jul 2018 05:44:59 +0000 (13:44 +0800)]
Fixed a bug that -chroot auto didn't block duplicated execution.

 Changes to be committed:
modified:   lib/chroot/libcommand.sh
modified:   lib/libmain.sh

17 months agoThe HOSTORY section of the man page is modified to say [IMPROVED] The (Re)installatio...
Mamoru Sakaue / MwGhennndo [Sat, 28 Jul 2018 17:58:43 +0000 (01:58 +0800)]
The HOSTORY section of the man page is modified to say [IMPROVED] The (Re)installation scheme is ..., and always retry failed build.

 Changes to be committed:
modified:   man/portsreinstall.8

17 months agoAdditional syntax fix ofthe previous modification.
Mamoru Sakaue / MwGhennndo [Sat, 28 Jul 2018 17:52:23 +0000 (01:52 +0800)]
Additional syntax fix ofthe previous modification.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoSyntax fix of the previous modification.
Mamoru Sakaue / MwGhennndo [Sat, 28 Jul 2018 17:49:33 +0000 (01:49 +0800)]
Syntax fix of the previous modification.

 Changes to be committed:
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh

17 months agoThe target version is changed from 4.0.1 to 4.1.0.
Mamoru Sakaue / MwGhennndo [Sat, 28 Jul 2018 16:48:03 +0000 (00:48 +0800)]
The target version is changed from 4.0.1 to 4.1.0.

 Changes to be committed:
modified:   lib/libmain.sh

17 months ago[NEW] errormessage command is added.
Mamoru Sakaue / MwGhennndo [Sat, 28 Jul 2018 16:07:33 +0000 (00:07 +0800)]
[NEW] errormessage command is added.

 Changes to be committed:
modified:   README
modified:   lib/libcommand_show.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   lib/main/libcommand.sh
modified:   lib/main/libusage.sh
modified:   man/portsreinstall.8

17 months agoEdited the man page of portsreinstall-chroot to reflect the new features.
Mamoru Sakaue / MwGhennndo [Wed, 25 Jul 2018 17:45:41 +0000 (01:45 +0800)]
Edited the man page of portsreinstall-chroot to reflect the new features.

 Changes to be committed:
modified:   lib/chroot/libfs.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall-chroot.8

17 months agoFixed command_do_auto_if_incomplete () to work correctly.
Mamoru Sakaue / MwGhennndo [Wed, 25 Jul 2018 14:05:42 +0000 (22:05 +0800)]
Fixed command_do_auto_if_incomplete () to work correctly.

 Changes to be committed:
modified:   lib/chroot/libcommand_do.sh
modified:   lib/libmain.sh

17 months ago[NEW] auto command is added to portsreinstall-chroot(8).
Mamoru Sakaue / MwGhennndo [Wed, 25 Jul 2018 09:49:55 +0000 (17:49 +0800)]
[NEW] auto command is added to portsreinstall-chroot(8).

 Changes to be committed:
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   lib/chroot/libcommand.sh
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libusage.sh
modified:   lib/libdatabase_maintain.sh
modified:   lib/libfs.sh
modified:   lib/libmain.sh
modified:   man/portsreinstall-chroot.8
modified:   man/portsreinstall.8
modified:   share/bin/portsreinstall-chroot-mount
modified:   share/bin/portsreinstall-upgrade

17 months agoProbably finally fixed the part to detect and recover remained unmount.
Mamoru Sakaue / MwGhennndo [Tue, 24 Jul 2018 18:26:20 +0000 (02:26 +0800)]
Probably finally fixed the part to detect and recover remained unmount.

 Changes to be committed:
modified:   lib/chroot/libfs.sh
modified:   lib/libfs.sh

17 months ago[NEW] Option -s is added to portsreinstall-chroot(8).
Mamoru Sakaue / MwGhennndo [Tue, 24 Jul 2018 15:50:10 +0000 (23:50 +0800)]
[NEW] Option -s is added to portsreinstall-chroot(8).
fs_chk_mounted () is modified to return correct status.

 Changes to be committed:
modified:   bin/portsreinstall-chroot
modified:   etc/portsreinstall.conf
modified:   lib/chroot/libcommand_do.sh
modified:   lib/chroot/libfs.sh
modified:   lib/chroot/liboptions.sh
modified:   lib/chroot/libusage.sh
modified:   lib/libfs.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   man/portsreinstall-chroot.8
modified:   man/portsreinstall.8