Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 23:18:36 +0000
From:      Thomas Hurst <tom.hurst@clara.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/33520: "bsdpan" files confuse portversion utility
Message-ID:  <20020103231836.GA45979@voi.aagh.net>
In-Reply-To: <200201032204.g03M4Uh38507@onceler.kciLink.com>
References:  <200201032204.g03M4Uh38507@onceler.kciLink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Vivek Khera (khera@kciLink.com) wrote:

> install perl 5.6.1 with BSDPAN and install some modules via CPAN.
> run "portversion -v -L=".

For the time being I use an alias like this:

pkg_chk='pkg_version -vL = |grep -v "^bsdpan"'

I don't really see any use for portversion when it takes so long to
rebuild the database.

> I think it may be worth some special-case handling of ports that have
> no origin like this, but I'm not sure the mechanics of doing it.

The origin's stored in /var/db/pkg/<package>/+CONTENTS under @comment,
funnily enough.

A way for a package to explicitly indicate it has no origin would be
good; ORIGIN: none, or so.

Is there any particular reason it's not @origin, btw?

While we're on the subject, some way to provide automatic update
capabilities for virtual packages would be interesting - for instance,
an external command to get the latest version of a CPAN module,
interfaced into the ports system.  This would come into it's own if
systems like RubyGems and whatever Python has were also intergrated.

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
-


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020103231836.GA45979>