Skip to content

Commit

Permalink
pidgin: build with cyrus_sasl for SASL in IRC and XMPP
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lukateras committed Jan 7, 2018
1 parent 92dbe72 commit 27459e2
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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;
Expand All @@ -78,4 +80,3 @@ in if plugins == [] then unwrapped
inherit stdenv makeWrapper symlinkJoin plugins;
pidgin = unwrapped;
}

0 comments on commit 27459e2

Please sign in to comment.