From owner-freebsd-hackers Sun May 13 13:16:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.yadt.co.uk (yadt.demon.co.uk [158.152.4.134]) by hub.freebsd.org (Postfix) with SMTP id 423D337B423 for ; Sun, 13 May 2001 13:16:36 -0700 (PDT) (envelope-from davidt@yadt.co.uk) Received: (qmail 72552 invoked from network); 13 May 2001 20:16:34 -0000 Received: from gattaca.local.yadt.co.uk (HELO mail.gattaca.yadt.co.uk) (qmailr@10.0.0.2) by xfiles.yadt.co.uk with SMTP; 13 May 2001 20:16:34 -0000 Received: (qmail 80219 invoked by uid 1000); 13 May 2001 20:16:33 -0000 Date: Sun, 13 May 2001 21:16:33 +0100 From: David Taylor To: hackers@FreeBSD.ORG Subject: Re: SSH Must Die Message-ID: <20010513211633.A79395@gattaca.yadt.co.uk> Mail-Followup-To: hackers@FreeBSD.ORG References: <3AFD1D6D.51731EAC@mindspring.com> <20010512072320L.jkh@osd.bsdi.com> <3AFDC640.83A13495@mindspring.com> <20010512193354.A47163@xor.obsecurity.org> <20010513190026.A18437@mail.webmonster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010513190026.A18437@mail.webmonster.de>; from karsten@rohrbach.de on Sun, May 13, 2001 at 19:00:26 +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 13 May 2001, Karsten W. Rohrbach wrote: > btw, mergemaster's version number generation for the help/syntax page is > broken because it displays the number of the running kernel not the > version of mergemaster itself: > --- > VERSION_NUMBER=`grep "[$]FreeBSD:" $0 | cut -d ' ' -f 4` > echo "mergemaster version ${VERSION_NUMBER}" > --- That would appear to be mergemaster grepping for the $FreeBSD$ line in itself, then extracting the CVS revision number from that line. > why is it this way? i would think about creating the version in the > build process and s/@TAG@/version/ it in the to-be-installed mergemaster > file. The version is branded into the file during the cvs commit process, and is extracted from the installed file when needed... -- David Taylor davidt@yadt.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message