The version is bumped and the credits are updated.
This software is distributed under the following terms of which the
compilation corresponds to the 2-Clause BSD License:
-Copyright 2010-2018 Mamoru Sakaue, MwGhennndo. All rights reserved.
+Copyright 2010-2021 Mamoru Sakaue, MwGhennndo. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
+4.1.1 (?? October 2021)
+[IMPROVED] Adapt to the specification change of pkg-create(8) that the default extension of the package files become "pkg".
4.1.0 (22 September 2018)
[NEW] Options -j and -x are added.
[NEW] Option -J is added to the all utilities.
# ========================================================================
# portsreinstall installation guide
-# Copyright (C) 2010-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# ========================================================================
For managements within the port/packages system,
# ==============================================================================
# portsreinstall installation makefile
-# Copyright (C) 2010-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# ==============================================================================
PROGNAME= portsreinstall
================================================================================
portsreinstall - ports upgrading utility for massive forced reinstallation
- Version 4.1.0, September 22, 2018
- Copyright (C) 2010-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+ Version 4.1.1, October ??, 2021
+ Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
================================================================================
This software is a ports management tool for FreeBSD designed to be suitable
"portsreinstall -h" and "portsreinstall -H", respectively. The manual page is
shown by "man portsreinstall". The superuser privilege is required for
operations by this executable. Entire reinstallation of all installed packages
-starts by execution without argument or options. The process can be interupped
+starts by execution without argument or options. The process can be interrupted
by CTRL+C at any stages and restarted from there by execution without argument
or options.
#!/bin/sh -e
# ==================================================================================
# portsreinstall main script
-# Copyright (C) 2010-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==================================================================================
#!/bin/sh -e
# ==================================================================================
# portsreinstall chroot main script
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==================================================================================
# Format version 1.3.0 (Sun Jul 15 15:02:00 PHT 2018)
# Comments updated at Sun Jul 15 15:02:00 PHT 2018.
# Default settings updated at Mon May 27 21:58:12 JST 2013.
-# Copyright (C) 2010-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# =======================================================================
# This file is loaded as an include file for Bourne Shell.
# portsreinstall library script
# Overlay onto lib/libcommand.sh for portsreinstall-chroot-mount
# - Operations of commands as well as check of command line arguments -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libconf.sh for portsreinstall-chroot-mount
# - Parsing of configuration files -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libdatabase_maintain.sh for portsreinstall-chroot-mount
# - Operations for maintaining the temporary database -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall-chroot library script
# Overlay onto lib/libfs.sh for portsreinstall-chroot-mount
# - File system operations -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmain.sh for portsreinstall-chroot-mount
# - Common functions of main programs -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmessage.sh for portsreinstall-chroot-mount
# - Messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/liboptions.sh for portsreinstall-chroot-mount
# - Command line options -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libtemp.sh for portsreinstall-chroot-mount
# - Temporary directory and signal trapping -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libusage.sh for portsreinstall-chroot-mount
# - Help messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libcommand.sh for portsreinstall-chroot
# - Operations of commands as well as check of command line arguments -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libcommand_do.sh for portsreinstall-chroot
# - "do" command operation -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall-chroot library script
# Overlay onto lib/libdatabase_maintain.sh for portsreinstall-chroot
# - Operations on the temporary database -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall-chroot library script
# Overlay onto lib/libfs.sh for portsreinstall-chroot
# - File system operations -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmain.sh for portsreinstall-chroot
# - Common functions of main programs -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmessage.sh for portsreinstall-chroot
# - Messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/liboptions.sh for portsreinstall-chroot
# - Command line options -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libusage.sh for portsreinstall-chroot
# - Help messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Interface of libraries for operations of commands as well as check of command line arguments -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - "do"/"redo" command operation -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Commands of flexible configuration -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - "forget" command operation -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Commands of ports/packages operations -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - "show" command operation -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Parsing of configuration files -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Operations for building the temporary database -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Operations for maintaining the temporary database -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Operations for queries to the temporary database -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Operations for recording operation results to the temporary database -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Deinstallation processes -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Editing operations on files -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - File system operations -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Common functions of main programs -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
MYVERSION=4.1.0
COMPATIBLE_VERSIONS='^(4\.[1]\.[0-9])$'
# Template for development versions
-# MYVERSION=4.0.0+toward_4.1.0_20180920105217
-# COMPATIBLE_VERSIONS='^(4\.[0-1]\.[0-9]]|4\.[0]\.[0]+(|\+toward_4\.[0-1]\.[0-9]+_[0-9]+))$'
+ MYVERSION=4.1.0+toward_4.1.1_20211011024526
+ COMPATIBLE_VERSIONS='^(4\.[0-1]\.[0-9]]|4\.[0]\.[0]+(|\+toward_4\.[0-1]\.[0-9]+_[0-9]+))$'
}
# ============= Parse options, arguments and control parameters =============
# ==============================================================================
# portsreinstall library script
# - Messages -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Miscellaneous functions -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Interface of libraries for command line options -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Wrappers for hiding version differences in the Ports/Packages system -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
then
pkgname_ptn=`str_escape_regexp "$pkgname"`
backup_pkg=`ls "${TMPDIR}"/package.tmp | \
- grep -m 1 -E "^${pkgname_ptn}\.(txz|tbz|tgz|tar)$"` || :
+ grep -m 1 -E "^${pkgname_ptn}\.(txz|tbz|tgz|tar|pkg)$"` || :
fi
if [ -z "$backup_pkg" ]
then
{
local pkgfile_path
pkgfile_path=$1
- basename "$pkgfile_path" | sed -E 's/\.(txz|tbz|tgz|tar)$//'
+ basename "$pkgfile_path" | sed -E 's/\.(txz|tbz|tgz|tar|pkg)$//'
}
# ============= Get the file name of an existing package archive for a package name =============
if [ "x$PKGSYS_USE_PKGNG" = xyes ]
then
pkgname_ptn=`str_escape_regexp "$pkgname"`
- pkgnode=`ls "$pkgdir" 2> /dev/null | grep -m 1 -E "^${pkgname_ptn}\.(txz|tbz|tgz|tar)$"` || :
+ pkgnode=`ls "$pkgdir" 2> /dev/null | grep -m 1 -E "^${pkgname_ptn}\.(txz|tbz|tgz|tar|pkg)$"` || :
elif [ -e "$pkgdir/$pkgname.tbz" ]
then
pkgnode=$pkgname.tbz
# ==============================================================================
# portsreinstall library script
# - Program control -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Reinstallation processes -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - String processing -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Temporary directory and signal trapping -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Help messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libcommand.sh
# - Operations of commands as well as check of command line arguments -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmain.sh
# - Common functions of main programs -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/liboptions.sh
# - Command line options -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libtemp.sh
# - Temporary directory and signal trapping -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Help messages -
-# Copyright (C) 2013-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2013-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libcommand.sh for portsreinstall-upgrade
# - Operations of commands as well as check of command line arguments -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libcommand_do.sh for portsreinstall-upgrade
# - "do" command operation -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmain.sh for portsreinstall-upgrade
# - Common functions of main programs -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libmessage.sh for portsreinstall-upgrade
# - Messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/liboptions.sh for portsreinstall-upgrade
# - Command line options -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# portsreinstall library script
# Overlay onto lib/libusage.sh for portsreinstall-upgrade
# - Help messages -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
# ==============================================================================
# portsreinstall library script
# - Order the dependency of all ports to install/reinstall -
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==============================================================================
.\" ==================================================================================
.\" portsreinstall-chroot-mount(8) manual page
-.\" Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+.\" Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
.\" ==================================================================================
.TH PORTSREINSTALL\-CHROOT\-MOUNT 8 "22 September 2018" "FreeBSD" "FreeBSD System Manager's Manual"
.SH NAME
.\" ==================================================================================
.\" portsreinstall\-chroot(8) manual page
-.\" Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+.\" Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
.\" ==================================================================================
.TH PORTSREINSTALL\-CHROOT 8 "22 September 2018" "FreeBSD" "FreeBSD System Manager's Manual"
.SH NAME
.\" ==================================================================================
.\" portsreinstall-upgrade(8) manual page
-.\" Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+.\" Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
.\" ==================================================================================
.TH PORTSREINSTALL\-UPGRADE 8 "22 September 2018" "FreeBSD" "FreeBSD System Manager's Manual"
.SH NAME
.\" ==================================================================================
.\" portsreinstall(8) manual page
-.\" Copyright (C) 2010-2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+.\" Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
.\" ==================================================================================
.TH PORTSREINSTALL 8 "22 September 2018" "FreeBSD" "FreeBSD System Manager's Manual"
.SH NAME
.TP
\fBmake\fR \fIglob\fR [\fItarget\fR ...] [\fIarguments\fR ...]
Execute \fBmake\fR(1) command for ports matching the glob pattern.
-The taget and arguments are passed as they are with the arguments and environment variables customized for each port.
+The target and arguments are passed as they are with the arguments and environment variables customized for each port.
For flavored ports, the appropriate argument (FLAVOR variable) is automatically set.
The main purpose of this command is diagnosis and experimental build of unsuccessful ports.
The result of this command will not be recognized by the (re)installation processes of \fBdo\fR and \fBredo\fR commands.
#!/bin/sh -e
# ==================================================================================
# portsreinstall chroot main script
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==================================================================================
#!/bin/sh -e
# ==================================================================================
# portsreinstall upgrade main script
-# Copyright (C) 2018 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
+# Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
# This software is distributed under the 2-Clause BSD License.
# ==================================================================================