From owner-freebsd-ports@FreeBSD.ORG Tue Jan 14 18:53:07 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCF384CF for ; Tue, 14 Jan 2014 18:53:07 +0000 (UTC) Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC421391 for ; Tue, 14 Jan 2014 18:53:07 +0000 (UTC) X-Trace: 53433857/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$ON_NET_AUTH_ACCEPTED/Talk_Talk_Customer/2.102.106.185/None/crees@bayofrum.net X-SBRS: None X-RemoteIP: 2.102.106.185 X-IP-MAIL-FROM: crees@bayofrum.net X-SMTP-AUTH: bayofrum@uwclub.net X-MUA: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnwJAHCG1VICZmq5/2dsb2JhbABagwtIA7gTgw4LgQoXdIIlAQEBBDgeIhELGAkWDwkDAgECASceBgEMCAEBiATELBeORUkuhAkBA55Mi2eDLTyBLg X-IPAS-Result: AnwJAHCG1VICZmq5/2dsb2JhbABagwtIA7gTgw4LgQoXdIIlAQEBBDgeIhELGAkWDwkDAgECASceBgEMCAEBiATELBeORUkuhAkBA55Mi2eDLTyBLg X-IronPort-AV: E=Sophos;i="4.95,658,1384300800"; d="scan'208";a="53433857" X-IP-Direction: OUT Received: from host-2-102-106-185.as13285.net (HELO pegasus.bayofrum.net) ([2.102.106.185]) by smtp.pipex.tiscali.co.uk with ESMTP; 14 Jan 2014 18:52:59 +0000 Received: from hermes.bayofrum.net (hermes.bayofrum.net [192.168.1.174]) by pegasus.bayofrum.net (Postfix) with ESMTPSA id 9815B58662; Tue, 14 Jan 2014 18:52:48 +0000 (GMT) Message-ID: <52D5877F.7060508@bayofrum.net> Date: Tue, 14 Jan 2014 18:52:47 +0000 From: Chris Rees User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Matt Reimer , freebsd-ports Subject: Re: Maximizing the use of binary packages and minimizing building packages References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-bayofrum-MailScanner-Information: Please contact the ISP for more information X-bayofrum-MailScanner-ID: 9815B58662.A6ADB X-bayofrum-MailScanner: Found to be clean X-bayofrum-MailScanner-From: crees@bayofrum.net X-Spam-Status: No X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 18:53:07 -0000 On 01/14/14 17:46, Matt Reimer wrote: > I'd like to switch from installing and upgrading our packages using > portmaster/portupgrade to using pkg + binary packages from the ports > cluster as much as possible. > > I understand that the ports cluster builds its packages using default > options, but some of our packages we need built with custom options (e.g. > enable mysql for postfix). > > Is there a tool that can look at /var/db/ports/foo/options and tell which > options differ from the default options? Then I could decide whether I can > live with the defaults (and therefore use the binary package), or whether > to pkg-lock that package and update it by hand using portmaster. > > Or is there a better way to handle this situation, where I want to use > binary packages where possible and only build when necessary? > Mixing ports and packages is discouraged and can get messy, because upgrades can get out of sync... Your best bet is to set up a little build server, if you have the hardware-- I just use a computer I have hidden away from my wife for it, which pulls down changes and builds a new repo using Tinderbox every day. It works really well, so if you're interested, I suppose I could bash some of my scripts into shape and document how to do it. Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.