Re: [Pkgutil-users] bldcat problem when packages are renamed
Status: Beta
Brought to you by:
bonivart
From: Peter B. <bon...@op...> - 2010-11-24 14:01:22
|
On Wed, Nov 24, 2010 at 2:36 PM, Peter Bonivart <bon...@op...> wrote: > On Wed, Nov 24, 2010 at 1:21 PM, Mark R Bannister > <ma...@pr...> wrote: >> I've hit an issue where bldcat continues to re-use old information in the catalog if the .pkg or .pkg.gz file has been >> renamed only (but the checksum is the same). When it re-uses old information, it also re-uses the old filename, which >> obviously then breaks when a client tries to get it with pkgutil. >> >> Would it be possible to fix bldcat so that it handles renames properly when re-using old info? > > I just checked in r321, it should take care of it. > > http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/bldcat?revision=321 On Dagoberts suggestion I redid the fix so it still reuses the info but inserts the new filename. Otherwise it would inspect the package as a new one and be slower. It's in r322, http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/bldcat?revision=322 /peter |