From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 05:53:33 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 B4E2716A66C for ; Wed, 10 Aug 2005 05:53:09 +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 2464945525 for ; Wed, 10 Aug 2005 00:40:23 +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 j7A0bvmG060792 for ; Wed, 10 Aug 2005 10:37:57 +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 j7A0eMrh079897 for ; Wed, 10 Aug 2005 10:40:22 +1000 (EST) (envelope-from freebsd-questions@auscert.org.au) Message-Id: <200508100040.j7A0eMrh079897@app.auscert.org.au> To: freebsd-questions@freebsd.org From: Joel Hatton Dcc: Date: Wed, 10 Aug 2005 10:40:22 +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 05:53:33 -0000 Hi, 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