From owner-freebsd-ports@FreeBSD.ORG Mon Aug 1 16:59:15 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7691106566B for ; Mon, 1 Aug 2011 16:59:14 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 972748FC18 for ; Mon, 1 Aug 2011 16:59:14 +0000 (UTC) Received: by vws18 with SMTP id 18so6111686vws.13 for ; Mon, 01 Aug 2011 09:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references :disposition-notification-to:content-type:date:message-id :mime-version:x-mailer; bh=NByTVrJN9aycpMBluRWO2gekfx53TcTkmV50p3QvaKk=; b=LBXdWwqDYogvXofnI06GgQT9rbULuHapnB/b9G4u/jwfwUQjGH8/Ts7Pz634ujsj3t toqSV2Wt/stKyUOq/tkprVSJ3I8Y3TB9CFyb0Z/93RhwoCrZyWAt+ATWZHBXfZ00A5lv Z3Anns6Z8Doyd4vP85JUidxh9UYG93pMTzi1g= Received: by 10.52.90.72 with SMTP id bu8mr4361787vdb.168.1312217953547; Mon, 01 Aug 2011 09:59:13 -0700 (PDT) Received: from [192.168.6.230] ([201.21.174.123]) by mx.google.com with ESMTPS id jv3sm2311634vdb.23.2011.08.01.09.59.10 (version=SSLv3 cipher=OTHER); Mon, 01 Aug 2011 09:59:12 -0700 (PDT) From: Sergio de Almeida Lenzi To: Doug Barton In-Reply-To: <4E367999.8000906@FreeBSD.org> References: <20110801085135.GA45113@lpthe.jussieu.fr> <4E367999.8000906@FreeBSD.org> Date: Mon, 01 Aug 2011 13:59:08 -0300 Message-ID: <1312217948.22733.26.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Michel Talon , freebsd-ports@FreeBSD.org Subject: Re: UPDATING 20110730 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 16:59:15 -0000 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