From owner-svn-src-stable-10@freebsd.org Mon Mar 28 16:25:08 2016 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAF88AE0EF9; Mon, 28 Mar 2016 16:25:08 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABB211159; Mon, 28 Mar 2016 16:25:08 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2SGP7JH031039; Mon, 28 Mar 2016 16:25:07 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2SGP7Jv031037; Mon, 28 Mar 2016 16:25:07 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201603281625.u2SGP7Jv031037@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Mon, 28 Mar 2016 16:25:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r297354 - stable/10/share/mk X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 16:25:09 -0000 Author: bdrewery Date: Mon Mar 28 16:25:07 2016 New Revision: 297354 URL: https://svnweb.freebsd.org/changeset/base/297354 Log: MFC r296585: These group names may be used as a cookie, so replace any non-fs-safe characters. Modified: stable/10/share/mk/bsd.files.mk stable/10/share/mk/bsd.incs.mk Directory Properties: stable/10/ (props changed) Modified: stable/10/share/mk/bsd.files.mk ============================================================================== --- stable/10/share/mk/bsd.files.mk Mon Mar 28 16:24:10 2016 (r297353) +++ stable/10/share/mk/bsd.files.mk Mon Mar 28 16:25:07 2016 (r297354) @@ -9,13 +9,15 @@ ____: FILESGROUPS?= FILES -.for group in ${FILESGROUPS} +_FILESGROUPS= ${FILESGROUPS:C,[/*],_,g} + +.for group in ${_FILESGROUPS} buildfiles: ${${group}} .endfor all: buildfiles -.for group in ${FILESGROUPS} +.for group in ${_FILESGROUPS} .if defined(${group}) && !empty(${group}) installfiles: installfiles-${group} Modified: stable/10/share/mk/bsd.incs.mk ============================================================================== --- stable/10/share/mk/bsd.incs.mk Mon Mar 28 16:24:10 2016 (r297353) +++ stable/10/share/mk/bsd.incs.mk Mon Mar 28 16:25:07 2016 (r297354) @@ -8,8 +8,10 @@ INCSGROUPS?= INCS +_INCSGROUPS= ${INCSGROUPS:C,[/*],_,g} + .if !target(buildincludes) -.for group in ${INCSGROUPS} +.for group in ${_INCSGROUPS} buildincludes: ${${group}} .endfor .endif @@ -17,7 +19,7 @@ buildincludes: ${${group}} all: buildincludes .if !target(installincludes) -.for group in ${INCSGROUPS} +.for group in ${_INCSGROUPS} .if defined(${group}) && !empty(${group}) ${group}OWN?= ${BINOWN}