From owner-freebsd-current Sat Jul 15 06:50:03 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA25199 for current-outgoing; Sat, 15 Jul 1995 06:50:03 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA25152 for ; Sat, 15 Jul 1995 06:49:44 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA22673; Sat, 15 Jul 1995 23:48:04 +1000 Date: Sat, 15 Jul 1995 23:48:04 +1000 From: Bruce Evans Message-Id: <199507151348.XAA22673@godzilla.zeta.org.au> To: peter@haywire.dialix.com Subject: Re: bin/613: send-pr reports wrong release Cc: current@freebsd.org Sender: current-owner@freebsd.org Precedence: bulk >>Description: >As you can see a few lines up, send-pr is _still_ claiming that the >"Release" is several months old, even though everything is as recent as >it can get, and compiled and installed. >The problem is, that the Makefile generates obj/send-pr from send-pr.sh >*once* and never, ever updates it, because there are no dependencies to >cause it to be regenerated. >>Fix: > >The makefile uses a sed command to substitute @DEFAULT_RELEASE@ with the >output of "uname -rsm" at build initial build time. IMHO, this has to be >done at run-time, otherwise the ">Release:" header is pretty much >meaningless. This is wrong for a different reason - it only works if the machine sending the mail is running the buggy version of FreeBSD. Machines that aren't connected to the net won't be sending the mail and machines that are connected may be running a different version. Bruce