From owner-freebsd-ports@FreeBSD.ORG Mon Jan 4 22:26:10 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68CFD106566B for ; Mon, 4 Jan 2010 22:26:10 +0000 (UTC) (envelope-from asimic@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id CA75F8FC18 for ; Mon, 4 Jan 2010 22:26:09 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so182922fgg.13 for ; Mon, 04 Jan 2010 14:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bhDbnf+El9icisOw3ZLxy5v7sMr4lsVkHvqPvN7AvRI=; b=wm8vQpcjFJulOi4JUgAv6GK0+LQ//Phny5EaIu8DupWEpV0YR7UXRDs7AcJ0MFWaK9 2dtRzzIoBmDMYza+f2p8Y1xHQDAHS6OfIpv7SlOpcqk79AxU1Gg5VYACqpk0SLPd0aIF t6tcI+YIBBEC7L16f0z0arPKHBGqeBvtIg/PU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ChQuyZOPjIdaTR83o6PpzmH0QYfZz8jVZynd06o9JVgAwXZOwWPxw8J9LDN15ofNqN g06ZAaYNSfWssAcTPhdyJhxJuLrhOlbF2y108CrRbGbo68GBeJ5MAcgN64dM1IZQg0LP NRHVyazTT9S/1TzOfL3QSqttWktwmFKKXMISE= MIME-Version: 1.0 Received: by 10.239.179.99 with SMTP id c35mr388833hbg.197.1262643961862; Mon, 04 Jan 2010 14:26:01 -0800 (PST) In-Reply-To: <4B3D0AED.6050002@FreeBSD.org> References: <7d1be6610912310540y2e3ca781pcc77eab919d55c26@mail.gmail.com> <7d1be6610912310825o20c0380u8cbf333e0702e23b@mail.gmail.com> <4B3D0AED.6050002@FreeBSD.org> Date: Mon, 4 Jan 2010 22:26:01 +0000 Message-ID: <7d1be6611001041426k125b7a48n10f7e1ea9116cc5@mail.gmail.com> From: Aleksandar Simic To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Julien Laffaye , freebsd-ports@freebsd.org Subject: Re: pkg_debunk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 22:26:10 -0000 2009/12/31 Doug Barton : > 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