Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2020 21:43:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 246130] ports-mgmt/pkg: variables not expanded (except ABI)
Message-ID:  <bug-246130-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246130

            Bug ID: 246130
           Summary: ports-mgmt/pkg: variables not expanded (except ABI)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: sdalu@sdalu.com
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

According to pkg.conf manual, the following variables are expanded during t=
he
parsing of pkg.conf: ABI, OSNAME, RELEASE, VERSION_MAJOR, VERSION_MINOR, AR=
CH

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

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

$ pkg --version
1.14.2

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246130-32340>