From owner-freebsd-ports@freebsd.org Mon Oct 2 10:28:06 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A1E8E3BDD1 for ; Mon, 2 Oct 2017 10:28:06 +0000 (UTC) (envelope-from vlad-fbsd@acheronmedia.com) Received: from mx.irealone.hr (xoth.irealone.hr [136.243.79.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0DC9F30F6 for ; Mon, 2 Oct 2017 10:28:04 +0000 (UTC) (envelope-from vlad-fbsd@acheronmedia.com) Received: by mx.irealone.hr (Postfix, from userid 58) id 615AEA8FF; Mon, 2 Oct 2017 12:27:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on postfix.xoth.irealone.hr X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, LOCAL_WL_002 autolearn=ham autolearn_force=no version=3.4.1 Received: from mail.irealone.com (unknown [10.0.0.10]) by mx.irealone.hr (Postfix) with ESMTP id E67CAA8FB for ; Mon, 2 Oct 2017 12:27:56 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 02 Oct 2017 12:27:56 +0200 From: "Vlad K." To: freebsd-ports@freebsd.org Subject: Re: Status of portupgrade and portmaster? Organization: Acheron Media In-Reply-To: References: <81D84A650858BA40BF6936408052E6BC0138263988@msgdb11.utad.utoledo.edu> <201709290909.v8T99QtU006095@mxdrop301.xs4all.net> <20171002004919.GL53186@over-yonder.net> Message-ID: X-Sender: vlad-fbsd@acheronmedia.com User-Agent: Roundcube Webmail/1.2.6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 10:28:06 -0000 On 2017-10-02 12:05, Marco Beishuizen wrote: > > I agree, imho poudriere is designed to maintain ports and testing > them, or if you have to build ports for lots of systems. And it works > very well for that too. But portupgrade and portmaster are imho far > better in just tracking newer versions of installed ports. I'm also > not sure if poudriere is able to track ports on a STABLE system (as in > my case). It may've been the original design idea, but Poudriere is the de facto pkg building tool on FreeBSD for the official pkg repository, so its application is far from just testing. Also, Poudriere is building a repository, comparing it to any other tool for tracking _installed_ ports is simply wrong, pkg does that. Even with portmaster, pkg does that as portmaster builds a pkg and registers it with the pkg database. It will perfectly detect changes and upgrade newer versions of packages for the repos it is maintaining, and `pkg upgrade` will handle the tracking of installed packages. There is also huge advantage in building a repo FIRST, then using pkg LATER. I've had a ton of issues upgrading ports that were in use, where a dependency would be upgraded first and the program in use would fail because its port is not yet updated for that change. So if we want to compare apples to apples, then the difference is between "simple" tools that directly manage files on the system, versus tools that prepare a pkg repo first, and you manage the files on the system with pkg (some-tool build-and-install vs some-tool build && pkg install). It may be someone's PREFERENCE to do the former, but there is no objective benefit of that over preparing pkgs first, in an (automatically managed) isolated environment. That said, Poudriere is perfectly capable to manage software on a single machine. It works out of the box with a few simple steps needed to set it up for that task (poudriere jail + poudriere ports). -- Vlad K.