Date: Thu, 4 Jan 2018 18:15:34 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: Victor Sudakov <vas@mpeks.tomsk.su> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Jan 2018 00:39:00 +0700 Victor Sudakov <vas@mpeks.tomsk.su> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180104181534.6998c38ce1e38acff9c9c4e3>