From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 28 21:09:26 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E3ACB13 for ; Sun, 28 Sep 2014 21:09:26 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 80E08832 for ; Sun, 28 Sep 2014 21:09:25 +0000 (UTC) Received: from seedling.local (95-87-227-203.net1.bg [95.87.227.203] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s8SL9G72010877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 28 Sep 2014 22:09:18 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s8SL9G72010877 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1411938559; bh=LZMC6SntpDLaaZoqBoU3Lug34hFdW4sZVmGFFvK24S4=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2029=20Sep=202014=2000:09:12=20+0300|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20pkg=20config=20options:=20is=20this=20a =20thing?|References:=20|In-Reply-To:=20; b=Ua1TF2UZJb/bLZPUXCQsVGbyWN42ZiZzt/98aRtrUbx19/9TZrLLo4BjaIVK2XjVk Q2bPiMVAXSiDJnenTolLDgY8V07Uvj2PFNfv7832v2XZ0GG5Z+BYPOP/uooLDfRsOw XJOBgsQIP6mzKjHexmu92hjp91wWVNWSub7raD4k= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host 95-87-227-203.net1.bg [95.87.227.203] (may be forged) claimed to be seedling.local Message-ID: <542878F8.4040406@infracaninophile.co.uk> Date: Mon, 29 Sep 2014 00:09:12 +0300 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: pkg config options: is this a thing? References: In-Reply-To: OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QOACjRkvifnqPW5UrLnLl3VQ6wP0ME797" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_BRBL_LASTEXT,RDNS_NONE,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 21:09:26 -0000 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--