From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 22:23:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48A561065672 for ; Wed, 11 Jan 2012 22:23:52 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5938FC16 for ; Wed, 11 Jan 2012 22:23:51 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com (unknown [17.209.4.71]) by asmtp019.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LXN00D1UNJPVG40@asmtp019.mac.com> for freebsd-questions@freebsd.org; Wed, 11 Jan 2012 22:23:49 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-11_04:2012-01-11, 2012-01-11, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201110255 From: Chuck Swiger In-reply-to: <86sjjloq0o.fsf@red.stonehenge.com> Date: Wed, 11 Jan 2012 14:23:48 -0800 Message-id: References: <86sjjloq0o.fsf@red.stonehenge.com> To: "Randal L. Schwartz" X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add -r and a local package repo 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: Wed, 11 Jan 2012 22:23:52 -0000 On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote: > First, it looks like pkg_add -r needs the full package name. Is there > any way to give it "zsh" instead of "zsh-4.3.15"? Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server. You can also control this at the time of building the package via: www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN647 "5.2.4 LATEST_LINK LATEST_LINK is used during package building to determine a shortened name to create links that can be used by pkg_add -r. This makes it possible to, for example, install the latest perl version by running pkg_add -r perl without knowing the exact version number. This name needs to be unique and obvious to users." > Second, it looks like it won't install dependencies. This is a problem. > Can I get it to search and install dependencies somehow? Does the package in question have its dependencies properly specified? Regards, -- -Chuck