summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-06-28 21:31:34 +0000
committerAlex Legler <a3li@gentoo.org>2009-06-28 21:31:34 +0000
commit38c4068a8dd2c9313333d90e4f1dc84201240d3a (patch)
treeef3a797a83da3426adbdb71b11738fff743e7bc6 /dev-lang
parentFix building with gcc-4.3 (and 4.4). Patch by Tyler Cordrey <tcordrey AT umd... (diff)
downloadhistorical-38c4068a8dd2c9313333d90e4f1dc84201240d3a.tar.gz
historical-38c4068a8dd2c9313333d90e4f1dc84201240d3a.tar.bz2
historical-38c4068a8dd2c9313333d90e4f1dc84201240d3a.zip
Removing vunlerable ebuild, bug 273213.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ruby/ChangeLog5
-rw-r--r--dev-lang/ruby/Manifest14
-rw-r--r--dev-lang/ruby/ruby-1.8.6_p368.ebuild179
3 files changed, 15 insertions, 183 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog
index aa33269de6b5..8a6ec58fe4a4 100644
--- a/dev-lang/ruby/ChangeLog
+++ b/dev-lang/ruby/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/ruby
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.417 2009/06/21 14:17:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.418 2009/06/28 21:31:34 a3li Exp $
+
+ 28 Jun 2009; Alex Legler <a3li@gentoo.org> -ruby-1.8.6_p368.ebuild:
+ Removing vulnerable ebuild, bug 273213.
21 Jun 2009; Brent Baude <ranger@gentoo.org> ruby-1.8.6_p369.ebuild:
Marking ruby-1.8.6_p369 ppc for bug 273213
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index 2c5cde46c8c0..5dd4e71416d0 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX auto_gem.rb 509 RMD160 f8ffc36e384592956e6508b952ea80110f73efe3 SHA1 498f8963c27cad7e8334b2e797c51f6ac2101b1b SHA256 f0f7f61b110955325be52d278fcc1d3f3ea395cd9523dba33af37a44fd59666d
AUX ruby-1.8.6-memory-leak.diff 1351 RMD160 cba1335fcd52df26b4b2884dea14e0c74852b67a SHA1 184c1743592684abfc1cce8ffa38ae749fe0a1b1 SHA256 90dbc7b444ed936ed8a1fadb443240ec494a6c748d38ff089af423e50bdd9528
AUX ruby-1.8.6-uclibc-udp.patch 572 RMD160 7f460b16cbb1385aa9be62bd5df5e4f8fa919af3 SHA1 e119dabbf9654be3eaa1e944f71eb334ef207ffb SHA256 520994dcff6873d089213cf07342b419472a762be44247daebcfe0e853d32e37
@@ -9,15 +12,20 @@ AUX ruby18-mkmf-parallel-install.patch 527 RMD160 1cb49132c4b1e6d9d9870b69a2fde7
AUX ruby19-mkmf-parallel-install.patch 541 RMD160 c780d1900a0286c9ab66ac1b4c545e15950b7cff SHA1 b7fcf1a6bfc91f3aaacbf4ce600cace31bd5e9a9 SHA256 335087b90053a675e9c3dd2dde050078ae451feabbd38bc1966fa59055f04c0a
AUX ruby19-rubygems-gentoo.patch 1914 RMD160 9668808eb50ac0e96265d8756d6751f625c396dd SHA1 621918bcba23dbf2fdd1343ffd73b791bc94d996 SHA256 aeacba7ef60e7dee601303470bdc41216f2b5c9d3da88369849568bc95359512
AUX ruby19-rubygems-proxy.patch 407 RMD160 0bfedce42f4879d729b8de650f99a345faaa7ec4 SHA1 aa23a497f0c581374f687690b0b1035092b4b488 SHA256 3cadd23dfbb128e7029ecc01aab3f00f1aaf011e50492c3a967812a2395e1a59
-DIST ruby-1.8.6-p368.tar.bz2 3967709 RMD160 fba1ef4f6b2b069f4fcd4734b09fc36197138929 SHA1 7a2cfb9f0803d21221e7d066837037bbbc50b6ad SHA256 1bd398a125040261f8e9e74289277c82063aae174ada9f300d2bea0a42ccdcc1
DIST ruby-1.8.6-p369.tar.bz2 3981771 RMD160 34d2763fd7b24c5883eaea457b871708d20c51e8 SHA1 d121f84b1b264f3a72878797222852b272a099fd SHA256 fb6974ab8a0de52511e846eacf113432b5227a867e3c9741d65775f162e13715
DIST ruby-1.8.7-p174.tar.bz2 4144807 RMD160 f854d456003af1e31d50330c88c3cb152c434249 SHA1 9e84b49ad545ad54b8e7dc3c227eaaefeb1041aa SHA256 203978b6db1cc77a79ff03d141d162f6f17d86c3574f76de9eae9d0c8cb920bc
DIST ruby-1.9.1-p129.tar.bz2 7183891 RMD160 570f567508f9a4ee41e7983ab0a399cbd1a47b8a SHA1 4e36be3bea89c17e2c7e908d5b18bf6071cc91c0 SHA256 cb730f035aec0e3ac104d23d27a79aa9625fdeb115dae2295de65355f449ce27
DIST ruby-patches-1.8.7_p174.tar.bz2 1255 RMD160 2070ae0a6650331b91bf0f2a3b694a4d1837391f SHA1 f9caa7237c79ab9644c8432665bffaabda407ed3 SHA256 63cb9753737658e7983b7a306be353635085d6966ce94afebfd7ed9b2a3b1fa7
-EBUILD ruby-1.8.6_p368.ebuild 5331 RMD160 2b54339e972132c9927867a9f40aa727ea8a3652 SHA1 bdf903dec1d9d00329be434cd821e473e5f61477 SHA256 14e652675b7a911217f7c03880e687c1a1c4b6382a5b441d7511ee396cf734c3
EBUILD ruby-1.8.6_p369.ebuild 5427 RMD160 c6104f669da04975fdd8c611f05e49352b4445da SHA1 45f53238f2bd5fec0cbdd23be204022930d29f0b SHA256 6bc5f207702ede7cd9452fc584e99fec9f37ef7bcca37ded61195fc266731f37
EBUILD ruby-1.8.7_p174.ebuild 5364 RMD160 789658363e9acb34e628e941fbf0ad1f87f169aa SHA1 6dd334c8dd8191f0e7fe49692f960e8f9d62dce7 SHA256 f742994bd3a3b7f02ef9947d8a03ea74fe831c648cdd4ddea827d352258b85b9
EBUILD ruby-1.9.1_p129-r1.ebuild 5716 RMD160 e25a19776d9d4b94cb5d858312d9d120b8633d04 SHA1 902582e09ca9c80f24568ccdd50058bd3a11a6b3 SHA256 f2eb0bd4bbf09ce8800fc34a38a560c1ff330796301c0e96c21114a8bae085d6
EBUILD ruby-1.9.1_p129.ebuild 5538 RMD160 b8608e8b5287de43ef6f1996270d1d2cccd95ac7 SHA1 77e713a450b68d10ddbebd1cf7d967da95068255 SHA256 8c1c213d9cb537b3428db51653ea50f3e42810359f53d0fd9fed7d378f368872
-MISC ChangeLog 63890 RMD160 22c2027c287ef64d9af14e3da3cbd249de9daefa SHA1 8828ef3c9bb2210188777ec1625d898e256f1ec9 SHA256 3a05258252eaded0a1db37bf17ca6b91b41a7ada44c0c55f0046a654e74417c2
+MISC ChangeLog 64001 RMD160 e27c98a64857f77d19a29340b80b5a39ac2db7b2 SHA1 09d666892f528a731069ae85b97824127836d962 SHA256 d9e43076abfe7e2d90919c6630388358bf51dd1954fc2cd45876a1def88a98c2
MISC metadata.xml 262 RMD160 f8642aa78425fe09dc0e0660cb20a5bd4233d5bb SHA1 64def0369477ecf76b9285fb9c1cf0e6a4f334e5 SHA256 5ee3c0cfedcb966505e4fafcfc5321a8ee20c128da9bbcafff5aa268df588d59
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkpH4T8ACgkQaGsKqSU7eCQrOQCgtUwNO0ZTLFgu1TBH7FdO+6Jw
+F2UAniEFRiAVadtvqKCZB7WfqNKpEuC4
+=QMQl
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/ruby/ruby-1.8.6_p368.ebuild b/dev-lang/ruby/ruby-1.8.6_p368.ebuild
deleted file mode 100644
index e6da2401e3d9..000000000000
--- a/dev-lang/ruby/ruby-1.8.6_p368.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2009 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_p368.ebuild,v 1.9 2009/06/16 16:55:20 a3li Exp $
-
-inherit autotools eutils flag-o-matic multilib versionator
-
-MY_P="${PN}-$(replace_version_separator 3 '-')"
-S=${WORKDIR}/${MY_P}
-
-SLOT=$(get_version_component_range 1-2)
-MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
-
-DESCRIPTION="An object-oriented scripting language"
-HOMEPAGE="http://www.ruby-lang.org/"
-SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2"
-
-LICENSE="|| ( Ruby GPL-2 )"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="berkdb debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs"
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( sys-libs/gdbm )
- ssl? ( dev-libs/openssl )
- socks5? ( >=net-proxy/dante-1.1.13 )
- tk? ( dev-lang/tk )
- app-admin/eselect-ruby
- !=dev-lang/ruby-cvs-${SLOT}*
- !<dev-ruby/rdoc-2
- !dev-ruby/rexml"
-DEPEND="${RDEPEND}"
-PDEPEND="emacs? ( app-emacs/ruby-mode )
- xemacs? ( app-xemacs/ruby-modes )"
-
-PROVIDE="virtual/ruby"
-
-pkg_setup() {
- use tk || return
-
- # Note for EAPI-2 lovers: We'd like to show that custom message.
- # *If* you can make USE dependencies show that, too, feel free to migrate.
- if (use threads && ! built_with_use dev-lang/tk threads) \
- || (! use threads && built_with_use dev-lang/tk threads) ; then
- eerror
- eerror "You have Tk support enabled."
- eerror
- eerror "Ruby and Tk need the same 'threads' USE flag settings."
- eerror "Either change the USE flag on dev-lang/ruby or on dev-lang/tk"
- eerror "and recompile tk."
-
- die "threads USE flag mismatch"
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}/ext/dl"
- epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-mkconfig.patch"
- epatch "${FILESDIR}/${PN}${MY_SUFFIX}-mkmf-parallel-install.patch"
- epatch "${FILESDIR}/${PN}-1.8.6-uclibc-udp.patch"
-
- # 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=$MY_SUFFIX --enable-shared \
- $(use_enable socks5 socks) \
- $(use_enable doc install-doc) \
- $(use_enable threads pthread) \
- $(use_enable ipv6) \
- $(use_enable debug) \
- $(use_with berkdb dbm) \
- $(use_with gdbm) \
- $(use_with ssl openssl) \
- $(use_with tk) \
- ${myconf} \
- --with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
- --enable-option-checking=no \
- || 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
-
- emake 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$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
- dosym libruby$MY_SUFFIX$(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() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- eselect ruby set ruby${MY_SUFFIX}
- fi
-
- elog
- elog "This ebuild is compatible to eselect-ruby"
- elog "To switch between available Ruby profiles, execute as root:"
- elog "\teselect ruby set ruby(18|19|...)"
- elog
-}
-
-pkg_postrm() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- eselect ruby set ruby${MY_SUFFIX}
- fi
-}