-
Notifications
You must be signed in to change notification settings - Fork 160
/
Copy pathmk.conf
1986 lines (1686 loc) · 63.2 KB
/
mk.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# $NetBSD: mk.conf,v 1.318 2021/05/30 23:41:05 khorben Exp $
#
# This file provides default values for variables that may be overridden
# in the MAKECONF file, which is /etc/mk.conf by default.
#
# Note: This file is included after the MAKECONF file, so you cannot query
# these default values in the MAKECONF using the ".if" and ".for"
# preprocessing directives.
# ************************************************************************
# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS.
# ************************************************************************
USE_CWRAPPERS?= auto
# Build packages using the newer pkgtools/cwrappers infrastructure, which can
# significantly speed up builds and use fewer resources. Some compiler and
# platform combinations are not currently handled by cwrappers, so currently
# the default is "auto" which enables cwrappers automatically if the platform
# _OPSYS_SUPPORTS_CWRAPPERS variable is set to "yes".
#
# Possible: yes, no, auto
# Default: auto (automatic detection, see above)
USE_PKG_ADMIN_DIGEST?= no
# Record file digests instead of extracing the NetBSD RCS ID from files.
#
# Possible: yes, no
# Default: no
#ALLOW_VULNERABLE_PACKAGES=
# allow the user to build packages which are known to be vulnerable to
# security exploits
# Possible: yes, no
# Default: yes
#AUDIT_PACKAGES_FLAGS=
# List of flags passed to ``pkg_admin audit-pkg''.
#
# Possible: See pkg_admin(1)
# Default: (no option)
MANINSTALL?= maninstall catinstall
# Specify manpage installation types.
# Possible: maninstall, catinstall, both types or empty
# Default: maninstall catinstall
# FIXME: This variable is not user-settable and must be moved away from here.
#MANZ=
# gzip manual pages at installation time
# Possible: defined, not defined
# Default: not defined
GZIP?= -9
# default compression level when compressing files with gzip
# Possible: -[0-9], --fast, --best (see gzip(1))
# Default: -9
#MAKE_JOBS= 3
#MAKE_JOBS.category/dir= 2
# When defined, specifies the maximum number of jobs ("make -j")
# that are run in parallel when building packages with the default
# do-build action. MAKE_JOBS only affects the "build" target,
# neither "test" nor "install".
#
# May be specified on a per-package basis; any package-specific
# value overrides the global setting. Package-specific settings are
# by source directory, not package name, as the circumstances that
# would lead one to make them are based on properties of sources.
#
# Possible values: any positive integer. Useful values are around
# the number of processors on the machine.
#
# Default value: (undefined)
#
# Warning: Some packages will not build with this. Disabling
# parallel builds for an individual package can be done by
# setting MAKE_JOBS_SAFE=NO within the per package Makefile.
# When doing so, please include a comment indicating what went
# wrong so it can be crosschecked in the future after upstream
# changes.
#OBJHOSTNAME=
# use hostname-specific object directories, e.g. work.amnesiac, work.localhost
# OBJHOSTNAME takes precedence over OBJMACHINE (see below).
# Possible: defined, not defined
# Default: not defined
#OBJMACHINE=
# use machine-specific object directories, e.g. work.i386, work.sparc
# Possible: defined, not defined
# Default: not defined
#SIGN_PACKAGES=
# sign the packages generated with the method specified.
# Possible: gpg, x509, not defined
# Default: not defined
#X509_KEY=
# key to use when signing packages with an X509 certificate.
# Possible: pathname to the key file, not defined
# Default: not defined
#X509_CERTIFICATE=
# certificate to use when signing packages with an X509 certificate.
# Possible: pathname to the X509 certificate, not defined
# Default: not defined
.if ${PKG_DEVELOPER:Uno} != "no"
PATCH_DEBUG?=
.endif
# Used to debug patches as they are applied
# Possible: defined, not defined
# Default: not defined
PKG_COMPRESSION?= gzip
# Compression algorithm for binary packages.
# Possible: gzip, bzip2, xz, none
# Default: gzip
# Supersedes the PKG_SUFX option and keeps the name consistent.
PKGSRC_LOCKTYPE?= none
# The type of locking that will be done if competing processes
# attempt to do work on one package directory simultaneously.
#
# Possible values:
# * none: No locking takes place at all.
# * once: When the lock has already been aquired by another
# process, the current process is terminated.
# * sleep: When the lock has already been acquired by another
# process, the current process will sleep for PKGSRC_SLEEPSECS
# seconds and then try again.
#
# You should also set OBJHOSTNAME when you are using the same
# copy of pkgsrc on different hosts, maybe via NFS. This is because
# the locking process writes its process ID into the lockfile,
# and process IDs on different hosts are unrelated.
#
# See also: LOCALBASE_LOCKTYPE, WRKDIR_LOCKTYPE.
#
# Keywords: lock locking parallel
#
PKGSRC_SLEEPSECS?= 5
# The number of seconds to wait when PKGSRC_LOCKTYPE is sleep.
#
# Possible values: any positive integer
#
#
# The following values are used to manage the packages collection as a whole.
#
#ABI=
# The Application Binary Interface (ABI) to be used, if supported by the
# Operating System and/or compiler.
#
# Only change this if you really know what you're doing -- libraries of
# one ABI can not be linked with libraries of another!
#
# Currently only usable on IRIX or Solaris. On IRIX, it is set
# automatically by the bootstrap script, on Solaris, it is not.
#
# If you change it, be sure that _all_ the installed libraries and
# programs have the same API and use consistent compiler options. It is
# recommended that this variable be only changed directly after
# bootstrapping pkgsrc.
#
# Possible values:
# * 64 (64 bit ABI; both IRIX or Solaris)
# * 32 (SGI's N32 ABI; only IRIX)
# * undefined (SGI's old o32 ABI; only IRIX)
#
# Default: undefined, but see above.
#PKG_DEVELOPER?= yes
#
# If defined and not "no" it enables some sanity checks to raise the quality
# of the installed packages. See the files pkgsrc/mk/check/check-*.mk for
# details and further configuration options.
#
# Possible: defined, not defined, no
# Default: yes
USE_ABI_DEPENDS?= yes
# Honor package prerequisite ABI recommendations. If this is set
# to "yes", all entries in ABI_DEPENDS will be added to DEPENDS.
# If set to "no", a warning will be printed if recommendations
# are possibly ignored.
#
# WARNING: This should only be changed if you know what you're doing.
# Please read pkgsrc/doc/pkgsrc.txt for details.
#
# Possible: yes, no
# Default: yes
#PKG_REGISTER_SHELLS= YES
# Automatically register shells in /etc/shells
# Possible: YES, NO
# Default: YES
PKGSRC_COMPILER?= gcc
# Compiler type(s) to use for building packages
# Possible: (see comments in mk/compiler.mk)
# Default: gcc
PKGSRC_KEEP_BIN_PKGS?= yes
# Keep binary packages in ${PACKAGES} after building them
# Possible: yes, not yes
# Default: yes
PKGSRC_MESSAGE_RECIPIENTS?=
# login names of recipients of any MESSAGE files which will be mailed
# Possible: any login names
# Default: none
PKGSRC_SHOW_BUILD_DEFS?=yes
# Show BUILD_DEFS definitions for a package when it is being built
# (BUILD_DEFS are extra definitions which govern how some packages are
# built and behave)
# Possible: yes, not yes
# Default: yes
PKGSRC_RUN_TEST?= no
#
# Many packages bring their own self tests to ensure they basically
# work. To run these tests after building a package, set this variable
# to "yes".
#
# Note: Some packages make heavy use of the random number generator in
# their tests, so need to make sure that there are always enough random
# numbers on your machine. The package security/bitstir may help here.
#
# Possible: yes, no
# Default: no
PKGSRC_MKPIE?= no
# If no, create regular executables. Otherwise create PIE (Position Independent
# Executables, on supported platforms). This option is necessary to fully
# leverage ASLR as a mitigation for security vulnerabilities.
# Possible: yes, no
# Default: no
PKGSRC_MKREPRO?= no
# If no, do not alter the build process. Otherwise, try to build reproducibly.
# This allows packages built from the same tree and options to produce identical
# results bit by bit.
# This option should be combined with ASLR and PKGSRC_MKPIE to avoid predictable
# address offsets for attackers attempting to exploit security vulnerabilities.
# Possible: yes, no
# Default: no
#
# Keywords: reproducible
PKGSRC_USE_CTF?= no
# Turn on CTF conversion.
# Possible: yes, no
# Default: no
#
# Keywords: ctf compact type format
PKGSRC_USE_FORTIFY?= strong
# Turns on substitute wrappers for commonly used functions that do not bounds
# checking regularly, but could in some cases. This is effectively in use only
# when both enabled and supported.
# Possible values:
# no: Do not pass any flags for FORTIFY
# weak: Pass -D_FORTIFY_SOURCE=1
# strong: Pass -D_FORTIFY_SOURCE=2
# Default: strong
#
# Keywords: fortify FORTIFY_SOURCE
PKGSRC_USE_RELRO?= no
# Link with RELRO by default (on supported platforms). This makes the
# exploitation of some security vulnerabilities more difficult in some cases.
# Possible values:
# no: Do not pass any flags for RELRO
# partial: Pass -Wl,-z,relro
# full: Pass -Wl,-z,relro -Wl,-z,now
#
# Keywords: relro
PKGSRC_USE_SSP?= yes
# Configure this to enable stack smashing protection (on supported platforms).
# Possible values:
# no: Do not pass any stack protection flags
# yes: Pass -fstack-protector
# strong: Pass -fstack-protector-strong
# all: Pass -fstack-protector-all
# Default: yes
#
# Keywords: ssp
PKGSRC_USE_STACK_CHECK?= no
# Configure this to enable stack boundary verification (on supported platforms).
# Possible values:
# no: Do not pass any stack protection flags
# yes: Pass -fstack-check
# Default: no
# The default PREFER_PKGSRC should be empty, but due to historical reasons we have the list below.
# Please add your platform here once you have confirmed it is correct
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "Bitrig"
PREFER_PKGSRC?=
.elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
exists(/usr/X11R7/lib/libX11.so))
PREFER_PKGSRC?=
.elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
exists(/usr/lib/libexpat.so))
PREFER_PKGSRC?= MesaLib Xft2 Xrandr Xrender fontconfig \
freetype2 glu xcursor
.elif !empty(MACHINE_PLATFORM:MLinux-*-*) && \
(!defined(X11_TYPE) || ${X11_TYPE} == "native")
PREFER_PKGSRC?=
.elif !empty(MACHINE_PLATFORM:MDarwin-??.*-*) && \
(!defined(X11_TYPE) || ${X11_TYPE} == "native")
PREFER_PKGSRC?=
.elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) && \
(!defined(X11_TYPE) || ${X11_TYPE} == "native")
PREFER_PKGSRC?= fontconfig pixman Xft2
.elif !empty(MACHINE_PLATFORM:MCygwin-*-*) && \
exists(/usr/lib/X11/config/xorgversion.def)
PREFER_PKGSRC?=
.else
PREFER_PKGSRC?= MesaLib Xft2 Xrandr Xrender expat fontconfig \
freetype2 glu xcursor
.endif
PREFER_NATIVE?= yes
#
# When building packages, whether to prefer the pkgsrc or native
# versions of software that's also part of the base system. Its value
# can be either yes/no, or a list of packages as named in the
# BUILDLINK_TREE line in a package's buildlink3.mk file.
# Preferences are determined by the most specific instance of the
# package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is
# specified in neither or in both variables, then PREFER_PKGSRC has
# precedence over PREFER_NATIVE.
#
# Possible: yes, no, or a list of packages
PREFER_NATIVE_PTHREADS?= yes
# This toggles whether we prefer using the native pthreads implementation
# or the pkgsrc OPR (see pthread.buildlink3.mk). This setting is
# independent of the PREFER_* variables named above.
#WRKOBJDIR= /usr/tmp
# build here instead of in pkgsrc
# Possible: any path
# Default: not defined
#
# Keywords: work tmp
LOCALBASE?= /usr/pkg
# This is the base directory where all packages will be installed.
#
# Possible values: Any absolute path that does not contain special
# characters.
#
# See also: PREFIX, VARBASE
#
CROSSBASE?= ${LOCALBASE}/cross
# Where "cross" category packages install
# Possible: any path
# Default: ${LOCALBASE}/cross
VARBASE?= /var
# Where files containing local state information are installed
# Possible: any path
# Default: /var
#X11_TYPE?= native
# Used to set the X11 implementation used to build X11 packages.
# Possible: modular (uses x11/libX11 and friends), or
# native (uses pkgtools/x11-links to use the native, non-pkgsrc-managed X11).
# Default: native
# The default is defined in bsd.prefs.mk to allow platform specific overrides.
#X11BASE?= /usr/X11R7
# Where X11 is installed on the system.
# (and the default install path of X11 pkgs)
# Possible: any path
# Default: /usr/X11R7, /usr/openwin for Solaris
#MOTIFBASE?= /usr/X11R7
# Where Motif-2.0-compatible headers and libraries are installed
# on the system.
# Possible: any path
# Default: ${X11BASE} or where motif, openmotif or lesstif is installed
PKGINFODIR?= info
# The subdirectory of PREFIX that holds the GNU info files and the
# directory index file ("dir"). Using a value different from the
# default can be useful when LOCALBASE=/usr.
#
# Possible: A sane pathname.
#
# Examples:
# * share/info
#
# Note: the support for custom setting (not "info") is not complete.
#
# See also: PKGMANDIR
PKGMANDIR?= man
# The subdirectory of PREFIX that holds the manual pages and their
# subdirectories (e.g. man1, man7). Using a value different from the
# default can be useful when LOCALBASE=/usr.
#
# Possible: Any sane pathname.
#
# Examples:
# * share/man
#
# Note: the support for custom setting (not "man") is not complete.
#
# See also: PKGINFODIR
PKGGNUDIR?= gnu/
# The subdirectory of PREFIX that holds gnu programs and manual pages.
# Making this value empty can be useful when trying to build a fully
# GNU environment.
#
# Possible: Any sane pathname including a trailing slash, or empty to
# install into LOCALBASE
BSDSRCDIR?= /usr/src
# Where the NetBSD src module source tree is located
# currently only used by package support scripts for packages that
# include their source to find their upstream source
#
# Possible: any path
# Default: /usr/src
BSDXSRCDIR?= /usr/xsrc
# Where the NetBSD xsrc module source tree is located
# used in the x11/xservers package
# Possible: any path
# Default: /usr/xsrc
DISTDIR?= ${PKGSRCDIR}/distfiles
# Directory where original distribution
# files are stored.
# Possible: any path you like
# Default: ${PKGSRCDIR}/distfiles
#DIST_PATH= /cdrom/0/distfiles:${HOME}/distfiles
# Colon-delimited list of directories in which to search for
# ${DISTFILES} and ${PATCHFILES}. If the requested file is not in any
# of the directories in ${DIST_PATH}, it will be downloaded into
# ${DISTDIR}. If the requested file is in one of the directories in
# ${DIST_PATH}, a symbolic link will be made to it from ${DISTDIR}.
# ${DIST_PATH} directories will will be searched before ${DISTDIR},
# letting a CD hold the main distfiles archive, and local ${DISTDIR}
# hold any updated distfiles, for example.
# Possible: any directories
# Default: none
DEFAULT_VIEW?= ""
# This is the default view to which packages are added after installation.
# Default: "" (the empty view)
FETCH_USING?= auto
# The program type to fetch files.
# "manual" will explicitly fail if the DISTFILES don't exist locally.
# "custom" requires setting FETCH_CMD, FETCH_BEFORE_ARGS, FETCH_AFTER_ARGS,
# FETCH_RESUME_ARGS and FETCH_OUTPUT_ARGS.
#
# The default value can be overriden by a package before including
# bsd.prefs.mk and by the user in mk.conf.
# Possible: auto, curl, custom, fetch, ftp, manual, wget
#FIX_SYSTEM_HEADERS=
# Make pkgtools/posix_headers an automatic build dependency for all
# packages except those in the pkgtools category.
# Possible: "yes", not defined
# Default: not defined
LIBTOOLIZE_PLIST?= yes
# This determines whether to expand libtool archives (.la files) in PLISTs
# into the represented library names.
# Possible: yes, no
# Default: yes
PKG_RESUME_TRANSFERS?= NO
# Used in pkgsrc to resume transfers, if enabled the whole file won't be
# downloaded from scratch again.
# Possible: yes or no.
# Default: no.
SYSCONFBASE?= /etc
# This is the config directory under which system configuration files are
# expected.
# Possible: any path you like
# Default: /etc
PKG_SYSCONFBASE?= ${PREFIX}/etc
# This is the main config directory under which all package configuration
# files should be found.
# Possible: any path you like
# Default: ${PREFIX}/etc
#INIT_SYSTEM=
# This determines the type of init system to be used.
# Possible: any of: rc.d, smf
# Default: Platform-dependent, otherwise rc.d
RCD_SCRIPTS_DIR?= ${SYSCONFBASE}/rc.d
# This is the system rc.d script directory in which all rc.d scripts
# expected to be executed at boot-time should be found. Package views
# users may want to set this to "${PKG_SYSCONFBASEDIR}/rc.d".
# Possible: any path you like
# Default: ${SYSCONFBASE}/rc.d
PACKAGES?= ${PKGSRCDIR}/packages
# Stores generated packages
# Possible: any path you like
# Default: ${PKGSRCDIR}/packages
#PASSIVE_FETCH=
# Use ftp(1) in passive mode, for use behind filtering firewalls.
# (Set by default in ftp(1).)
# Possible: defined, not defined
# Default: not defined
PATCH_FUZZ_FACTOR?= -F0
# Fuzz factor to use when applying patches. Will only be applied when
# using a patch(1) that understands -F. This should be a "?="
# setting, since package Makefiles may set this value, before
# /etc/mk.conf is read.
# Possible: -Fn where n is a number, none
# Default: -F0
#ACCEPTABLE_LICENSES= fee-based-commercial-use no-commercial-use \
# no-profit limited-redistribution
# Whitespace-delimited list of the types of license which are
# acceptable for installation. Packages for which you need
# to accept a license will display a message like the following:
# ===> xv-3.10anb9 has an unacceptable license: xv-license.
# ===> To view the license, enter "/usr/bin/make show-license".
# ===> To indicate acceptance, add this line to your /etc/mk.conf:
# ===> ACCEPTABLE_LICENSES+=xv-license
#
# Default: none
#SPECIFIC_PKGS= yes
#
# When doing a bulk build, don't build all packages, only those listed
# in SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS, and
# USER_SPECIFIC_PKGS.
#
# Possible: defined, not defined
# Default: not defined
#SITE_SPECIFIC_PKGS=
# List of packages that are wanted for each host on the site. Each
# package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set
#HOST_SPECIFIC_PKGS=
# List of packages that are wanted for this particular host/machine.
# Each package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set
#GROUP_SPECIFIC_PKGS=
# List of packages that are wanted for this group of users. Each
# package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set
#USER_SPECIFIC_PKGS=
# List of packages that are wanted for this particular user. Each
# package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set
#EXTRACT_USING?= nbtar
# Use the specified tool to extract tar/ustar archives.
# Possible: bsdtar, gtar, nbtar, pax
# Default: platform specific
#FAILOVER_FETCH=
# Perform a checksum at "make fetch" time. If the checksum doesn't
# match the stored value, try to retrieve the file from the next site
# in the list
# Possible: defined, not defined
# Default: not defined
#MASTER_SORT= .ac.at .at .de .ch .se .fi .no
# Whitespace delimited list of preferred download locations.
# MASTER_SITES and PATCH_SITES will be reordered according to the hosts'
# address last components.
# Possible: list of domain name suffixes
# Default: none
#MASTER_SORT_REGEX= ftp://.*/
# Same as MASTER_SORT, but takes a regular expression for more
# flexibility in matching. Regexps defined here have higher priority
# than MASTER_SORT. This example would prefer ftp transfers over
# anything else.
# Possible: Regexps as in awk(1)
# Default: none
.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no"
MASTER_SORT_RANDOM?= NO
.else
MASTER_SORT_RANDOM?= YES
.endif
# If set to YES or yes, a list of master sites will be randomly intermixed.
# Also, both MASTER_SORT and MASTER_SORT_REGEX may be applied later.
# Possible: yes, no / not defined
# Default: NO if PKG_DEVELOPER is enabled, YES otherwise
#PATCH_DEBUG=
# Used to debug patches as they are applied
# Possible: defined, not defined
# Default: not defined
#PKG_FC=
# The Fortran compiler used to compile Fortran code contained in
# packages.
# Possible: any Fortran compiler
# Default: none
#IMAKEOPTS=
# Options passed to imake(1). The defaults ensure that imake finds the
# correct commands.
# Possible: any valid flags
# Default:
# for Solaris with gcc:
# -DHasGcc2=YES -DHasGcc2ForCplusplus=YES
# for IRIX:
# -DMakeCmd=${PREFIX}/bin/bmake -DProjectRoot=${X11BASE} \
# -DManUsr=${PREFIX}
.if ${OPSYS} == "IRIX"
#IMAKEOPTS?= -DMakeCmd=${PREFIX}/bin/bmake -DProjectRoot=${X11BASE} \
# -DManUsr=${PREFIX}
# ABI specific flags may be added during bootstrapping process or by hand:
. if defined(ABI)
. if ${ABI} == "32"
#IMAKEOPTS+= -DBuildN32
. else
#IMAKEOPTS+= -DBuild64bit
. endif
. endif
# you may also wish to add ISA specific flags, such as "-DSgiISA32=4" if
# you are compiling for mips4.
.elif ${OPSYS} == "SunOS"
# The flags required by imake with gcc on Solaris are automatically
# added if gcc is being used. Though it should not be needed, you can
# override this using:
#IMAKEOPTS+= -DHasGcc2=YES -DHasGcc2ForCplusplus=YES
.endif
PRE_ROOT_CMD?= ${TRUE}
# Command to be run by normal user, just before becoming root (see
# SU_CMD) to install the package. For example, "chmod -R o+w ${WRKDIR}"
# would allow others to write and modify files below ${WRKDIR}.
# Possible: any shell commands
# Default: none
SU_CMD?= ${ROOT_CMD}
# Command to perform before "make install", if the user does not have
# an effective uid of 0. A possible substitute is "sudo sh -c"
# Possible: su, sudo, or priv, with appropriate arguments
# Default: dependent on operating system. For NetBSD: ${SU} - root -c
SU_CMD_PATH_APPEND?=/sbin:/usr/sbin
# Additional directories (in a colon separated list) to be added to the
# PATH environment variable when running ${SU_CMD}.
# Default: /sbin:/usr/sbin
FATAL_OBJECT_FMT_SKEW?=yes
# If there is a pre-requisite package, which has a different object format
# from that currently being used, halt execution. One (rare) situation where
# it is possible for the difference to be harmless is where the pre-requisite
# package provides an executable, not a library.
# Possible: yes, no
# Default: yes
WARN_NO_OBJECT_FMT?=yes
# Packages installed on a machine before OBJECT_FMT was added to the
# BUILD_DEFS definitions (on 29th September 1999) cannot say which
# object format they are in. This will cause a warning to be displayed.
# Set this to "no" to stop the warning message being shown.
# Possible: yes, no
# Default: yes
#SMART_MESSAGES=yes
# Display the make(1) target, and the current stack of packages being built,
# when displaying messages during package builds.
# Possible: defined, not defined
# Default: not defined
#BINPKG_SITES=...
# Whitespace separated list of URLs for binary packages. Directories
# "All" etc. are expected in the named place, variables "rel" and
# "arch" are replaced with OS release ("1.5", ...) and architecture
# ("mipsel", ...)
# Possible: any ftp url, see above.
# Default: ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$${arch}/$${rel}
#BIN_INSTALL_FLAGS=
# List of flags passed to pkg_add(8) in the bin_install package.
# Possible: -v, -u, etc. See pkg_add(8)
# Default: (no option)
#LOCALPATCHES=...
# Directory where local patches are stored. See pkgsrc/doc/pkgsrc.txt.
# Possible: Any local directory
# Default: none
#
# Definitions used only in the packages collection
#
#ACROREAD_FONTPATH?= ${PREFIX}/share/fonts/X11/TTF
# Colon separated list of additional directories for acroread7 to
# look in for TTF/Type1 fonts.
# Default: ${PREFIX}/share/fonts/X11/TTF
AMANDA_USER?= amandabackup
# Used in the amanda packages to specify the login user and group
# responsible for backups.
# Possible: any user name
# Default: amandabackup
AMANDA_TMP?= /tmp/amanda
# Specifies the directory in which amanda puts its debug and temporary
# files.
# Default: /tmp/amanda
AMANDA_VAR?= ${VARBASE}/amanda
# Specifies the directory in which amanda puts its logs and status
# files.
# Default: ${VARBASE}/amanda
APACHE_USER?= www
# Used in apache24, isap, and smb2www to specify the user
# allowed to execute the `suexec' wrapper. Expected to be the user the
# httpd server normally runs as.
# Possible: any user name
# Default: www
APACHE_GROUP?= www
# Used in apache24, squirrelmail, and iasp to specify
# the default group of the user allowed to execute the `suexec' wrapper.
# Expected to be the group the httpd server normally runs as.
# Possible: any group name
# Default: www
#APACHE_SUEXEC_CONFIGURE_ARGS= --suexec-uidmin=1000
# Used in apache24 to specify additional suexec options
# to be passed to the configure script.
# Possible: any --suexec-* options recognized by the Apache configure script.
# Default: not defined
APACHE_SUEXEC_DOCROOT?= ${LOCALBASE}/share/httpd/htdocs
# Used in apache24 to specify the document space in
# which suexec will be allowed to work.
# Possible: Any valid directory
# Default: ${LOCALBASE}/share/httpd/htdocs
ARLA_CACHE?= ${LOCALBASE}/cache
# Used in arla to specify the location of the cache used by arla. Should
# be on a local disk.
# Default: ${LOCALBASE}/cache
BINCIMAP_USER?= bincimap
# The unprivileged user for Binc IMAP.
# Possible: any user name
# Default: bincimap
BINCIMAP_GROUP?= bincimap
# The group of the BINCIMAP_USER for Binc IMAP.
# Possible: any group name
# Default: bincimap
BIND_DIR?= ${VARBASE}/chroot/named
# The directory for BIND system user.
# Possible: any valid location
# Default: ${VARBASE}/chroot/named
BIND_GROUP?= named
# System group to run the BIND name server as. Used by the "bind9" package.
# Possible: any group name
# Default: named
BIND_USER?= named
# System user to run the BIND name server as. Used by the "bind9" package.
# Possible: any user name
# Default: named
CACTI_GROUP?= cacti
# System group to run the cacti collection cron jobs as. Used by the
# "cacti" package.
# Possible: any group name
# Default: cacti
CACTI_USER?= cacti
# System user to run the cacti collection cron jobs as. Used by the
# "cacti" package.
# Possible: any user name
# Default: cacti
CANNA_GROUP?= daemon
# Used in the canna-server-bin package to specify the server group.
# Possible: any group name
# Default: daemon
CANNA_USER?= daemon
# Used in the canna-server-bin package to specify the server user.
# Possible: any user name
# Default: daemon
#CDRECORD_CONF= ${PKG_SYSCONFDIR}/cdrecord.conf
# The location of the cdrtools/cdrecord configuration file. The
# sysutils/cdrtools pkg issues a warning if the cdrtools default of
# /etc/default/cdrecord is changed, and the man pages are updated
# accordingly. This is required by the cdrtools license.
# Possible: any file name
# Default: ${PKG_SYSCONFDIR}/cdrecord.conf
CLAMAV_GROUP?= clamav
# Used in clamav to specify the group to run clamav
# Possible: any group name
# Default: clamav
CLAMAV_USER?= clamav
# Used in clamav to specify the user to run clamav
# Possible: any user name
# Default: clamav
CLAMAV_DBDIR?= ${VARBASE}/clamav
# Used in clamav to specify the virus database directory
# Possible: any directory writable by ${CLAMAV_USER}
# Default: ${VARBASE}/clamav
CONSERVER_DEFAULTHOST?= localhost
# Used by conserver package to specify the master server hostname.
# Possible: any hostname
# Default: localhost
CONSERVER_DEFAULTPORT?= 782
# Used by conserver package to specify the default listen port.
# Possible: 1-65535
# Default: 782
CUPS_GROUP?= lp
# Used in cups to specify the group to run CUPS commands as.
# Possible: any group name
# Default: lp
CUPS_USER?= lp
# Used in cups to specify the user to run CUPS commands as and to create
# temporary files in the /var/spool/cups/tmp directory.
# Possible: any user name
# Default: lp
CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP}
# A space separated list of groups to use for CUPS administration privileges.
# Possible: any group names, except that of ${CUPS_GROUP}
# Default: ${REAL_ROOT_GROUP}
#CYRUS_IDLE?=
# use METHOD for IMAP IDLE
# Possible: poll, idled, no
# Default: not defined
CYRUS_GROUP?= mail
# Used in cyrus-imapd, cyrus-imapd21, and cyrus-sasl to
# specify the group used for installing setuid programs.
# Possible: any group name
# Default: mail
CYRUS_USER?= cyrus
# Used in cyrus-imapd, cyrus-imapd21, and cyrus-sasl to
# specify the userid used for installing setuid programs.
# Possible: any user name
# Default: cyrus
DAEMONTOOLS_LOG_USER?= multilog
# System user for daemontools logger.
# Possible: any user name
# Default: multilog
DAEMONTOOLS_GROUP?= svscan
# System group for daemontools-related programs.
# Possible: any group name
# Default: svscan
DBUS_GROUP?= dbus
# Used in the dbus package to specify the group to run dbus as
# Possible: any group name
# Default: dbus
DBUS_USER?= dbus
# Used in the dbus package to specify the user to run dbus as
# Possible: any user name
# Default: dbus
DEFANG_GROUP?= defang
# Used in the mimedefang package to specify the group to run commands as
# Possible: any group name
# Default: defang
DEFANG_USER?= defang
# Used in the mimedefang package to specify the user to run commands as
# Possible: any user name
# Default: defang
DEFANG_SPOOLDIR?= ${VARBASE}/spool/MIMEDefang
# Location of spool and quarantined files for the mimedefang package
# Default: ${VARBASE}/spool/MIMEDefang
#DEFAULT_IRC_SERVER=
# Used in ircII to set the default irc server.
# Possible: see the list at
# http://www.irchelp.org/irchelp/networks/servers/efnet.html
# Default: not defined
#DEFAULT_SERIAL_DEVICE=
# Used to provide a default setting for the serial device for
# various packages which communicate over the serial port.
# Possible: /dev/your_favorite_serial_device
# Default: defaults for various machine_archs are set in mk/platform/${OPSYS}.mk
DIALER_GROUP?= dialer
# Used in the xisp package to specify the default group for the
# xisp binaries. Also the modem device and pppd and chat should
# have access permissions by this group.
# Possible: dialer, dip, uucp, root, dialout, or any other group.
# Default: dialer
DJBDNS_AXFR_USER?= axfrdns
DJBDNS_CACHE_USER?= dnscache
DJBDNS_LOG_USER?= dnslog
DJBDNS_RBL_USER?= rbldns
DJBDNS_TINY_USER?= tinydns
# System users for djbdns-related programs.
# Possible: any user names
# Default: axfrdns, dnscache, dnslog, rbldns, tinydns
DJBDNS_DJBDNS_GROUP?= djbdns
# System group for djbdns-related programs.
# Possible: any group name
# Default: djbdns
DJBDNS_IP_SEPARATOR?= ,
# Used with djbdns-listenmultiple option to listen on more than one IP
DT_LAYOUT?= US
# Used by dt package to specify the keyboard layout.
# Possible: US, FI, FR, GER, DV
# Default: US
ELK_GUI?= none
# Used by elk to determine which GUI API modules are enabled.
# Possible: none, or some combination of xaw and/or motif
# Default: none
EMACS_TYPE?= emacs26
# Used by emacs/modules.mk to determine which emacs version should be installed
# and emacs lisp packages should be built for.
# Possible: emacs26, emacs26nox, emacs25, emacs25nox, emacs21, emacs21nox, emacs20,
# xemacs214, xemacs215
# Default: emacs26
EXIM_GROUP?= mail
# Used in the exim package to specify the server group.
# Possible: any group name
# Default: mail
EXIM_USER?= mail
# Used in the exim package to specify the server user.
# Possible: any user name
# Default: mail
#FLUXBOX_USE_XINERAMA?= NO
# Compile flukebox with xinerama extensions
# Possible: YES, NO
# Default: NO
#FLUXBOX_USE_KDE?= NO
# Compile flukebox with KDE support
# Possible: YES, NO
# Default: NO
#FLUXBOX_USE_GNOME?= NO
# Compile flukebox with GNOME support
# Possible: YES, NO
# Default: NO
#FLUXBOX_USE_XFT?= YES
# Compile flukebox with Xft support
# Possible: YES, NO
# Default: YES