Re: How to update local pkgbase reository same as official one
Date: Thu, 30 Oct 2025 19:14:13 UTC
Yasuhiro Kimura wrote in <20251030.170954.1896130609853884638.yasu@FreeBSD.org>: > If I update pkgbase repository with `make update-packages`, all > packages are created with newer package version. It means package > always updated to newer version even if it isn't changed from previous > one. no, update-packages specifically avoids doing this: it will initially create all packages, but then any packages which are unchanged from the previous build will be deleted and replaced with the previous version. therefore, the final repository will only contain packages which have changed. > If I check packages in official pkgbase repository, however, different > versions of packages are mixed, and it looks like only really changed > packages are updated to newer version. > > Then how official pkgbase repository is updated? Is it possible to > update local pkgbase repository same as official one? the pkg.freebsd.org repository uses "make update-packages". 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. if you think update-packages is still publishing new packages when the contents should not have changed, please provide more details.