diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-04-09 20:21:39 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-04-09 20:21:39 +0000 |
commit | 24489b76c6e347579643046498cb7048bd6be962 (patch) | |
tree | 655dfa26323ab85609e49f8611316cc651a0198b /www-client/chromium | |
parent | Fix compatibility with Python 3.2 (bug #292415). (diff) | |
download | gentoo-2-24489b76c6e347579643046498cb7048bd6be962.tar.gz gentoo-2-24489b76c6e347579643046498cb7048bd6be962.tar.bz2 gentoo-2-24489b76c6e347579643046498cb7048bd6be962.zip |
Fix some net_unittests failures, bug #361939.
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'www-client/chromium')
-rw-r--r-- | www-client/chromium/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/chromium/chromium-12.0.725.0.ebuild | 11 | ||||
-rw-r--r-- | www-client/chromium/chromium-9999-r1.ebuild | 8 | ||||
-rw-r--r-- | www-client/chromium/files/chromium-net-tests-r0.patch | 84 |
4 files changed, 101 insertions, 9 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog index c93cdb06e46d..67ce87c6328e 100644 --- a/www-client/chromium/ChangeLog +++ b/www-client/chromium/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/chromium # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.333 2011/04/08 06:23:47 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.334 2011/04/09 20:21:38 phajdan.jr Exp $ + + 09 Apr 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + +files/chromium-net-tests-r0.patch, chromium-12.0.725.0.ebuild, + chromium-9999-r1.ebuild: + Fix some net_unittests failures, bug #361939. 08 Apr 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> chromium-12.0.725.0.ebuild, chromium-9999-r1.ebuild: diff --git a/www-client/chromium/chromium-12.0.725.0.ebuild b/www-client/chromium/chromium-12.0.725.0.ebuild index 6dd2c93814bd..0769ff7952f7 100644 --- a/www-client/chromium/chromium-12.0.725.0.ebuild +++ b/www-client/chromium/chromium-12.0.725.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-12.0.725.0.ebuild,v 1.4 2011/04/08 06:23:47 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-12.0.725.0.ebuild,v 1.5 2011/04/09 20:21:38 phajdan.jr Exp $ EAPI="3" PYTHON_DEPEND="2:2.6" @@ -46,7 +46,7 @@ DEPEND="${RDEPEND} sys-devel/flex >=sys-devel/make-3.81-r2 x11-libs/libXinerama - test? ( dev-python/simplejson dev-python/tlslite virtual/krb5 )" + test? ( dev-python/simplejson virtual/krb5 )" RDEPEND+=" kerberos? ( virtual/krb5 ) xinerama? ( x11-libs/libXinerama ) @@ -107,6 +107,9 @@ src_prepare() { # Make Chromium recognize Gentoo's Heimdal, to be upstreamed. epatch "${FILESDIR}/${PN}-gssapi-heimdal-r0.patch" + # Fix some net_unittests failures, bug #361939; to be upstreamed. + epatch "${FILESDIR}/${PN}-net-tests-r0.patch" + # Remove most bundled libraries. Some are still needed. find third_party -type f \! -iname '*.gyp*' \ \! -path 'third_party/WebKit/*' \ @@ -137,6 +140,7 @@ src_prepare() { \! -path 'third_party/speex/speex.h' \ \! -path 'third_party/sqlite/*' \ \! -path 'third_party/tcmalloc/*' \ + \! -path 'third_party/tlslite/*' \ \! -path 'third_party/undoview/*' \ \! -path 'third_party/zlib/contrib/minizip/*' \ -delete || die @@ -257,10 +261,9 @@ src_test() { # DiskCache: we need net/data/cache_tests in the tarball (export_tarball.py) # NetUtilTest: bug #361885. - # HTTPS/SSL: bug #361939. # UDP: unstable, active development. We should revisit this later. LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/net_unittests virtualmake \ - '--gtest_filter=-*DiskCache*:NetUtilTest.IDNToUnicode*:NetUtilTest.FormatUrl*:*HTTPS*:*SSL*:*UDP*' + '--gtest_filter=-*DiskCache*:NetUtilTest.IDNToUnicode*:NetUtilTest.FormatUrl*:*UDP*' } src_install() { diff --git a/www-client/chromium/chromium-9999-r1.ebuild b/www-client/chromium/chromium-9999-r1.ebuild index 2fe84c45d4f9..d2287ee839a3 100644 --- a/www-client/chromium/chromium-9999-r1.ebuild +++ b/www-client/chromium/chromium-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.17 2011/04/08 06:23:47 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.18 2011/04/09 20:21:38 phajdan.jr Exp $ EAPI="3" PYTHON_DEPEND="2:2.6" @@ -48,7 +48,7 @@ DEPEND="${RDEPEND} sys-devel/flex >=sys-devel/make-3.81-r2 x11-libs/libXinerama - test? ( dev-python/simplejson dev-python/tlslite virtual/krb5 )" + test? ( dev-python/simplejson virtual/krb5 )" RDEPEND+=" !=www-client/chromium-9999 kerberos? ( virtual/krb5 ) @@ -181,6 +181,7 @@ src_prepare() { \! -path 'third_party/speex/speex.h' \ \! -path 'third_party/sqlite/*' \ \! -path 'third_party/tcmalloc/*' \ + \! -path 'third_party/tlslite/*' \ \! -path 'third_party/undoview/*' \ \! -path 'third_party/zlib/contrib/minizip/*' \ -delete || die @@ -301,10 +302,9 @@ src_test() { # DiskCache: we need net/data/cache_tests in the tarball (export_tarball.py) # NetUtilTest: bug #361885. - # HTTPS/SSL: bug #361939. # UDP: unstable, active development. We should revisit this later. LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/net_unittests virtualmake \ - '--gtest_filter=-*DiskCache*:NetUtilTest.IDNToUnicode*:NetUtilTest.FormatUrl*:*HTTPS*:*SSL*:*UDP*' + '--gtest_filter=-*DiskCache*:NetUtilTest.IDNToUnicode*:NetUtilTest.FormatUrl*:*UDP*' } src_install() { diff --git a/www-client/chromium/files/chromium-net-tests-r0.patch b/www-client/chromium/files/chromium-net-tests-r0.patch new file mode 100644 index 000000000000..1ee941df07b0 --- /dev/null +++ b/www-client/chromium/files/chromium-net-tests-r0.patch @@ -0,0 +1,84 @@ +Index: net/data/ssl/certificates/expired_cert.pem +=================================================================== +--- net/data/ssl/certificates/expired_cert.pem (revision 80751) ++++ net/data/ssl/certificates/expired_cert.pem (working copy) +@@ -1,3 +1,18 @@ ++-----BEGIN RSA PRIVATE KEY----- ++MIICWwIBAAKBgQDuUjUPzXBw61Xsh1RGSyJowrqC+TYvpf44P2c5sF/Y/KX0LoJE ++A72in+2d7N8sf3IsJvy6X1uPnVdX7wKzgtHI6FFjOcbRzs9MiyEJkeFKADI+ZMV0 ++httNOy93ajESsjZMwgoHMKOv5ikNCdwE/nefSfu6ZuapCsadArkHe3d5dwIDAQAB ++AoGARF1wu0fDqaDY1TE9C60iActalZfH44NKmfgWNIZT+HsBYDq3Q6uPCse18kew ++/aLRrbjBZvVT3q7UD3WQ4M32P44rEAAhdYGhMndF53xrtX5SQ7LPb381mlPoJ2AE ++Wv9R+0X45aRtiSC/Y7E9ebN5p4RY9NjRUjcaI67d1NgNAwECQQD6k83u6R73tsJt ++k2OCTnUxvQi9Oo5GwDfiubHOQx3tG3ZDIjsyg1GCJa/PVRiP6PXkgIoAWmiyGFIR +++gIO86kPAkEA83qA4L4HxLQLapDvBDNgiz9eHA/FJvsk5yH0jupR+CDLRqM6Dfzj ++iLeztyJV3n96lMDIc4lEzplysDw/TD6ZGQJABzYFsSBoUbyir8CUFoXnfXzxKXDr ++80FI2m95nHP2AoLNznTHu1ZoHBS1kIPkZw/PM7o3Pndbl/R3OCk3sfJ1JQJABSB7 ++PkBCIZ4471GF9uyuB8CZ1rVuTVfUexl38Np2R2dJYH9nZYwBrotPuXd7n2fHyQIW ++NniZflA03gkmvBBFYQJADftQ5+jabFxXkqwZsrsvtG+Ji53BZrLrczFxgPyGVfUF ++A1pyQE3M6SykYjp+S3Zg6eS+yKE06guecEVhTQtwBA== ++-----END RSA PRIVATE KEY----- + -----BEGIN CERTIFICATE----- + MIIEZDCCAkygAwIBAgIBAzANBgkqhkiG9w0BAQUFADBgMRAwDgYDVQQDEwdUZXN0 + IENBMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +@@ -24,18 +39,3 @@ + za7vs4El0Ei7YZYC0vxqpUbiS6l7Ul+TPfk6q/OAkYjaJ76uYlcKVmN060wK83z5 + Vtoy6YuY/8hrMRl3jrMaiVsMSMg+nOsM + -----END CERTIFICATE----- +------BEGIN RSA PRIVATE KEY----- +-MIICWwIBAAKBgQDuUjUPzXBw61Xsh1RGSyJowrqC+TYvpf44P2c5sF/Y/KX0LoJE +-A72in+2d7N8sf3IsJvy6X1uPnVdX7wKzgtHI6FFjOcbRzs9MiyEJkeFKADI+ZMV0 +-httNOy93ajESsjZMwgoHMKOv5ikNCdwE/nefSfu6ZuapCsadArkHe3d5dwIDAQAB +-AoGARF1wu0fDqaDY1TE9C60iActalZfH44NKmfgWNIZT+HsBYDq3Q6uPCse18kew +-/aLRrbjBZvVT3q7UD3WQ4M32P44rEAAhdYGhMndF53xrtX5SQ7LPb381mlPoJ2AE +-Wv9R+0X45aRtiSC/Y7E9ebN5p4RY9NjRUjcaI67d1NgNAwECQQD6k83u6R73tsJt +-k2OCTnUxvQi9Oo5GwDfiubHOQx3tG3ZDIjsyg1GCJa/PVRiP6PXkgIoAWmiyGFIR +-+gIO86kPAkEA83qA4L4HxLQLapDvBDNgiz9eHA/FJvsk5yH0jupR+CDLRqM6Dfzj +-iLeztyJV3n96lMDIc4lEzplysDw/TD6ZGQJABzYFsSBoUbyir8CUFoXnfXzxKXDr +-80FI2m95nHP2AoLNznTHu1ZoHBS1kIPkZw/PM7o3Pndbl/R3OCk3sfJ1JQJABSB7 +-PkBCIZ4471GF9uyuB8CZ1rVuTVfUexl38Np2R2dJYH9nZYwBrotPuXd7n2fHyQIW +-NniZflA03gkmvBBFYQJADftQ5+jabFxXkqwZsrsvtG+Ji53BZrLrczFxgPyGVfUF +-A1pyQE3M6SykYjp+S3Zg6eS+yKE06guecEVhTQtwBA== +------END RSA PRIVATE KEY----- +Index: net/data/ssl/certificates/ok_cert.pem +=================================================================== +--- net/data/ssl/certificates/ok_cert.pem (revision 80751) ++++ net/data/ssl/certificates/ok_cert.pem (working copy) +@@ -1,3 +1,18 @@ ++-----BEGIN RSA PRIVATE KEY----- ++MIICXQIBAAKBgQDQj2tPWPUgbuI4H3/3dnttqVbndwU33BdRCd67DFM44GRrsjDS ++H4bY/EbFyX9D52d/iy6ZaAmDePcCz5k/fgP3DMujykYGqgNiV2ywxTlMj7NlN2C7 ++SRt68fQMZr5iI7rypdxuaZt9lSMD3ENBffYtuLTyZd9a3JPJe1TaIab5GwIDAQAB ++AoGANHXu8z2YIzlhE+bwhGm8MGBpKL3qhRuKjeriqMA36tWezOw8lY4ymEAU+Ulv ++BsCdaxqydQoTYou57m4TyUHEcxq9pq3H0zB0qL709DdHi/t4zbV9XIoAzC5v0/hG ++9+Ca29TwC02FCw+qLkNrtwCpwOcQmc+bPxqvFu1iMiahURECQQD2I/Hi2413CMZz ++TBjl8fMiVO9GhA2J0sc8Qi+YcgJakaLD9xcbaiLkTzPZDlA389C1b6Ia+poAr4YA ++Ve0FFbxpAkEA2OobayyHE/QtPEqoy6NLR57jirmVBNmSWWd4lAyL5UIHIYVttJZg ++8CLvbzaU/iDGwR+wKsM664rKPHEmtlyo4wJBAMeSqYO5ZOCJGu9NWjrHjM3fdAsG ++8zs2zhiLya+fcU0iHIksBW5TBmt71Jw/wMc9R5J1K0kYvFml98653O5si1ECQBCk ++RV4/mE1rmlzZzYFyEcB47DQkcM5ictvxGEsje0gnfKyRtAz6zI0f4QbDRUMJ+LWw ++XK+rMsYHa+SfOb0b9skCQQCLdeonsIpFDv/Uv+flHISy0WA+AFkLXrRkBKh6G/OD ++dMHaNevkJgUnpceVEnkrdenp5CcEoFTI17pd+nBgDm/B ++-----END RSA PRIVATE KEY----- + -----BEGIN CERTIFICATE----- + MIIEZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQUFADBgMRAwDgYDVQQDEwdUZXN0 + IENBMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +@@ -24,18 +39,3 @@ + AYFvn6I8nj9IldMJiIc3DdhacEAEzRMeRgPdzAa1griKUGknxsyTyRii8ru0WS6w + DCNrlDOVXdzYGEZooBI76BDVY0W0akjV + -----END CERTIFICATE----- +------BEGIN RSA PRIVATE KEY----- +-MIICXQIBAAKBgQDQj2tPWPUgbuI4H3/3dnttqVbndwU33BdRCd67DFM44GRrsjDS +-H4bY/EbFyX9D52d/iy6ZaAmDePcCz5k/fgP3DMujykYGqgNiV2ywxTlMj7NlN2C7 +-SRt68fQMZr5iI7rypdxuaZt9lSMD3ENBffYtuLTyZd9a3JPJe1TaIab5GwIDAQAB +-AoGANHXu8z2YIzlhE+bwhGm8MGBpKL3qhRuKjeriqMA36tWezOw8lY4ymEAU+Ulv +-BsCdaxqydQoTYou57m4TyUHEcxq9pq3H0zB0qL709DdHi/t4zbV9XIoAzC5v0/hG +-9+Ca29TwC02FCw+qLkNrtwCpwOcQmc+bPxqvFu1iMiahURECQQD2I/Hi2413CMZz +-TBjl8fMiVO9GhA2J0sc8Qi+YcgJakaLD9xcbaiLkTzPZDlA389C1b6Ia+poAr4YA +-Ve0FFbxpAkEA2OobayyHE/QtPEqoy6NLR57jirmVBNmSWWd4lAyL5UIHIYVttJZg +-8CLvbzaU/iDGwR+wKsM664rKPHEmtlyo4wJBAMeSqYO5ZOCJGu9NWjrHjM3fdAsG +-8zs2zhiLya+fcU0iHIksBW5TBmt71Jw/wMc9R5J1K0kYvFml98653O5si1ECQBCk +-RV4/mE1rmlzZzYFyEcB47DQkcM5ictvxGEsje0gnfKyRtAz6zI0f4QbDRUMJ+LWw +-XK+rMsYHa+SfOb0b9skCQQCLdeonsIpFDv/Uv+flHISy0WA+AFkLXrRkBKh6G/OD +-dMHaNevkJgUnpceVEnkrdenp5CcEoFTI17pd+nBgDm/B +------END RSA PRIVATE KEY----- |