OSDN Git Service

3b53e69104f1c5e6793e25d8b8d322ee506310f8
[portsreinstall/current.git] / etc / portsreinstall.conf
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-2022 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
7 # =======================================================================
8
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.
22
23 # Glob patterns without at sign (@) match all available flavors if defined. See
24 # GLOB PATTERNS Section of the man page of portsreinstall(8).
25
26 # Alternative environment variable values.
27 # SYNTAX: ENV_${envname}=${value}
28 # DESCRIPTION:
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
35 #
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}}}
44 #
45 # Roots of available sites for legacy package check sum to be randomly selected
46 # Separated by |.
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/'}
54 #
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/'}
58 #
59 # Roots of available legacy package sites to be randomly selected.
60 # Separated by |.
61 # It is relatively secure to be different from ${PACKAGEROOTS} although the
62 # default is not.
63 # WARNING: Be careful not to add untrusted sites to avoid Trojan horses.
64 # ENV_PACKAGEROOTS=${PACKAGEROOTS:-${ENV_PACKAGECHECKSUMROOTS}}
65 #
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}
69
70
71 # Local MOVED paths
72 # SYNTAX: ENV_${envname}=${value}
73 # DESCRIPTION:
74 #        List of additional MOVED files applied after the original. If
75 #       multiple settings are given here, they are applied in the order
76 #       as written here.
77 # CORRESPONDING pkgtools.conf SECTION: ALT_MOVED
78 #
79 # ALT_MOVED_1=/usr/ports/MOVED.local # Referred firstly
80 # ALT_MOVED_2=/usr/ports/MOVED.local2 # Referred secondly
81
82
83 # Packages to hold
84 # SYNTAX: HOLD_PKGS_${id}=${glob_pattern}
85 # EXAMPLE:
86 #       HOLD_bsdpan=bsdpan-\*
87 #       HOLD_001=nvidia-driver-\*
88 #       HOLD_aaa=autoconf-\*
89 #       HOLD_100a=lang/perl\*
90 # DESCRIPTION:
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
95 #       as usual.
96 # CORRESPONDING pkgtools.conf SECTION: HOLD_PKGS and IGNORE_MOVED
97
98 HOLD_bsdpan=bsdpan-\*
99
100
101 # Packages to be ignored
102 # SYNTAX: TABOO_${id}=${glob_pattern}
103 # EXAMPLE:
104 #       TABOO_001=nvidia-driver-\*
105 #       TABOO_aaa=autoconf-\*
106 #       TABOO_100a=lang/perl\*
107 # DESCRIPTION:
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)
115
116
117 # Packages to freeze
118 # SYNTAX: FREEZE_${id}=${glob_pattern}
119 # EXAMPLE:
120 #       FREEZE_001=nvidia-driver-\*
121 #       FREEZE_aaa=autoconf-\*
122 #       FREEZE_100a=lang/perl\*
123 # DESCRIPTION:
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)
130
131
132 # Ports not to be installed by packages
133 # SYNTAX: REBUILD_${id}=${glob_pattern}
134 # EXAMPLE:
135 #       REBUILD_001=nvidia-driver-\*
136 #       REBUILD_aaa=autoconf-\*
137 #       REBUILD_100a=lang/perl\*
138 # DESCRIPTION:
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)
150
151
152 # Permanent port replacement
153 # SYNTAX: REPLACE_FROM_${id}=${glob_pattern}
154 #         REPLACE_TO_${id}=${origin}
155 # EXAMPLE:
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=
162 # DESCRIPTION:
163 #        All ports matching REPLACE_FROM are replaced with REPLACE_TO of
164 #       the same ID.
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
170 #       required files.
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
187
188
189 # Conflict in dependency inspection
190 # SYNTAX: CONFLICT_TARGET_${id}=${glob_pattern}
191 #         CONFLICT_DEF_${id}=${glob_pattern}
192 # EXAMPLE:
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
197 # DESCRIPTION:
198 #        Packages matching CONFLICT_DEF are temporarily deinstalled
199 #       during inspection of dependency for ports matching
200 #       CONFLICT_TARGET.
201 # CORRESPONDING pkgtools.conf SECTION: (none)
202
203
204 # Additional conflict in build
205 # SYNTAX: BUILDCONFLICT_TARGET_${id}=${glob_pattern}
206 #         BUILDCONFLICT_DEF_${id}=${glob_pattern}
207 # EXAMPLE:
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
212 # DESCRIPTION:
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)
219
220
221 # Additional conflict in installation
222 # SYNTAX: INSTCONFLICT_TARGET_${id}=${glob_pattern}
223 #         INSTCONFLICT_DEF_${id}=${glob_pattern}
224 # EXAMPLE:
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
229 # DESCRIPTION:
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)
236
237
238 # Arguments for make(1)
239 # SYNTAX: MARG_TARGET_${id}=${glob_pattern}
240 #         MARG_DEF_${id}=${definitions}
241 # EXAMPLE:
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'
246 # DESCRIPTION:
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
254
255
256 # Environment variable values for make(1)
257 # SYNTAX: MENV_TARGET_${id}=${glob_pattern}
258 #         MENV_DEF_${id}=${definitions}
259 # EXAMPLE:
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'
264 # DESCRIPTION:
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
272
273
274 # Commands to run before build
275 # SYNTAX: BEFOREBUILD_TARGET_${id}=${glob_pattern}
276 #         BEFOREBUILD_COMMAND_${id}=${command}
277 # EXAMPLE:
278 #       BEFOREBUILD_TARGET_cvs=\*
279 #       BEFOREBUILD_COMMAND_cvs='cvs update'
280 # DESCRIPTION:
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
285
286
287 # Commands to run before deinstallation
288 # SYNTAX: BEFOREDEINSTALL_TARGET_${id}=${glob_pattern}
289 #         BEFOREDEINSTALL_COMMAND_${id}=${command}
290 # EXAMPLE:
291 #       BEFOREDEINSTALL_TARGET_cvs=mail/postfix
292 #       BEFOREDEINSTALL_COMMAND_cvs='/usr/local/sbin/postfix stop'
293 # DESCRIPTION:
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
297 #       script.
298 # CORRESPONDING pkgtools.conf SECTION: BEFOREDEINSTALL
299
300
301 # Commands to run after installation
302 # SYNTAX: AFTERINSTALL_TARGET_${id}=${glob_pattern}
303 #         AFTERINSTALL_COMMAND_${id}=${command}
304 # EXAMPLE:
305 #       AFTERINSTALL_TARGET_cvs=mail/postfix
306 #       AFTERINSTALL_COMMAND_cvs='/usr/local/sbin/postfix start'
307 # DESCRIPTION:
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