diff options
author | Richard Brown <rbrown@gentoo.org> | 2007-09-24 09:38:33 +0000 |
---|---|---|
committer | Richard Brown <rbrown@gentoo.org> | 2007-09-24 09:38:33 +0000 |
commit | 17b8c0071d9b3171da3ca35edbea891c68f068e4 (patch) | |
tree | 85774baf0bf49555a541aa5824401d2a7913538b /dev-lang/ruby | |
parent | stable x86, bug #193563 (diff) | |
download | historical-17b8c0071d9b3171da3ca35edbea891c68f068e4.tar.gz historical-17b8c0071d9b3171da3ca35edbea891c68f068e4.tar.bz2 historical-17b8c0071d9b3171da3ca35edbea891c68f068e4.zip |
Version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-lang/ruby')
-rw-r--r-- | dev-lang/ruby/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/ruby/Manifest | 16 | ||||
-rw-r--r-- | dev-lang/ruby/files/digest-ruby-1.8.6_p110 | 6 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-1.8.6_p110.ebuild | 168 |
4 files changed, 192 insertions, 5 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog index c287637c902c..ac4df8e22ab4 100644 --- a/dev-lang/ruby/ChangeLog +++ b/dev-lang/ruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/ruby # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.294 2007/08/26 06:25:38 pclouds Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.295 2007/09/24 09:38:32 rbrown Exp $ + +*ruby-1.8.6_p110 (24 Sep 2007) + + 24 Sep 2007; Richard Brown <rbrown@gentoo.org> +ruby-1.8.6_p110.ebuild: + Version bump *ruby-1.8.6_p36-r4 (26 Aug 2007) diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index 7436d56beed0..c8446f6ff47a 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -24,6 +24,7 @@ DIST onigd2_5_9.tar.gz 221355 RMD160 ceeee9a0221d431d6576a566621ba9badab6423d SH DIST ruby-1.8.4.tar.gz 4312965 RMD160 1c0572a4ee369af57a3db68027b2566052eac944 SHA1 93999577c7fc4decc6b2fe8fefa96e743f278fbf SHA256 71432841b3965b7ab2d83f0dc7c3049195ea4e9267a8dc2d825a8a0466982930 DIST ruby-1.8.5-p2.tar.gz 4519151 RMD160 3ad4c4a4d02930cbb1a582ea5fa19db04f55ab3b SHA1 f614bba73f447ddf35f8a4beb71ccc3df87831a5 SHA256 496844dc90571454a50552912f02a42df7fc4f89cef5bd3cd4854cecf3fd1d30 DIST ruby-1.8.5-p35.tar.gz 4522314 RMD160 8a87fb77ce5eab0a663431a7ad689d48cd9ca06c SHA1 04067b47c27c4e5197a11e4e3ea2504842a46f66 SHA256 4d937d5c51e95b4f5c881e334c1c3f69c8e894deac1024ed7c9911c4f78548f0 +DIST ruby-1.8.6-p110.tar.gz 4546509 RMD160 6495c22a94149e4dbc3608f0bf2f0c75683060e0 SHA1 0954a9d308d12393e2a6880743f752eb171bbe81 SHA256 d3f11ecaf2b0bd7bd3f0bc24007b1c7c12640c55cd40e8e4cc396ba835186fbe DIST ruby-1.8.6-p36.tar.gz 4535005 RMD160 8e3ca34149b60c649ee50ee98c5e89de04099eba SHA1 8146074ddfdc7d1dedc172b4956a8b131c0f58bf SHA256 1a9db5f4720a7023d9ecfaa6c4128ecb5f8cd59460744fb4b5f3b64ed3786935 DIST ruby-1.8.6.tar.gz 4589394 RMD160 a1ad902bb1311233cd3cf9db52ab2ec076a709f5 SHA1 c915f65e1e42dbedc43acabcbef2bbe03233bf20 SHA256 3ef37fb961d04471a1aef2c8079d6fab09932e3281d79859d5cd5d426bde0868 EBUILD ruby-1.8.4-r3.ebuild 3771 RMD160 ec30e7108ca305568d6a435944eee43d198c5b8d SHA1 862eb815f09e6bfbee4dbfb45f2b9b9249cb28e4 SHA256 819b09c7279d9fbbd588236ad0a7bb98dc73d220b191007406cfc80adab77237 @@ -42,6 +43,10 @@ EBUILD ruby-1.8.6-r1.ebuild 4974 RMD160 9c3b1b305cdb0845d90949f4208ddfeb65be22a9 MD5 f8cecf90037eeea8cc16fab2d3ead58c ruby-1.8.6-r1.ebuild 4974 RMD160 9c3b1b305cdb0845d90949f4208ddfeb65be22a9 ruby-1.8.6-r1.ebuild 4974 SHA256 e501162db6479de297170292ed828c110f49f606f4e5d1efe9cea158a416636d ruby-1.8.6-r1.ebuild 4974 +EBUILD ruby-1.8.6_p110.ebuild 4914 RMD160 7dccf083abbcc33633d5be3e4d759595f9a7c61d SHA1 170fd8e2e1ca6cdd8c8e706c2f1542aff102717c SHA256 d212217ac656d9a6e14b53f16b973fbb47d0e7672d5ab3f6b6ffde930fa3f48c +MD5 295f546dc3ebfa8674445d38b1431b3d ruby-1.8.6_p110.ebuild 4914 +RMD160 7dccf083abbcc33633d5be3e4d759595f9a7c61d ruby-1.8.6_p110.ebuild 4914 +SHA256 d212217ac656d9a6e14b53f16b973fbb47d0e7672d5ab3f6b6ffde930fa3f48c ruby-1.8.6_p110.ebuild 4914 EBUILD ruby-1.8.6_p36-r3.ebuild 4964 RMD160 d3b9f2cd70d62b64738323a6bf560a692a5e7c9b SHA1 16fc49190fea45c0fb50a4abd181390d8bbbc536 SHA256 7f06aa179ada2b0637218a6ade9649344b5cc31bbca33f3bfd6f0c0b9abd96fe MD5 073af124ff26824537d057a02cd6e0d0 ruby-1.8.6_p36-r3.ebuild 4964 RMD160 d3b9f2cd70d62b64738323a6bf560a692a5e7c9b ruby-1.8.6_p36-r3.ebuild 4964 @@ -50,10 +55,10 @@ EBUILD ruby-1.8.6_p36-r4.ebuild 4990 RMD160 0a9f843a567e7c3bfb67f1ba0eb5bc9f025f MD5 f10edd5b59cb7c30163814381c396454 ruby-1.8.6_p36-r4.ebuild 4990 RMD160 0a9f843a567e7c3bfb67f1ba0eb5bc9f025f19c9 ruby-1.8.6_p36-r4.ebuild 4990 SHA256 c17692d08fe66f168ff61e1072bd12967f02b0eacb6a9191164e54ca47d20e2c ruby-1.8.6_p36-r4.ebuild 4990 -MISC ChangeLog 42983 RMD160 25d4d42a387ddab54336148883318aa46178ef95 SHA1 9eb18a1fe3ac4e951e81e42245cf81bbe4fac80b SHA256 7bd1522d6acb3e4e736e9bda6807c0b806aa18dd537f653d8944438a93c788c5 -MD5 48a47063387d65403f22315bd002f6b8 ChangeLog 42983 -RMD160 25d4d42a387ddab54336148883318aa46178ef95 ChangeLog 42983 -SHA256 7bd1522d6acb3e4e736e9bda6807c0b806aa18dd537f653d8944438a93c788c5 ChangeLog 42983 +MISC ChangeLog 43104 RMD160 92e4bd2202fa6b62a8cfa6631d5c74cd7b1641df SHA1 bebc04aaaa3b32066bfbe1f6e92857ef1574ad1f SHA256 d3c7f94e044dbb9b643fa623c15fbd9ad29e269190ba575c414ee25e68a7e5cb +MD5 d22d6b0d3a77348e3487b876ec139432 ChangeLog 43104 +RMD160 92e4bd2202fa6b62a8cfa6631d5c74cd7b1641df ChangeLog 43104 +SHA256 d3c7f94e044dbb9b643fa623c15fbd9ad29e269190ba575c414ee25e68a7e5cb ChangeLog 43104 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157 @@ -70,6 +75,9 @@ SHA256 bbb5d32f084537e89f7ac201de06942620d794d744c8ae0c07797efb1bd00942 files/di MD5 e7fc9a14d094a485d0db9eac1e17ca88 files/digest-ruby-1.8.6-r1 235 RMD160 d8b37132ebe5eba9d4485f1ce320ab3fc824cc4d files/digest-ruby-1.8.6-r1 235 SHA256 06257e9ae516624582d8e9067e50d992537ffddab879573208164353cc3d8075 files/digest-ruby-1.8.6-r1 235 +MD5 d4962a07a9e96e82d477b51762b055b8 files/digest-ruby-1.8.6_p110 482 +RMD160 5c893aec8d7b5e57d435aa2fcb839d7548b58e31 files/digest-ruby-1.8.6_p110 482 +SHA256 9bc1c506ca3cd4d1813cb1756a00fef2f24386df406ae7eb77829ea3d1c51bb2 files/digest-ruby-1.8.6_p110 482 MD5 a3f4418fce22647071dd4933a1eadcf0 files/digest-ruby-1.8.6_p36-r3 479 RMD160 3f088121f5c934ea461a83023031adabd210a0d4 files/digest-ruby-1.8.6_p36-r3 479 SHA256 7a9bfbd900c349de6e3685df9d0879e5f026a00a03c6873f241bf17d03de1429 files/digest-ruby-1.8.6_p36-r3 479 diff --git a/dev-lang/ruby/files/digest-ruby-1.8.6_p110 b/dev-lang/ruby/files/digest-ruby-1.8.6_p110 new file mode 100644 index 000000000000..408fe1eb2248 --- /dev/null +++ b/dev-lang/ruby/files/digest-ruby-1.8.6_p110 @@ -0,0 +1,6 @@ +MD5 7e4c2b197387232afd9a11378feeb246 onigd2_5_9.tar.gz 221355 +RMD160 ceeee9a0221d431d6576a566621ba9badab6423d onigd2_5_9.tar.gz 221355 +SHA256 b24df7c0fa6fc72ce37fd1e203f378359f29f739a3f4c5b6bdd40ca5f7d25db0 onigd2_5_9.tar.gz 221355 +MD5 5d9f903eae163cda2374ef8fdba5c0a5 ruby-1.8.6-p110.tar.gz 4546509 +RMD160 6495c22a94149e4dbc3608f0bf2f0c75683060e0 ruby-1.8.6-p110.tar.gz 4546509 +SHA256 d3f11ecaf2b0bd7bd3f0bc24007b1c7c12640c55cd40e8e4cc396ba835186fbe ruby-1.8.6-p110.tar.gz 4546509 diff --git a/dev-lang/ruby/ruby-1.8.6_p110.ebuild b/dev-lang/ruby/ruby-1.8.6_p110.ebuild new file mode 100644 index 000000000000..fbef77a7347d --- /dev/null +++ b/dev-lang/ruby/ruby-1.8.6_p110.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p110.ebuild,v 1.1 2007/09/24 09:38:32 rbrown Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +ONIGURUMA="onigd2_5_9" + +inherit flag-o-matic alternatives eutils multilib autotools versionator + +MY_P="${P/_p/-p}" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="An object-oriented scripting language" +HOMEPAGE="http://www.ruby-lang.org/" +SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${MY_P}.tar.gz + cjk? ( http://www.geocities.jp/kosako3/oniguruma/archive/${ONIGURUMA}.tar.gz )" + +LICENSE="Ruby" +SLOT="1.8" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="cjk debug doc examples ipv6 rubytests socks5 threads tk" + +RDEPEND=">=sys-libs/gdbm-1.8.0 + >=sys-libs/readline-4.1 + >=sys-libs/ncurses-5.2 + socks5? ( >=net-proxy/dante-1.1.13 ) + tk? ( dev-lang/tk ) + >=dev-ruby/ruby-config-0.3.1 + !=dev-lang/ruby-cvs-1.8* + !dev-ruby/rdoc + !dev-ruby/rexml" +DEPEND="${RDEPEND}" +PROVIDE="virtual/ruby" + +src_unpack() { + unpack ${A} + + if use cjk ; then + einfo "Applying ${ONIGURUMA}" + pushd ${WORKDIR}/oniguruma + econf --with-rubydir=${S} || die "econf failed" + MY_PV=$(get_version_component_range 1-2) + make ${MY_PV/./} + popd + fi + + cd "${S}/ext/dl" + epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff" + + cd "${S}" + # Fix a hardcoded lib path in configure script + sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ + configure.in || die "sed failed" + + eautoreconf +} + +src_compile() { + # -fomit-frame-pointer makes ruby segfault, see bug #150413. + filter-flags -fomit-frame-pointer + # In many places aliasing rules are broken; play it safe + # as it's risky with newer compilers to leave it as it is. + append-flags -fno-strict-aliasing + + # Socks support via dante + if use socks5 ; then + # Socks support can't be disabled as long as SOCKS_SERVER is + # set and socks library is present, so need to unset + # SOCKS_SERVER in that case. + unset SOCKS_SERVER + fi + + # Increase GC_MALLOC_LIMIT if set (default is 8000000) + if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then + append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" + fi + + econf --program-suffix=${SLOT/./} --enable-shared \ + $(use_enable socks5 socks) \ + $(use_enable doc install-doc) \ + $(use_enable threads pthread) \ + $(use_enable ipv6) \ + $(use_enable debug) \ + $(use_with tk) \ + --with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \ + || die "econf failed" + + emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_test() { + emake -j1 test || die "make test failed" + + elog "Ruby's make test has been run. Ruby also ships with a make check" + elog "that cannot be run until after ruby has been installed." + elog + if use rubytests; then + elog "You have enabled rubytests, so they will be installed to" + elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" + elog "than root, and you must place them into a writeable directory." + elog "Then call: " + elog + elog "ruby -C /location/of/tests runner.rb" + else + elog "Enable the rubytests USE flag to install the make check tests" + fi +} + +src_install() { + LD_LIBRARY_PATH=${D}/usr/$(get_libdir) + RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}" + for d in $(find ${S}/ext -type d) ; do + RUBYLIB="${RUBYLIB}:$d" + done + export LD_LIBRARY_PATH RUBYLIB + + make DESTDIR="${D}" install || die "make install failed" + + MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) + keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']") + keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']") + + if use doc; then + make DESTDIR="${D}" install-doc || die "make install-doc failed" + fi + + if use examples; then + dodir /usr/share/doc/${PF} + cp -pPR sample ${D}/usr/share/doc/${PF} + fi + + dosym libruby${SLOT/./}$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*}) + dosym libruby${SLOT/./}$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*}) + + dodoc ChangeLog NEWS README* ToDo + + if use rubytests; then + dodir /usr/share/${PN}-${SLOT} + cp -pPR test ${D}/usr/share/${PN}-${SLOT} + fi +} + +pkg_postinst() { + ewarn + ewarn "Warning: Vim won't work if you've just updated ruby from" + ewarn "1.6.x to 1.8.x due to the library version change." + ewarn "In that case, you will need to remerge vim." + ewarn + + ewarn "If you upgrade to >=sys-apps/coreutils-6.7-r1," + ewarn "you should re-emerge ruby again." + ewarn "See bug #159922 for details" + ewarn + if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then + ${ROOT}usr/sbin/ruby-config ruby${SLOT/./} + fi + elog + elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config" + elog +} + +pkg_postrm() { + if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then + ${ROOT}usr/sbin/ruby-config ruby${SLOT/./} + fi +} |