From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 02:17:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A601C16A488 for ; Wed, 10 Aug 2005 02:17:28 +0000 (GMT) (envelope-from freebsd-questions@auscert.org.au) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA32945886 for ; Wed, 10 Aug 2005 01:17:56 +0000 (GMT) (envelope-from freebsd-questions@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192]) by titania.auscert.org.au (8.12.10/8.12.10) with ESMTP id j7A1FVmG061417 for ; Wed, 10 Aug 2005 11:15:31 +1000 (EST) Received: from app.auscert.org.au (localhost.auscert.org.au [127.0.0.1]) by app.auscert.org.au (8.13.1/8.13.1) with ESMTP id j7A1Hue3093288 for ; Wed, 10 Aug 2005 11:17:56 +1000 (EST) (envelope-from freebsd-questions@auscert.org.au) Message-Id: <200508100117.j7A1Hue3093288@app.auscert.org.au> To: freebsd-questions@freebsd.org From: Joel Hatton Dcc: Date: Wed, 10 Aug 2005 11:17:56 +1000 Subject: How to tell if /usr/obj is up to date? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 02:17:40 -0000 Hi, (repost - I think my first go was lost) Is there any way to use make in /usr/src to tell if my object tree is up to date? Situation: I cvsup my sources and do the make buildworld / buildkernel / installkernel / installworld steps. Later, I cvsup again to update for a vul that doesn't require world to be rebuilt (such as FreeBSD-SA-05:16.zlib) and install. Now, for instance, a newer update for zlib is available and I'll naturally have to repeat the previous step. However, hypothetically if for no other reason, is it possible to tell, after getting my sources up to date again, if this new revision has already been built and hence is now in the object tree or do I have to do it all over again to be sure? In this case, if I run make -n in /usr/src/lib/libz/ should this report differently depending on whether /usr/obj is up to date or not? thanks, joel -- Joel Hatton -- Security Analyst | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au