Many of my jails and VMs use ports to update packages. Lots of these packages share the same configuration. In many scenarios once the package is built others can use it and don't need to built it up themselves.
To speed up the update I pay attention to several packages such as clang, gcc, ruby and intervene manually. Once package is built on main host I create the package and install it on other hosts:
and then I let the clients continue with the upgrade.
My question is if there's a tool that would do this for me. All hosts in question use ports and portupgrade(1) to upgrade the packages. I could create a script that saves the output of
To speed up the update I pay attention to several packages such as clang, gcc, ruby and intervene manually. Once package is built on main host I create the package and install it on other hosts:
Code:
server# pkg create -o spool -f txz gcc6-6.4.0_8
client# pkg delete -f gcc6
client# pkg add -f gcc6-6.4.0_8.txz
and then I let the clients continue with the upgrade.
My question is if there's a tool that would do this for me. All hosts in question use ports and portupgrade(1) to upgrade the packages. I could create a script that saves the output of
pkg version -vIL=
and checks if such package already exists in spool directory. I was wondering if I'm not reinventing a wheel here ..