Pkg install from local repository (if available)

I would to create a local pkg repository from cached pkgs but if the required pkg is not available locally then to fetch it from a FreeBSD repository.

Does anyone have such a setup and if so how is it configured?
 
You can define and enable multiple repositories and assign a 'priority' to them. So if something isn't found in one of them it'll automatically check the other configured repository.

Code:
                  PRIORITY: integer        Set the priority of the repository.
                                           Higher values are preferred.
                                           Default: 0.
 
Back
Top