Author: brd
Date: Sat Jul 28 23:29:36 2018
New Revision: 336850
URL: https://svnweb.freebsd.org/changeset/base/336850

Log:
  Move nscd.conf from etc/ to usr.sbin/nscd/
  
  Approved by:  will (mentor)
  Differential Revision:        https://reviews.freebsd.org/D16490

Added:
  head/usr.sbin/nscd/nscd.conf
     - copied unchanged from r336849, head/etc/nscd.conf
Deleted:
  head/etc/nscd.conf
Modified:
  head/etc/Makefile
  head/usr.sbin/nscd/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile   Sat Jul 28 23:02:10 2018        (r336849)
+++ head/etc/Makefile   Sat Jul 28 23:29:36 2018        (r336850)
@@ -115,10 +115,6 @@ SSH=       ${SRCTOP}/crypto/openssh/ssh_config \
 SSL=   ${SRCTOP}/crypto/openssl/apps/openssl.cnf
 .endif
 
-.if ${MK_NS_CACHING} != "no"
-BIN1+= nscd.conf
-.endif
-
 .if ${MK_PORTSNAP} != "no"
 BIN1+= portsnap.conf
 .endif

Modified: head/usr.sbin/nscd/Makefile
==============================================================================
--- head/usr.sbin/nscd/Makefile Sat Jul 28 23:02:10 2018        (r336849)
+++ head/usr.sbin/nscd/Makefile Sat Jul 28 23:29:36 2018        (r336850)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+CONFS= nscd.conf
 PROG=  nscd
 MAN=   nscd.conf.5 nscd.8
 

Copied: head/usr.sbin/nscd/nscd.conf (from r336849, head/etc/nscd.conf)
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/usr.sbin/nscd/nscd.conf        Sat Jul 28 23:29:36 2018        
(r336850, copy of r336849, head/etc/nscd.conf)
@@ -0,0 +1,12 @@
+#
+# Default caching daemon configuration file
+# $FreeBSD$
+#
+
+enable-cache passwd yes
+enable-cache group yes
+enable-cache hosts yes
+enable-cache services yes
+enable-cache protocols yes
+enable-cache rpc yes
+enable-cache networks yes
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to