Re: How to update local pkgbase reository same as official one

From: Lexi Winter <ivy_at_freebsd.org>
Date: Thu, 30 Oct 2025 22:18:32 UTC
Yasuhiro Kimura wrote in <20251031.070238.646102018337941135.yasu@FreeBSD.org>:
> From: Lexi Winter <ivy@freebsd.org>
> Subject: Re: How to update local pkgbase reository same as official one
> Date: Thu, 30 Oct 2025 19:14:13 +0000
> 
> > if you find more packages are being updated than you expected, perhaps
> > check to ensure you have WITH_REPRODUCIBLE_BUILD enabled; without this,
> > a lot of things can change between builds that cause binary output to
> > change even though the code hasn't changed.
> 
> I build local pkgbase repository on 16-CURRENT amd64 and there is only
> setting of REPODIR in /etc/src.conf. So WITH_REPRODUCIBLE_BUILD is not
> enabled. I'll try enabling it next time I update local pkgbase
> repository.

if you run main, note that any update to __FreeBSD_version will cause
every package to be updated, because we encode this value in the ELF
header of every executable.