OSDN Git Service

Version 3.3.2+toward_4.0.0_20180629133501
[portsreinstall/current.git] / etc / portsreinstall.conf
1 # =======================================================================
2 # Configurations for portsreinstall
3 # Format version 1.2.0 (Wed Jun 25 16:00:40 PHT 2018)
4 #   Comments updated at Wed Jun 25 16:00:40 PHT 2018.
5 #   Default settings updated at Mon May 27 21:58:12 JST 2013.
6 # Copyright (C) 2010-2018 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_DISTDIR=${DISTDIR:-${ENV_PORTSDIR}/distfiles}
41 # ENV_PACKAGES=${PACKAGES:-${ENV_PORTSDIR}/packages}
42 # ENV_PKGREPOSITORY=${PKG_PATH:-${PKGREPOSITORY:-${ENV_PACKAGES}/${ENV_PKGREPOSITORYSUBDIR}}}
43 #
44 # Roots of available sites for legacy package check sum to be randomly selected
45 # Separated by |.
46 # WARNING: Be careful not to add untrusted sites to avoid Trojan horses.
47 # ENV_PACKAGECHECKSUMROOTS=${PACKAGECHECKSUMROOTS:-'ftp://ftp.FreeBSD.org/|'\
48 # 'ftp://ftp1.FreeBSD.org/|ftp://ftp2.FreeBSD.org/|ftp://ftp3.FreeBSD.org/|'\
49 # 'ftp://ftp4.FreeBSD.org/|ftp://ftp5.FreeBSD.org/|ftp://ftp6.FreeBSD.org/|'\
50 # 'ftp://ftp7.FreeBSD.org/|ftp://ftp8.FreeBSD.org/|ftp://ftp9.FreeBSD.org/|'\
51 # 'ftp://ftp10.FreeBSD.org/|ftp://ftp11.FreeBSD.org/|ftp://ftp12.FreeBSD.org/|'\
52 # 'ftp://ftp13.FreeBSD.org/|ftp://ftp14.FreeBSD.org/'}
53 #
54 # Subdirectory pattern of legacy package check sum sites; the first and second
55 # %s are substituted with the platform and version of OS, respectively.
56 # ENV_PACKAGECHECKSUMDIR=${PACKAGECHECKSUMDIR:-'pub/FreeBSD/ports/%s/packages-%s/All/'}
57 #
58 # Roots of available legacy package sites to be randomly selected.
59 # Separated by |.
60 # It is relatively secure to be different from ${PACKAGEROOTS} although the
61 # default is not.
62 # WARNING: Be careful not to add untrusted sites to avoid Trojan horses.
63 # ENV_PACKAGEROOTS=${PACKAGEROOTS:-${ENV_PACKAGECHECKSUMROOTS}}
64 #
65 # Subdirectory pattern of legacy package sites; the first and second %s are
66 # substituted with the platform and version of OS, respectively.
67 # ENV_PACKAGEDIR=${ENV_PACKAGECHECKSUMDIR}
68
69
70 # Local MOVED paths
71 # SYNTAX: ENV_${envname}=${value}
72 # DESCRIPTION:
73 #        List of additional MOVED files applied after the original. If
74 #       multiple settings are given here, they are applied in the order
75 #       as written here.
76 # CORRESPONDING pkgtools.conf SECTION: ALT_MOVED
77 #
78 # ALT_MOVED_1=/usr/ports/MOVED.local # Referred firstly
79 # ALT_MOVED_2=/usr/ports/MOVED.local2 # Referred secondly
80
81
82 # Packages to hold
83 # SYNTAX: HOLD_PKGS_${id}=${glob_pattern}
84 # EXAMPLE:
85 #       HOLD_bsdpan=bsdpan-\*
86 #       HOLD_001=nvidia-driver-\*
87 #       HOLD_aaa=autoconf-\*
88 #       HOLD_100a=lang/perl\*
89 # DESCRIPTION:
90 #        Original packages whose flavored port origins are nonexistent MUST be
91 #       specified here. Obsolete packages which you wish to preserve also
92 #       MUST be specified here. Packages listed here are always untouched.
93 #       Dependencies and dependents of the specified packages are processed
94 #       as usual.
95 # CORRESPONDING pkgtools.conf SECTION: HOLD_PKGS and IGNORE_MOVED
96
97 HOLD_bsdpan=bsdpan-\*
98
99
100 # Packages to be ignored
101 # SYNTAX: TABOO_${id}=${glob_pattern}
102 # EXAMPLE:
103 #       TABOO_001=nvidia-driver-\*
104 #       TABOO_aaa=autoconf-\*
105 #       TABOO_100a=lang/perl\*
106 # DESCRIPTION:
107 #        Morbid or too expensive ports which crash or confuse the system during
108 #       (re)installation of themselves or other ports MUST be specified here.
109 #       Packages listed here are untouched if the flavored origin exists, and
110 #       otherwise deleted. Dependencies and dependents of the specified packages
111 #       are processed as usual. If you wish to preserve any of the specified
112 #       packages, you MUST additionally specify them in the HOLD section.
113 # CORRESPONDING pkgtools.conf SECTION: (none)
114
115
116 # Packages to freeze
117 # SYNTAX: FREEZE_${id}=${glob_pattern}
118 # EXAMPLE:
119 #       FREEZE_001=nvidia-driver-\*
120 #       FREEZE_aaa=autoconf-\*
121 #       FREEZE_100a=lang/perl\*
122 # DESCRIPTION:
123 #        Morbid or too expensive ports which crash or confuse the system during
124 #       their build but the package installtion by any available version may be safe.
125 #       Packages listed here are not attempted to build but package (re)installation
126 #       will be attempted as much as possible. If the specified ports failed to
127 #       (re)install by packages, build of their dependents are also suppressed.
128 # CORRESPONDING pkgtools.conf SECTION: (similar to USE_PKGS_ONLY)
129
130
131 # Ports not to be installed by packages
132 # SYNTAX: NOPKG_${id}=${glob_pattern}
133 # EXAMPLE:
134 #       NOPKG_001=nvidia-driver-\*
135 #       NOPKG_aaa=autoconf-\*
136 #       NOPKG_100a=lang/perl\*
137 # DESCRIPTION:
138 #        This setting suppresses the default behavior of -G option that
139 #       installation by package is attempted if the configuration determined by
140 #       port options, knobs and depending ports is unchanged from the default.
141 #       Here, the knobs are given by make environment variables (MENV_*) and
142 #       make arguments (MARG_*), and the depending ports are affected by port
143 #       replacement (REPLACE_*). Explicit specification by NOPKG_* is encouraged
144 #       for ports which change their actually installed files depending on other
145 #       installed packages or files because automatic detection of their changes
146 #       from the default is unavailable within the current implementation. 
147 # CORRESPONDING pkgtools.conf SECTION: (none)
148 #                                      (opposite of USE_PKGS and USE_PKGS_ONLY)
149
150
151 # Permanent port replacement
152 # SYNTAX: REPLACE_FROM_${id}=${glob_pattern}
153 #         REPLACE_TO_${id}=${origin}
154 # EXAMPLE:
155 #       REPLACE_FROM_perl=perl
156 #       REPLACE_TO_perl=lang/perl5.14
157 #       REPLACE_FROM_nv=nvidia-driver-\*
158 #       REPLACE_TO_nv=x11/nvidia-driver-71
159 #       REPLACE_FROM_mpegaudio=audio/mpegaudio
160 #       REPLACE_TO_mpegaudio=
161 # DESCRIPTION:
162 #        All ports matching REPLACE_FROM are replaced with REPLACE_TO of
163 #       the same ID.
164 #        If REPLACE_TO is null, the all ports matching REPLACE_FROM are
165 #       removed if possible.
166 #        The REPLACE_TO port MUST be compatible with REPLACE_FROM so as to
167 #       install the same files in the same directories because necessity of
168 #       new installation of dependencies is judged from existence of the
169 #       required files.
170 #        When you change these configurations, it may be preferable to make the
171 #       previous TO value match a new FROM pattern of the modified FROM-TO pair.
172 #       For example, when you have
173 #               REPLACE_FROM_gcc4=lang/gcc42
174 #               REPLACE_TO_gcc4=lang/gcc44
175 #       and are migrating to lang/gcc46, you should modify the lines into
176 #               REPLACE_FROM_gcc4=lang/gcc4[24]
177 #               REPLACE_TO_gcc4=lang/gcc46
178 #       so as to replace the installed package for lang/gcc44 with lang/gcc46.
179 #       Unflavored patterns match the all defined flavors, and flavored ports must
180 #       be replaced to explicitly flavored ones. For example, when all flavors of
181 #       "devel/py-setuptools" should be replaced to @py35, you should set
182 #               REPLACE_FROM_py_setuptools_unflavored=devel/py-setuptools'
183 #               REPLACE_TO_py_setuptools_unflavored=devel/py-setuptools@py35
184 #       so that both flavored and unflavored port names will be replaced.
185 # CORRESPONDING pkgtools.conf SECTION: ALT_PKGDEP
186
187
188 # Conflict in dependency inspection
189 # SYNTAX: CONFLICT_TARGET_${id}=${glob_pattern}
190 #         CONFLICT_DEF_${id}=${glob_pattern}
191 # EXAMPLE:
192 #       CONFLICT_TARGET_firefoxi18='firefox-i18n-[0-9]*'
193 #       CONFLICT_DEF_firefoxi18='firefox-[0-9]*'
194 #       CONFLICT_TARGET_firefoxesri18=www/firefox-esr-i18n
195 #       CONFLICT_DEF_firefoxesri18=www/firefox-esr
196 # DESCRIPTION:
197 #        Packages matching CONFLICT_DEF are temporarily deinstalled
198 #       during inspection of dependency for ports matching
199 #       CONFLICT_TARGET.
200 # CORRESPONDING pkgtools.conf SECTION: (none)
201
202
203 # Arguments for make(1)
204 # SYNTAX: MARG_TARGET_${id}=${glob_pattern}
205 #         MARG_DEF_${id}=${definitions}
206 # EXAMPLE:
207 #       MARG_TARGET_ooo=editors/openoffice.org-\*
208 #       MARG_DEF_ooo='LOCALIZED_LANG=ja WITH_KDE=yes'
209 #       MARG_TARGET_cups_pstoraster=print/cups-pstoraster
210 #       MARG_DEF_cups_pstoraster='WITH_CJK=yes'
211 # DESCRIPTION:
212 #        When executing make(1) for ports matching MARG_TARGET, the arg-
213 #       uments given by MARG_DEF of the same ID are applied. Flavors
214 #       should NOT be specified here, and should be specified in the
215 #       flavored origin form such as "devel/py-setuptools@py35" at each
216 #       place of ${glob_pattern} throughout in this file and command
217 #       operations instead.
218 # CORRESPONDING pkgtools.conf SECTION: MAKE_ARGS
219
220
221 # Environment variable values for make(1)
222 # SYNTAX: MENV_TARGET_${id}=${glob_pattern}
223 #         MENV_DEF_${id}=${definitions}
224 # EXAMPLE:
225 #       MENV_TARGET_ooo=editors/openoffice.org-\*
226 #       MENV_DEF_ooo='LOCALIZED_LANG=ja WITH_KDE=yes'
227 #       MENV_TARGET_cups_pstoraster=print/cups-pstoraster
228 #       MENV_DEF_cups_pstoraster='WITH_CJK=yes'
229 # DESCRIPTION:
230 #        When executing make(1) for ports matching MENV_TARGET, the env-
231 #       ironment variable values given by MENV_DEF of the same ID are
232 #       applied. Flavors should NOT be specified here, and should be
233 #       "devel/py-setuptools@py35" at each specified in the flavored
234 #       origin form such as place of ${glob_pattern} throughout in this file and
235 #       command operations instead.
236 # CORRESPONDING pkgtools.conf SECTION: MAKE_ENV
237
238
239 # Commands to run before build
240 # SYNTAX: BEFOREBUILD_TARGET_${id}=${glob_pattern}
241 #         BEFOREBUILD_COMMAND_${id}=${command}
242 # EXAMPLE:
243 #       BEFOREBUILD_TARGET_cvs=\*
244 #       BEFOREBUILD_COMMAND_cvs='cvs update'
245 # DESCRIPTION:
246 #        Commands given here are executed before starting build,
247 #       concretely, before clean and fetch. The commands must be in the
248 #       syntax of Bourne Shell script.
249 # CORRESPONDING pkgtools.conf SECTION: BEFOREBUILD
250
251
252 # Commands to run before deinstallation
253 # SYNTAX: BEFOREDEINSTALL_TARGET_${id}=${glob_pattern}
254 #         BEFOREDEINSTALL_COMMAND_${id}=${command}
255 # EXAMPLE:
256 #       BEFOREDEINSTALL_TARGET_cvs=mail/postfix
257 #       BEFOREDEINSTALL_COMMAND_cvs='/usr/local/sbin/postfix stop'
258 # DESCRIPTION:
259 #        Commands given here are executed between the end of build and
260 #       start of installation, concretely, between "make" and "make
261 #       deinstall". The commands must be in the syntax of Bourne Shell
262 #       script.
263 # CORRESPONDING pkgtools.conf SECTION: BEFOREDEINSTALL
264
265
266 # Commands to run after installation
267 # SYNTAX: AFTERINSTALL_TARGET_${id}=${glob_pattern}
268 #         AFTERINSTALL_COMMAND_${id}=${command}
269 # EXAMPLE:
270 #       AFTERINSTALL_TARGET_cvs=mail/postfix
271 #       AFTERINSTALL_COMMAND_cvs='/usr/local/sbin/postfix start'
272 # DESCRIPTION:
273 #        Commands given here are executed after installation,
274 #       concretely, after "make (re-)install clean". The commands must
275 #       be in the syntax of Bourne Shell script.
276 # CORRESPONDING pkgtools.conf SECTION: AFTERINSTALL