OSDN Git Service

portsreinstall/current.git
5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years agoReformed to unify the regularization of file path for df and /etc/fstab.
Mamoru Sakaue / MwGhennndo [Fri, 20 Jul 2018 07:04:20 +0000 (15:04 +0800)]
Reformed to unify the regularization of file path for df and /etc/fstab.

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

5 years agoThe previous modification was removed.
Mamoru Sakaue / MwGhennndo [Thu, 19 Jul 2018 12:40:23 +0000 (20:40 +0800)]
The previous modification was removed.

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

5 years agoFixed the same place again.
Mamoru Sakaue / MwGhennndo [Thu, 19 Jul 2018 01:31:00 +0000 (09:31 +0800)]
Fixed the same place again.

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

5 years agoThe messege at the termination by loss of unionfs lower layer image is fixed not...
Mamoru Sakaue / MwGhennndo [Thu, 19 Jul 2018 00:11:55 +0000 (08:11 +0800)]
The messege at the termination by loss of unionfs lower layer image is fixed not to give  wrong instruction to reset the database.

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

5 years agoFixed a problem that portsreinstall-chroot aborted by error when unmount/clean comman...
Mamoru Sakaue / MwGhennndo [Tue, 17 Jul 2018 15:23:42 +0000 (23:23 +0800)]
Fixed a problem that portsreinstall-chroot aborted by error when unmount/clean command is executed after unmounting once.

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

5 years ago[BUG FIX] Breset command discarded the information of the initially installed packages.
Mamoru Sakaue / MwGhennndo [Tue, 17 Jul 2018 15:05:56 +0000 (23:05 +0800)]
[BUG FIX] Breset command discarded the information of the initially installed packages.

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

5 years ago[BUG FIX] Dependency inspection terminated with error when obsolete ports exist.
Mamoru Sakaue / MwGhennndo [Tue, 17 Jul 2018 07:34:29 +0000 (15:34 +0800)]
[BUG FIX] Dependency inspection terminated with error when obsolete ports exist.

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

5 years agoCorrected the previous modification.
Mamoru Sakaue / MwGhennndo [Sun, 15 Jul 2018 14:20:52 +0000 (22:20 +0800)]
Corrected the previous modification.

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

5 years agoCorrected fs_fix_unionfs_image_if_hidden () to show the proper message.
Mamoru Sakaue / MwGhennndo [Sun, 15 Jul 2018 14:16:56 +0000 (22:16 +0800)]
Corrected fs_fix_unionfs_image_if_hidden () to show the proper message.

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

5 years agoAdditional corrections related to the previous one.
Mamoru Sakaue / MwGhennndo [Sun, 15 Jul 2018 09:56:14 +0000 (17:56 +0800)]
Additional corrections related to the previous one.

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

5 years ago[BUG FIX] Evaluation of globs was incorrect for the regular expression form.
Mamoru Sakaue / MwGhennndo [Sun, 15 Jul 2018 08:34:21 +0000 (16:34 +0800)]
[BUG FIX] Evaluation of globs was incorrect for the regular expression form.

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

5 years agoThe comments of BUILDCONFLICT and INSTCONFLICT sections of etc/portsreinstall.conf...
Mamoru Sakaue / MwGhennndo [Sun, 15 Jul 2018 07:02:20 +0000 (15:02 +0800)]
The comments of BUILDCONFLICT and INSTCONFLICT sections of etc/portsreinstall.conf are enriched.

 Changes to be committed:
modified:   etc/portsreinstall.conf