From owner-freebsd-questions@FreeBSD.ORG Sat Mar 15 18:54:03 2014 Return-Path: Delivered-To: freebsd-questions@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 3B68729C for ; Sat, 15 Mar 2014 18:54:03 +0000 (UTC) Received: from smtp.centurylink.net (mail.centurylink.net [205.219.233.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DC99EA03 for ; Sat, 15 Mar 2014 18:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=ctl201402; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1394909641; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=LRYrCYQm1QjEU1Wz9qAjbHkbieY=; b=tiy1ZYzibnZFxwjgdXdOPvXWdLL5VZbh+nbp9dpaPKMf20wQcrcFyObHIM6aRX/9 kCzOyZuQL+9+0Kh97ZqU1MschIwoWCagytAHSX/obO3EKI64apdNyUkwQeMmCNvt Zy05yEjNlKI4/eE10EO2I/3BTdzZti3klc41C3BO6yJe4AjSts1mRZE56mA5JiV2 1/3TyaRjGPWutPtpT/oDcAwUKRNIXcIRuxvytvr2td7L9QISn+/lrNrU3cuWpUSP 4WDNXBH7Fq6SOODkzRK1OHqLGevriVVtAAf2TbZ6pE2P3oEsDeEnhATPkv41kzWX ewCf5sNYvPwF81L1jXfvWA==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.0 cv=cvcZYiEi c=1 sm=1 a=Wqx9EgOlYXUCmGBrohmWlg==:17 a=OtEhBDoZp4kA:10 a=1poGYrevpj8A:10 a=kj9zAlcOel0A:10 a=1oqGTYSLAAAA:8 a=6I5d2MoRAAAA:8 a=cjZdoznrE8HjNgVOf7MA:9 a=CjuIK1q_8ugA:10 a=jKRid43F7UoA:10 a=Wqx9EgOlYXUCmGBrohmWlg==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YnNkLXVuaXhAZW1iYXJxbWFpbC5jb20= Authentication-Results: smtp02.agate.dfw.synacor.com header.from=bsd-unix@embarqmail.com; sender-id=neutral Authentication-Results: smtp02.agate.dfw.synacor.com smtp.mail=bsd-unix@embarqmail.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.agate.dfw.synacor.com smtp.user=bsd-unix@embarqmail.com; auth=pass (LOGIN) Received-SPF: neutral (smtp02.agate.dfw.synacor.com: 71.3.84.97 is neither permitted nor denied by domain of embarqmail.com) Received: from [71.3.84.97] ([71.3.84.97:25792] helo=earth.milkyway.net) by smtp.centurylink.net (envelope-from ) (ecelerity 3.5.1.37854 r(Momo-dev:3.5.1.0)) with ESMTPA id EB/76-30528-8C1A4235; Sat, 15 Mar 2014 14:54:00 -0400 Date: Sat, 15 Mar 2014 14:53:59 -0400 From: Randy Pratt To: Jos Chrispijn Subject: Re: Pkgng | Compiled versions download Message-Id: <20140315145359.4c262209fde0d85258db883b@embarqmail.com> In-Reply-To: <20140315125247.fac5a8c2.freebsd@edvax.de> References: <53243A21.4010907@webrz.net> <20140315125247.fac5a8c2.freebsd@edvax.de> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; i386-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Polytropon , "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 18:54:03 -0000 On Sat, 15 Mar 2014 12:52:47 +0100 Polytropon wrote: > On Sat, 15 Mar 2014 12:31:45 +0100, Jos Chrispijn wrote: > > Just found out that updating my ports with pkg is causing an issue: it > > downloads compiled versions. > > The use of pkg implies (precompiled) binary packages. > Whenever you update something using pkg, it will download > and install the precompiled packages from the given > repository. > > pkg_* (old) -> binary > pkg (new) -> binary > "make" et al. -> from source > port management tools -> usually from source (binary possible) > > Combining those methods has been possible for decades, > but emphasizes that you know what you're doing. :-) > > > > > The problem I get now is that pe with Postfix, TLD and Dovecot are not > > part of that compilation - in other words I have to reinstall before it > > works. > > If I read this correctly: You have previously been using > compiled (by you) versions of the mentioned programs, and > pkg didn't upgrade them? > > > > > Is there a way of compiling the port(s) after downloaden (sorry, pkg > > nub online)? > > Tools like portmaster can be used here. They allow you to > control if programs should be updated binarily or from > source. This of course requires your /usr/ports tree to > be up to date. See "man portmaster" for details, especially > the -P and -PP options. While you may use portmaster to upgrade ports from sources, it is my understanding that portmaster presently does not work with packages (binaries). See: http://docs.freebsd.org/cgi/mid.cgi?53030A23.60800 I don't use portupgrade so I'm not sure of its status on interaction with binary packages. Do be aware that mixing ports with binary packages could create problems if your local ports tree does not match what the package repository used to build the packages. I have been unable to find a way to do this that isn't an approximation. Chances are that it would work most of the time provided your local tree is up to date. I've read that at some point in the future that sub-packages with various options will be available but it may be some time away due to a lot of work that is being done on the ports infrastructure to allow this to happen. Randy