From owner-freebsd-questions@FreeBSD.ORG Sat Mar 15 11:53:15 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B14C607 for ; Sat, 15 Mar 2014 11:53:15 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EFC54FB9 for ; Sat, 15 Mar 2014 11:53:14 +0000 (UTC) Received: from r56.edvax.de (port-92-195-67-138.dynamic.qsc.de [92.195.67.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 60D9427624; Sat, 15 Mar 2014 12:53:11 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s2FBql77002459; Sat, 15 Mar 2014 12:52:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 15 Mar 2014 12:52:47 +0100 From: Polytropon To: Jos Chrispijn Subject: Re: Pkgng | Compiled versions download Message-Id: <20140315125247.fac5a8c2.freebsd@edvax.de> In-Reply-To: <53243A21.4010907@webrz.net> References: <53243A21.4010907@webrz.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 11:53:15 -0000 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...