UPDATING 20110730

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Mon Aug 1 16:59:15 UTC 2011


Even I use portmaster (a very good piece of software),
it becomes very slow when you have 1550 ports installed in your

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
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
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
is to install them on the slaves, (again, using the postgres database

Hope this can give someone some ideas....


More information about the freebsd-ports mailing list