From owner-freebsd-questions@freebsd.org Thu Jan 4 18:15:42 2018 Return-Path: Delivered-To: freebsd-questions@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 8134CEAB14B for ; Thu, 4 Jan 2018 18:15:42 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DEBB7728D for ; Thu, 4 Jan 2018 18:15:42 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1515089744; x=1517681744; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=ufIE+7mZ2H+FaBK+TfgEHdqWQsF7cTG6Nv0jGXk2ogE=; b=ulj/qN/QdOeBZs7UI7V3R7mw98156Wl6chl1UVU9Fp9U0ni6nxMCbrbMaVNYWp0fXvdLR79yJ55BZR7FVDLWAmtqCLYcEwjdVz6yK03tZYy5kXsvpIUbkps3Xu0O1VkMEJMp9nKBmzWNFhzL/A0cS++/+Wt+ak+sAxomvxCp76c= X-Thread-Info: NDI1MC4xMi44MTAwMDAwMTQzMzAyMy5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r2.sg.in.socketlabs.com (r2.sg.in.socketlabs.com [142.0.179.12]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 13:15:40 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r2.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 13:15:37 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eXA3C-000B6V-UD; Thu, 04 Jan 2018 18:15:34 +0000 Date: Thu, 4 Jan 2018 18:15:34 +0000 From: Steve O'Hara-Smith To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180104181534.6998c38ce1e38acff9c9c4e3@sohara.org> In-Reply-To: <20180104173900.GA16381@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104165145.57260d5690b958a46390b9d9@sohara.org> <20180104170633.GA16142@admin.sibptus.transneft.ru> <20180104173022.14483fd42a6851ead9955bef@sohara.org> <20180104173900.GA16381@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 18:15:42 -0000 On Fri, 5 Jan 2018 00:39:00 +0700 Victor Sudakov wrote: > Steve O'Hara-Smith wrote: > > > > > BTW how do you manage such a situation when all of your packages are > > > from a remote repository and a couple of others you have to build from > > > ports locally (or install from another repository)? > > > > Firstly I make sure that I minimise the building by doing this > > in the port directory before building: > > > > pkg install `make missing` > > > > Then once the port is built, installed and I'm happy with it I > > use pkg lock to prevent pkg upgrade from messing with it. From time to > > time I update my ports tree and rebuild (pkg unlock first). > > The "pkg lock" way is kind of ugly. Did you ever try to bind your It's fine for a small number of packages, when you want to be precise about what comes from local builds. The catch is that if you don't pay attention then sooner or later a pkg upgrade rips a dependency out from under your custom build and you don't find out until you need the tool at which point the need to do a build tends to cause bad language. > special package to a special repository (e.g. your very own > poudriere), while the rest of the packages should keep affinity to the > default repository (the FreeBSD project repository)? Is it at all > possible with pkg(8) ? I did try maintaining my own repository with poudriere for a while, pkg supports multiple repositories with a preference order so it was happy enough to pull from my repository preferentially. The only downside was that I had to build all the dependencies as well as the ports I wanted and I kept getting into trouble trying to keep the versions in sync. Nothing's perfect sadly - both ways are workable and both take work. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/