From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 02:31:03 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 843E11065670 for ; Fri, 19 Jun 2009 02:31:03 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 111BF8FC08 for ; Fri, 19 Jun 2009 02:31:02 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz27 with SMTP id 27so667993bwz.43 for ; Thu, 18 Jun 2009 19:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cguPOy5XrR3LCUl7TDvCQGbFn96iJy1Ojv316dKHk3o=; b=TXEV+CTl/BarM66JssXb70aHZnpVWboyH4lBq3iDxXe4UxzWqZ/5FeRS3P44WMNuj3 9n948CIp/FZooxBasNkxX/6TaLqb4hzAecdGwKjVp+TFFHfMrAC8bOy4ByQw1t+fliB/ pnzpeCag5lyzh1HLNX1G0LvAWYpCPQFoiOe6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=jM6qSiS+FhcNH8HYy1DSLrvOAdgucZ+CzfJwCW0NuhwuSM3OtJrY7eLXxCkGNcrU9i kHq9RspBQqkvHGEvxwucDuOochocb7pRJGJ990G95A655BBl2Lfeg8yJsQgoTLxZC4fC tYUWvoX8ZJppdBjFmh0NCO5b/P/hmrw8rrxtc= MIME-Version: 1.0 Received: by 10.204.66.17 with SMTP id l17mr2051209bki.44.1245378662062; Thu, 18 Jun 2009 19:31:02 -0700 (PDT) Date: Thu, 18 Jun 2009 22:31:02 -0400 Message-ID: <4ad871310906181931l7623d9cj83a8f39fe497a4d3@mail.gmail.com> From: Glen Barber To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: PACKAGESITE Directory Structure 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: Fri, 19 Jun 2009 02:31:03 -0000 Hello, list. After trying to figure out the incorrect directory structure for some of the packages hosted on my site, I am at a loss. After reading through /usr/src/usr.sbin/pkg_install/add/main.c from HEAD, lines 337-340 seems to suggest that if 'Latest' is not found, 'All' is implied to pkg_add when PACKAGESITE is explicitly defined (otherwise overridden with hard-coded values). With that, I am still trying to figure out the proper hierarchy: Scenario 1.) If I 'pkg_add -r foo.3.2_1.tbz' from www.example.com/packages, should 'All' be implied after 'packages' (packages/All)? Scenario 2.) Same pkg_add command from www.example.com/packages/mybinary/package -- should 'All' be a subdirectory of packages/ or mybinary/? It appears that this "if 'Latest/' is not found, overwrite as 'All/'" may be expected, but I am getting conflicting output. Any input is appreciated. -- Glen Barber