From owner-freebsd-current@FreeBSD.ORG Thu Dec 26 19:06:41 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7DCCDAF; Thu, 26 Dec 2013 19:06:41 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B2C7719EB; Thu, 26 Dec 2013 19:06:41 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id rBQJ6Y3o070352; Thu, 26 Dec 2013 11:06:34 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id rBQJ6YBw070351; Thu, 26 Dec 2013 11:06:34 -0800 (PST) (envelope-from sgk) Date: Thu, 26 Dec 2013 11:06:34 -0800 From: Steve Kargl To: Baptiste Daroussin Subject: Re: PACKAGESITE spam Message-ID: <20131226190634.GA70196@troutmask.apl.washington.edu> References: <52B5DF8C.5050204@gmx.com> <20131221200538.GA60827@troutmask.apl.washington.edu> <52B7432D.3070106@bluerosetech.com> <20131226111644.GA46781@server.rulingia.com> <20131226114131.GH40122@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131226114131.GH40122@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current , Peter Jeremy X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2013 19:06:41 -0000 On Thu, Dec 26, 2013 at 12:41:31PM +0100, Baptiste Daroussin wrote: > On Thu, Dec 26, 2013 at 10:16:44PM +1100, Peter Jeremy wrote: > > On 2013-Dec-22 11:53:17 -0800, Darren Pilgrim wrote: > > >Because of that deinstall log. When you use `pkg install` to upgrade a > > >port, you get something like this: > > > > > >Jul 10 23:06:40 chombo pkg-static: ca_root_nss-3.15.1 installed > > >Nov 29 15:04:52 chombo pkg: ca_root_nss reinstalled: 3.15.2_1 > > > > > >That information does not exist in the pkg database. > > > > I agree that's a serious bug/regression in the pkg database: With the > > old pkg system, I could tell when a port was installed by looking at > > the timestamps on the +COMMENT file. The install time is needed to > > answer questions like "does this entry in UPDATING affect me" (ie have > > I rebuilt the port since the entry date). It's something I used > > regularly and its absence is a PITA. > > You can still query from the package database about the installation time. > How? % pkg info | grep gcc gcc-4.6.4 GNU Compiler Collection 4.6 makedep-1.0.2_1 Create dependencies in makefiles using 'gcc -M' % pkg query -F gcc-4.6.4 %t pkg: archive_read_open_filename(gcc-4.6.4): Failed to open 'gcc-4.6.4' % pkg query %t gcc-4.6.4 1387742889 Is that seconds since the epoch? If yes, if may be prudent to add a %T format, so one can easily determine that 1387742889 is Sun Dec 22 23:20:51 2013. -- Steve