pidgin: build with cyrus_sasl for SASL in IRC and XMPP
SASL is required to connect to Freenode on high-abuse networks, e.g. highly NATed networks or Tor. However, Pidgin only supports PLAIN authorization type, and Freenode specifically prohibits using anything other than EXTERNAL or ECDSA-NIST256P-CHALLENGE over Tor. It still allows PLAIN for potentially problematic clearnet networks, though.
This commit is contained in:
parent
92dbe72331
commit
27459e2020
1 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
, perl, perlXMLParser, libxml2, nss, nspr, farstream
|
||||
, libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn
|
||||
, lib, python, libICE, libXext, libSM
|
||||
, cyrus_sasl ? null
|
||||
, openssl ? null
|
||||
, gnutls ? null
|
||||
, libgcrypt ? null
|
||||
|
@ -33,7 +34,7 @@ let unwrapped = stdenv.mkDerivation rec {
|
|||
libxml2 nss nspr farstream
|
||||
libXScrnSaver ncurses python
|
||||
avahi dbus dbus_glib intltool libidn
|
||||
libICE libXext libSM
|
||||
libICE libXext libSM cyrus_sasl
|
||||
]
|
||||
++ (lib.optional (openssl != null) openssl)
|
||||
++ (lib.optional (gnutls != null) gnutls)
|
||||
|
@ -55,6 +56,7 @@ let unwrapped = stdenv.mkDerivation rec {
|
|||
"--disable-nm"
|
||||
"--disable-tcl"
|
||||
]
|
||||
++ (lib.optionals (cyrus_sasl != null) [ "--enable-cyrus-sasl=yes" ])
|
||||
++ (lib.optionals (gnutls != null) ["--enable-gnutls=yes" "--enable-nss=no"]);
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -78,4 +80,3 @@ in if plugins == [] then unwrapped
|
|||
inherit stdenv makeWrapper symlinkJoin plugins;
|
||||
pidgin = unwrapped;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue