2014-03-22 11:31:42 +00:00
|
|
|
# --*-- shell --*--
|
|
|
|
#
|
|
|
|
# etc/defaults.conf
|
|
|
|
# default configuration of etc/conf
|
|
|
|
#
|
|
|
|
# DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING UPDATES,
|
|
|
|
# EDIT etc/conf INSTEAD.
|
|
|
|
#
|
|
|
|
# To disable an option comment it out, don't set it to another value i.e:
|
|
|
|
# FOO=no -> wrong
|
|
|
|
# #FOO=yes -> correct
|
|
|
|
#
|
|
|
|
# Please also use ${FOO} style for shell variables because some parsers
|
|
|
|
# rely on this to work properly.
|
|
|
|
#
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
xbps-src: base-chroot-v2 (reduce artifacts/deps)
This patchset contains multiple changes to xbps-src and
its required package "base-chroot" for building packages
via chroot.
- moved xbps.d(5) conf files to `etc/xbps.d`.
- renamed xbps.d(5) repository files to `etc/xbps.d/repos-{local,remote}*`.
- do not set `--repository` to any xbps command that supports it,
xbps-src now simply populates `rootdir/etc/xbps.d` with correct
settings (taking care of CHROOT_READY/IN_CHROOT).
- Unless `-C` is set (to preserve builddir/destdir/autodeps), when
entering to the chroot (if CHROOT_READY is set), xbps-src will
clean up the masterdir and then perform a system update to always
use a constant set of packages for that exact date.
- Improved some normal/error msgs.
- Includes support for `xbps>=0.58`.
- common/hooks: switch to bsdtar.
- base-chroot:
- base-chroot-musl is gone, now unified for glibc/musl.
- deps removed: gettext, mpfr, readline, texinfo, which, xz.
- deps changed: tar -> bsdtar.
Effectively this reduces dependencies in `base-chroot`, makes
it unified for musl and glibc, switches xbps-src to use `bsdtar`
rather than GNU `tar` and `xz`, gets rid of useless host dependencies
like GNU gettext, texinfo, etc.
I've been testing these changes for 1 month or so already,
I was able to build from scratch `base-system` for both native
and multiple targets, i.e `./xbps-src -a target -Nt pkg base-system`
2020-01-01 10:15:35 +00:00
|
|
|
# Enable optional arguments to xbps-install(1) for the host system.
|
|
|
|
# Currently used in the 'binary-bootstrap' and 'bootstrap-update' targets.
|
|
|
|
#
|
|
|
|
# NOTE: local repositories are handled automatically by xbps-src,
|
|
|
|
# but you can modify the default remote repositories at
|
|
|
|
# 'etc/xbps.d/repos-remote*.conf'
|
|
|
|
#
|
|
|
|
#XBPS_INSTALL_ARGS=""
|
2014-03-22 11:31:42 +00:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2021-01-03 12:59:48 +00:00
|
|
|
# Native Compilation/Preprocessor flags for C/C++/Fortran. Additional settings
|
2015-03-04 14:20:57 +00:00
|
|
|
# for the target architecture are also declared in common/build-profiles/<arch>.sh.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
2015-11-17 16:13:12 +00:00
|
|
|
XBPS_CFLAGS="-O2 -pipe"
|
2015-03-04 14:17:05 +00:00
|
|
|
XBPS_CXXFLAGS="${XBPS_CFLAGS}"
|
2021-01-03 12:59:48 +00:00
|
|
|
XBPS_FFLAGS="${XBPS_CFLAGS}"
|
2014-03-22 11:31:42 +00:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2015-11-17 16:13:12 +00:00
|
|
|
# Linker flags passed to the compiler.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
2015-11-17 16:13:12 +00:00
|
|
|
#XBPS_LDFLAGS=""
|
2014-03-22 11:31:42 +00:00
|
|
|
|
2014-04-09 14:42:07 +00:00
|
|
|
# [REQUIRED]
|
|
|
|
# Command to execute to gain root privileges when using the `update-sys`
|
|
|
|
# target to update your system.
|
|
|
|
#
|
|
|
|
XBPS_SUCMD="sudo /bin/sh -c"
|
|
|
|
|
2014-03-22 11:31:42 +00:00
|
|
|
# [OPTIONAL]
|
2014-10-26 09:22:30 +00:00
|
|
|
# Enable or disable ccache when building packages. The ccache directory
|
2018-03-09 11:42:48 +00:00
|
|
|
# is stored in the hostdir, i.e hostdir/ccache. For go builds this enables
|
|
|
|
# caching in hostdir/gocache.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
|
|
|
#XBPS_CCACHE=yes
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
2014-10-26 09:22:30 +00:00
|
|
|
# Enable or disable distcc when building packages. The distcc directory
|
|
|
|
# is stored in the hostdir, i.e hostdir/distcc.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
|
|
|
#XBPS_DISTCC=yes
|
|
|
|
#XBPS_DISTCC_HOSTS=""
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Number of parallel jobs to execute when building packages that
|
|
|
|
# use make(1) or alike commands.
|
|
|
|
#
|
|
|
|
#XBPS_MAKEJOBS=4
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable recording git revisions in final binary packages; enable this
|
|
|
|
# if you are sure the package you are building is available in the
|
xbps-src: base-chroot-v2 (reduce artifacts/deps)
This patchset contains multiple changes to xbps-src and
its required package "base-chroot" for building packages
via chroot.
- moved xbps.d(5) conf files to `etc/xbps.d`.
- renamed xbps.d(5) repository files to `etc/xbps.d/repos-{local,remote}*`.
- do not set `--repository` to any xbps command that supports it,
xbps-src now simply populates `rootdir/etc/xbps.d` with correct
settings (taking care of CHROOT_READY/IN_CHROOT).
- Unless `-C` is set (to preserve builddir/destdir/autodeps), when
entering to the chroot (if CHROOT_READY is set), xbps-src will
clean up the masterdir and then perform a system update to always
use a constant set of packages for that exact date.
- Improved some normal/error msgs.
- Includes support for `xbps>=0.58`.
- common/hooks: switch to bsdtar.
- base-chroot:
- base-chroot-musl is gone, now unified for glibc/musl.
- deps removed: gettext, mpfr, readline, texinfo, which, xz.
- deps changed: tar -> bsdtar.
Effectively this reduces dependencies in `base-chroot`, makes
it unified for musl and glibc, switches xbps-src to use `bsdtar`
rather than GNU `tar` and `xz`, gets rid of useless host dependencies
like GNU gettext, texinfo, etc.
I've been testing these changes for 1 month or so already,
I was able to build from scratch `base-system` for both native
and multiple targets, i.e `./xbps-src -a target -Nt pkg base-system`
2020-01-01 10:15:35 +00:00
|
|
|
# void-packages git repository.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
|
|
|
#XBPS_USE_GIT_REVS=yes
|
|
|
|
|
2017-02-23 21:03:31 +00:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable running the (optional) do_check() function of a package.
|
2020-12-07 23:15:42 +00:00
|
|
|
# When set to 'full', will enable further testing for some packages.
|
2017-02-23 21:03:31 +00:00
|
|
|
#
|
|
|
|
#XBPS_CHECK_PKGS=yes
|
2020-12-07 23:15:42 +00:00
|
|
|
#XBPS_CHECK_PKGS=full
|
2017-02-23 21:03:31 +00:00
|
|
|
|
2014-03-22 11:31:42 +00:00
|
|
|
# [OPTIONAL]
|
2014-05-16 06:20:08 +00:00
|
|
|
# Enable building -dbg subpackages with debugging symbols. Please note
|
2014-03-22 11:31:42 +00:00
|
|
|
# that building with debugging symbols make take a long while in some
|
|
|
|
# packages even on computers with a fast CPU; as well as needs lots of
|
2019-02-26 22:35:20 +00:00
|
|
|
# RAM to properly build some packages.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
|
|
|
#XBPS_DEBUG_PKGS=yes
|
2014-06-30 09:32:07 +00:00
|
|
|
|
2015-09-03 10:42:35 +00:00
|
|
|
# [OPTIONAL]
|
2020-03-03 09:36:35 +00:00
|
|
|
# Set the package compression format. See xbps-create(1) for available formats.
|
2015-09-03 10:42:35 +00:00
|
|
|
#
|
2020-03-03 09:36:35 +00:00
|
|
|
#XBPS_PKG_COMPTYPE=type
|
2015-09-03 10:42:35 +00:00
|
|
|
|
2019-06-25 08:52:37 +00:00
|
|
|
# [OPTIONAL]
|
2020-03-03 09:36:35 +00:00
|
|
|
# Set the repository compression format. See xbps-rindex(1) for available formats.
|
2019-06-25 08:52:37 +00:00
|
|
|
#
|
2020-03-03 09:36:35 +00:00
|
|
|
#XBPS_REPO_COMPTYPE=type
|
2019-06-25 08:52:37 +00:00
|
|
|
|
2014-06-30 09:32:07 +00:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable or disable global package build options, these options apply
|
2014-06-30 09:49:03 +00:00
|
|
|
# to all packages that support the matching options.
|
2014-06-30 09:32:07 +00:00
|
|
|
#
|
|
|
|
# To enable an option just define its option name; to disable an option
|
|
|
|
# prefix it with ~. Options must be delimited by commas, i.e 'opt,~opt2,opt3,~opt4'
|
|
|
|
#
|
|
|
|
#XBPS_PKG_OPTIONS=opt,~opt2,opt3,~opt4
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable or disable package build options. Note that per package build options
|
|
|
|
# override the global options defined above for the matching package.
|
|
|
|
#
|
|
|
|
#XBPS_PKG_OPTIONS_foo=opt,~opt2,opt3,~opt4
|
2015-04-09 16:57:41 +00:00
|
|
|
|
2015-07-26 08:22:35 +00:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable building package locally that are restricted legally for redistribution.
|
|
|
|
# NOTE: you can't distribute the sources or binaries for such kind of packages.
|
|
|
|
#
|
|
|
|
#XBPS_ALLOW_RESTRICTED=yes
|
|
|
|
|
2015-04-09 16:57:41 +00:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Set the preferred chroot style. Available styles at common/chroot-style/*.sh:
|
|
|
|
#
|
xbps-src: base-chroot-v2 (reduce artifacts/deps)
This patchset contains multiple changes to xbps-src and
its required package "base-chroot" for building packages
via chroot.
- moved xbps.d(5) conf files to `etc/xbps.d`.
- renamed xbps.d(5) repository files to `etc/xbps.d/repos-{local,remote}*`.
- do not set `--repository` to any xbps command that supports it,
xbps-src now simply populates `rootdir/etc/xbps.d` with correct
settings (taking care of CHROOT_READY/IN_CHROOT).
- Unless `-C` is set (to preserve builddir/destdir/autodeps), when
entering to the chroot (if CHROOT_READY is set), xbps-src will
clean up the masterdir and then perform a system update to always
use a constant set of packages for that exact date.
- Improved some normal/error msgs.
- Includes support for `xbps>=0.58`.
- common/hooks: switch to bsdtar.
- base-chroot:
- base-chroot-musl is gone, now unified for glibc/musl.
- deps removed: gettext, mpfr, readline, texinfo, which, xz.
- deps changed: tar -> bsdtar.
Effectively this reduces dependencies in `base-chroot`, makes
it unified for musl and glibc, switches xbps-src to use `bsdtar`
rather than GNU `tar` and `xz`, gets rid of useless host dependencies
like GNU gettext, texinfo, etc.
I've been testing these changes for 1 month or so already,
I was able to build from scratch `base-system` for both native
and multiple targets, i.e `./xbps-src -a target -Nt pkg base-system`
2020-01-01 10:15:35 +00:00
|
|
|
# - uunshare (uses xbps-uunshare(1), user namespaces)
|
|
|
|
# - uchroot (uses xbps-uchroot(1), namespaces, setgid)
|
2019-02-26 20:26:41 +00:00
|
|
|
# - bwrap (uses bwrap, external, does not need special permissions)
|
2019-02-26 20:23:11 +00:00
|
|
|
# - ethereal (uses root, needs no permissions, for disposable containers)
|
2015-04-09 16:57:41 +00:00
|
|
|
#
|
|
|
|
# The order is already set as shown above, but can be overriden below.
|
|
|
|
# Additional arguments to the chroot style can be passed in via XBPS_CHROOT_CMD_ARGS.
|
|
|
|
#
|
2020-11-07 21:50:11 +00:00
|
|
|
#XBPS_CHROOT_CMD=uchroot
|
2015-04-09 16:57:41 +00:00
|
|
|
#XBPS_CHROOT_CMD_ARGS=""
|
2016-02-19 12:45:49 +00:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2016-02-23 07:05:43 +00:00
|
|
|
# Enable to use the standard mtime of files. Otherwise it will be rewritten to
|
2021-02-22 20:24:47 +00:00
|
|
|
# the HEAD commit time. Requires git when disabled.
|
2016-02-19 12:45:49 +00:00
|
|
|
#
|
2016-02-23 07:05:43 +00:00
|
|
|
#XBPS_USE_BUILD_MTIME=yes
|
2019-02-26 20:23:11 +00:00
|
|
|
|
2021-04-19 22:05:49 +00:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable continuous integration specific mode of operation. Currently this
|
|
|
|
# disables do_check for some packages.
|
|
|
|
#
|
|
|
|
#XBPS_BUILD_ENVIRONMENT=void-packages-ci
|
|
|
|
|
2019-02-26 20:23:11 +00:00
|
|
|
# [OPTIONAL]
|
|
|
|
# When using the 'ethereal' chroot-style this switch must be activated, it is
|
|
|
|
# meant as safeguard against users casually destroying their systems
|
|
|
|
#
|
|
|
|
#XBPS_ALLOW_CHROOT_BREAKOUT=yes
|