conf/39505: [patch] automate BUILDNAME variable for releases

gavin at FreeBSD.org gavin at FreeBSD.org
Wed Jun 25 15:54:08 UTC 2008


Synopsis: [patch] automate BUILDNAME variable for releases

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


More information about the freebsd-bugs mailing list