Date: Mon, 01 Aug 2011 13:59:08 -0300 From: Sergio de Almeida Lenzi <lenzi.sergio@gmail.com> To: Doug Barton <dougb@FreeBSD.org> Cc: Michel Talon <talon@lpthe.jussieu.fr>, freebsd-ports@FreeBSD.org Subject: Re: UPDATING 20110730 Message-ID: <1312217948.22733.26.camel@z6000.lenzicasa> In-Reply-To: <4E367999.8000906@FreeBSD.org> References: <20110801085135.GA45113@lpthe.jussieu.fr> <4E367999.8000906@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1312217948.22733.26.camel>