Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 07:41:14 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Official FreeBSD Binary Packages now available for pkgng
Message-ID:  <5272099A.6030704@FreeBSD.org>
In-Reply-To: <20131031051153.e0ca0cf8.freebsd@edvax.de>
References:  <5271BC11.1010303@FreeBSD.org> <5271D5BA.9060004@networktest.com> <20131031051153.e0ca0cf8.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--nIklHmtxaEPiFFop1iJlqCp8wlG2qsrid
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 31/10/2013 04:11, Polytropon wrote:
> On Wed, 30 Oct 2013 20:59:54 -0700, David Newman wrote:
>>
>>
>> On 10/30/13 7:10 PM, Bryan Drewery wrote:
>>
>>> You can now either continue to use ports with portmaster/portupgrade,=
 as
>>> before or switch to using binary packages only.
>>
>> Is this really an "or" or is it an "and"?
>>
>> For example, can a system use binary packages for most things, but use=

>> portmaster or portupgrade on those ports where some special config
>> options are needed?
>=20
> To extend the question, does the traditional method of using
> ports (without portmaster et al.) also seem to stop working?
> I'd like to emphasize that the constellation you mentioned
> isn't that uncommon. Take mplayer, for example; in order to
> make it work properly (i. e., all codecs plus mencoder), it's
> still required to compile it. My idea would be that I can
> use pkg to install everything that's needed as a runtime
> dependency, and only have a "make install" run for mplayer
> with a custom Makefile.local (or going through "make configure"
> for that matter). Localized ports (e. g. LibreOffice with
> german language) could also fall into the category of "still
> needs compiling"...
>=20
> To be honest, there may be only a few things that need a
> manual "make install" run, but those could actually be
> essential. How does this interact with a system that uses
> pkg for all other needs? The old pkg_* tools worked well
> in such a constellation, even though it might be required
> to recompile some dependent ports (according to the non-
> default options that have been chosen), but in general,
> that was no big deal.
>=20
> Will it start being a problem now?

No, mixing binary packages from pkg.freebsd.org with locally compiled
customized versions should work, so long as reasonable care is taken to
use a local ports tree of similar age to the ports tree used for
building the official packages.  You can do this with
portmaster(8)/portupgrade(8) or by setting up your own instance of
poudriere(8) or even just 'cd /usr/ports/foo/bar ; make all install'

Making this sort of mix of local customized and official packages work
really well is one of our (pkg(8) developers) top aims.  The integration
at the moment should be a bit better than using the old pkg_tools
packages in this way, but there are even more improvements yet to come.

There are also changes afoot which will have the effect of reducing the
number of options on individual packages but compensating by increasing
the number of packages to cover the different options settings.  This is
what sub-packages is all about: many options do little more than add a
few extra files to the pkg-plist: those can easily be hived off into a
separate sub-package.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--nIklHmtxaEPiFFop1iJlqCp8wlG2qsrid
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJScgmbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATKTMP/iCsQ+mbNn2Mt5f76Z/T0Fco
JtRvQeEL4znpc5fPtL+nG3N9PE39JdmBJCpwLrjxIAqUDlp5Uao1mkWoc8gFbbNo
7I93pRt5KrXR3FSalmU7nMQB8tT+aitmOJz6gmNj/ZfkmU1/qXC2OlYgDYJtTLFE
JO44PfhpfrOLrE9782NqcR+mxC4VWVwZpfkOju4CrJmhet1AGf38oHxG4R3VltW9
bRrXs2zxnP24ZUZRueqSNRdZ9slpKdMa60RQmZ3MwQM/i6aQz6njuiaIAl79aT41
QqXGzkPhh73q4Z8FNp8xb/qSX5MJsfDQGFK1xEqzyFldGpGPo+OGgyTXXLjyMJov
Oi4BA602+Ydudjd7/DDx7kuAWs9+wttmSnqGOFvLo/J8RMcsPdC0ykqwbCYcysg/
ZYIzCONPe2DVvjX7W4sLO8vlJOgFU13tuBPwkSdGsCcOlACW/reb5TNeQcxPDYDn
fva7pyBHcrs6It0qsib/PgRqQwgHl9+mebHWO75k+iQsibUqIk2GQMR2MyfAiEi3
UXONj2CoObeK2GQYP+AHdnH7h9GHcLoXPT3O9m7EnIILqVZZ/Ru44441VnuQt1zJ
N8en6cBHD/Zpyom+r0IXLzuJ6hUXI7S4THbNh/OFhQvldGZKecLwxsG09UNA8GSV
gAEsPwatQnVP+VTLfHxu
=zTCv
-----END PGP SIGNATURE-----

--nIklHmtxaEPiFFop1iJlqCp8wlG2qsrid--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5272099A.6030704>