summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-24 02:20:33 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-24 02:20:33 +0000
commit89380bad7aa04bd96d095e8f5e7869798859065e (patch)
tree2ac9fe28a34aefb248881a8af6c7a4da066a2d24 /sys-devel
parentold (diff)
downloadhistorical-89380bad7aa04bd96d095e8f5e7869798859065e.tar.gz
historical-89380bad7aa04bd96d095e8f5e7869798859065e.tar.bz2
historical-89380bad7aa04bd96d095e8f5e7869798859065e.zip
Add seq fallback for crappy systems #338518 by Javier Villavicencio.
Package-Manager: portage-2.2_rc86/cvs/Linux x86_64
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/autoconf-wrapper/ChangeLog8
-rw-r--r--sys-devel/autoconf-wrapper/Manifest12
-rw-r--r--sys-devel/autoconf-wrapper/autoconf-wrapper-10-r1.ebuild27
-rwxr-xr-xsys-devel/autoconf-wrapper/files/ac-wrapper-10.sh20
4 files changed, 59 insertions, 8 deletions
diff --git a/sys-devel/autoconf-wrapper/ChangeLog b/sys-devel/autoconf-wrapper/ChangeLog
index fe706dfe3bc4..70012692b791 100644
--- a/sys-devel/autoconf-wrapper/ChangeLog
+++ b/sys-devel/autoconf-wrapper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/autoconf-wrapper
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/ChangeLog,v 1.78 2010/09/22 23:52:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/ChangeLog,v 1.79 2010/09/24 02:20:33 vapier Exp $
+
+*autoconf-wrapper-10-r1 (24 Sep 2010)
+
+ 24 Sep 2010; Mike Frysinger <vapier@gentoo.org>
+ +autoconf-wrapper-10-r1.ebuild, files/ac-wrapper-10.sh:
+ Add seq fallback for crappy systems #338518 by Javier Villavicencio.
*autoconf-wrapper-10 (22 Sep 2010)
diff --git a/sys-devel/autoconf-wrapper/Manifest b/sys-devel/autoconf-wrapper/Manifest
index d77bcb1c5dfe..542ccdf6b749 100644
--- a/sys-devel/autoconf-wrapper/Manifest
+++ b/sys-devel/autoconf-wrapper/Manifest
@@ -1,18 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX ac-wrapper-10.sh 4107 RMD160 5588e729eac2d3e857aa8458998d76211a915887 SHA1 8688c7ab480a3d48b0db51a878cc547c62c1c7e9 SHA256 98ae6adf4f794f7c1fb661289c1e4df2ae6e4c133dc3d263dbaa3c8235b3c085
+AUX ac-wrapper-10.sh 4406 RMD160 ced48c21853b7052f6c460d44bbad3fd97db63c3 SHA1 fac357cc28552b11881e0cc52a7ba65dfe835862 SHA256 398c89d3034e44345e42f8c5c5c0ec7812d7fc3e4d3dc3e110ae80bdb3ef45f0
AUX ac-wrapper-8.sh 4132 RMD160 f68600c5bb48cc7a103efed83f66261fce2475fc SHA1 9626122a8395a4f68259441dd6f65db6b3f5b5c9 SHA256 42dbd01eb411bbe58c590ad63d3e406860ab090cf5c971aeeaa7764f66f20a2d
AUX ac-wrapper-9.sh 4150 RMD160 aee7a4d7dc8d05f01b306444ef14956743dc11b0 SHA1 40c32c83ed22656f63ecb75ee7013cac99dfc337 SHA256 91ce1047aec2f4ab3f748b91635202b4684985e77cce712573161f8729e04f9b
-EBUILD autoconf-wrapper-10.ebuild 1015 RMD160 2e4a70571ff8eba71f5841d4aa36aae571bf0283 SHA1 6ec3d0b6980af9d465005244a19f6e8983c5a196 SHA256 094f49249a446d44313411ab409ce33376d1727344cdc15931d77ca6747c47ee
+EBUILD autoconf-wrapper-10-r1.ebuild 1018 RMD160 ffc13d6156efe0306e22e6ae037d915ef088e3ff SHA1 48a19551177bb34c00754082cc44de3eb6c07fcf SHA256 106f030fae8ea762d572fbebcd8c418894ead2fe310352d3d9ee8f38ec4e2b42
EBUILD autoconf-wrapper-8.ebuild 1005 RMD160 89c9a05568aa6f677c56ff66dfbe702f4ed7f464 SHA1 8547f3ef1d2ba34b66cef34cc73ba67455eb9fd0 SHA256 9abffe402d5753068757cb98b05025d989ee356897f8dd3bc03d48b1e24c98df
EBUILD autoconf-wrapper-9-r1.ebuild 1017 RMD160 44bdafb5432ebd53319b831525840089dadff73f SHA1 5b3eecaaeea1373d9085daca9af20577b1d945b2 SHA256 a04d1437b20a431a32a068443b458a4575cffebad1e8dd5f90b796026e495a7d
-MISC ChangeLog 10522 RMD160 e12656a1d00380e48faf4115ce4319dbec434575 SHA1 abe3731241cc64f5773d8aa71c04bf3a4358b7da SHA256 40ddbd5b6c8e6e80a66c4253f30a72b0dd116f3c48b0f7da02572968ed869f45
+MISC ChangeLog 10741 RMD160 206fe04ce647cbbe3d0c56804d7ecb55eabc85d3 SHA1 363727a8c98963ef93cba84507fe4d24aea663d8 SHA256 2324f7871db4965f575d96f3a8e9a2004d4abadefe71cbe52ccb91394b02d012
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAkyalsQACgkQTwhj9JtAlp6NUAD/f1YJQGkb14VOZiCJR1cWY5Eg
-EJ+OGfmz7Vz+JHNSWJwBAJq3Y1OIH5tvWjZoENP4hdyFXUJDpznH5JI+R+YUTMTf
-=BcBq
+iF4EAREIAAYFAkycCt0ACgkQTwhj9JtAlp6sRgD/fd+8gzCirSbmCbtZjdpgudin
+B+Ja2SB8L5Gi0qW/v7sBAKheRP65stmOun7aAXKfVwMePaGGGPeplNWXdFjDshFy
+=HWU9
-----END PGP SIGNATURE-----
diff --git a/sys-devel/autoconf-wrapper/autoconf-wrapper-10-r1.ebuild b/sys-devel/autoconf-wrapper/autoconf-wrapper-10-r1.ebuild
new file mode 100644
index 000000000000..6d2a5c0bc9a7
--- /dev/null
+++ b/sys-devel/autoconf-wrapper/autoconf-wrapper-10-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/autoconf-wrapper-10-r1.ebuild,v 1.1 2010/09/24 02:20:33 vapier Exp $
+
+inherit multilib
+
+DESCRIPTION="wrapper for autoconf to manage multiple autoconf versions"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+S=${WORKDIR}
+
+src_install() {
+ exeinto /usr/$(get_libdir)/misc
+ newexe "${FILESDIR}"/ac-wrapper-${PV}.sh ac-wrapper.sh || die
+
+ dodir /usr/bin
+ local x=
+ for x in auto{conf,header,m4te,reconf,scan,update} ifnames ; do
+ dosym ../$(get_libdir)/misc/ac-wrapper.sh /usr/bin/${x} || die
+ done
+}
diff --git a/sys-devel/autoconf-wrapper/files/ac-wrapper-10.sh b/sys-devel/autoconf-wrapper/files/ac-wrapper-10.sh
index 1c0db8fbca23..b42aad390025 100755
--- a/sys-devel/autoconf-wrapper/files/ac-wrapper-10.sh
+++ b/sys-devel/autoconf-wrapper/files/ac-wrapper-10.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/files/ac-wrapper-10.sh,v 1.1 2010/09/22 23:52:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/files/ac-wrapper-10.sh,v 1.2 2010/09/24 02:20:33 vapier Exp $
# Based on the ac-wrapper.pl script provided by MandrakeSoft
# Rewritten in bash by Gregorio Guidi
@@ -29,6 +29,24 @@ if [ "${WANT_AUTOCONF}" = "2.1" ] && [ "${0##*/}" = "autom4te" ] ; then
" that would use autom4te."
fi
+if ! seq 0 0 2>/dev/null 1>&2 ; then #338518
+ seq() {
+ local f l i
+ case $# in
+ 1) f=1 i=1 l=$1;;
+ 2) f=$1 i=1 l=$2;;
+ 3) f=$1 i=$2 l=$3;;
+ esac
+ while :; do
+ [ $l -lt $f -a $i -gt 0 ] && break
+ [ $f -lt $l -a $i -lt 0 ] && break
+ echo $f
+ : $(( f += i ))
+ done
+ return 0
+ }
+fi
+
#
# Set up bindings between actual version and WANT_AUTOCONF
#