poudriere expert advise needed

Graham Perrin grahamperrin at gmail.com
Fri Aug 6 05:21:09 UTC 2021


On 05/08/2021 12:55, tech-lists wrote:

> Hello,
>
> On Tue, Aug 03, 2021 at 12:23:07PM -0500, Valeri Galtsev wrote:
>> I'm sure there are poudriere experts on the list. I need your advise.
>
> I'm not an expert but I use poudriere (poudriere-devel-3.3.99.20210720)


The same here.


>
>>>
> There's been a few changes in ports and methods updating so I went from
> poudriere to poudriere-devel. Backed up the poudriere.conf, installed
> new poudriere as poudriere-devel, compared old conf to new conf 


Hint: use the installed sample, for example

diff /usr/local/etc/poudriere.conf.sample /usr/local/etc/poudriere.conf


> and updated appropiately.
>
> I created/updated portstree like this:
>
> poudriere ports -c -m git+https
>
> (makes default ports tree)


You can, more simply:

poudriere ports -c

(I did so a few days ago.)


> This is updated with:
>
> poudriere ports -u
>
> [snip]
>
>> If I delete port tree, and check out port tree "old way":
>>
>> poudriere ports -d
>> poudriere ports -c
>>
>> and then build my packages  (that build as dependency pkg.pkg package)
>>
>> all works as it did in the past, only the port tree is outdated (as svn
>> I figure is indeed abandoned).
>
> I think you're missing some elements defined in newer poudriere.conf,
> namely (but not exclusively) these:
>
> GIT_BASEURL=git.freebsd.org/src.git
> GIT_PORTSURL=git.freebsd.org/ports.git
>
> I think it's only poudriere-devel that can use these.
> Hope this helps,


Usable but not required. Here:

root at mowa219-gjp4-zbook-freebsd:~ # grep -e GIT_BASEURL -e GIT_PORTSURL 
/usr/local/etc/poudriere.conf
root at mowa219-gjp4-zbook-freebsd:~ #


In context (the sample file):


root at mowa219-gjp4-zbook-freebsd:~ # grep GIT_BASEURL -B 5 -A 1 
/usr/local/etc/poudriere.conf.sample

# If set the ports tree marked to use git will use the defined
# mirror (default: git.FreeBSD.org/port.git)
#
# Example to use github mirror:
#GIT_BASEURL=https://github.com/freebsd/freebsd-src.git

root at mowa219-gjp4-zbook-freebsd:~ # grep GIT_PORTSURL -B 5 -A 1 
/usr/local/etc/poudriere.conf.sample

# If set the source tree marked to use git will use the defined
# mirror (default: git.FreeBSD.org/src.git)
#
# Example to use github mirror:
#GIT_PORTSURL=https://github.com/freebsd/freebsd-ports.git

root at mowa219-gjp4-zbook-freebsd:~ #



More information about the freebsd-questions mailing list