UPDATING 20110730
Sergio de Almeida Lenzi
lenzi.sergio at gmail.com
Mon Aug 1 16:59:15 UTC 2011
Hello
Even I use portmaster (a very good piece of software),
it becomes very slow when you have 1550 ports installed in your
system.
As only a few ports (about 100, in my case) changes in a week time,
I build a database (postgres) that contains all the ports installed,
de depencies and a flag that tells me if that port needs updating
(pkg_version)
a shell script scans the ports (pkg_info | cut -d ' ' -f 1) and builds
the database once a week (can take several hours...
Once the database is built, an sql query (only ms...) tells me what to
do...
it then executes pkg_delete, cd /usr/ports/..., make clean all package..
and after doing all the job, it updates the postgresql database
(seconds... ).
In my case I use a central server with all the 1550 ports... and all I
do
is to install them on the slaves, (again, using the postgres database
data)...
Hope this can give someone some ideas....
Sergio
More information about the freebsd-ports
mailing list