Let's say that I want to stay sticky to 12.1 release_1 packages.
Don't use that one. Use
latest or
quarterly.
This repo now contains nginx-1.16.1_4,2.txz.
Yes, it hasn't been updated since October I believe. Again, don't use that repository.
My point is to have a more strict version policy in place, I don't need to have the latest version as far as they don't have any known vulnerabilities...
Set up your own repository so you can update what you want, when you want it.
Should I copy in the release_1 ports tree
There is no "release_1" ports tree. There's only one ports tree, there are however quarterly branches taken from it. The difference between
release_0 and
release_1 package repository is that one was built for 12.0 and the other for 12.1. It is however based on the exact same ports tree. All versions of FreeBSD use one and the same ports tree. There are NO version differences between FreeBSD versions like you would have with a Linux distribution (massive changes between RedHat 7 and 8 for example).
How should I handle this ?
Set up poudriere with a subversion ports tree. Then in
/usr/local/poudriere/ports/default (assuming you're using the 'default' ports tree) you can use subversion to update what you want, or not.
Oh, and that security issue was already fixed some time ago:
https://svnweb.freebsd.org/ports?view=revision&revision=508898
It's been fixed in the previous
quarterly too. Which is another reason not to use that
release_1 repository.