pkg_debunk
Doug Barton
dougb at FreeBSD.org
Thu Dec 31 20:34:55 UTC 2009
Aleksandar Simic wrote:
> running my tool I get these results:
>
> ./pkg_debunk.rb
> ca_root_nss-3.12.4:
> missing /usr/local/etc/ssl/cert.pem
> ruby18-gems-1.3.5:
> missing /usr/local/lib/ruby/gems/1.8/cache/sources-0.0.2.gem
> missing /usr/local/lib/ruby/gems/1.8/gems/sources-0.0.2/lib/sources.rb
> missing /usr/local/lib/ruby/gems/1.8/specifications/sources-0.0.2.gemspec
>
> 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 1 root wheel 38 Dec 8 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-- 1 root wheel 676281 Dec 8 14:58
/usr/local/share/certs/ca-root-nss.crt
It's not actually missing. :)
Not that I would in any way discourage you from your work, working on
ports tools is fun, and a great way to learn the system.
Doug
--
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
More information about the freebsd-ports
mailing list