Date: Mon, 4 Jan 2010 22:26:01 +0000 From: Aleksandar Simic <asimic@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: Julien Laffaye <kimelto@gmail.com>, freebsd-ports@freebsd.org Subject: Re: pkg_debunk Message-ID: <7d1be6611001041426k125b7a48n10f7e1ea9116cc5@mail.gmail.com> In-Reply-To: <4B3D0AED.6050002@FreeBSD.org> References: <7d1be6610912310540y2e3ca781pcc77eab919d55c26@mail.gmail.com> <fee671620912310714t10d520e1p46ba799024e56f66@mail.gmail.com> <7d1be6610912310825o20c0380u8cbf333e0702e23b@mail.gmail.com> <4B3D0AED.6050002@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/12/31 Doug Barton <dougb@freebsd.org>: > Aleksandar Simic wrote: >> running my tool I get these results: >> >> ./pkg_debunk.rb >> ca_root_nss-3.12.4: >> =A0 missing /usr/local/etc/ssl/cert.pem >> ruby18-gems-1.3.5: >> =A0 missing /usr/local/lib/ruby/gems/1.8/cache/sources-0.0.2.gem >> =A0 missing /usr/local/lib/ruby/gems/1.8/gems/sources-0.0.2/lib/sources.= rb >> =A0 missing /usr/local/lib/ruby/gems/1.8/specifications/sources-0.0.2.ge= mspec >> >> With pkg_info: >> >> pkg_info -g ca_root_nss-3.12.4 >> >> does not spot the missing /usr/local/etc/ssl/cert.pem. >> >> Looking at /var/db/pk/ca_root_nss-3.12.4/+CONTENTS for the above >> file, I can clearly see that its there in the spec but not on the system= : >> >> etc/ssl/cert.pem >> @comment MD5:5b5db9a1ce7e4680ba1644ffe5c113b5 >> >> It seems that "pkg_info -g" does not catch all the missing files. > > You missed a very important line: > > @cwd / > etc/ssl/cert.pem > > ls -l /etc/ssl/cert.pem > lrwxr-xr-x =A01 root =A0wheel =A038 Dec =A08 14:58 /etc/ssl/cert.pem@ -> > /usr/local/share/certs/ca-root-nss.crt > > ls -l /usr/local/share/certs/ca-root-nss.crt > -r--r--r-- =A01 root =A0wheel =A0676281 Dec =A08 14:58 > /usr/local/share/certs/ca-root-nss.crt > > It's not actually missing. :) > Good catch. My oversight, should have thought of this. Fixed it: http://github.com/dotemacs/pkg_debunk Thanks, Aleksandar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d1be6611001041426k125b7a48n10f7e1ea9116cc5>