Re: pkg_add version scripting ?

2020-11-01 Thread Laura Smith
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Sunday, 1 November 2020 12:53, Marc Espie wrote: > On Sun, Nov 01, 2020 at 12:23:44PM +, Laura Smith wrote: > > > Hi > > As far as I can tell from the docs, only pkg_info supports spec style ? > > I am trying to

pkg_add version scripting ?

2020-11-01 Thread Laura Smith
Hi As far as I can tell from the docs, only pkg_info supports spec style ? I am trying to script an OpenBSD setup and as part of that certain packages need to be installed. For most packages that is not a problem, however, for example, with gnupg, there are two versions in the 6.8 repo :

Re: pkg_add version scripting ?

2020-11-01 Thread Stuart Henderson
On 2020-11-01, Laura Smith wrote: > > > > Sent with ProtonMail Secure Email. > > ‐‐‐ Original Message ‐‐‐ > On Sunday, 1 November 2020 12:53, Marc Espie wrote: > >> On Sun, Nov 01, 2020 at 12:23:44PM +, Laura Smith wrote: >> >> > Hi >> > As far as I can tell from the docs, only

Re: pkg_add version scripting ?

2020-11-01 Thread Marc Espie
On Sun, Nov 01, 2020 at 12:59:22PM +, Laura Smith wrote: > > > I did actually try "pkg_add gnupg%2" but pkg_add didn't like that. Will go > try "pkg_add gnupg%gnupg2" instead The branches are directly picked from the pkgpath in the ports tree. It's the one case where they have an

Re: pkg_add version scripting ?

2020-11-01 Thread Marc Espie
On Sun, Nov 01, 2020 at 12:23:44PM +, Laura Smith wrote: > Hi > > As far as I can tell from the docs, only pkg_info supports spec style ? > > I am trying to script an OpenBSD setup and as part of that certain packages > need to be installed. For most packages that is not a problem, however,