summaryrefslogtreecommitdiffstats
path: root/cgit.spec
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2010-09-27 18:18:30 -0400
committerTodd Zullinger <tmz@pobox.com>2010-09-27 18:18:30 -0400
commit637b84512621d124edd19df2f1d33dc3d89f76f1 (patch)
tree6ca52448224420932af4be27bc3a9e779b0008d8 /cgit.spec
parent090feecc81431be6493297522b4bbe8f1c7ae5ad (diff)
downloadcgit_EL6-637b84512621d124edd19df2f1d33dc3d89f76f1.tar.gz
Appy upstream git patch for CVE-2010-2542 (#618108)
Diffstat (limited to 'cgit.spec')
-rw-r--r--cgit.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/cgit.spec b/cgit.spec
index 48bbacf..2572bfa 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -17,7 +17,7 @@ make V=1 %{?_smp_mflags} \\\
Name: cgit
Version: 0.8.2.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A fast webinterface for git
Group: Development/Tools
@@ -28,6 +28,7 @@ Source1: http://www.kernel.org/pub/software/scm/git/git-%{gitver}.tar.bz2
Source2: cgitrc
Source3: cgit.httpd
Source4: README.SELinux
+Patch0: cgit-0.8.2.1-CVE-2010-2542.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%if 0%{?fedora}
@@ -50,6 +51,8 @@ rm -rf git
mv git-%{gitver} git
sed -i 's/^\(CFLAGS = \).*/\1%{optflags}/' git/Makefile
+%patch0 -p1
+
# add README.SELinux
cp -p %{SOURCE4} .
@@ -81,6 +84,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Sep 27 2010 Todd Zullinger <tmz@pobox.com> - 0.8.2.1-4
+- Appy upstream git patch for CVE-2010-2542 (#618108)
+
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.8.2.1-3
- rebuilt with new openssl