From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rdqwo-0008OV-LB for garchives@archives.gentoo.org; Thu, 22 Dec 2011 22:17:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40B1021C23C; Thu, 22 Dec 2011 22:17:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EBE8421C23C for ; Thu, 22 Dec 2011 22:17:02 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 550481B4004 for ; Thu, 22 Dec 2011 22:17:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B11CC80042 for ; Thu, 22 Dec 2011 22:17:01 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/newbin bin/ebuild-helpers/newconfd bin/ebuild-helpers/newdoc bin/ebuild-helpers/newenvd bin/ebuild-helpers/newexe bin/ebuild-helpers/newinitd bin/ebuild-helpers/newins bin/ebuild-helpers/newlib.a bin/ebuild-helpers/newlib.so bin/ebuild-helpers/newman bin/ebuild-helpers/newsbin X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e20df85cf8579aaa9cf07d59efc453d5837a7598 Date: Thu, 22 Dec 2011 22:17:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: aef94da9-0fa3-4f91-b973-722937654469 X-Archives-Hash: 733feb1ae6486fdbf8e8f9a7579942c1 commit: e20df85cf8579aaa9cf07d59efc453d5837a7598 Author: Zac Medico gentoo org> AuthorDate: Thu Dec 22 22:15:43 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Dec 22 22:15:43 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3De20df85c ebuild-helpers/new*: QA warn for extra args --- bin/ebuild-helpers/newbin | 5 ++++- bin/ebuild-helpers/newconfd | 5 ++++- bin/ebuild-helpers/newdoc | 5 ++++- bin/ebuild-helpers/newenvd | 5 ++++- bin/ebuild-helpers/newexe | 5 ++++- bin/ebuild-helpers/newinitd | 5 ++++- bin/ebuild-helpers/newins | 3 +++ bin/ebuild-helpers/newlib.a | 5 ++++- bin/ebuild-helpers/newlib.so | 5 ++++- bin/ebuild-helpers/newman | 5 ++++- bin/ebuild-helpers/newsbin | 5 ++++- 11 files changed, 43 insertions(+), 10 deletions(-) diff --git a/bin/ebuild-helpers/newbin b/bin/ebuild-helpers/newbin index 30f19b0..bf98744 100755 --- a/bin/ebuild-helpers/newbin +++ b/bin/ebuild-helpers/newbin @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec dobin "${T}/${2}" diff --git a/bin/ebuild-helpers/newconfd b/bin/ebuild-helpers/newconfd index 5752cfa..fa3710d 100755 --- a/bin/ebuild-helpers/newconfd +++ b/bin/ebuild-helpers/newconfd @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec doconfd "${T}/${2}" diff --git a/bin/ebuild-helpers/newdoc b/bin/ebuild-helpers/newdoc index f97ce0d..df6fb1d 100755 --- a/bin/ebuild-helpers/newdoc +++ b/bin/ebuild-helpers/newdoc @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec dodoc "${T}/${2}" diff --git a/bin/ebuild-helpers/newenvd b/bin/ebuild-helpers/newenvd index 83c556e..c54af05 100755 --- a/bin/ebuild-helpers/newenvd +++ b/bin/ebuild-helpers/newenvd @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec doenvd "${T}/${2}" diff --git a/bin/ebuild-helpers/newexe b/bin/ebuild-helpers/newexe index 92dbe9f..9bcf64b 100755 --- a/bin/ebuild-helpers/newexe +++ b/bin/ebuild-helpers/newexe @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec doexe "${T}/${2}" diff --git a/bin/ebuild-helpers/newinitd b/bin/ebuild-helpers/newinitd index fc6003a..03bbe68 100755 --- a/bin/ebuild-helpers/newinitd +++ b/bin/ebuild-helpers/newinitd @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec doinitd "${T}/${2}" diff --git a/bin/ebuild-helpers/newins b/bin/ebuild-helpers/newins index 065477f..adf2d80 100755 --- a/bin/ebuild-helpers/newins +++ b/bin/ebuild-helpers/newins @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" || exit $? case "$EAPI" in 0|1|2|3|3_pre2) diff --git a/bin/ebuild-helpers/newlib.a b/bin/ebuild-helpers/newlib.a index eef4104..7ff8195 100755 --- a/bin/ebuild-helpers/newlib.a +++ b/bin/ebuild-helpers/newlib.a @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec dolib.a "${T}/${2}" diff --git a/bin/ebuild-helpers/newlib.so b/bin/ebuild-helpers/newlib.so index c8696f3..fd4c097 100755 --- a/bin/ebuild-helpers/newlib.so +++ b/bin/ebuild-helpers/newlib.so @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec dolib.so "${T}/${2}" diff --git a/bin/ebuild-helpers/newman b/bin/ebuild-helpers/newman index ffb8a2d..889e0f9 100755 --- a/bin/ebuild-helpers/newman +++ b/bin/ebuild-helpers/newman @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec doman "${T}/${2}" diff --git a/bin/ebuild-helpers/newsbin b/bin/ebuild-helpers/newsbin index 82242aa..9df0af2 100755 --- a/bin/ebuild-helpers/newsbin +++ b/bin/ebuild-helpers/newsbin @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -14,6 +14,9 @@ if [ ! -e "$1" ] ; then exit 1 fi =20 +(($#>2)) && \ + eqawarn "QA Notice: ${0##*/} called with more than 2 arguments: ${@:3}" + rm -rf "${T}/${2}" && \ cp -f "${1}" "${T}/${2}" && \ exec dosbin "${T}/${2}"