Re: [Pkgutil-users] Bug: chkcat (from pkgutil 2.2) fails on GPG signed catalogs
Status: Beta
Brought to you by:
bonivart
|
From: Peter B. <bon...@op...> - 2010-10-28 13:10:52
|
On Tue, Oct 26, 2010 at 4:24 PM, Mark R Bannister <ma...@pr...> wrote: > When I GPG sign a catalog, chkcat seems to ignore the first valid entry. > Any package that depends on the first one then generates an error message. > Like this: > > # chkcat -e catalog > > ERROR! Dependency CSWbdb3 of package CSWruby is missing. > > # cat catalog > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > berkeleydb3 3.3.11 CSWbdb3 berkeleydb3-3.3.11-sparc-CSW.pkg.gz > e13ec876020eeeaa1da95b70a7ce2a22 1181906 none none none > ruby 1.8.6,REV=2007.10.03_p110 CSWruby > ruby-1.8.6,REV=2007.10.03_p110-SunOS5.8-sparc-CSW.pkg.gz > 963b0a15416ffdb42e2253dea08e924f 2444034 CSWbdb3 none none > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (SunOS) > > iEYEARECAAYFAkzG3+wACgkQ/i1yzU+0qsTyBACg/c/1llxEKX7mTuWVLcb3waCH > N4EAn0orRGppRYtSpcW6bMhxTnD6Jvri > =EF88 > -----END PGP SIGNATURE----- Remove line 115 and 139 (both containing "shift @tmp;" and it should work. I accidentally skipped one line too many, never noticed it since the CSW catalogs have comments there which are skipped anyway. Thanks for noticing. I have checked in the change as r318. /peter |