From owner-freebsd-questions@FreeBSD.ORG Thu Mar 15 17:34:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92B081065670 for ; Thu, 15 Mar 2012 17:34:29 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8398FC16 for ; Thu, 15 Mar 2012 17:34:28 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q2FHYJGH057042 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 15 Mar 2012 17:34:25 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.0 smtp.infracaninophile.co.uk q2FHYJGH057042 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1331832865; bh=eOMz1qG9w+EO+HzJEXnT5a38ZMc2gtx9QZlpyc8DXfw=; h=Date:From:To:Subject:References:In-Reply-To:Cc:Content-Type: Message-ID:Mime-Version; b=GO3SuFPrUvgW9cCIMGIv4zJtpcT0L+x6+3oZGE4IiCNFHb/34vKDOIUyf8rtj4dkt 6rpMmHAW+pNwIR4zSERave7AT77PMFvYi3ONCD+1MX72DzxcCal6yPSUwM1O/XdELD SyRp+KmGb/UFrpJP1yhWIPR5hltt+J6T6vpvPWEo= Message-ID: <4F622813.2060405@infracaninophile.co.uk> Date: Thu, 15 Mar 2012 17:34:11 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120313 Thunderbird/11.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F60C34B.50105@y42.org> <20120314175003.c324d322.freebsd@edvax.de> <4F6222D1.3070908@unix-beratung.de> In-Reply-To: <4F6222D1.3070908@unix-beratung.de> X-Enigmail-Version: 1.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDF5C5D1A65CC50FB8F947294" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: satisfying package dependencies from installation DVD when building a port -- HOW? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 17:34:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDF5C5D1A65CC50FB8F947294 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15/03/2012 17:11, Robert Urban wrote: > I seem to have found the "problem". I read somewhere that PKG_PATH sho= uld have > the path to the top of the hierarchy, i.e., /cd/packages, and not > /cd/packages/ or /cd/packages/All, because pkg_add was capab= le of > adding the hierarchical component, but this is not the case. I find th= at I must > set PKG_PATH to /cd/packages/ or /cd/packages/All in order for it = to work. > Also, coming from OpenBSD, I assumed that I could supply pkg_add the "b= asename" > of a package, i.e., the name without version number ("p5-Text-Iconv" as= opposed > to "p5-Text-Iconv-1.7") but this also does not work. pkg_add apparentl= y expects > everything except the ".tbz" extension. If you look at the packages tree, you'll see a directory called 'Latest' -- that contains packages named without version numbers. It's not a perfect one-to-one correspondence with the packages under All: some packages don't have a 'latest link' (mostly development versions where there is a production version in the tree as well) or the 'latest link' isn't the same as the basename of the package, usually because there are two or more different versions of the same software available. Also, you should have both .../All and .../Latest on PKG_PATH as dependency packages are listed with a version number. Yes, it's not foolproof. The whole package handling thing in FreeBSD is not as good as it should be. Work is underway to improve that, but it is still quite a way away from finished. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigDF5C5D1A65CC50FB8F947294 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.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9iKBoACgkQ8Mjk52CukIzkWACcCmTr7Jej2x28WQEbUhQvtWzT inkAnRLYk1mb3cTTyoeq5SMtOwsKkyWS =y4u/ -----END PGP SIGNATURE----- --------------enigDF5C5D1A65CC50FB8F947294--