diff options
| author | Pavel Březina <pbrezina@redhat.com> | 2014-05-13 23:00:01 +0200 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-14 11:13:48 +0200 |
| commit | bbaba8b3ef9bc101863b8687f234f4ee956caacd (patch) | |
| tree | 940db6666f9b3c489024000b232b06772bc8d15d | |
| parent | 80314a6f3ea8d81abe73d501d5b953a256cb2167 (diff) | |
| download | sssd-bbaba8b3ef9bc101863b8687f234f4ee956caacd.tar.gz sssd-bbaba8b3ef9bc101863b8687f234f4ee956caacd.tar.xz sssd-bbaba8b3ef9bc101863b8687f234f4ee956caacd.zip | |
sss_config: build only when IFP is allowed
since the IFP responder is currently the only planned consumer.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
| -rw-r--r-- | Makefile.am | 12 | ||||
| -rw-r--r-- | contrib/sssd.spec.in | 4 |
2 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index ce0f7273..a94baf82 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,9 +155,11 @@ if BUILD_SSH non_interactive_check_based_tests += sysdb_ssh-tests endif +if BUILD_IFP if BUILD_CONFIG_LIB non_interactive_check_based_tests += sss_config-tests -endif +endif # BUILD_CONFIG_LIB +endif # BUILD_IFP endif @@ -662,6 +664,7 @@ SSSD_INTERNAL_LTLIBS = \ libsss_debug.la \ libsss_child.la +if BUILD_IFP if BUILD_CONFIG_LIB pkglib_LTLIBRARIES += libsss_config.la libsss_config_la_SOURCES = \ @@ -676,7 +679,8 @@ libsss_config_la_LIBADD = \ $(SSSD_INTERNAL_LTLIBS) libsss_config_la_LDFLAGS = \ -avoid-version -endif +endif # BUILD_CONFIG_LIB +endif # BUILD_IFP lib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la libsss_nss_idmap.la pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc @@ -1431,6 +1435,7 @@ sbus_codegen_tests_LDADD = \ $(SSSD_LIBS) \ $(CHECK_LIBS) +if BUILD_IFP if BUILD_CONFIG_LIB sss_config_tests_SOURCES = \ src/tests/sss_config-tests.c \ @@ -1444,7 +1449,8 @@ sss_config_tests_LDADD = \ $(SSSD_INTERNAL_LTLIBS) \ libsss_config.la \ libsss_test_common.la -endif +endif # BUILD_CONFIG_LIB +endif # BUILD_IFP if HAVE_CMOCKA diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index ad2a1cdd..65aed856 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -138,7 +138,6 @@ BuildRequires: systemd-devel %if (0%{?with_cifs_utils_plugin} == 1) BuildRequires: cifs-utils-devel %endif -BuildRequires: augeas-devel # RHEL 5 is too old to support samba4 and the PAC responder %if !0%{?is_rhel5} @@ -398,6 +397,7 @@ be used by Python applications. Summary: The D-Bus responder of the SSSD Group: Applications/System License: GPLv3+ +BuildRequires: augeas-devel Requires: sssd-common = %{version}-%{release} %description dbus @@ -574,7 +574,6 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/%{name}/libsss_debug.so %{_libdir}/%{name}/libsss_ldap_common.so %{_libdir}/%{name}/libsss_util.so -%{_libdir}/%{name}/libsss_config.so # 3rd party application libraries %{_libdir}/sssd/modules/libsss_autofs.so @@ -670,6 +669,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/sssd-ifp.5* # InfoPipe DBus plumbing %{_sysconfdir}/dbus-1/system.d/org.freedesktop.sssd.infopipe.conf +%{_libdir}/%{name}/libsss_config.so %files client -f sssd_client.lang %defattr(-,root,root,-) |
