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 1RYNX3-0007Y3-UT for garchives@archives.gentoo.org; Wed, 07 Dec 2011 19:51:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84DFA21C066; Wed, 7 Dec 2011 19:51:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5091A21C066 for ; Wed, 7 Dec 2011 19:51:48 +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 B16691B4005 for ; Wed, 7 Dec 2011 19:51:47 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 868122004B; Wed, 7 Dec 2011 19:51:46 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc: make-tarball.sh X-VCS-Repository: gentoo X-VCS-Files: make-tarball.sh X-VCS-Directories: src/patchsets/gcc X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20111207195146.868122004B@flycatcher.gentoo.org> Date: Wed, 7 Dec 2011 19:51:46 +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: f7e7eda4-29db-44c1-a4fa-00573b9b7665 X-Archives-Hash: 3667ac37a200debba0a4df73f3ac019a vapier 11/12/07 19:51:46 Modified: make-tarball.sh Log: use README.history to get patch versions Revision Changes Path 1.12 src/patchsets/gcc/make-tarball.sh file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/make= -tarball.sh?rev=3D1.12&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/make= -tarball.sh?rev=3D1.12&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/make= -tarball.sh?r1=3D1.11&r2=3D1.12 Index: make-tarball.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/make-tarball.sh,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- make-tarball.sh 17 Oct 2010 10:23:21 -0000 1.11 +++ make-tarball.sh 7 Dec 2011 19:51:46 -0000 1.12 @@ -37,8 +37,10 @@ shift done } -eread PATCH_VER UCLIBC_VER PIE_VER PP_VER HTB_VER HTB_GCC_VER MAN_VER SP= ECS_VER SPECS_GCC_VER +eread UCLIBC_VER PP_VER HTB_VER HTB_GCC_VER MAN_VER SPECS_VER SPECS_GCC_= VER [[ -n ${HTB_VER} && -z ${HTB_GCC_VER} ]] && HTB_GCC_VER=3D${gver} +PATCH_VER=3D$(awk '{print $1; exit}' ./${gver}/gentoo/README.history) +PIE_VER=3D$(awk '{print $1; exit}' ./${gver}/pie/README.history) =20 if [[ ! -d ./${gver} ]] ; then echo "Error: ${gver} is not a valid gcc ver" @@ -46,9 +48,9 @@ fi =20 echo "Building patches for gcc version ${gver}" -echo " - PATCH: ${PATCH_VER}" +echo " - PATCH: ${PATCH_VER} (taken from ${gver}/gentoo/README.histor= y)" echo " - UCLIBC: ${UCLIBC_VER}" -echo " - PIE: ${PIE_VER}" +echo " - PIE: ${PIE_VER} (taken from ${gver}/pie/README.history)" echo " - SPECS: ${SPECS_VER} (${SPECS_GCC_VER:-${gver}})" echo " - SSP: ${PP_VER}" echo " - BOUNDS: ${HTB_GCC_VER}-${HTB_VER}"