Date: Tue, 30 Jun 2015 07:51:58 -0500 From: Andrew Berg <aberg010@my.hennepintech.edu> To: <freebsd-questions@freebsd.org> Subject: Re: Mix'n'match between packages an ports? Message-ID: <559290EE.8030305@my.hennepintech.edu> In-Reply-To: <20150630115303.GA1331@aurora.oekb.co.at> References: <20150630115303.GA1331@aurora.oekb.co.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015.06.30 06:53, Ewald Jenisch wrote: > Here's my question: Is a "mix and match" between binary and > source-installation (pkg.. vs. "make / portupgrade") possible on the > same machine, or is it one or the other? There is no difference at all between the two, especially since staging in ports became mandatory. Using ports directly builds a package and then installs it. Problems occur when packages are built from different ports trees, however. I highly recommend Poudriere (as others have mentioned) for creating your own repo, since this will give you full control and stability, and will allow a consistent, shareable set of packages for multiple machines that will all have the options you want. Of course, this will require building all your own packages, and Poudriere likes to be more conservative than the underlying ports tools, and will rebuild packages even if they may not strictly need to be rebuilt. If you feel that you must only build some packages yourself and use the official FreeBSD repo (or any other repo that you do not control) for others, you *must* keep your own tree in sync with it when upgrading. This is even more complicated now that the official repo is not updated on a schedule, but rather is updated as soon as the last build run is completed. This approach requires more care and work in order to be stable, so I do not recommend it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?559290EE.8030305>