source: trunk/server/fedora/specs/rubygem-actionpack.spec.patch @ 1331

Last change on this file since 1331 was 1329, checked in by mitchb, 15 years ago
Scriptsify activesupport and actionpack ruby gems, patch for CVE-2009-3009
File size: 1.4 KB
RevLine 
[1329]1--- rubygem-actionpack.spec.orig        2009-10-01 04:46:42.000000000 -0400
2+++ rubygem-actionpack.spec     2009-10-01 06:01:01.000000000 -0400
3@@ -7,17 +7,19 @@
4 Summary: Web-flow and rendering framework putting the VC in MVC
5 Name: rubygem-%{gemname}
6 Version: 2.3.2
7-Release: 1%{?dist}
8+Release: 1.scripts.%{scriptsversion}%{?dist}
9 Group: Development/Languages
10 License: MIT
11 URL: http://www.rubyonrails.org
12 Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
13+Patch0: rubygem-actionpack-2.3.x-CVE-2009-3009.patch
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 Requires: rubygems
16 Requires: rubygem(activesupport) = %{version}
17 BuildRequires: rubygems
18 BuildArch: noarch
19 Provides: rubygem(%{gemname}) = %{version}
20+Provides: scripts-rubygem-actionpack
21 
22 %description
23 Eases web-request routing, handling, and response as a half-way front,
24@@ -35,6 +37,10 @@
25 gem install --local --install-dir %{buildroot}%{gemdir} \
26             --force --rdoc %{SOURCE0}
27 
28+pushd %{buildroot}%{geminstdir}
29+cat %{PATCH0} | patch -s -p2
30+popd
31+
32 # Remove backup files
33 find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
34 
35@@ -71,6 +77,9 @@
36 
37 
38 %changelog
39+* Thu Oct 01 2009 Mitchell Berger <mitchb@mit.edu> - 2.3.2-1.scripts
40+- Patch for CVE-2009-3009
41+
42 * Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 2.3.2-1
43 - New upstream version
44 
Note: See TracBrowser for help on using the repository browser.