From owner-freebsd-security Sun Dec 17 12:27:43 2000 From owner-freebsd-security@FreeBSD.ORG Sun Dec 17 12:27:41 2000 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 2F7F437B402 for ; Sun, 17 Dec 2000 12:27:41 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 17 Dec 2000 12:26:03 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.0/8.11.0) id eBHKRdw43236; Sun, 17 Dec 2000 12:27:39 -0800 (PST) (envelope-from cjc) Date: Sun, 17 Dec 2000 12:27:39 -0800 From: "Crist J. Clark" To: Roger Marquis Subject: OT: Re: Security Update Tool.. Message-ID: <20001217122739.J96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from marquis@roble.com on Sun, Dec 17, 2000 at 09:26:56AM -0800 Sender: cjc@rfx-64-6-211-149.users.reflexcom.com Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Dec 17, 2000 at 09:26:56AM -0800, Roger Marquis wrote: > > Before reinventing the wheel interested developers might check the > > reference implementation, Sun's Patchdiag: > > > > http://sunsolve.Sun.COM/private-cgi/show.pl?target=resources/patchdiag > > > > (NOTE: this URL does require a SunSolve account) > > The version id for FreeBSD ports would probably come from something like: > > grep "@name" /var/db/pkg/*/+CONTENTS | awk '{print $NF}' Pet peeve. Why do people pipe grep to awk? awk '/@name/ { print $NF }' /var/db/pkg/*/+CONTENTS -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message