From e31f9f767f3dc34de4511e0582a30d57b2217fd6e2397e9e10930fd7921e1a8d Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Thu, 4 Sep 2014 15:32:51 +0000 Subject: [PATCH] - add conditional to enable socks support but disable by default. unless we can find a way to have socks support so it works without an existing socks.conf. OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=56 --- irssi.changes | 7 +++++++ irssi.spec | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/irssi.changes b/irssi.changes index cf0954f..2623f6a 100644 --- a/irssi.changes +++ b/irssi.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 4 15:31:08 UTC 2014 - mrueckert@suse.de + +- add conditional to enable socks support but disable by default. + unless we can find a way to have socks support so it works + without an existing socks.conf. + ------------------------------------------------------------------- Tue Jul 29 16:16:01 UTC 2014 - mrueckert@suse.de diff --git a/irssi.spec b/irssi.spec index 6b64b63..728903b 100644 --- a/irssi.spec +++ b/irssi.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_with socks Name: irssi Version: 0.8.16 @@ -23,9 +24,11 @@ Release: 0 # # BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with socks} %if 0%{?suse_version} > 1110 BuildRequires: dante-devel %endif +%endif BuildRequires: glib2-devel BuildRequires: ncurses-devel BuildRequires: openssl-devel @@ -112,8 +115,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNI --enable-ipv6 \ --with-bot \ --with-proxy \ - --with-socks \ --enable-ssl \ + %if %{with socks} + --with-socks \ + %endif --with-ncurses \ --with-terminfo \ --with-perl=yes \