1 # =======================================================================
2 # Configurations for portsreinstall
3 # Format version 1.3.0 (Sun Jul 15 15:02:00 PHT 2018)
4 # Comments updated at Sun Jul 15 15:02:00 PHT 2018.
5 # Default settings updated at Mon May 27 21:58:12 JST 2013.
6 # Copyright (C) 2010-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
7 # =======================================================================
9 # This file is loaded as an include file for Bourne Shell.
10 # The settings in this file SHOULD NOT conflict with pkgtools.conf(5) if
11 # you use portupgrade(1).
12 # In the all sections, ${id} denotes an arbitrary ID for distinction
13 # between the settings in the same section. IDs for imported variables
14 # from pkgtools.conf are reserved to match an extended regular expression
15 # "^pkgtoolsconf_[0-9]+_$".
16 # The all defined variables are applied in the order of their character codes.
17 # For duplicated definitions for the same variable are defined, the final one is
18 # applied. Regular expression patterns found in this file are processed as
19 # extended regular expressions.
20 # When you change these configurations and want to reflect them in a
21 # following "redo" process, you must set "-L" option.
23 # Glob patterns without at sign (@) match all available flavors if defined. See
24 # GLOB PATTERNS Section of the man page of portsreinstall(8).
26 # Alternative environment variable values.
27 # SYNTAX: ENV_${envname}=${value}
29 # These configuration may be required if you have changed the
30 # location or so on of the ports system. In those cases, uncomment
31 # the corresponding lines and give the appropriate values.
32 # Changes in this section cannot be conveyed to "redo" processes.
33 # Execution by "clean" command is needed in order to reflect the changes.
34 # CORRESPONDING pkgtools.conf SECTION: ENV
36 # Defalts values (see ports(7); PKG_PATH is for compatibility with portupgrade(1)):
37 # ENV_LOCALBASE=${LOCALBASE:-/usr/local}
38 # ENV_LINUXBASE=${LINUXBASE:-/compat/linux}
39 # ENV_PORTSDIR=${PORTSDIR:-/usr/ports}
40 # ENV_PKG_CACHEDIR=${PKG_CACHEDIR:-/var/db/pkgs}
41 # ENV_DISTDIR=${DISTDIR:-${ENV_PORTSDIR}/distfiles}
42 # ENV_PACKAGES=${PACKAGES:-${ENV_PORTSDIR}/packages}
43 # ENV_PKGREPOSITORY=${PKG_PATH:-${PKGREPOSITORY:-${ENV_PACKAGES}/${ENV_PKGREPOSITORYSUBDIR}}}
45 # Roots of available sites for legacy package check sum to be randomly selected
47 # WARNING: Be careful not to add untrusted sites to avoid Trojan horses.
48 # ENV_PACKAGECHECKSUMROOTS=${PACKAGECHECKSUMROOTS:-'ftp://ftp.FreeBSD.org/|'\
49 # 'ftp://ftp1.FreeBSD.org/|ftp://ftp2.FreeBSD.org/|ftp://ftp3.FreeBSD.org/|'\
50 # 'ftp://ftp4.FreeBSD.org/|ftp://ftp5.FreeBSD.org/|ftp://ftp6.FreeBSD.org/|'\
51 # 'ftp://ftp7.FreeBSD.org/|ftp://ftp8.FreeBSD.org/|ftp://ftp9.FreeBSD.org/|'\
52 # 'ftp://ftp10.FreeBSD.org/|ftp://ftp11.FreeBSD.org/|ftp://ftp12.FreeBSD.org/|'\
53 # 'ftp://ftp13.FreeBSD.org/|ftp://ftp14.FreeBSD.org/'}
55 # Subdirectory pattern of legacy package check sum sites; the first and second
56 # %s are substituted with the platform and version of OS, respectively.
57 # ENV_PACKAGECHECKSUMDIR=${PACKAGECHECKSUMDIR:-'pub/FreeBSD/ports/%s/packages-%s/All/'}
59 # Roots of available legacy package sites to be randomly selected.
61 # It is relatively secure to be different from ${PACKAGEROOTS} although the
63 # WARNING: Be careful not to add untrusted sites to avoid Trojan horses.
64 # ENV_PACKAGEROOTS=${PACKAGEROOTS:-${ENV_PACKAGECHECKSUMROOTS}}
66 # Subdirectory pattern of legacy package sites; the first and second %s are
67 # substituted with the platform and version of OS, respectively.
68 # ENV_PACKAGEDIR=${ENV_PACKAGECHECKSUMDIR}
72 # SYNTAX: ENV_${envname}=${value}
74 # List of additional MOVED files applied after the original. If
75 # multiple settings are given here, they are applied in the order
77 # CORRESPONDING pkgtools.conf SECTION: ALT_MOVED
79 # ALT_MOVED_1=/usr/ports/MOVED.local # Referred firstly
80 # ALT_MOVED_2=/usr/ports/MOVED.local2 # Referred secondly
84 # SYNTAX: HOLD_PKGS_${id}=${glob_pattern}
86 # HOLD_bsdpan=bsdpan-\*
87 # HOLD_001=nvidia-driver-\*
88 # HOLD_aaa=autoconf-\*
89 # HOLD_100a=lang/perl\*
91 # Original packages whose flavored port origins are nonexistent MUST be
92 # specified here. Obsolete packages which you wish to preserve also
93 # MUST be specified here. Packages listed here are always untouched.
94 # Dependencies and dependents of the specified packages are processed
96 # CORRESPONDING pkgtools.conf SECTION: HOLD_PKGS and IGNORE_MOVED
101 # Packages to be ignored
102 # SYNTAX: TABOO_${id}=${glob_pattern}
104 # TABOO_001=nvidia-driver-\*
105 # TABOO_aaa=autoconf-\*
106 # TABOO_100a=lang/perl\*
108 # Morbid or too expensive ports which crash or confuse the system during
109 # (re)installation of themselves or other ports MUST be specified here.
110 # Packages listed here are untouched if the flavored origin exists, and
111 # otherwise deleted. Dependencies and dependents of the specified packages
112 # are processed as usual. If you wish to preserve any of the specified
113 # packages, you MUST additionally specify them in the HOLD section.
114 # CORRESPONDING pkgtools.conf SECTION: (none)
118 # SYNTAX: FREEZE_${id}=${glob_pattern}
120 # FREEZE_001=nvidia-driver-\*
121 # FREEZE_aaa=autoconf-\*
122 # FREEZE_100a=lang/perl\*
124 # Morbid or too expensive ports which crash or confuse the system during
125 # their build but the package installtion by any available version may be safe.
126 # Packages listed here are not attempted to build but package (re)installation
127 # will be attempted as much as possible. If the specified ports failed to
128 # (re)install by packages, build of their dependents are also suppressed.
129 # CORRESPONDING pkgtools.conf SECTION: (similar to USE_PKGS_ONLY)
132 # Ports not to be installed by packages
133 # SYNTAX: REBUILD_${id}=${glob_pattern}
135 # REBUILD_001=nvidia-driver-\*
136 # REBUILD_aaa=autoconf-\*
137 # REBUILD_100a=lang/perl\*
139 # This setting suppresses the default behavior of -G option that
140 # installation by package is attempted if the configuration determined by
141 # port options, knobs and depending ports is unchanged from the default.
142 # Here, the knobs are given by make environment variables (MENV_*) and
143 # make arguments (MARG_*), and the depending ports are affected by port
144 # replacement (REPLACE_*). Explicit specification by REBUILD_* is encouraged
145 # for ports which change their actually installed files depending on other
146 # installed packages or files because automatic detection of their changes
147 # from the default is unavailable within the current implementation.
148 # CORRESPONDING pkgtools.conf SECTION: (none)
149 # (opposite of USE_PKGS and USE_PKGS_ONLY)
152 # Permanent port replacement
153 # SYNTAX: REPLACE_FROM_${id}=${glob_pattern}
154 # REPLACE_TO_${id}=${origin}
156 # REPLACE_FROM_perl=perl
157 # REPLACE_TO_perl=lang/perl5.14
158 # REPLACE_FROM_nv=nvidia-driver-\*
159 # REPLACE_TO_nv=x11/nvidia-driver-71
160 # REPLACE_FROM_mpegaudio=audio/mpegaudio
161 # REPLACE_TO_mpegaudio=
163 # All ports matching REPLACE_FROM are replaced with REPLACE_TO of
165 # If REPLACE_TO is null, the all ports matching REPLACE_FROM are
166 # removed if possible.
167 # The REPLACE_TO port MUST be compatible with REPLACE_FROM so as to
168 # install the same files in the same directories because necessity of
169 # new installation of dependencies is judged from existence of the
171 # When you change these configurations, it may be preferable to make the
172 # previous TO value match a new FROM pattern of the modified FROM-TO pair.
173 # For example, when you have
174 # REPLACE_FROM_gcc4=lang/gcc42
175 # REPLACE_TO_gcc4=lang/gcc44
176 # and are migrating to lang/gcc46, you should modify the lines into
177 # REPLACE_FROM_gcc4=lang/gcc4[24]
178 # REPLACE_TO_gcc4=lang/gcc46
179 # so as to replace the installed package for lang/gcc44 with lang/gcc46.
180 # Unflavored patterns match the all defined flavors, and flavored ports must
181 # be replaced to explicitly flavored ones. For example, when all flavors of
182 # "devel/py-setuptools" should be replaced to @py35, you should set
183 # REPLACE_FROM_py_setuptools_unflavored=devel/py-setuptools'
184 # REPLACE_TO_py_setuptools_unflavored=devel/py-setuptools@py35
185 # so that both flavored and unflavored port names will be replaced.
186 # CORRESPONDING pkgtools.conf SECTION: ALT_PKGDEP
189 # Conflict in dependency inspection
190 # SYNTAX: CONFLICT_TARGET_${id}=${glob_pattern}
191 # CONFLICT_DEF_${id}=${glob_pattern}
193 # CONFLICT_TARGET_firefoxi18='firefox-i18n-[0-9]*'
194 # CONFLICT_DEF_firefoxi18='firefox-[0-9]*'
195 # CONFLICT_TARGET_firefoxesri18=www/firefox-esr-i18n
196 # CONFLICT_DEF_firefoxesri18=www/firefox-esr
198 # Packages matching CONFLICT_DEF are temporarily deinstalled
199 # during inspection of dependency for ports matching
201 # CORRESPONDING pkgtools.conf SECTION: (none)
204 # Additional conflict in build
205 # SYNTAX: BUILDCONFLICT_TARGET_${id}=${glob_pattern}
206 # BUILDCONFLICT_DEF_${id}=${glob_pattern}
208 # BUILDCONFLICT_TARGET_strigidaemon='strigidaemon-0.[0-9]*'
209 # BUILDCONFLICT_DEF_strigidaemon='cppunit-[0-9]*'
210 # BUILDCONFLICT_TARGET_libcaca=graphics/libcaca
211 # BUILDCONFLICT_DEF_libcaca=devel/cppunit
213 # Packages matching BUILDCONFLICT_DEF are added to the conflict
214 # list in the build time of the ports matching
215 # BUILDCONFLICT_TARGET. This configuration may be useful for a quick
216 # troubleshooting to build errors caused by conflict which is not
217 # recognized by the maintainer.
218 # CORRESPONDING pkgtools.conf SECTION: (none)
221 # Additional conflict in installation
222 # SYNTAX: INSTCONFLICT_TARGET_${id}=${glob_pattern}
223 # INSTCONFLICT_DEF_${id}=${glob_pattern}
225 # INSTCONFLICT_TARGET_perl5devel='perl5-devel-[0-9]*'
226 # INSTCONFLICT_DEF_perl5devel='perl5.24-[0-9]*'
227 # INSTCONFLICT_TARGET_clangdevel=lang/clang-devel
228 # INSTCONFLICT_DEF_clangdevel=lang/clang33
230 # Packages matching INSTCONFLICT_DEF are added to the conflict
231 # list in the installation time of the ports matching
232 # INSTCONFLICT_TARGET. This configuration may be useful for
233 # countermeasure in case that some build-time only requirements
234 # conflict with each other.
235 # CORRESPONDING pkgtools.conf SECTION: (none)
238 # Arguments for make(1)
239 # SYNTAX: MARG_TARGET_${id}=${glob_pattern}
240 # MARG_DEF_${id}=${definitions}
242 # MARG_TARGET_ooo=editors/openoffice.org-\*
243 # MARG_DEF_ooo='LOCALIZED_LANG=ja WITH_KDE=yes'
244 # MARG_TARGET_cups_pstoraster=print/cups-pstoraster
245 # MARG_DEF_cups_pstoraster='WITH_CJK=yes'
247 # When executing make(1) for ports matching MARG_TARGET, the arg-
248 # uments given by MARG_DEF of the same ID are applied. Flavors
249 # should NOT be specified here, and should be specified in the
250 # flavored origin form such as "devel/py-setuptools@py35" at each
251 # place of ${glob_pattern} throughout in this file and command
252 # operations instead.
253 # CORRESPONDING pkgtools.conf SECTION: MAKE_ARGS
256 # Environment variable values for make(1)
257 # SYNTAX: MENV_TARGET_${id}=${glob_pattern}
258 # MENV_DEF_${id}=${definitions}
260 # MENV_TARGET_ooo=editors/openoffice.org-\*
261 # MENV_DEF_ooo='LOCALIZED_LANG=ja WITH_KDE=yes'
262 # MENV_TARGET_cups_pstoraster=print/cups-pstoraster
263 # MENV_DEF_cups_pstoraster='WITH_CJK=yes'
265 # When executing make(1) for ports matching MENV_TARGET, the env-
266 # ironment variable values given by MENV_DEF of the same ID are
267 # applied. Flavors should NOT be specified here, and should be
268 # "devel/py-setuptools@py35" at each specified in the flavored
269 # origin form such as place of ${glob_pattern} throughout in this file and
270 # command operations instead.
271 # CORRESPONDING pkgtools.conf SECTION: MAKE_ENV
274 # Commands to run before build
275 # SYNTAX: BEFOREBUILD_TARGET_${id}=${glob_pattern}
276 # BEFOREBUILD_COMMAND_${id}=${command}
278 # BEFOREBUILD_TARGET_cvs=\*
279 # BEFOREBUILD_COMMAND_cvs='cvs update'
281 # Commands given here are executed before starting build,
282 # concretely, before clean and fetch. The commands must be in the
283 # syntax of Bourne Shell script.
284 # CORRESPONDING pkgtools.conf SECTION: BEFOREBUILD
287 # Commands to run before deinstallation
288 # SYNTAX: BEFOREDEINSTALL_TARGET_${id}=${glob_pattern}
289 # BEFOREDEINSTALL_COMMAND_${id}=${command}
291 # BEFOREDEINSTALL_TARGET_cvs=mail/postfix
292 # BEFOREDEINSTALL_COMMAND_cvs='/usr/local/sbin/postfix stop'
294 # Commands given here are executed between the end of build and
295 # start of installation, concretely, between "make" and "make
296 # deinstall". The commands must be in the syntax of Bourne Shell
298 # CORRESPONDING pkgtools.conf SECTION: BEFOREDEINSTALL
301 # Commands to run after installation
302 # SYNTAX: AFTERINSTALL_TARGET_${id}=${glob_pattern}
303 # AFTERINSTALL_COMMAND_${id}=${command}
305 # AFTERINSTALL_TARGET_cvs=mail/postfix
306 # AFTERINSTALL_COMMAND_cvs='/usr/local/sbin/postfix start'
308 # Commands given here are executed after installation,
309 # concretely, after "make (re-)install clean". The commands must
310 # be in the syntax of Bourne Shell script.
311 # CORRESPONDING pkgtools.conf SECTION: AFTERINSTALL