2012-03-18 17:53:48 +01:00
|
|
|
# Entropy Matter, Automated Entropy Packages Build Service, example spec file
|
|
|
|
|
|
|
|
# List of packages required to be built.
|
|
|
|
# Comma separated, example: app-foo/bar, bar-baz/foo
|
|
|
|
# Mandatory, cannot be empty
|
|
|
|
packages:
|
2012-12-09 17:44:31 +01:00
|
|
|
net-firewall/iptables
|
2012-03-18 17:53:48 +01:00
|
|
|
|
|
|
|
# Entropy repository where to commit packages
|
|
|
|
# Mandatory, cannot be empty
|
2012-12-09 17:44:31 +01:00
|
|
|
repository: sablink.nas-central.org
|
2012-03-18 17:53:48 +01:00
|
|
|
|
|
|
|
# Allow Source Package Manager (Portage) repository change?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
2012-12-10 10:00:08 +01:00
|
|
|
spm-repository-change: yes
|
2012-03-18 17:53:48 +01:00
|
|
|
|
|
|
|
# Allow compiling package even if it's not actually installed on system?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
2012-12-10 10:00:08 +01:00
|
|
|
not-installed: yes
|
2012-03-18 17:53:48 +01:00
|
|
|
|
|
|
|
# Allow dependencies to be pulled in?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
|
|
|
dependencies: yes
|
|
|
|
|
|
|
|
# Allow package downgrade?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
2012-12-10 10:00:08 +01:00
|
|
|
downgrade: yes
|
2012-03-18 17:53:48 +01:00
|
|
|
|
|
|
|
# Allow package rebuild?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
|
|
|
rebuild: no
|
|
|
|
|
|
|
|
# Make possible to continue if one or more packages fail to build?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
|
|
|
keep-going: yes
|
|
|
|
|
|
|
|
# Allow new USE flags?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
|
|
|
new-useflags: yes
|
|
|
|
|
|
|
|
# Allow removed USE flags?
|
|
|
|
# Valid values are either "yes" or "no"
|
|
|
|
# Default is: no
|
|
|
|
removed-useflags: yes
|
|
|
|
|
|
|
|
# Package pre execution script hook
|
|
|
|
# Valid value is path to executable file
|
|
|
|
# Env vars:
|
|
|
|
# BUILDER_PACKAGE_NAME = name of the package that would be built
|
|
|
|
# pkgpre: /home/fabio/repos/entropy/services/matter_examples/pkgpre.sh
|
|
|
|
|
|
|
|
# Package build post execution script hook, executed for each package
|
|
|
|
# Valid value is path to executable file
|
|
|
|
# Env vars:
|
|
|
|
# BUILDER_PACKAGE_NAME = name of the package that would be built
|
|
|
|
# pkgpost: /home/fabio/repos/entropy/services/matter_examples/pkgpost.sh
|
|
|
|
|
|
|
|
# Env vars:
|
|
|
|
# MATTER_PACKAGE_NAME = name of the package that would be built. It does
|
|
|
|
# not reflect the name of the failing package, because it could be just a
|
|
|
|
# dependency of it.
|
|
|
|
# MATTER_PORTAGE_FAILED_PACKAGE_NAME = exact name (atom, CPV) of the failing
|
|
|
|
# package, the one that triggered the buildfail hook.
|
|
|
|
# MATTER_PORTAGE_REPOSITORY = Portage repository from where the package
|
|
|
|
# comes from
|
|
|
|
# MATTER_PORTAGE_BUILD_LOG_DIR = directory containing all the build logs of
|
|
|
|
# the failed package
|
|
|
|
buildfail: /particles/hooks/buildfail.sh
|
|
|
|
|
|
|
|
# For more info regarding exported environment variables, please see:
|
|
|
|
# matter --help
|