diff options
author | Timo Gurr <tgurr@gentoo.org> | 2012-02-20 19:10:16 +0000 |
---|---|---|
committer | Timo Gurr <tgurr@gentoo.org> | 2012-02-20 19:10:16 +0000 |
commit | b08fcaedd491e96d4808fd5899048bb524b4933b (patch) | |
tree | dbed6f654fa8ffc67719b070294a2b03a233e267 /media-sound/murmur | |
parent | Drop the examples USE flag from some of the ~arch ebuilds as it never install... (diff) | |
download | gentoo-2-b08fcaedd491e96d4808fd5899048bb524b4933b.tar.gz gentoo-2-b08fcaedd491e96d4808fd5899048bb524b4933b.tar.bz2 gentoo-2-b08fcaedd491e96d4808fd5899048bb524b4933b.zip |
Revbump adding patches for Qt 4.8 SSL compatibility. Fix bug #398791, thanks to Hans Nieser. Remove old.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/murmur')
-rw-r--r-- | media-sound/murmur/ChangeLog | 13 | ||||
-rw-r--r-- | media-sound/murmur/files/mumble-1.2.3-fix-cert-validation.patch | 30 | ||||
-rw-r--r-- | media-sound/murmur/files/mumble-1.2.3-remove-certs.patch | 147 | ||||
-rw-r--r-- | media-sound/murmur/murmur-1.1.8.ebuild | 101 | ||||
-rw-r--r-- | media-sound/murmur/murmur-1.2.3-r2.ebuild (renamed from media-sound/murmur/murmur-1.2.3-r1.ebuild) | 13 |
5 files changed, 198 insertions, 106 deletions
diff --git a/media-sound/murmur/ChangeLog b/media-sound/murmur/ChangeLog index d6024a4bc4ab..af4c5d6f1f5a 100644 --- a/media-sound/murmur/ChangeLog +++ b/media-sound/murmur/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-sound/murmur -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/ChangeLog,v 1.26 2011/09/15 21:42:38 tgurr Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/ChangeLog,v 1.27 2012/02/20 19:10:16 tgurr Exp $ + +*murmur-1.2.3-r2 (20 Feb 2012) + + 20 Feb 2012; Timo Gurr <tgurr@gentoo.org> -murmur-1.1.8.ebuild, + -murmur-1.2.3-r1.ebuild, +murmur-1.2.3-r2.ebuild, + +files/mumble-1.2.3-fix-cert-validation.patch, + +files/mumble-1.2.3-remove-certs.patch: + Revbump adding patches for Qt 4.8 SSL compatibility. Fix bug #398791, thanks + to Hans Nieser. Remove old. *murmur-1.2.3-r1 (15 Sep 2011) diff --git a/media-sound/murmur/files/mumble-1.2.3-fix-cert-validation.patch b/media-sound/murmur/files/mumble-1.2.3-fix-cert-validation.patch new file mode 100644 index 000000000000..2cfd9d6f9c8d --- /dev/null +++ b/media-sound/murmur/files/mumble-1.2.3-fix-cert-validation.patch @@ -0,0 +1,30 @@ +From d16876d804d028153f37f4f8aff770469edf6997 Mon Sep 17 00:00:00 2001 +From: Benjamin Jemlich <pcgod@users.sourceforge.net> +Date: Sun, 19 Feb 2012 08:55:06 +0100 +Subject: [PATCH] Fix certificate validation with QT 4.8 + +Changed from setDefaultCaCertificates to addDefaultCaCertificates because +Murmur adds CA certificates in sslCert before calling MumbleSSL::addSystemCA. + +Original patch written by Marc Deslauriers <marc.deslauriers@canonical.com> +--- + src/SSL.cpp | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/src/SSL.cpp b/src/SSL.cpp +index f94d528..2ba3d27 100644 +--- a/src/SSL.cpp ++++ b/src/SSL.cpp +@@ -142,4 +142,9 @@ void MumbleSSL::addSystemCA() { + } + QSslSocket::setDefaultCaCertificates(ql); + #endif // NO_SYSTEM_CA_OVERRIDE ++ ++#if QT_VERSION >= 0x040800 ++ // Don't perform on-demand loading of root certificates ++ QSslSocket::addDefaultCaCertificates(QSslSocket::systemCaCertificates()); ++#endif + } +-- +1.7.5.4 + diff --git a/media-sound/murmur/files/mumble-1.2.3-remove-certs.patch b/media-sound/murmur/files/mumble-1.2.3-remove-certs.patch new file mode 100644 index 000000000000..9cc9eb49dcd5 --- /dev/null +++ b/media-sound/murmur/files/mumble-1.2.3-remove-certs.patch @@ -0,0 +1,147 @@ +From 2d9d78ad68535b94e2eddf66b97183662ae67bef Mon Sep 17 00:00:00 2001 +From: Benjamin Jemlich <pcgod@users.sourceforge.net> +Date: Sat, 18 Feb 2012 10:41:22 +0100 +Subject: [PATCH] Remove hardcoded CA certificates + +--- + src/SSL.cpp | 119 ----------------------------------------------------------- + 1 files changed, 0 insertions(+), 119 deletions(-) + +diff --git a/src/SSL.cpp b/src/SSL.cpp +index ab9f0c8..f94d528 100644 +--- a/src/SSL.cpp ++++ b/src/SSL.cpp +@@ -34,117 +34,6 @@ + + #include "Version.h" + +-/* CAs we recommend to end users, so support these */ +- +-static const char *recommended_cas[] = { +- /* StartSSL */ +- "-----BEGIN CERTIFICATE-----\n" +- "MIIHyTCCBbGgAwIBAgIBATANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJJTDEW\n" +- "MBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwg\n" +- "Q2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNh\n" +- "dGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0NjM2WhcNMzYwOTE3MTk0NjM2WjB9\n" +- "MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi\n" +- "U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3Rh\n" +- "cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA\n" +- "A4ICDwAwggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZk\n" +- "pMyONvg45iPwbm2xPN1yo4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN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Jo2pXh5Tl1njFmUNj403gdy3hZZlyaQQaRwnmDwFWJPsfvw55qVguucQJAX6V\n" +- "um0ABj6y6koQOdjQK/W/7HW/lwLFCRsI3FU34oH7N4RDYiDK51ZLZer+bMEkkySh\n" +- "NOsF/5oirpt9P/FlUQqmMGqz9IgcgA38corog14=\n" +- "-----END CERTIFICATE-----\n" +- , +- /* Comodo */ +- "-----BEGIN CERTIFICATE-----\n" +- "MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb\n" +- "MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow\n" +- "GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj\n" +- "YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL\n" +- "MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE\n" +- "BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM\n" +- "GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP\n" +- "ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua\n" +- "BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe\n" +- "3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4\n" +- "YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR\n" +- "rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm\n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\n" +- "L2NybC5jb21vZG8ubmV0L0FBQUNlcnRpZmljYXRlU2VydmljZXMuY3JsMBEGCWCG\n" +- "SAGG+EIBAQQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAnZXLPLh+pQnEHr8Lwsd2\n" +- "jjk8lMYQqk8MyeCrhF2JVOBlO/NtHHw3LCVUX5Yh/DeEkZ0V3BRPgc9UHWtsRWDH\n" +- "LfmXUUz5Zso8oIKMpsjw4unUSvnsP1bJ3XaMw4IBT2wA8x4aYXQERwOpxkBXkbxl\n" +- "IsUnZ09X22Ra2Y0fuoYv9AaunGnt6fTPKRfY4EqfGiAvl0xRu0YHxIo3TiDjCTFo\n" +- "x57Ei53ofhG8MmgQlhGYRNgqUWBNiOt0Ot9DBjLIOVaMOhFS00GkQwP07e8zJ9s5\n" +- "4BROJsnY9TniibiTXbcpJkHqs5uug/x3dcroyrX+4mVKYz5ExNDDXodzqZgcr38V\n" +- "fw==\n" +- "-----END CERTIFICATE-----\n" +- +- +-}; +- +- + void MumbleSSL::addSystemCA() { + #if QT_VERSION < 0x040700 && !defined(NO_SYSTEM_CA_OVERRIDE) + #if defined(Q_OS_WIN) +@@ -253,12 +142,4 @@ void MumbleSSL::addSystemCA() { + } + QSslSocket::setDefaultCaCertificates(ql); + #endif // NO_SYSTEM_CA_OVERRIDE +- +- for (unsigned int i=0;i<sizeof(recommended_cas)/sizeof(recommended_cas[0]);++i) { +- QSslCertificate cert(recommended_cas[i]); +- if (! QSslSocket::defaultCaCertificates().contains(cert)) { +- qWarning("SSL: Adding recommended CA %s", qPrintable(cert.subjectInfo(QSslCertificate::CommonName))); +- QSslSocket::addDefaultCaCertificates(QList<QSslCertificate>() << cert); +- } +- } + } +-- +1.7.5.4 + diff --git a/media-sound/murmur/murmur-1.1.8.ebuild b/media-sound/murmur/murmur-1.1.8.ebuild deleted file mode 100644 index 2f42252f3e27..000000000000 --- a/media-sound/murmur/murmur-1.1.8.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-1.1.8.ebuild,v 1.5 2010/06/08 08:30:08 dev-zero Exp $ - -EAPI="2" - -inherit eutils qt4 - -MY_PN="mumble" -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Voice chat software for gaming written in Qt4 (server)." -HOMEPAGE="http://mumble.sourceforge.net/" -SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug +ice pch" - -RDEPEND=" - >=sys-libs/libcap-2.15 - x11-libs/qt-core:4[ssl] - x11-libs/qt-dbus:4 - || ( x11-libs/qt-sql:4[sqlite] x11-libs/qt-sql:4[mysql] ) - ice? ( dev-libs/Ice dev-libs/boost ) -" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${MY_P} - -pkg_setup() { - enewgroup murmur - enewuser murmur -1 -1 /var/lib/murmur murmur -} - -src_prepare() { - sed -i \ - -e 's:mumble-server:murmur:g' \ - scripts/murmur.conf \ - scripts/murmur.ini.system \ - || die "sed failed." -} - -src_configure() { - local conf_add - use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release" - use ice || conf_add="${conf_add} no-ice" - use pch || conf_add="${conf_add} no-pch" - - eqmake4 main.pro -recursive \ - CONFIG+="${conf_add} no-client no-bundled-speex" \ - || die "eqmake4 failed." -} - -src_install() { - dodoc README CHANGES || die "Installing docs failed." - - docinto scripts - dodoc scripts/*.php scripts/*.pl || die "Installing docs failed." - - local dir - if use debug; then - dir=debug - else - dir=release - fi - - dobin "${dir}"/murmurd || die "Installing murmurd binary failed." - - insinto /etc/murmur/ - newins scripts/murmur.ini.system murmur.ini || die "Installing murmur.ini configuration file failed." - - insinto /etc/logrotate.d/ - newins "${FILESDIR}"/murmur.logrotate murmur || die "Installing murmur logrotate file failed." - - insinto /etc/dbus-1/system.d/ - doins scripts/murmur.conf || die "Installing murmur.conf dbus configuration file failed." - - newinitd "${FILESDIR}"/murmur.initd murmur || die "Installing murmur init.d file failed." - newconfd "${FILESDIR}"/murmur.confd murmur || die "Installing murmur conf.d file failed." - - keepdir /var/lib/murmur /var/run/murmur /var/log/murmur - fowners -R murmur /var/lib/murmur /var/run/murmur /var/log/murmur || die "fowners failed." - fperms 750 /var/lib/murmur /var/run/murmur /var/log/murmur || die "fperms failed." - - doman man/murmurd.1 || die "Installing murmur manpage failed." -} - -pkg_postinst() { - echo - elog "Useful scripts are located in /usr/share/doc/${PF}/scripts." - elog "Please execute:" - elog "murmurd -ini /etc/murmur/murmur.ini -supw <pw>" - elog "chown murmur:murmur /var/lib/murmur/murmur.sqlite" - elog "to set the build-in 'SuperUser' password before starting murmur." - elog "Please restart dbus before starting murmur, or else dbus" - elog "registration will fail." - echo -} diff --git a/media-sound/murmur/murmur-1.2.3-r1.ebuild b/media-sound/murmur/murmur-1.2.3-r2.ebuild index 61cbb00fe9d0..4eb6a004a91e 100644 --- a/media-sound/murmur/murmur-1.2.3-r1.ebuild +++ b/media-sound/murmur/murmur-1.2.3-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-1.2.3-r1.ebuild,v 1.1 2011/09/15 21:42:38 tgurr Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-1.2.3-r2.ebuild,v 1.1 2012/02/20 19:10:16 tgurr Exp $ EAPI="4" @@ -34,7 +34,11 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}/${PN}-1.2.3-ice-3.4.2-compat.patch" ) +PATCHES=( + "${FILESDIR}"/${PN}-1.2.3-ice-3.4.2-compat.patch + "${FILESDIR}"/mumble-1.2.3-remove-certs.patch + "${FILESDIR}"/mumble-1.2.3-fix-cert-validation.patch +) pkg_setup() { enewgroup murmur @@ -90,6 +94,9 @@ src_install() { insinto /etc/dbus-1/system.d/ doins scripts/murmur.conf + insinto /usr/share/murmur/ + doins src/murmur/Murmur.ice + newinitd "${FILESDIR}"/murmur.initd murmur newconfd "${FILESDIR}"/murmur.confd murmur |