nss/nss_cache/nss_cache.h
Forward-port nss_borg and nss_cache from glibc-2.18
(ppluzhnikov, google-local)
+
+nis/Makefile
+nss/Makefile
+ For b/2476399, disable libnss_db (not used in google).
+ Likewise ibnsl and related libnss_* libraries.
+ Forward-ported from cl/52538169 and cl/52538711.
+ (ppluzhnikov, bmoses, google-local)
spwd netgrp alias publickey
# Specify rules for the nss_* modules.
-services := nis nisplus compat
-extra-libs = libnsl $(services:%=libnss_%)
+# Google-local: Disable NIS.
+# services := nis nisplus compat
+#
+# extra-libs = libnsl $(services:%=libnss_%)
+
# These libraries will be built in the `others' pass rather than
# the `lib' pass, because they depend on libc.so being built already.
extra-libs-others = $(extra-libs)
databases = proto service hosts network grp pwd rpc ethers \
spwd netgrp key alias sgrp
-others := getent makedb
-install-bin := getent makedb
+# Google-local: Disable libnss_db by removing makedb.
+others := getent
+install-bin := getent
makedb-modules = xmalloc hash-string
extra-objs += $(makedb-modules:=.o)
include ../Makeconfig
# Specify rules for the nss_* modules. We have some services.
-services := files db borg cache
+# Google-local: Disable libnss_db by removing db.
+services := files borg cache
extra-libs = $(services:%=libnss_%)
# These libraries will be built in the `others' pass rather than
generated += $(filter-out db-alias.c db-netgrp.c, \
$(addsuffix .c,$(libnss_db-dbs)))
-install-others += $(inst_vardbdir)/Makefile
+# Google-local: Disable libnss_db.
+# install-others += $(inst_vardbdir)/Makefile
# Build static module into libc if requested
libnss_files-inhibit-o = $(filter-out .os,$(object-suffixes))