From owner-p4-projects@FreeBSD.ORG Fri Sep 28 21:04:24 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0513416A419; Fri, 28 Sep 2007 21:04:24 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DCB16A46B for ; Fri, 28 Sep 2007 21:04:23 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 95A1413C44B for ; Fri, 28 Sep 2007 21:04:23 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8SL4NVA054835 for ; Fri, 28 Sep 2007 21:04:23 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8SL4MaI054832 for perforce@freebsd.org; Fri, 28 Sep 2007 21:04:22 GMT (envelope-from peter@freebsd.org) Date: Fri, 28 Sep 2007 21:04:22 GMT Message-Id: <200709282104.l8SL4MaI054832@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Cc: Subject: PERFORCE change 126944 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 21:04:24 -0000 http://perforce.freebsd.org/chv.cgi?CH=126944 Change 126944 by peter@peter_daintree on 2007/09/28 21:04:05 IFC @126942 Affected files ... .. //depot/projects/hammer/UPDATING#106 integrate .. //depot/projects/hammer/etc/defaults/rc.conf#79 integrate .. //depot/projects/hammer/etc/rc.d/Makefile#55 integrate .. //depot/projects/hammer/etc/rc.d/nscd#4 integrate .. //depot/projects/hammer/lib/libc/gen/Makefile.inc#30 integrate .. //depot/projects/hammer/lib/libutil/expand_number.3#2 integrate .. //depot/projects/hammer/lib/libutil/flopen.3#3 integrate .. //depot/projects/hammer/lib/libutil/humanize_number.3#8 integrate .. //depot/projects/hammer/lib/libutil/kld.3#3 integrate .. //depot/projects/hammer/release/doc/en_US.ISO8859-1/relnotes/article.sgml#19 integrate .. //depot/projects/hammer/share/man/man9/sleepqueue.9#10 integrate .. //depot/projects/hammer/sys/arm/conf/AVILA#5 integrate .. //depot/projects/hammer/sys/arm/xscale/ixp425/IxNpeMicrocode.c#2 delete .. //depot/projects/hammer/sys/arm/xscale/ixp425/files.ixp425#3 integrate .. //depot/projects/hammer/sys/arm/xscale/ixp425/ixp425_npe.c#5 integrate .. //depot/projects/hammer/sys/arm/xscale/ixp425/ixp425_npevar.h#4 integrate .. //depot/projects/hammer/sys/contrib/dev/npe/IxNpeMicrocode.dat.uu#1 branch .. //depot/projects/hammer/sys/contrib/dev/npe/LICENSE#1 branch .. //depot/projects/hammer/tools/tools/nanobsd/nanobsd.sh#14 integrate .. //depot/projects/hammer/usr.sbin/Makefile#81 integrate .. //depot/projects/hammer/usr.sbin/wpa/wpa_supplicant/Makefile#10 integrate Differences ... ==== //depot/projects/hammer/UPDATING#106 (text+ko) ==== @@ -21,6 +21,13 @@ developers choose to disable these features on build machines to maximize performance. +20070928: + The caching daemon (cached) was renamed to nscd. nscd.conf + configuration file should be used instead of cached.conf and + nscd_enable, nscd_pidfile and nscd_flags options should be used + instead of cached_enable, cached_pidfile and cached_flags in + rc.conf. + 20070704: The new IPsec code is now compiled in using the IPSEC option. The IPSEC option now requires "device crypto" be defined in your kernel @@ -887,4 +894,4 @@ Contact Warner Losh if you have any questions about your use of this document. -$FreeBSD: src/UPDATING,v 1.503 2007/07/09 01:13:00 yongari Exp $ +$FreeBSD: src/UPDATING,v 1.504 2007/09/28 10:38:07 bushman Exp $ ==== //depot/projects/hammer/etc/defaults/rc.conf#79 (text+ko) ==== @@ -15,7 +15,7 @@ # For a more detailed explanation of all the rc.conf variables, please # refer to the rc.conf(5) manual page. # -# $FreeBSD: src/etc/defaults/rc.conf,v 1.317 2007/09/06 21:00:48 mlaier Exp $ +# $FreeBSD: src/etc/defaults/rc.conf,v 1.318 2007/09/28 10:38:08 bushman Exp $ ############################################################## ### Important initial Boot-time options #################### @@ -495,7 +495,6 @@ auditd_enable="NO" # Run the audit daemon. auditd_program="/usr/sbin/auditd" # Path to the audit daemon. auditd_flags="" # Which options to pass to the audit daemon. -cached_enable="NO" # Run the nsswitch caching daemon. cron_enable="YES" # Run the periodic job daemon. cron_program="/usr/sbin/cron" # Which cron executable to run (if enabled). cron_dst="YES" # Handle DST transitions intelligently (YES/NO) @@ -503,6 +502,7 @@ lpd_enable="NO" # Run the line printer daemon. lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one. lpd_flags="" # Flags to lpd (if enabled). +nscd_enable="NO" # Run the nsswitch caching daemon. chkprintcap_enable="NO" # Run chkprintcap(8) before running lpd. chkprintcap_flags="-d" # Create missing directories by default. dumpdev="AUTO" # Device to crashdump to (device name, AUTO, or NO). ==== //depot/projects/hammer/etc/rc.d/Makefile#55 (text+ko) ==== @@ -1,5 +1,5 @@ # $NetBSD: Makefile,v 1.16 2001/01/14 15:37:22 minoura Exp $ -# $FreeBSD: src/etc/rc.d/Makefile,v 1.83 2007/09/07 15:44:09 mlaier Exp $ +# $FreeBSD: src/etc/rc.d/Makefile,v 1.84 2007/09/28 10:38:08 bushman Exp $ .include @@ -48,7 +48,7 @@ .endif .if ${MK_NS_CACHING} != "no" -FILES+= cached +FILES+= nscd .endif FILESDIR= /etc/rc.d ==== //depot/projects/hammer/etc/rc.d/nscd#4 (text+ko) ==== @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: src/etc/rc.d/nscd,v 1.5 2007/09/27 12:30:12 bushman Exp $ +# $FreeBSD: src/etc/rc.d/nscd,v 1.6 2007/09/28 10:38:08 bushman Exp $ # # PROVIDE: nscd @@ -8,7 +8,7 @@ # BEFORE: LOGIN # -# Add the following lines to /etc/rc.conf to enable cached: +# Add the following lines to /etc/rc.conf to enable nscd: # # nscd_enable="YES" # @@ -24,9 +24,29 @@ extra_commands="flush" flush_cmd="${command} -I all" -nscd_enable=${nscd_enable:-"NO"} -nscd_pidfile=${nscd_pidfile:-"/var/run/nscd.pid"} -nscd_flags=${nscd_flags:-""} +# usage: _nscd_set_option