OSDN Git Service

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

5 years ago[NEW] BUILDCONFLICT and INSTCONFLICT sections are added to ${LOCALBASE}/etc/portsrein...
Mamoru Sakaue / MwGhennndo [Sun, 15 Jul 2018 06:13:57 +0000 (14:13 +0800)]
[NEW] BUILDCONFLICT and INSTCONFLICT sections are added to ${LOCALBASE}/etc/portsreinstall.conf.

 Changes to be committed:
modified:   etc/portsreinstall.conf
modified:   lib/libconf.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libdatabase_query.sh
modified:   lib/libfs.sh
modified:   lib/libmain.sh
modified:   lib/libpkgsys.sh
modified:   man/portsreinstall.8

5 years agoModified to show the correct failure reason in case freezing fails.
Mamoru Sakaue / MwGhennndo [Sat, 14 Jul 2018 18:10:35 +0000 (02:10 +0800)]
Modified to show the correct failure reason in case freezing fails.

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

5 years agoFixed the previous wrong modification.
Mamoru Sakaue / MwGhennndo [Sat, 14 Jul 2018 14:50:32 +0000 (22:50 +0800)]
Fixed the previous wrong modification.

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

5 years agoIs is changed to preserve the builder fstab in the temporary database.
Mamoru Sakaue / MwGhennndo [Sat, 14 Jul 2018 13:57:19 +0000 (21:57 +0800)]
Is is changed to preserve the builder fstab in the temporary database.

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

5 years agoIncluded the target version into COMPATIBLE_VERSIONS in main_set_version ().
Mamoru Sakaue / MwGhennndo [Sat, 14 Jul 2018 13:44:06 +0000 (21:44 +0800)]
Included the target version into COMPATIBLE_VERSIONS in main_set_version ().

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

5 years agoUnmounting failure is changed from error to warning.
Mamoru Sakaue / MwGhennndo [Sat, 14 Jul 2018 13:41:46 +0000 (21:41 +0800)]
Unmounting failure is changed from error to warning.

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

5 years ago[IMPROVED] It is changed to unlock in all error termination.
Mamoru Sakaue / MwGhennndo [Fri, 13 Jul 2018 11:26:34 +0000 (19:26 +0800)]
[IMPROVED] It is changed to unlock in all error termination.

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

5 years agoFix a bug that escaped conflict and old version were not restored after failure of...
Mamoru Sakaue / MwGhennndo [Thu, 12 Jul 2018 02:58:21 +0000 (10:58 +0800)]
Fix a bug that escaped conflict and old version were not restored after failure of frozen package installation.

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

5 years agoFixed pkg_get_remote_repository_version () to get the package correctly, without...
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 18:22:11 +0000 (02:22 +0800)]
Fixed pkg_get_remote_repository_version () to get the package correctly, without including the message output by pkg fetch.

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

5 years ago[BUG FIX] Conflict was not correctly escaped in package installation.
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 17:46:22 +0000 (01:46 +0800)]
[BUG FIX] Conflict was not correctly escaped in package installation.

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

5 years ago[IMPROVED] It is changed so that ports to freeze are upgraded to the latest available...
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 16:44:29 +0000 (00:44 +0800)]
[IMPROVED] It is changed so that ports to freeze are upgraded to the latest available package version.

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

5 years agoFixed bugs and errors in the previous modification.
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 14:40:47 +0000 (22:40 +0800)]
Fixed bugs and errors in the previous modification.

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

5 years agoModefined fs_mount () and fs_unmount () to use a custom fstab.
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 14:19:29 +0000 (22:19 +0800)]
Modefined fs_mount () and fs_unmount () to use a custom fstab.

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

5 years agoFix the problem that unionfs trouble is recorded as a normal failure.
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 13:36:00 +0000 (21:36 +0800)]
Fix the problem that unionfs trouble is recorded as a normal failure.

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

5 years agoModified to correctly register STAGE completion.
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 11:06:50 +0000 (19:06 +0800)]
Modified to correctly register STAGE completion.

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

5 years ago[BUG FIX] Failure in unmounting of file systems by portsreinstall-chroot(8) left...
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 10:11:56 +0000 (18:11 +0800)]
[BUG FIX] Failure in unmounting of file systems by portsreinstall-chroot(8) left the privilege lock.

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

5 years agoChanged the reinstallation to stop in case of unfixable loss of unionfs image.
Mamoru Sakaue / MwGhennndo [Wed, 11 Jul 2018 09:07:06 +0000 (17:07 +0800)]
Changed the reinstallation to stop in case of unfixable loss of unionfs image.

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

5 years agoFixed to unmount to skip the further if failed.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:57:40 +0000 (02:57 +0800)]
Fixed to unmount to skip the further if failed.

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

5 years agoFixed a bug in mount/unmount file systems.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:47:41 +0000 (02:47 +0800)]
Fixed a bug in mount/unmount file systems.

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

5 years agoWrong detection of unionfs bug when /etc/make.conf is nonexistent.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:42:51 +0000 (02:42 +0800)]
Wrong detection of unionfs bug when /etc/make.conf is nonexistent.

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

5 years agoFix to the same point.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:39:07 +0000 (02:39 +0800)]
Fix to the same point.

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

5 years agoThe same fix again.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:37:18 +0000 (02:37 +0800)]
The same fix again.

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

5 years agoFixed again to fs_fix_unionfs_image_if_hidden ().
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:35:16 +0000 (02:35 +0800)]
Fixed again to fs_fix_unionfs_image_if_hidden ().

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

5 years agoAdditioal fix to the previous.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:31:43 +0000 (02:31 +0800)]
Additioal fix to the previous.

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

5 years agoFixed fs_fix_unionfs_image_if_hidden () about the previous modification.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 18:28:42 +0000 (02:28 +0800)]
Fixed fs_fix_unionfs_image_if_hidden () about the previous modification.

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

5 years agoModified the unionfs check to show message and exit.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 17:39:37 +0000 (01:39 +0800)]
Modified the unionfs check to show message and exit.

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

5 years agoAdded the previous modification to HISTORY of the man page.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 17:02:05 +0000 (01:02 +0800)]
Added the previous modification to HISTORY of the man page.
[BUG FIX] Unmounting of file systems by portsreinstall-chroot(8) had some problems due to inclusion of r
edundant series of slashes in the path.

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

5 years agoFixed a syntax error in the previous modofication.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 16:52:34 +0000 (00:52 +0800)]
Fixed a syntax error in the previous modofication.

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

5 years agoResolved mount/unmount problem sometimes occurs in portsreinstall-chroot.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 16:49:59 +0000 (00:49 +0800)]
Resolved mount/unmount problem sometimes occurs in portsreinstall-chroot.

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

5 years agoRemoved the contamination in the code of fs_chk_mounted ().
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 16:36:44 +0000 (00:36 +0800)]
Removed the contamination in the code of fs_chk_mounted ().

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

5 years agoAttempt to improve the previous problem.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 15:28:50 +0000 (23:28 +0800)]
Attempt to improve the previous problem.

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

5 years agoTried to enhance the previous fix.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 15:19:42 +0000 (23:19 +0800)]
Tried to enhance the previous fix.

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

5 years agoFixed a still remaining bug related to the previous.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 04:07:09 +0000 (12:07 +0800)]
Fixed a still remaining bug related to the previous.

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

5 years agoFixed a remaining bug related to the previous one.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 04:04:42 +0000 (12:04 +0800)]
Fixed a remaining bug related to the previous one.

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

5 years agoFixed a bug emerged by the previous modification.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 04:00:33 +0000 (12:00 +0800)]
Fixed a bug emerged by the previous modification.

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

5 years ago[IMPROVED] The behavior with union file systems is stabilized.
Mamoru Sakaue / MwGhennndo [Tue, 10 Jul 2018 03:44:24 +0000 (11:44 +0800)]
[IMPROVED] The behavior with union file systems is stabilized.

modified:   Makefile
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   lib/chroot-mount/libmain.sh
modified:   lib/chroot/libfs.sh
modified:   lib/chroot/libmain.sh
modified:   lib/chroot/liboptions.sh
modified:   lib/libconf.sh
modified:   lib/libdatabase_build.sh
modified:   lib/libdatabase_record.sh
modified:   lib/libdeinstall.sh
new file:   lib/libfs.sh
modified:   lib/libmain.sh
modified:   lib/libmisc.sh
modified:   lib/libpkgsys.sh
modified:   lib/libreinstall.sh
modified:   lib/upgrade/liboptions.sh
modified:   man/portsreinstall.8
modified:   share/bin/portsreinstall-chroot-mount
modified:   share/bin/portsreinstall-upgrade

5 years agoFixed a bug emerged by the previous modification about the error termination at make...
Mamoru Sakaue / MwGhennndo [Mon, 9 Jul 2018 08:42:51 +0000 (16:42 +0800)]
Fixed a bug emerged by the previous modification about the error termination at make stage.

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

5 years agoBug fix related to the previous modification in reinstall_restore_conflicts ().
Mamoru Sakaue / MwGhennndo [Mon, 9 Jul 2018 08:14:08 +0000 (16:14 +0800)]
Bug fix related to the previous modification in reinstall_restore_conflicts ().

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

5 years agoBug fix related to the previous modification.
Mamoru Sakaue / MwGhennndo [Sun, 8 Jul 2018 22:37:15 +0000 (06:37 +0800)]
Bug fix related to the previous modification.

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

5 years agoImproved the previous modification.
Mamoru Sakaue / MwGhennndo [Sun, 8 Jul 2018 09:21:12 +0000 (17:21 +0800)]
Improved the previous modification.

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

5 years agoRemoved unneeded modification on the build of database.
Mamoru Sakaue / MwGhennndo [Sun, 8 Jul 2018 09:08:14 +0000 (17:08 +0800)]
Removed unneeded modification on the build of database.

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

5 years agoThe conflict detenction and removal are corrected for merged ports.
Mamoru Sakaue / MwGhennndo [Sun, 8 Jul 2018 09:02:11 +0000 (17:02 +0800)]
The conflict detenction and removal are corrected for merged ports.

modified:   lib/libdatabase_build.sh
modified:   lib/libdeinstall.sh
modified:   lib/libmain.sh
modified:   lib/libreinstall.sh
modified:   man/portsreinstall.8