Date: Mon, 29 Sep 2014 00:09:12 +0300 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-pkg@freebsd.org Subject: Re: pkg config options: is this a thing? Message-ID: <542878F8.4040406@infracaninophile.co.uk> In-Reply-To: <CAMtcK2qZWgprydk_vvA-MXw_Q2nVDemPdzhUUikstvMT9r=jAw@mail.gmail.com> References: <CAMtcK2qZWgprydk_vvA-MXw_Q2nVDemPdzhUUikstvMT9r=jAw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QOACjRkvifnqPW5UrLnLl3VQ6wP0ME797 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 28/09/2014 23:42, paul beard wrote: > I have been using pkg pretty exclusively since I have a hardware > failure and need to rebuild an existing FreeBSD system. It's now > running in VirtualBox on an iMac(!) and works just fine. >=20 > But I have been running into some issues with pkgs that have config > options or variables at build time that I can't or don't know how to > manage. My most recent example was installing cups and it's various > components and finding that the ssl libs to manage the web UI were not > installed or linked properly. I ended up building it all from source > to make it work properly. I was having bad flashbacks of my days with > another more well-known open source OS with it's myriad incompatible > distros and packages, which was one of the reasons I tried and have > stuck with FreeBSD since release 4.11. >=20 > If there is something I am missing please advise. If it were up to me, > I would like to see a config screen pop up, just as I see with 'make > config' and the choices made there inform the pkg I request and > install. Ideally, you don't want more libraries or binaries than you > truly need for security reasons, to say nothing of sanity. And of > course, you also want stuff to work properly. Yes, this is a problem with using binary pkgs at the moment. pkg(8) is very much a work in progress still. Plans are afoot to introduce measures -- sub-packages and flavours -- that should mean you don't get stuck with packages that are using the wrong options or that have undesirable dependencies quite so often. However right now, the advice is to compile your own packages if what is available on the repos isn't suitable. You can just build stuff out of ports, but certainly if you have several FreeBSD machines to manage, and maybe even if you only have just one, consider trying out poudriere to generate your own package repository. It's easier than you think and once you've a poudriere build system set up, it's almost as convenient as just installing pkgs from the official pkg repositories. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --QOACjRkvifnqPW5UrLnLl3VQ6wP0ME797 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) iQJ8BAEBCgBmBQJUKHj4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATcncP/1HvcnnUL/lcUf072b0lD/7W WhTrfNAI1CELHQZpqPRGzwaxIQOKUmifPWu7sy7vGanIW7nOam/etWfcCr4hZFBC KcAs+YhJVsMbyisuVyt4YDyAM2Qz7/CFxKgV5+LRs7Wdim91oW2xINVVe0P/CEXr nppCB+4cwQuIyVuc8185bdmhXfL3cTZqsgBbww9eJOP2xvzic/i9Rw0C6oYbNU+6 m263rrmmtl7V+mKN60YL/O8u56toPZbwE526HsW65ts9urqGxpxlWG9GyK7dPFZg FtSBwNUfokZR/l4CNzu17PD2F+8SGRcWqRClnYNHEEe79msWHbltjm/qrlMxlMWV Pz+NCj9VrdL8Rn+GHlqc+fYv+HkoH9Udryt11iL5ql3vqF/Ao3i1az6KVcLWKi+p fp1Rn2eTwzHVDnd+Y80eaXk6oYeEHpaRsc4HRYdYSQlFiQ5BXMbPuRAKyzgqx4Ix wp4aHlpJ7NUMiJN7elKwt5ifPSNv8k/1OxDyMTJuwc2U2zIaZ2v+WYMIi0SVb1yn 2Q61YC9vScR1SrGzRJpUbJ/d7wE3vQPPequauLlaMpIovWNxnm7lYKpif9e5eSH0 ey3j7Cm7cSXXDoQPC5c/e9rq3j3zme3ZylHRzpMZf9EIP+Yg+v1OMqZ1xGiQn92Q AwUMebRqxVhxYMwsX1fw =Ua7P -----END PGP SIGNATURE----- --QOACjRkvifnqPW5UrLnLl3VQ6wP0ME797--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?542878F8.4040406>