portupgrade and gnupg update

Sergey Matveychuk sem at FreeBSD.org
Fri Dec 29 11:35:41 PST 2006


Vasil Dimov wrote:
> Hi,
> 
> Currently I get this:
> 
> % portversion -v gnupg
> gnupg-1.4.6_2               <  needs updating (port has 2.0.1)
> gnupg-2.0.1                 =  up-to-date with port
> %

You did not show origins here. It can be an answer. I think they both
were security/gnupg.

> 
> This is incorrect and is caused by the fact that portupgrade is not
> aware that security/gnupg has been moved to security/gnupg1.
> 
> If I apply the following patch:
> 
> Index: MOVED
> ===================================================================
> RCS file: /usr/local/pcvs/ports/MOVED,v
> retrieving revision 1.1225
> diff -u -1 -r1.1225 MOVED
> --- MOVED	26 Dec 2006 02:41:42 -0000	1.1225
> +++ MOVED	27 Dec 2006 09:58:39 -0000
> @@ -2617,2 +2617,3 @@
>  devel/stlport-icc||2006-12-20|Has expired: does not work with stlport 4.6.2
> +security/gnupg|security/gnupg1|2006-12-20|foobar
>  security/gnupg-devel|security/gnupg|2006-12-21|gnupg-devel has been released as Gnupg 2.0
> 
> I get this:
> 
> % portversion -v gnupg
> gnupg-1.4.6_2               <  needs updating (port has 1.4.6_3) (=> 'security/gnupg1')
> gnupg-2.0.1                 >  succeeds port (port has 1.4.6_3) (=> 'security/gnupg1')
> %
> 
> which is weird... why does portversion think that gnupg-2.0.1 has
> something to do with security/gnupg1?
> 

Sure. I'll write it in my TODO list to investigate more.

-- 
Dixi.
Sem.


More information about the freebsd-ports mailing list