OSDN Git Service

[IMPROVED] Adapt to the specification change of pkg-create(8) that the default extens...
[portsreinstall/current.git] / etc / portsreinstall.conf
index fbc08ab..8cb53f2 100644 (file)
@@ -1,9 +1,9 @@
 # =======================================================================
 # Configurations for portsreinstall
-# Format version 1.1.0 (Mon May 27 21:58:12 JST 2013)
-#   Comments updated at Mon May 27 21:58:12 JST 2013.
+# 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-2013 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.
 # you use portupgrade(1).
 #  In the all sections, ${id} denotes an arbitrary ID for distinction
 # between the settings in the same section. IDs for imported variables
-# from pkgtools.conf are reserved to match a regular expression
+# from pkgtools.conf are reserved to match an extended regular expression
 # "^pkgtoolsconf_[0-9]+_$".
 #  The all defined variables are applied in the order of their character codes.
 # For duplicated definitions for the same variable are defined, the final one is
-# applied.
+# applied. Regular expression patterns found in this file are processed as
+# extended regular expressions.
 #  When you change these configurations and want to reflect them in a
 # following "redo" process, you must set "-L" option.
 
+# Glob patterns without at sign (@) match all available flavors if defined. See
+# GLOB PATTERNS Section of the man page of portsreinstall(8).
 
 # Alternative environment variable values.
 # SYNTAX: ENV_${envname}=${value}
@@ -34,6 +37,7 @@
 # ENV_LOCALBASE=${LOCALBASE:-/usr/local}
 # ENV_LINUXBASE=${LINUXBASE:-/compat/linux}
 # ENV_PORTSDIR=${PORTSDIR:-/usr/ports}
+# ENV_PKG_CACHEDIR=${PKG_CACHEDIR:-/var/db/pkgs}
 # ENV_DISTDIR=${DISTDIR:-${ENV_PORTSDIR}/distfiles}
 # ENV_PACKAGES=${PACKAGES:-${ENV_PORTSDIR}/packages}
 # ENV_PKGREPOSITORY=${PKG_PATH:-${PKGREPOSITORY:-${ENV_PACKAGES}/${ENV_PKGREPOSITORYSUBDIR}}}
@@ -84,7 +88,7 @@
 #       HOLD_aaa=autoconf-\*
 #       HOLD_100a=lang/perl\*
 # DESCRIPTION:
-#        Original packages whose port origins are nonexistent MUST be
+#        Original packages whose flavored port origins are nonexistent MUST be
 #       specified here. Obsolete packages which you wish to preserve also
 #       MUST be specified here. Packages listed here are always untouched.
 #       Dependencies and dependents of the specified packages are processed
@@ -103,26 +107,41 @@ HOLD_bsdpan=bsdpan-\*
 # DESCRIPTION:
 #        Morbid or too expensive ports which crash or confuse the system during
 #       (re)installation of themselves or other ports MUST be specified here.
-#       Packages listed here are untouched if the origin exists, and otherwise
-#       deleted. Dependencies and dependents of the specified packages are
-#       processed as usual. If you wish to preserve any of the specified
+#       Packages listed here are untouched if the flavored origin exists, and
+#       otherwise deleted. Dependencies and dependents of the specified packages
+#       are processed as usual. If you wish to preserve any of the specified
 #       packages, you MUST additionally specify them in the HOLD section.
 # CORRESPONDING pkgtools.conf SECTION: (none)
 
 
+# Packages to freeze
+# SYNTAX: FREEZE_${id}=${glob_pattern}
+# EXAMPLE:
+#       FREEZE_001=nvidia-driver-\*
+#       FREEZE_aaa=autoconf-\*
+#       FREEZE_100a=lang/perl\*
+# DESCRIPTION:
+#        Morbid or too expensive ports which crash or confuse the system during
+#       their build but the package installtion by any available version may be safe.
+#       Packages listed here are not attempted to build but package (re)installation
+#       will be attempted as much as possible. If the specified ports failed to
+#       (re)install by packages, build of their dependents are also suppressed.
+# CORRESPONDING pkgtools.conf SECTION: (similar to USE_PKGS_ONLY)
+
+
 # Ports not to be installed by packages
-# SYNTAX: NOPKG_${id}=${glob_pattern}
+# SYNTAX: REBUILD_${id}=${glob_pattern}
 # EXAMPLE:
-#       NOPKG_001=nvidia-driver-\*
-#       NOPKG_aaa=autoconf-\*
-#       NOPKG_100a=lang/perl\*
+#       REBUILD_001=nvidia-driver-\*
+#       REBUILD_aaa=autoconf-\*
+#       REBUILD_100a=lang/perl\*
 # DESCRIPTION:
 #        This setting suppresses the default behavior of -G option that
 #       installation by package is attempted if the configuration determined by
 #       port options, knobs and depending ports is unchanged from the default.
 #       Here, the knobs are given by make environment variables (MENV_*) and
 #       make arguments (MARG_*), and the depending ports are affected by port
-#       replacement (REPLACE_*). Explicit specification by NOPKG_* is encouraged
+#       replacement (REPLACE_*). Explicit specification by REBUILD_* is encouraged
 #       for ports which change their actually installed files depending on other
 #       installed packages or files because automatic detection of their changes
 #       from the default is unavailable within the current implementation. 
@@ -158,9 +177,64 @@ HOLD_bsdpan=bsdpan-\*
 #               REPLACE_FROM_gcc4=lang/gcc4[24]
 #               REPLACE_TO_gcc4=lang/gcc46
 #       so as to replace the installed package for lang/gcc44 with lang/gcc46.
+#       Unflavored patterns match the all defined flavors, and flavored ports must
+#       be replaced to explicitly flavored ones. For example, when all flavors of
+#       "devel/py-setuptools" should be replaced to @py35, you should set
+#               REPLACE_FROM_py_setuptools_unflavored=devel/py-setuptools'
+#               REPLACE_TO_py_setuptools_unflavored=devel/py-setuptools@py35
+#       so that both flavored and unflavored port names will be replaced.
 # CORRESPONDING pkgtools.conf SECTION: ALT_PKGDEP
 
 
+# Conflict in dependency inspection
+# SYNTAX: CONFLICT_TARGET_${id}=${glob_pattern}
+#         CONFLICT_DEF_${id}=${glob_pattern}
+# EXAMPLE:
+#       CONFLICT_TARGET_firefoxi18='firefox-i18n-[0-9]*'
+#       CONFLICT_DEF_firefoxi18='firefox-[0-9]*'
+#       CONFLICT_TARGET_firefoxesri18=www/firefox-esr-i18n
+#       CONFLICT_DEF_firefoxesri18=www/firefox-esr
+# DESCRIPTION:
+#        Packages matching CONFLICT_DEF are temporarily deinstalled
+#       during inspection of dependency for ports matching
+#       CONFLICT_TARGET.
+# CORRESPONDING pkgtools.conf SECTION: (none)
+
+
+# Additional conflict in build
+# SYNTAX: BUILDCONFLICT_TARGET_${id}=${glob_pattern}
+#         BUILDCONFLICT_DEF_${id}=${glob_pattern}
+# EXAMPLE:
+#       BUILDCONFLICT_TARGET_strigidaemon='strigidaemon-0.[0-9]*'
+#       BUILDCONFLICT_DEF_strigidaemon='cppunit-[0-9]*'
+#       BUILDCONFLICT_TARGET_libcaca=graphics/libcaca
+#       BUILDCONFLICT_DEF_libcaca=devel/cppunit
+# DESCRIPTION:
+#        Packages matching BUILDCONFLICT_DEF are added to the conflict
+#       list in the build time of the ports matching
+#       BUILDCONFLICT_TARGET. This configuration may be useful for a quick
+#       troubleshooting to build errors caused by conflict which is not
+#       recognized by the maintainer.
+# CORRESPONDING pkgtools.conf SECTION: (none)
+
+
+# Additional conflict in installation
+# SYNTAX: INSTCONFLICT_TARGET_${id}=${glob_pattern}
+#         INSTCONFLICT_DEF_${id}=${glob_pattern}
+# EXAMPLE:
+#       INSTCONFLICT_TARGET_perl5devel='perl5-devel-[0-9]*'
+#       INSTCONFLICT_DEF_perl5devel='perl5.24-[0-9]*'
+#       INSTCONFLICT_TARGET_clangdevel=lang/clang-devel
+#       INSTCONFLICT_DEF_clangdevel=lang/clang33
+# DESCRIPTION:
+#        Packages matching INSTCONFLICT_DEF are added to the conflict
+#       list in the installation time of the ports matching
+#       INSTCONFLICT_TARGET. This configuration may be useful for
+#       countermeasure in case that some build-time only requirements
+#       conflict with each other.
+# CORRESPONDING pkgtools.conf SECTION: (none)
+
+
 # Arguments for make(1)
 # SYNTAX: MARG_TARGET_${id}=${glob_pattern}
 #         MARG_DEF_${id}=${definitions}
@@ -171,7 +245,11 @@ HOLD_bsdpan=bsdpan-\*
 #       MARG_DEF_cups_pstoraster='WITH_CJK=yes'
 # DESCRIPTION:
 #        When executing make(1) for ports matching MARG_TARGET, the arg-
-#       uments given by MARG_DEF of the same ID are apllied.
+#       uments given by MARG_DEF of the same ID are applied. Flavors
+#       should NOT be specified here, and should be specified in the
+#       flavored origin form such as "devel/py-setuptools@py35" at each
+#       place of ${glob_pattern} throughout in this file and command
+#       operations instead.
 # CORRESPONDING pkgtools.conf SECTION: MAKE_ARGS
 
 
@@ -186,7 +264,10 @@ HOLD_bsdpan=bsdpan-\*
 # DESCRIPTION:
 #        When executing make(1) for ports matching MENV_TARGET, the env-
 #       ironment variable values given by MENV_DEF of the same ID are
-#       applied.
+#       applied. Flavors should NOT be specified here, and should be
+#       "devel/py-setuptools@py35" at each specified in the flavored
+#       origin form such as place of ${glob_pattern} throughout in this file and
+#       command operations instead.
 # CORRESPONDING pkgtools.conf SECTION: MAKE_ENV