summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-02-18 14:43:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-27 20:15:52 +0100
commit539b1be3507abdf8ac235b06eeed5011b0b5cde2 (patch)
treede8f928b6b46a95af9a1a11d6f0f7ba6d72fcc9f /contrib
parent78eba1cdd8e337d07b536afd9d6043482c88208e (diff)
downloadsssd-539b1be3507abdf8ac235b06eeed5011b0b5cde2.tar.gz
sssd-539b1be3507abdf8ac235b06eeed5011b0b5cde2.tar.bz2
sssd-539b1be3507abdf8ac235b06eeed5011b0b5cde2.zip
Provide libnl3 support
https://fedorahosted.org/sssd/ticket/812 Update the monitor code to be using the new libnl3 API. Changed configure option --with-libnl By default, it tries to build with libnl3, if not found, then with libnl1, if this isn't found either, build proceeds without libnl, just with warning. Specifing --with-libnl=<libnl3|libnl1|no> checks for the specific given version, if not found, configure ends with error.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index de3059bd..478247f3 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -122,7 +122,6 @@ BuildRequires: libselinux-devel
BuildRequires: libsemanage-devel
BuildRequires: bind-utils
BuildRequires: keyutils-libs-devel
-BuildRequires: libnl-devel
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: findutils
@@ -130,6 +129,9 @@ BuildRequires: glib2-devel
BuildRequires: selinux-policy-targeted
%if (0%{?fedora} >= 18)
BuildRequires: libcmocka-devel
+BuildRequires: libnl3-devel
+%else
+BuildRequires: libnl-devel
%endif
# RHEL 5 is too old to support samba4 and the PAC responder