Bug 246130 - ports-mgmt/pkg: variables not expanded (except ABI)
Summary: ports-mgmt/pkg: variables not expanded (except ABI)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
Depends on:
Reported: 2020-05-02 21:43 UTC by sdalu
Modified: 2020-05-02 21:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (pkg)


Note You need to log in before you can comment on or make changes to this bug.
Description sdalu 2020-05-02 21:43:02 UTC
According to pkg.conf manual, the following variables are expanded during the parsing of pkg.conf: ABI, OSNAME, RELEASE, VERSION_MAJOR, VERSION_MINOR, ARCH

Using a variable other than ABI, the expansion is not performed.

poudriere: {
    url: https://xxxx/poudriere/packages/$RELEASE/

$ pkg --version

$ pkg update
pkg: https://xxxx/poudriere/packages/$RELEASE//packagesite.txz: Not Found