git.iko.soy/typeable/nixpkgs
on master help sign in
ptlib: 2.10.10 -> 2.10.11, add check for SSLv3
commitb08247f1e4803e4bfa9eeec6d9dbe80e52d3b526 authorRobin Gloster <mail@glob.in> dateSun 7 Feb 2016, 13:52 (11 years ago) parent347c1ed
2 files changed+21−5
pkgs/development/libraries/ptlib/default.nix+5−5 pkgs/development/libraries/ptlib/sslv3.patch+16
pkgs/development/libraries/ptlib/default.nix+5−5
@@ -2,20 +2,20 @@
22, openssl, openldap, cyrus_sasl, kerberos, expat, SDL, libdv, libv4l, alsaLib }:
33
44stdenv.mkDerivation rec {
5− name = "ptlib-2.10.10";
5+ name = "ptlib-2.10.11";
66
77 src = fetchurl {
88 url = "mirror://gnome/sources/ptlib/2.10/${name}.tar.xz";
9− sha256 = "7fcaabe194cbd3bc0b370b951dffd19cfe7ea0298bfff6aecee948e97f3207e4";
9+ sha256 = "1jf27mjz8vqnclhrhrpn7niz4c177kcjbd1hc7vn65ihcqfz05rs";
1010 };
1111
12− buildInputs = [ pkgconfig bison flex unixODBC openssl openldap
12+ buildInputs = [ pkgconfig bison flex unixODBC openssl openldap
1313 cyrus_sasl kerberos expat SDL libdv libv4l alsaLib ];
1414
1515 enableParallelBuilding = true;
1616
17− patches = [ ./bison.patch ];
18−
17+ patches = [ ./bison.patch ./sslv3.patch ];
18+
1919 meta = with stdenv.lib; {
2020 description = "Portable Tools from OPAL VoIP";
2121 maintainers = [ maintainers.raskin ];
pkgs/development/libraries/ptlib/sslv3.patchnew file+16
@@ -0,0 +1,16 @@
1+--- ptlib-2.10.11/src/ptclib/pssl.cxx 2016-02-07 09:54:36.326325637 +0000
2++++ ptlib-2.10.11/src/ptclib/pssl.cxx 2016-02-07 09:55:55.677870908 +0000
3+@@ -805,11 +805,13 @@
4+ SSL_METHOD * meth;
5+
6+ switch (method) {
7++#if !defined(OPENSSL_NO_SSL3)
8+ case SSLv3:
9+ meth = SSLv3_method();
10+ break;
11++#endif
12+ case TLSv1:
13+ meth = TLSv1_method();
14+ break;
15+ case SSLv23:
16+ default: