From 795e12d8315c4f7f0d4b2abb77fb49e0417e362a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 30 Jan 2009 11:55:46 -0500 Subject: Spec file patch Take 2: Adding support for generating RPMS for sssd. Fixing TDB autoconf macros to require version 1.1.3 and support for the tdb_repack symbol (required by LDB) Updating tdb.h to #include for proper autoconf Build system modifications to simplify RPM generation Fixing RPM build system as recommended during code review Minor tweaks to Makefile and sssd.spec Make policykit and infopipe configurable Soname and symlinks --- server/confdb/confdb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/confdb/confdb.c') diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 72967d20..743ce277 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -515,6 +515,7 @@ static int confdb_init_db(struct confdb_ctx *cdb) if (ret != EOK) goto done; /* InfoPipe */ +#ifdef HAVE_INFOPIPE /* Set the sssd_info description */ val[0] = "InfoPipe Configuration"; ret = confdb_add_param(cdb, false, "config/services/infp", "description", val); @@ -529,8 +530,10 @@ static int confdb_init_db(struct confdb_ctx *cdb) val[0] = "infp"; ret = confdb_add_param(cdb, false, "config/services", "activeServices", val); if (ret != EOK) goto done; +#endif /* PolicyKit */ +#ifdef HAVE_POLICYKIT /* Set the sssd_pk description */ val[0] = "PolicyKit Backend Configuration"; ret = confdb_add_param(cdb, false, "config/services/spk", "description", val); @@ -545,6 +548,7 @@ static int confdb_init_db(struct confdb_ctx *cdb) val[0] = "spk"; ret = confdb_add_param(cdb, false, "config/services", "activeServices", val); if (ret != EOK) goto done; +#endif /* Domains */ val[0] = "Domains served by SSSD"; -- cgit