graaff 14/10/31 07:08:13
Modified: ChangeLog
Added: sprockets-2.1.4.ebuild sprockets-2.2.3.ebuild
sprockets-2.12.3.ebuild
Log:
Version bump for security issue CVE-2014-7819.
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key
0x8883FA56A308A8D7!)
Revision Changes Path
1.28 dev-ruby/sprockets/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/ChangeLog?rev=1.28&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/ChangeLog?rev=1.28&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/ChangeLog?r1=1.27&r2=1.28
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog 2 Oct 2014 12:21:02 -0000 1.27
+++ ChangeLog 31 Oct 2014 07:08:13 -0000 1.28
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/sprockets
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.27
2014/10/02 12:21:02 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.28
2014/10/31 07:08:13 graaff Exp $
+
+*sprockets-2.12.3 (31 Oct 2014)
+*sprockets-2.2.3 (31 Oct 2014)
+*sprockets-2.1.4 (31 Oct 2014)
+
+ 31 Oct 2014; Hans de Graaff <[email protected]> +sprockets-2.1.4.ebuild,
+ +sprockets-2.2.3.ebuild, +sprockets-2.12.3.ebuild:
+ Version bump for security issue CVE-2014-7819.
*sprockets-2.12.2 (02 Oct 2014)
1.1 dev-ruby/sprockets/sprockets-2.1.4.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.4.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.4.ebuild?rev=1.1&content-type=text/plain
Index: sprockets-2.1.4.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.4.ebuild,v
1.1 2014/10/31 07:08:13 graaff Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Ruby library for compiling and serving web assets"
HOMEPAGE="https://github.com/sstephenson/sprockets"
SRC_URI="https://github.com/sstephenson/sprockets/tarball/v${PV} -> ${P}.tgz"
RUBY_S="sstephenson-sprockets-*"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "
=dev-ruby/hike-1* >=dev-ruby/hike-1.2
=dev-ruby/rack-1*
>=dev-ruby/tilt-1.3.1"
ruby_add_bdepend "test? (
dev-ruby/json
dev-ruby/rack-test
=dev-ruby/coffee-script-2*
dev-ruby/execjs:1
)"
all_ruby_prepare() {
# Avoid tests for template types that we currently don't package:
# eco and ejs.
sed -i -e '/eco templates/,/end/ s:^:#:' \
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb ||
die
# Avoid failing tests. These no longer fail in upstream HEAD and we
# did not run tests before at all so its not a regression.
rm test/test_asset.rb test/test_server.rb || die
# Avoid test depending on specific execjs version
sed -i -e '/bundled asset cached if theres an error building it/askip
"gentoo"' test/test_environment.rb || die
}
1.1 dev-ruby/sprockets/sprockets-2.2.3.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.3.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.3.ebuild?rev=1.1&content-type=text/plain
Index: sprockets-2.2.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.3.ebuild,v
1.1 2014/10/31 07:08:13 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem versionator
DESCRIPTION="Ruby library for compiling and serving web assets"
HOMEPAGE="https://github.com/sstephenson/sprockets"
SRC_URI="https://github.com/sstephenson/sprockets/archive/v${PV}.tar.gz ->
${P}-git.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "
>=dev-ruby/hike-1.2:0
=dev-ruby/multi_json-1*
=dev-ruby/rack-1*
=dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1"
ruby_add_bdepend "test? (
dev-ruby/json
dev-ruby/rack-test
=dev-ruby/coffee-script-2*
dev-ruby/execjs:1
)"
all_ruby_prepare() {
# Avoid tests for template types that we currently don't package:
# eco and ejs.
sed -i -e '/eco templates/,/end/ s:^:#:' \
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb ||
die
# Avoid failing tests. These no longer fail in upstream HEAD and we
# did not run tests before at all so its not a regression.
rm test/test_asset.rb test/test_server.rb || die
# Ignore failing tests with sprockets 2.2.1. These pass with the
# latest versions but we need to put in this old version to support
# Rails 3.2.9.
sed -i -e '/depedencies are cached/,/end/ s:^:#:' test/test_caching.rb
|| die
sed -i -e '/remove old asset/,/^ end/ s:^:#:' test/test_manifest.rb ||
die
# Fix missing json include
sed -i -e '5irequire "json"' test/sprockets_test.rb || die
# Avoid test depending on specific execjs version
sed -i -e '/bundled asset cached if theres an error building it/askip
"gentoo"' test/test_environment.rb || die
# Avoid test failing due to encoding specifics and available locales.
sed -i -e '/read ASCII asset/askip "gentoo"' test/test_encoding.rb ||
die
}
1.1 dev-ruby/sprockets/sprockets-2.12.3.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.12.3.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sprockets/sprockets-2.12.3.ebuild?rev=1.1&content-type=text/plain
Index: sprockets-2.12.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.12.3.ebuild,v
1.1 2014/10/31 07:08:13 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Ruby library for compiling and serving web assets"
HOMEPAGE="https://github.com/sstephenson/sprockets"
SRC_URI="https://github.com/sstephenson/sprockets/archive/v${PV}.tar.gz ->
${P}-git.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1)"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "
=dev-ruby/hike-1* >=dev-ruby/hike-1.2
=dev-ruby/multi_json-1*
=dev-ruby/rack-1*
=dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1
!!<dev-ruby/sprockets-2.2.2-r1:2.2"
ruby_add_bdepend "test? (
dev-ruby/json
dev-ruby/rack-test
=dev-ruby/coffee-script-2*
=dev-ruby/execjs-2*
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
)"
all_ruby_prepare() {
# Avoid tests for template types that we currently don't package:
# eco and ejs.
sed -i -e '/eco templates/,/end/ s:^:#:' \
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb ||
die
# Add missing 'json' require
sed -i -e '4irequire "json"' test/test_manifest.rb || die
# Avoid test breaking on specific javascript error being thrown,
# most likely due to using node instead of v8.
sed -i -e '/bundled asset cached if theres an error/,/^ end/ s:^:#:'
test/test_environment.rb || die
# Require a newer version of execjs since we do not have this slotted.
sed -i -e '/execjs/ s/1.0/2.0/' ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_prepare() {
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
}
each_ruby_test() {
# Make sure we have completely separate copies. Hardlinks won't work
# for this test suite.
cp -R test test-new || die
rm -rf test || die
mv test-new test || die
each_fakegem_test
}