From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 22 20:41:01 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42DE5106566C for ; Thu, 22 Oct 2009 20:41:01 +0000 (UTC) (envelope-from anti_spamsys@yahoo.com) Received: from web113202.mail.gq1.yahoo.com (web113202.mail.gq1.yahoo.com [98.136.165.123]) by mx1.freebsd.org (Postfix) with SMTP id 16A998FC14 for ; Thu, 22 Oct 2009 20:41:01 +0000 (UTC) Received: (qmail 98805 invoked by uid 60001); 22 Oct 2009 20:41:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1256244060; bh=zVmFh46B+/wDVRbTGyoN0FMKmc9QpEiXhFulOHn/MFI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=xf/VEPMC30a7ru0wn2T0qXf3Ntung6oE8HwrcziDwR27Qmiq1zYkHWaopM0DyUFThp1iZ6EYMbWeRdwzPSqBhXAdDONdvLJ528GDa7+iC73350z8OQlsSFNdoAiYuPe76/aBkhV0y1kmvrNDEgcHCjxhLKxc6Kjx0pQldv21xYA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Y/sJ5MGHrvQGQXbONmlt4JIj3pIs60Da5MbiLpJuRPX+ps7VexpvwNCH0WJgwmqlAt1V+faswipkJ1N2N/GAoZz0hW4b/wTVskeaegUXS6XdSOoQByIJc8FZjRrVhw91ILz3+UGq4c9beo+uzxjP0QsXdSigFgIhMo/NMeRq4qo=; Message-ID: <821063.97828.qm@web113202.mail.gq1.yahoo.com> X-YMail-OSG: QAFJwA8VM1nSsjdNehsEaEupxF_5WI6TNFW3VG5_udWI1inxvNgV_SpUOk0RxV7g5EHWmQfscVNRQIWjzPTNVm8sotNs9Mto0Rav__lTOFTZLuDSUghDAWYSLXCFfX4RILjE30XwJvMXNvoLc9s13KEfL6bJan4jqTu6LVHoyrYO8zCiC8.Q7lR8JBEN68GKCLoAJwforiT5yF0SvqzmY2adyhdDDydIYBSMWF2y5onMop.QYtceL5Pi7Du9UsLlc_sK8BiQLB6ow2muJDzEWaVWpjENIe9d3mLB Received: from [128.55.19.49] by web113202.mail.gq1.yahoo.com via HTTP; Thu, 22 Oct 2009 13:41:00 PDT X-Mailer: YahooMailClassic/8.0.7 YahooMailWebService/0.7.347.3 Date: Thu, 22 Oct 2009 13:41:00 -0700 (PDT) From: Trever To: Glen Barber In-Reply-To: <4ad871310910221257s5533da63l3ed062d9641b36@mail.gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 22 Oct 2009 22:57:16 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: bug in pkg_add ? doesn't fetch dependencies from set path X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 20:41:01 -0000 I realized that this was probably the case only after I sent the email, but= this keeps me from having to test so thanks. I do think the documentation leads one to think differently about what PACK= AGESITE does; perhaps I'll try to submit a clarification. =A0As I read it, = it talks about "subverting the logic" of the fetches, which led me to think= the expected hierarchy would be subverted- something like that. =A0 -T --- On Thu, 10/22/09, Glen Barber wrote: From: Glen Barber Subject: Re: bug in pkg_add ? doesn't fetch dependencies from set path To: "Trever" Cc: freebsd-hackers@freebsd.org Date: Thursday, October 22, 2009, 12:57 PM Hello, On Thu, Oct 22, 2009 at 2:41 PM, Trever wrote: > Does anyone else have this problem? > # env | grep PACKAGEPACKAGESITE=3Dftp://ftp.ourdomain.gov/FBSD/# pkg_add = -r subversion-1.6.5Fetching ftp://ftp.ourdomain.gov/FBSD/subversion-1.6.5.t= bz... Done.Error: FTP Unable to get ftp://ftp.ourdomain.gov/All/pkg-config-= 0.23_1.tbz: File unavailable (e.g., file not found, no access)Error: FTP Un= able to get ftp://ftp.ourdomain.gov/All/sqlite3-3.6.14.2.tbz: File unavaila= ble (e.g., file not found, no access)Error: FTP Unable to get ftp://ftp.our= domain.gov/All/gettext-0.17_1.tbz: File unavailable (e.g., file not found, = no access)Error: FTP Unable to get ftp://ftp.ourdomain.gov/All/neon28-0.28.= 4.tbz: File unavailable (e.g., file not found, no access) > > In plain English:pkg_add -r goes to the correct domain and path (per envi= ronment variable I set) to fetch the package I want to install, but when it= goes to get the dependencies for the package it just correctly fetched, it= subsequently fetches to the wrong path (goes to /All instead of /FBSD), th= ough it does fetch to the correct domain. > This is a pain because our ftp server has many uses, and having an "All" = directory in the root is ugliness (whether All is a link to FBSD or whateve= r, I don't want "All", I just want "FBSD"). > I have tried various combinations of setting both or one of PACKAGESITE a= nd/or PACKAGEROOT, just in case that would somehow help, but to no avail. = =A0Of course it would seem that PACKAGESITE alone is what I want (but that = and nothing else I have tried works). > Thank you much. > -T > pkg_add(1) expects the PACKAGESITE to follow the same hierarchy as a tinderbox.=A0 Without a tinderbox, you can 'mkdir /usr/ports/packages' on your local build server.=A0 When you 'make package' (or your preferred choice) the packages will be put in /usr/ports/packages with the correct hierarchy, symlinks to PACKAGESITE/All/ etc. HTH. --=20 Glen Barber =0A=0A=0A