The
file contains settings that will apply to every build involving the
Fx source tree; see
build(7).
The
file uses the standard makefile syntax.
However,
should not specify any dependencies to
make(1).
Instead,
is to set
make(1)
variables that control the aspects of how the system builds.
The default location of
is
/etc/src.conf
though an alternative location can be specified in the
make(1)
variable
SRCCONF
Overriding the location of
may be necessary if the system-wide settings are not suitable
for a particular build.
For instance, setting
SRCCONF
to
/dev/null
effectively resets all build controls to their defaults.
The only purpose of
is to control the compilation of the
Fx source code, which is usually located in
/usr/src
As a rule, the system administrator creates
when the values of certain control variables need to be changed
from their defaults.
In addition, control variables can be specified
for a particular build via the
-D
option of
make(1)
or in environment; see
environ(7).
The values of variables are ignored regardless of their setting;
even if they would be set to
``FALSE
''
or
``NO
''
Just the existence of an option will cause
it to be honoured by
make(1).
The following list provides a name and short description for variables
that can be used for source builds.
Setting this variable will prevent any part of BIND from being built.
When set, it also enforces the following options:
WITHOUT_BIND_DNSSEC
WITHOUT_BIND_ETC
WITHOUT_BIND_LIBS_LWRES
WITHOUT_BIND_MTREE
WITHOUT_BIND_NAMED
WITHOUT_BIND_UTILS
WITHOUT_BIND_DNSSEC
Set to avoid building or installing the DNSSEC related binaries,
dnssec-keygen8
and
dnssec-signzone8.
WITHOUT_BIND_ETC
Set to avoid installing the default files to
/var/named/etc/namedb
WITH_BIND_LIBS
Set to install BIND libraries and include files.
WITHOUT_BIND_LIBS_LWRES
Set to avoid installing the lightweight resolver library in
/usr/lib
WITHOUT_BIND_MTREE
Set to avoid running
mtree(8)
to create the chroot directory structure under
/var/named
and avoid creating an
/etc/namedb
symlink to the chroot directory.
When set, it also enforces the following options:
WITHOUT_BIND_ETC
WITHOUT_BIND_NAMED
Set to avoid building or installing
named(8),
named.reload8,
named-checkconf8,
named-checkzone8,
rndc(8),
and
rndc-confgen8.
WITHOUT_BIND_UTILS
Set to avoid building or installing the BIND userland utilities,
dig(1),
host(1),
nslookup(1),
and
nsupdate(8).
WITHOUT_BLUETOOTH
Set to not build Bluetooth related kernel modules, programs and libraries.
WITHOUT_BOOT
Set to not build the boot blocks and loader.
WITHOUT_BZIP2
Set to not build contributed bzip2 software as a part of the base system.
Bf -symbolic
The option has no effect yet.
Ef When set, it also enforces the following options:
WITHOUT_BZIP2_SUPPORT
WITHOUT_BZIP2_SUPPORT
Set to build some programs without optional bzip2 support.
Set to not build contributed GNU software as a part of the base system.
This option can be useful if the system built must not contain any code
covered by the GNU Public License due to legal reasons.
Bf -symbolic
The option has no effect yet.
Ef When set, it also enforces the following options:
WITHOUT_GNU_SUPPORT
WITHOUT_GNU_SUPPORT
Set to build some programs without optional GNU support.
Set to build the IDEA encryption code.
This code is patented in the USA and many European countries.
It is
YOUR RESPONSIBILITY
to determine if you can legally use IDEA.
WITHOUT_INET6
Set to not build
programs and libraries related to IPv6 networking.
When set, it also enforces the following options:
WITHOUT_INET6_SUPPORT
WITHOUT_INET6_SUPPORT
Set to build libraries, programs, and kernel modules without IPv6 support.
Set this if you do not want to install optional libraries.
For example when creating a
nanobsd(8)
image.
WITHOUT_IPFILTER
Set to not build IP Filter package.
WITHOUT_IPX
Set to not build programs and libraries related to IPX networking.
When set, it also enforces the following options:
WITHOUT_IPX_SUPPORT
WITHOUT_NCP
WITHOUT_IPX_SUPPORT
Set to build some programs without IPX support.
WITHOUT_KERBEROS
Set this if you do not want to build Kerberos 5 (KTH Heimdal).
When set, it also enforces the following options:
WITHOUT_GSSAPI
(can be overridden with
WITH_GSSAPI
WITHOUT_KERBEROS_SUPPORT
WITHOUT_KERBEROS_SUPPORT
Set to build some programs without Kerberos support, like
cvs(1),
ssh(1),
telnet(1),
sshd(8),
and
telnetd(8).
WITHOUT_KVM
Set to not build the
libkvm
library as a part of the base system.
Bf -symbolic
The option has no effect yet.
Ef When set, it also enforces the following options:
WITHOUT_KVM_SUPPORT
WITHOUT_KVM_SUPPORT
Set to build some programs without optional
libkvm
support.
WITHOUT_LIB32
On amd64, set to not build 32-bit library set and a
ld-elf32.so.1
runtime linker.
WITHOUT_LIBKSE
Set to not build the
libkse
(M:N threading)
library.
WITHOUT_LIBPTHREAD
Set to not build either of the
libpthread
providing libraries
( libthr
(1:1) &
libkse
(M:N)).
When set, it also enforces the following options:
WITHOUT_BIND
WITHOUT_BIND_DNSSEC
WITHOUT_BIND_ETC
WITHOUT_BIND_LIBS_LWRES
WITHOUT_BIND_MTREE
WITHOUT_BIND_NAMED
WITHOUT_BIND_UTILS
WITHOUT_LIBKSE
WITHOUT_LIBTHR
WITHOUT_LIBTHR
Set to not build the
libthr
(1:1 threading)
library.
WITHOUT_LOCALES
Set to not build localization files; see
locale(1).
Set to disable name caching in the
nsswitch
subsystem.
The generic caching daemon,
nscd(8),
will not be built either if this option is set.
WITHOUT_OBJC
Set to not build Objective C support.
WITHOUT_OPENSSH
Set to not build OpenSSH.
WITHOUT_OPENSSL
Set to not build OpenSSL.
When set, it also enforces the following options:
WITHOUT_GSSAPI
(can be overridden with
WITH_GSSAPI
WITHOUT_KERBEROS
WITHOUT_KERBEROS_SUPPORT
WITHOUT_OPENSSH
WITHOUT_PAM
Set to not build PAM library and modules.
Bf -symbolic
This option is deprecated and does nothing.
Ef When set, it also enforces the following options:
WITHOUT_PAM_SUPPORT
WITHOUT_PAM_SUPPORT
Set to build some programs without PAM support, particularly
ftpd(8)
and
ppp(8).
WITHOUT_PF
Set to not build PF firewall package.
When set, it also enforces the following options:
WITHOUT_AUTHPF
WITHOUT_PROFILE
Set to avoid compiling profiled libraries.
WITHOUT_RCMDS
Disable building of the
BSD r-commands.
This includes
rlogin(1),
rsh(1),
etc.
Set to not build
sendmail(8)
and related programs.
WITHOUT_SETUID_LOGIN
Set this to disable the installation of
login(1)
as a set-user-ID root program.
WITHOUT_SHAREDOCS
Set to not build the
BSD 4.4
legacy docs.
WITHOUT_SSP
Set to not build propolice stack smashing protection library.
WITHOUT_SYMVER
Set to disable symbol versioning when building shared libraries.
WITHOUT_SYSCONS
Set to not build
syscons(4)
support files such as keyboard maps, fonts, and screen output maps.
WITHOUT_TCSH
Set to not build and install
/bin/csh
(which is
tcsh(1)).
WITHOUT_TOOLCHAIN
Set to not install
programs used for program development,
compilers, debuggers etc.
Bf -symbolic
The option does not work for build targets.
Ef When set, it also enforces the following options:
WITHOUT_GDB
WITHOUT_USB
Set to not build USB-related programs and libraries.
WITHOUT_WPA_SUPPLICANT_EAPOL
Build
wpa_supplicant8
without support for the IEEE 802.1X protocol and without
support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
protocols (usable only via 802.1X).