diff --git a/.gitignore b/.gitignore index 44d0474..0c59f56 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ roundcubemail-0.3.1-dep.tar.gz /roundcubemail-0.4.2-dep.tar.gz +/roundcubemail-0.5.1-dep.tar.gz diff --git a/roundcubemail-0.5.1-CVE-2010-0464.patch b/roundcubemail-0.5.1-CVE-2010-0464.patch new file mode 100644 index 0000000..6cd2065 --- /dev/null +++ b/roundcubemail-0.5.1-CVE-2010-0464.patch @@ -0,0 +1,17 @@ +--- program/include/rcube_html_page.php~ 2011-01-29 08:55:12.000000000 -0600 ++++ program/include/rcube_html_page.php 2011-02-10 12:34:16.439813090 -0600 +@@ -192,6 +192,14 @@ + $page_header.= $this->charset . '" />'."\n"; + } + ++ // add hint to disable DNS prefetching ++ if (!headers_sent()) { ++ header('X-DNS-Prefetch-Control: off'); ++ } else { ++ $__page_header.= ''."\n"; ++ } ++ ++ + // definition of the code to be placed in the document header and footer + if (is_array($this->script_files['head'])) { + foreach ($this->script_files['head'] as $file) { diff --git a/roundcubemail.spec b/roundcubemail.spec index 25dcb26..3231dcc 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -1,8 +1,8 @@ %define roundcubedir %{_datadir}/roundcubemail %global _logdir /var/log Name: roundcubemail -Version: 0.4.2 -Release: 2%{?dist} +Version: 0.5.1 +Release: 1%{?dist} Summary: Round Cube Webmail is a browser-based multilingual IMAP client Group: Applications/System @@ -19,7 +19,7 @@ Source4: roundcubemail-README.fedora #Patch2: roundcubemail-0.2-beta-CVE-2008-5620.patch #Patch3: roundcubemail-0.2-CVE-2009-0413.patch #Patch4: roundcubemail-0.2-stable-pg-mdb2.patch -Patch5: roundcubemail-0.3.1-CVE-2010-0464.patch +Patch5: roundcubemail-0.5.1-CVE-2010-0464.patch Patch6: roundcubemail-0.4.1-confpath.patch Patch7: roundcubemail-0.4.1-pg-mdb2.patch @@ -38,6 +38,7 @@ Requires: php-pear-MDB2-Driver-mysql Requires: php-pecl-Fileinfo Requires: php-xml Requires: php-mbstring +Requires: php-pear-Net-IDNA2 %description RoundCube Webmail is a browser-based multilingual IMAP client @@ -150,6 +151,9 @@ exit 0 %config(noreplace) %{_sysconfdir}/logrotate.d/roundcubemail %changelog +* Thu Feb 10 2011 Jon Ciesla = 0.5.1-1 +- New upstream. + * Wed Feb 09 2011 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 363ca1e..8ef4f31 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -451fc2229682d410f774365b3953dfad roundcubemail-0.4.2-dep.tar.gz +dcc8b0839ba92a39ad244653d2083079 roundcubemail-0.5.1-dep.tar.gz