From nobody@www.freebsd.org  Wed Jun 19 03:20:33 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 8D1CF37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Jun 2002 03:20:32 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5JAKWhG057858
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Jun 2002 03:20:32 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5JAKW7p057857;
	Wed, 19 Jun 2002 03:20:32 -0700 (PDT)
Message-Id: <200206191020.g5JAKW7p057857@www.freebsd.org>
Date: Wed, 19 Jun 2002 03:20:32 -0700 (PDT)
From: David Yeske <dyeske@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: automate BUILDNAME variable for releases
X-Send-Pr-Version: www-1.0

>Number:         39505
>Category:       conf
>Synopsis:       [patch] automate BUILDNAME variable for releases
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 19 03:30:01 PDT 2002
>Closed-Date:    
>Last-Modified:  Wed Jun 25 15:54:08 UTC 2008
>Originator:     David Yeske
>Release:        HEAD
>Organization:
>Environment:
FreeBSD aurora 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat Jun 15 22:55:17 EDT 2002     root@aurora:/home/obj/usr/src/sys/AURORA 6
>Description:
using RELEASETAG=RELENG_?_?_?_RELEASE during a make release will not set BUILDNAME=?.?-RELEASE

>How-To-Repeat:
      
>Fix:
http://pigseye.kennesaw.edu/~dyeske/freebsd/release.patch
>Release-Note:
>Audit-Trail:

From: Makoto Matsushita <matusita@jp.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/39505: automate BUILDNAME variable for releases
Date: Thu, 20 Jun 2002 10:00:41 +0900

 dyeske> http://pigseye.kennesaw.edu/~dyeske/freebsd/release.patch
 
 Maybe it works (sorry I don't test any), but if BUILDNAME is
 statically defined with RELEASETAG, you can automatically set outside
 of Makefile.  Moreover, if somebody want to their own release, with
 the sources of RELENG_x_y_z_RELEASE tag plus their own patches, and
 want to name it x.y-RELEASE-local, presetting BUILDNAME is unwanted
 for them.
 
 If your suggestions is "put how-to-autoset BUILDNAME from RELEASETAG
 in the comment line only," it would be a good idea BTW.
 
 -- -
 Makoto `MAR' Matsushita

From: David Yeske <dyeske@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: conf/39505: automate BUILDNAME variable for releases
Date: Sat, 22 Jun 2002 12:16:53 -0700 (PDT)

 I have added a comment to the patch...
 
 __________________________________________________
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com
State-Changed-From-To: open->feedback 
State-Changed-By: murray 
State-Changed-When: Thu May 15 21:53:15 PDT 2003 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=39505 

From: David Yeske <dyeske@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org, dyeske@yahoo.com
Cc: re@freebsd.org
Subject: Re: conf/39505: automate BUILDNAME variable for releases
Date: Sun, 5 Oct 2003 23:22:45 -0700 (PDT)

 I have an updated patch that seems to deal with the
 version numbers better.  I'm open to any suggestions
 on making it better or using less sed.
 
 http://futurebsd.sourceforge.net/freebsd/src/patch-src_release_Makefile
State-Changed-From-To: feedback->open 
State-Changed-By: gavin 
State-Changed-When: Wed Jun 25 15:51:50 UTC 2008 
State-Changed-Why:  
Mark as open, no idea why feedback was requested as it's not in the 
audit trail, but the submitter has responded since the request so I'm 
assuming the request is satisfed. 
The patch mentioned in the audit trail is cached here: 

Index: Makefile 
=================================================================== 
RCS file: /home/ncvs/src/release/Makefile,v 
retrieving revision 1.820 
diff -u -r1.820 Makefile 
--- Makefile	21 Sep 2003 06:33:14 -0000	1.820 
+++ Makefile	6 Oct 2003 06:17:10 -0000 
@@ -57,6 +57,8 @@ 
AUXRELEASETAG!=	echo ${RELEASETAG} | sed -e 's/^RELENG_/RELEASE_/' -e 's/_RELEASE$$//' 
DOCRELEASETAG?=		${AUXRELEASETAG} 
PORTSRELEASETAG?=	${AUXRELEASETAG} 
+# If you want to automatically set BUILDNAME from RELEASETAG, then set 
+#BUILDNAME!= echo ${RELEASETAG} | sed -e 's|(^RELENG_)([0-9])_([0-9])_([0-9])_|2.3.4-|' -e 's|.0-RELEASE|-RELEASE|' 
.endif 
.endif 


http://www.freebsd.org/cgi/query-pr.cgi?pr=39505 
>Unformatted:
