Skip to content

Commit

Permalink
SPEC: build minimal / container oriented SSSD
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-tikhonov committed Mar 28, 2024
1 parent ce6f33f commit 26cffbc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 310 deletions.
39 changes: 0 additions & 39 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ if HAVE_DEVSHM
extra_distcheck_flags += --with-test-dir=/dev/shm
endif

if WITH_JOURNALD
extra_distcheck_flags += --with-syslog=journald
endif

DISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
--disable-dbus-tests \
$(extra_distcheck_flags) \
Expand Down Expand Up @@ -165,7 +161,6 @@ sbin_PROGRAMS = \
sssd \
sss_cache \
sss_override \
sss_seed \
sssctl \
$(NULL)

Expand Down Expand Up @@ -309,7 +304,6 @@ if HAVE_CMOCKA
sss_certmap_test \
test_sssd_krb5_locator_plugin \
test_confdb \
test_krb5_idp_plugin \
$(NULL)


Expand Down Expand Up @@ -545,7 +539,6 @@ AM_CPPFLAGS = \
$(LIBNL_CFLAGS) \
$(OPENLDAP_CFLAGS) \
$(GLIB2_CFLAGS) \
$(JOURNALD_CFLAGS) \
-DLIBDIR=\"$(libdir)\" \
-DVARDIR=\"$(localstatedir)\" \
-DRUNDIR=\"$(runstatedir)\" \
Expand Down Expand Up @@ -949,10 +942,6 @@ endif # BUILD_IFP

CLIENT_LIBS = $(LTLIBINTL)

if WITH_JOURNALD
SYSLOG_LIBS = $(JOURNALD_LIBS)
endif

#####################
# Utility libraries #
#####################
Expand Down Expand Up @@ -1881,14 +1870,6 @@ if BUILD_SYSTEMTAP
sssd_be_LDADD += stap_generated_probes.lo
endif

if BUILD_PYTHON_BINDINGS
sss_obfuscate_pythondir = $(sbindir)
dist_sss_obfuscate_python_SCRIPTS = \
src/tools/sss_obfuscate
endif



dist_noinst_DATA += \
src/examples/sssd-example.conf \
src/examples/sssdproxytest \
Expand Down Expand Up @@ -1917,13 +1898,6 @@ sss_cache_LDADD = \
$(CLIENT_LIBS)
sss_cache_CFLAGS = $(AM_CFLAGS)

sss_seed_SOURCES = \
src/tools/sss_seed.c \
$(SSSD_TOOLS_OBJ)
sss_seed_LDADD = \
$(TOOLS_LIBS) \
$(SSSD_INTERNAL_LTLIBS)

sss_signal_SOURCES = \
src/tools/sss_signal.c \
src/tools/common/sss_process.c
Expand Down Expand Up @@ -3975,19 +3949,6 @@ test_kcm_queue_LDADD = \
libsss_sbus.la \
$(NULL)

test_krb5_idp_plugin_SOURCES = \
src/tests/cmocka/test_krb5_idp_plugin.c \
src/krb5_plugin/common/utils.c \
src/krb5_plugin/idp/idp_utils.c \
$(NULL)
test_krb5_idp_plugin_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_krb5_idp_plugin_LDADD = \
$(CMOCKA_LIBS) \
$(JANSSON_LIBS) \
$(NULL)

if BUILD_PASSKEY
test_krb5_passkey_plugin_SOURCES = \
src/tests/cmocka/test_krb5_passkey_plugin.c \
Expand Down
Loading

0 comments on commit 26cffbc

Please sign in to comment.