Introduction
Poudriere is a BSD-licensed utility for creating and testing FreeBSD packages.
Ansible role: vbotka.freebsd_poudriere
Supported systems: FreeBSD
Required collections:
See also
FreeBSD Handbook 4.6. Building Packages with Poudriere
FreeBSD Porter’s Handbook 10.7. Poudriere
FreeBSD Wiki Poudriere - Getting Started
DO Tutorial How To Set Up a Poudriere Build System to Create Packages for your FreeBSD Servers
Collection vbotka.freebsd
This role role is included in the collection vbotka.freebsd. See the examples:
Package lists
The utility poudriere provides the option -f to “Build ports listed in the file”. Ports must
be specified in the form of category/port. The utility pkg uses the mnemonics pkg-origin for
this form. In this role, we use lists of category/port, or pkg-origin. For example, the below
variable (list of dictionaries comprises the lists of pkg-origin)
pkg_dict_amd64:
- pkglist: minimal
packages:
- archivers/gtar
- devel/git@default
- ftp/wget
- net/rsync
- ports-mgmt/pkg
- ports-mgmt/portmaster
- ports-mgmt/portupgrade
- security/sudo
- shells/bash
- pkglist: ansible
packages:
- sysutils/ansible
- sysutils/py-ansible-lint
- sysutils/py-ansible-runner
will result in the files
/usr/local/etc/poudriere.d/pkglist/
├── amd64
│ ├── All
│ ├── ansible
│ └── minimal
└── amd64.enabled
├── All
├── ansible -> /usr/local/etc/poudriere.d/pkglist/amd64/ansible
└── minimal -> /usr/local/etc/poudriere.d/pkglist/amd64/minimal
The term package lists is used both for the variables and the resulting files in this role.