Skip to contentSkip to conversation

nfsidmap: remove obsolete gums mapping support

PATCH New Anthony Iliopoulos 1 participant 1 message Dec 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsidmap: remove obsolete gums mapping support

Remove all related code which has not been compilable for a while, since some of the its dependencies (specifically the legacy prima library) are not available anymore and it is at this point unmaintained.

---
 configure.ac                 |   8 -
 support/nfsidmap/Makefile.am |  10 +-
 support/nfsidmap/gums.c      | 787 -----------------------------------
 3 files changed, 1 insertion(+), 804 deletions(-)
 delete mode 100644 support/nfsidmap/gums.c
configure.ac +0 -8
index 03ef1d24b714..3760e9ba8258 100644
@@ -550,14 +550,6 @@ fi
 AM_CONDITIONAL(ENABLE_LDAP, test "x$have_ldap" = "xyes")
 AM_CONDITIONAL(ENABLE_LDAP_SASL, test "x$have_ldap_sasl" = "xyes")
 
-dnl Should we build gums mapping library?
-AC_ARG_ENABLE([gums],
-        [AS_HELP_STRING([--enable-gums],[Enable support for the GUMS mapping library @<:@default=false@:>@])])
-if test "x$enable_gums" = "xyes" ; then
-        AC_DEFINE([ENABLE_GUMS], 1, [Enable GUMS mapping library support])
-fi
-AM_CONDITIONAL(ENABLE_GUMS, test "x$enable_gums" = "xyes")
-
 dnl Where do the Plugins live
 AC_ARG_WITH(pluginpath,
     [AS_HELP_STRING([--with-pluginpath=/foo],[Causes the library to look in /foo instead of /usr/lib/libnfsidmap for plugins
support/nfsidmap/Makefile.am +1 -9
index b2db18f1b970..e3249477993f 100644
@@ -9,16 +9,11 @@ UMICH_LDAP_LIB = umich_ldap.la
 else
 UMICH_LDAP_LIB = 
 endif
-if ENABLE_GUMS
-GUMS_MAPPING_LIB = gums.la
-else
-GUMS_MAPPING_LIB =
-endif
 if ENABLE_LDAP_SASL
 KRB5_GSS_LIB=-lgssapi_krb5
 endif
 lib_LTLIBRARIES = libnfsidmap.la
-pkgplugin_LTLIBRARIES = nsswitch.la static.la regex.la $(UMICH_LDAP_LIB) $(GUMS_MAPPING_LIB)
+pkgplugin_LTLIBRARIES = nsswitch.la static.la regex.la $(UMICH_LDAP_LIB)
 
 # Library versioning notes from:
 #  http://sources.redhat.com/autobook/autobook/autobook_91.html
@@ -52,9 +47,6 @@ umich_ldap_la_SOURCES = umich_ldap.c nfsidmap_common.c
 umich_ldap_la_LDFLAGS = -module -avoid-version
 umich_ldap_la_LIBADD = -lldap $(KRB5_GSS_LIB) ../../support/nfs/libnfsconf.la
 
-gums_la_SOURCES = gums.c
-gums_la_LDFLAGS = -module -avoid-version
-
 man3_MANS = nfs4_uid_to_name.3
 man5_MANS	= idmapd.conf.5
 include_HEADERS = nfsidmap.h nfsidmap_plugin.h
support/nfsidmap/gums.c deleted +0 -787

787 lines not on this page · raw message

Signature · 1 line
2.56.1