From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D4AD41385D3 for ; Mon, 21 Jan 2013 19:44:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B10D21C054; Mon, 21 Jan 2013 19:44:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4C9221C054 for ; Mon, 21 Jan 2013 19:44:55 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE61233DB2D for ; Mon, 21 Jan 2013 19:44:54 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2166) id 9EEDE2171D; Mon, 21 Jan 2013 19:44:52 +0000 (UTC) From: "Samuli Suominen (ssuominen)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, ssuominen@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-197-r4.ebuild ChangeLog udev-9999.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: udev-197-r4.ebuild ChangeLog udev-9999.ebuild X-VCS-Directories: sys-fs/udev X-VCS-Committer: ssuominen X-VCS-Committer-Name: Samuli Suominen Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130121194452.9EEDE2171D@flycatcher.gentoo.org> Date: Mon, 21 Jan 2013 19:44:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ef51f83a-7e7f-4f9b-be77-d8ef0c2b9c4b X-Archives-Hash: 938a641387312fe3dcbbfc6bd052fe3b ssuominen 13/01/21 19:44:52 Modified: udev-197-r4.ebuild ChangeLog udev-9999.ebuild Log: Use plain bash instead of calling external executable grep in fstab check by Arfrever (Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) Revision Changes Path 1.9 sys-fs/udev/udev-197-r4.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild?rev=1.9&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild?rev=1.9&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild?r1=1.8&r2=1.9 Index: udev-197-r4.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- udev-197-r4.ebuild 21 Jan 2013 19:05:42 -0000 1.8 +++ udev-197-r4.ebuild 21 Jan 2013 19:44:52 -0000 1.9 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild,v 1.8 2013/01/21 19:05:42 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild,v 1.9 2013/01/21 19:44:52 ssuominen Exp $ EAPI=4 @@ -457,7 +457,7 @@ fi local fstab="${ROOT}"etc/fstab - if $(grep -qs ^udev "${fstab}"); then + if [[ $(<"${fstab}") =~ (^|$'\n')udev ]]; then ewarn "You should review and/or remove your udev starting line from ${fstab}" ewarn "Not doing so might result in unbootable system." ewarn "You have been warned. For details, see:" 1.793 sys-fs/udev/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.793&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.793&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.792&r2=1.793 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v retrieving revision 1.792 retrieving revision 1.793 diff -u -r1.792 -r1.793 --- ChangeLog 21 Jan 2013 18:56:20 -0000 1.792 +++ ChangeLog 21 Jan 2013 19:44:52 -0000 1.793 @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.792 2013/01/21 18:56:20 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.793 2013/01/21 19:44:52 ssuominen Exp $ + + 21 Jan 2013; Samuli Suominen udev-197-r4.ebuild, + udev-9999.ebuild: + Use plain bash instead of calling external executable grep in fstab check by + Arfrever 21 Jan 2013; Samuli Suominen udev-197-r3.ebuild, udev-197-r4.ebuild, udev-9999.ebuild: 1.151 sys-fs/udev/udev-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.151&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.151&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.150&r2=1.151 Index: udev-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v retrieving revision 1.150 retrieving revision 1.151 diff -u -r1.150 -r1.151 --- udev-9999.ebuild 21 Jan 2013 19:05:42 -0000 1.150 +++ udev-9999.ebuild 21 Jan 2013 19:44:52 -0000 1.151 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.150 2013/01/21 19:05:42 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.151 2013/01/21 19:44:52 ssuominen Exp $ EAPI=4 @@ -457,7 +457,7 @@ fi local fstab="${ROOT}"etc/fstab - if $(grep -qs ^udev "${fstab}"); then + if [[ $(<"${fstab}") =~ (^|$'\n')udev ]]; then ewarn "You should review and/or remove your udev starting line from ${fstab}" ewarn "Not doing so might result in unbootable system." ewarn "You have been warned. For details, see:"