From owner-freebsd-hackers Sun Feb 9 10:43: 5 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93EB037B42C for ; Sun, 9 Feb 2003 10:43:03 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5305643F85 for ; Sun, 9 Feb 2003 10:43:02 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org (UGLY.x.kientzle.com [66.166.149.51]) by kientzle.com (8.11.3/8.11.3) with ESMTP id h19IgLp25183; Sun, 9 Feb 2003 10:42:21 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3E46A10D.6090409@acm.org> Date: Sun, 09 Feb 2003 10:42:21 -0800 From: Tim Kientzle Reply-To: kientzle@acm.org User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clemens fischer Cc: Yury Tarasievich , freebsd-hackers@FreeBSD.ORG Subject: Re: Making pkg_XXX tools smarter about file types... References: <3E42C148.4050807@acm.org> <3E440393.3080506@grsu.by> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG clemens fischer wrote: > Yury Tarasievich : >>I'd like to see in dependencies not only like "was built with >>-1.9_2abc, so wants it", but also something like -1.5+ (obviously >>1.5.0 and newer), -* (any version will do). > > ... sometimes newer versions aren't backwards > compatible, which you can't know back in the past. A better approach might be to simply fob it off on the user, i.e., # pkg_install foo-1.5 Warning: foo-1.5 requires bar-2.3, you have bar-1.7 installed. Proceed? [Y/n] Eventually, someone should teach pkg_install about fetch, so it could offer the option of downloading and installing the dependency. IIRC, Debian's package system handled this pretty elegantly---it even upgraded installed packages automatically---although their curses-based UI was ... erm .... "quirky." ;-) Tim Kientzle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message