Introduction

Poudriere is a BSD-licensed utility for creating and testing FreeBSD packages.

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

shell> tree /usr/local/etc/poudriere.d/pkglist/
/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.