Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)

- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
2013-12-06 12:04:52 +01:00
parent ff10274392
commit 84d9c625bf
4655 changed files with 379317 additions and 151059 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.398 2012/08/17 16:59:26 riz Exp $
# $NetBSD: Makefile,v 1.410 2013/08/19 16:34:29 matt Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -55,7 +55,7 @@ DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
.if !defined(__MINIX)
# LSC: We do not yet support iso creation anyway, then do not try to find it.
.if !defined(MKISOFS)
MKISOFS!= (which mkisofs || echo true)
MKISOFS!= (which mkisofs || echo true) 2>/dev/null
.endif
DISTRIBREV!= ${HOST_SH} ${KERNSRCDIR}/conf/osrelease.sh -s
# ISO 9660 volume ID. Note that this can only contain [A-Z0-9_].
@@ -104,10 +104,10 @@ BIN1+= bootptab changelist csh.cshrc csh.login \
ftpusers gettytab gpio.conf group hosts hosts.lpd inetd.conf \
locate.conf login.conf mailer.conf man.conf monthly monthly.conf \
mrouted.conf named.conf netconfig networks newsyslog.conf \
nsswitch.conf ntp.conf passwd.conf phones printcap profile protocols \
rbootd.conf rc rc.conf rc.local rc.subr rc.shutdown remote rpc \
security security.conf services shells shrc sysctl.conf syslog.conf \
weekly weekly.conf wscons.conf
nsswitch.conf ntp.conf passwd.conf pkgpath.conf phones printcap \
profile protocols rbootd.conf rc rc.conf rc.local rc.subr \
rc.shutdown remote rpc security security.conf services shells \
shrc sysctl.conf syslog.conf weekly weekly.conf wscons.conf
# Use machine-specific disktab if it exists, or the MI one otherwise
.if exists(etc.${MACHINE}/disktab)
@@ -116,7 +116,7 @@ BIN1+= etc.${MACHINE}/disktab
BIN1+= disktab
.endif
.if exists(etc.${MACHINE}/ld.so.conf)
.if exists(etc.${MACHINE}/ld.so.conf) && empty(MACHINE_ARCH:M*arm*hf*)
BIN1+= etc.${MACHINE}/ld.so.conf
.endif
@@ -125,21 +125,8 @@ BIN1+= etc.${MACHINE}/ttyaction
.endif
# -rw-rw-r--
.if !empty(DISTRIBVER:M*.99.*)
BIN2+= motd.current
FILESNAME_motd.current= motd
.elif !empty(DISTRIBVER:M*BETA*)
BIN2+= motd.beta
FILESNAME_motd.beta= motd
.elif !empty(DISTRIBVER:M*RC*)
BIN2+= motd.rc
FILESNAME_motd.rc= motd
.elif !empty(DISTRIBVER:M*STABLE*)
BIN2+= motd.stable
FILESNAME_motd.stable= motd
.else
BIN2+= motd
.endif
FILESBUILD_motd= YES
# -rw-------
BIN3+= hosts.equiv
@@ -184,6 +171,26 @@ distribution: .PHONY .MAKE check_DESTDIR distrib-dirs
.endif # !DISTRIBUTION_DONE
.if !defined(__MINIX)
# motd is copied from a different ${MOTD_SOURCE} depending on DISTRIBVER
#
.if !empty(DISTRIBVER:M*.99.*)
MOTD_SOURCE= motd.current
.elif !empty(DISTRIBVER:M*BETA*)
MOTD_SOURCE= motd.beta
.elif !empty(DISTRIBVER:M*RC*)
MOTD_SOURCE= motd.rc
.elif !empty(DISTRIBVER:M*STABLE*)
MOTD_SOURCE= motd.stable
.else
MOTD_SOURCE= motd.default
.endif
CLEANFILES+= motd
motd: ${.CURDIR}/${MOTD_SOURCE} ${_NETBSD_VERSION_DEPENDS}
${_MKTARGET_CREATE}
${HOST_INSTALL_FILE} ${.CURDIR}/${MOTD_SOURCE} ${.TARGET}
.endif # !defined(__MINIX)
CLEANFILES+= MAKEDEV
.if !defined(__MINIX)
MAKEDEV: ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \
@@ -202,40 +209,7 @@ MAKEDEV: .PHONY
fi
.endif # !defined(__MINIX)
RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \
DESTDIR EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
INSTALLWORLDDIR \
KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \
MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \
MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \
MKBFD MKBINUTILS MKCATPAGES \
MKCRYPTO MKCRYPTO_RC5 MKCVS \
MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \
MKGCC MKGCCCMDS MKGDB \
MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \
MKKERBEROS MKLDAP MKLINKLIB MKLINT \
MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \
MKPAM MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \
MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \
MKUNPRIVED MKUPDATE MKX11 MKYP \
NBUILDJOBS NETBSDSRCDIR \
NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
OBJMACHINE \
RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \
USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
USE_PAM USE_SKEY USE_YP \
USETOOLS USR_OBJMACHINE \
X11SRCDIR X11FLAVOUR
params: .PHONY
.for var in ${RELEASEVARS}
.if defined(${var})
@printf "%20s = '%-s'\n" ${var} ${${var}:Q}
.else
@printf "%20s = (undefined)\n" ${var}
.endif
.endfor
.include "${NETBSDSRCDIR}/etc/Makefile.params"
CLEANFILES+= etc-release
etc-release: .EXEC .MAKE
${_MKTARGET_CREATE}
@@ -247,7 +221,7 @@ etc-release: .EXEC .MAKE
printf "%20s %s\n" "Build date" "$$(date -u)"; \
printf "%20s %s\n" "Built by" "$${USER-root}@$$(hostname)"; \
echo ; \
(cd ${.CURDIR}; ${MAKE} ${MFLAGS} -j1 params); \
${PRINT_PARAMS} ; \
) >${.OBJDIR}/${.TARGET}
install-etc-release: .PHONY etc-release
@@ -317,8 +291,10 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
${DESTDIR}/etc/master.passwd
.if ${MKUNPRIVED} != "no"
( \
for metaent in passwd pwd.db spwd.db; do \
echo "./etc/$${metaent} type=file mode=0644 uname=root gname=operator tags=etc_pkg"; \
mode=0600; \
for metaent in spwd.db passwd pwd.db; do \
echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=operator tags=etc_pkg"; \
mode=0644; \
done; \
) | ${METALOG.add}
.endif # MKUNPRIVED != no
@@ -477,7 +453,10 @@ OBSOLETE.dir= ${.OBJDIR}/obsolete.dir
OBSOLETE.files= base comp etc games man misc text
.else
OBSOLETE.files= minix
.endif # defined(__MINIX)
.endif # !defined(__MINIX)
.if ${MKDEBUG} != "no"
OBSOLETE.files+= debug
.endif
.if ${MKKMOD} != "no"
OBSOLETE.files+= modules
.endif
@@ -674,6 +653,7 @@ snap_post: .PHONY .MAKE build_kernelsets build_releasekernels
# external sources (such as make(1)'s environment or command line)
#
ALL_KERNELS?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS}
.export ALL_KERNELS
GETKERNELAWK= ${TOOL_AWK} '/^config/ {print $$2; found=1} \
END{ if (found == 0) print "netbsd"; }'
@@ -704,6 +684,8 @@ build_kernelsets: .PHONY
# ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets
#
.for configfile in ${KERNEL_SETS} # {
.for configsel in ${ALL_KERNELS}
.if ${configfile} == ${configsel}
build_kernelsets: kernset-${configfile}
kernset-${configfile}: .PHONY build_kernels snap_pre
@ kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile}); \
@@ -731,6 +713,8 @@ kernset-${configfile}: .PHONY build_kernels snap_pre
done ) | eval $${pax_cmd}; \
} \
}
.endif
.endfor
.endfor # KERNEL_SETS # }
build_releasekernels: .PHONY
@@ -738,6 +722,8 @@ build_releasekernels: .PHONY
# ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel
#
.for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS} # {
.for configsel in ${ALL_KERNELS}
.if ${configfile} == ${configsel}
build_releasekernels: releasekern-${configfile}
releasekern-${configfile}: .PHONY build_kernels snap_pre
@ kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}); \
@@ -756,6 +742,8 @@ releasekern-${configfile}: .PHONY build_kernels snap_pre
done; \
done; \
}
.endif
.endfor
.endfor # KERNEL_SETS EXTRA_KERNELS # }
# snap_md_post --
@@ -773,7 +761,7 @@ clean:
SUBDIR= defaults rc.d mtree
.else
SUBDIR= devmand defaults mtree
.endif # defined(__MINIX)
.endif # !defined(__MINIX)
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

130
etc/Makefile.params Normal file
View File

@@ -0,0 +1,130 @@
# $NetBSD: Makefile.params,v 1.7 2013/11/01 11:09:05 apb Exp $
#
# Makefile fragment for printing build parameters.
#
# Public variables:
# RELEASEVARS
# List of variables whose value should be printed.
#
# PRINT_PARAMS
# A command to print the desired variables and values
# to stdout, without any additional debugging information.
# Values are printed as single-quoted strings, with
# embedded quotes and newlines escaped in a way that's
# acceptable to sh(1). Undefined values are printed
# as "(undefined)" (without quotation marks).
#
# Internal targets:
# _params:
# Prints the names and values of all the variables
# listed in ${RELEASEVARS}. The desired results may be
# redirected somewhere other than stdout, for example by
# setting _params_redirect='>&3'. stdout and stderr may
# contain unwanted debugging information, from make and
# the shell.
#
# Internal variables:
# _params_redirect:
# If set, this should be a shell redirection specification, such
# as '>&3', controlling where the output from "make _params" will
# be sent.
#
# Example:
# . ${NETBSDSRCDIR}/etc/Makefile.params
# show-params: .MAKE .PHONY # print params to stdout
# @${PRINT_PARAMS}
#
.include <bsd.own.mk> # for some variables
.include <bsd.sys.mk> # for more variables
RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \
DESTDIR DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \
KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \
MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \
MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \
MKATF MKBFD MKBINUTILS MKCATPAGES \
MKCRYPTO MKCRYPTO_RC5 MKCVS \
MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \
MKGCC MKGCCCMDS MKGDB \
MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \
MKKERBEROS MKKYUA MKLDAP MKLINKLIB MKLINT MKLLVM \
MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \
MKPAM MKPCC MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX \
MKPROFILE \
MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \
MKUNPRIVED MKUPDATE MKX11 MKYP \
NBUILDJOBS NETBSDSRCDIR \
NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
OBJMACHINE \
RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \
USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
USE_PAM USE_SKEY USE_YP \
USETOOLS USR_OBJMACHINE \
X11SRCDIR X11FLAVOUR
#
# Duplicate the DISTRIBVER setting from src/etc/Makefile.
#
.ifndef DISTRIBVER
DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
.endif
#
# _params does the printing.
#
_params_redirect?= # empty
_params: .PHONY
.for var in ${RELEASEVARS}
.if defined(${var})
@printf "%20s = '%-s'\n" ${var} ${${var}:C/'/'\\\\''/gW:Q} \
${_params_redirect}
.else
@printf "%20s = (undefined)\n" ${var} \
${_params_redirect}
.endif
.endfor
# PRINT_PARAMS:
#
# The output from the "make _params" can include the following types of
# unwanted lines:
#
# make -j prints "--- _params ---";
#
# if MAKEVERBOSE is set to 3 or more then make prints each "printf"
# command in addition to executing it;
#
# if MAKEVERBOSE is set to 4 then the shell prints each command
# (prefixed with "+").
#
# So the resulting output can look like this:
#
# --- _params ---
# + echo 'printf "%20s = '\''%-s'\''\n" BSDOBJDIR /usr/obj'
# printf "%20s = '%-s'\n" BSDOBJDIR /usr/obj
# + printf '%20s = '\''%-s'\''\n' BSDOBJDIR /usr/obj
# BSDOBJDIR = '/usr/obj'
# + echo 'printf "%20s = '\''%-s'\''\n" BSDSRCDIR /usr/src'
# printf "%20s = '%-s'\n" BSDSRCDIR /usr/src
# + printf '%20s = '\''%-s'\''\n' BSDSRCDIR /usr/src
# BSDSRCDIR = '/usr/src'
# [...]
#
# where what we want is just this:
#
# BSDOBJDIR = '/usr/obj'
# BSDSRCDIR = '/usr/src'
# [...]
#
# The shell redirections in ${PRINT_PARAMS} ensure that the unwanted
# noise is discarded (via ">/dev/null"), while the desired information
# ends up on the subshell's stdout (via ">&3" and "3>&1"). The value
# of _params_redirect is passed in the environment instead of on the
# command line, to prevent it from appearing in MAKEFLAGS (which would
# appear in the output).
#
PRINT_PARAMS:= (_params_redirect='>&3' ${MAKE} -f ${.PARSEDIR:Q}/${.PARSEFILE:Q} _params 3>&1 >/dev/null)

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.5 2011/08/22 20:48:38 jym Exp $
# $NetBSD: Makefile,v 1.6 2013/05/01 05:36:25 agc Exp $
.include <bsd.own.mk>
.if !defined(__MINIX)
CONFIGFILES= daily.conf monthly.conf security.conf weekly.conf
CONFIGFILES= daily.conf monthly.conf pkgpath.conf security.conf weekly.conf
.else
CONFIGFILES= minix.rc.conf
.endif # !defined(__MINIX)

View File

@@ -1,4 +1,4 @@
# $NetBSD: man.conf,v 1.31 2012/10/06 15:33:59 wiz Exp $
# $NetBSD: man.conf,v 1.34 2013/10/25 08:19:46 mbalmer Exp $
# Sheer, raging paranoia...
_version BSD.2
@@ -7,7 +7,7 @@ _version BSD.2
_mandb /var/db/man.db
# Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 cat7 man7 man3f cat9 man9 catn mann catl manl
_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 cat3lua man3 man3lua cat4 man4 cat5 man5 cat7 man7 man3f cat9 cat9lua man9 man9lua catn mann catl manl
# Files typed by suffix and their commands.
# Note the order, .Z must come after .[1-9].Z, or it will match first.
@@ -16,6 +16,7 @@ _build .0.Z /usr/bin/zcat %s
_build .0.bz2 /usr/bin/bzcat %s
_build .0.gz /usr/bin/zcat %s
_build .0.xz /usr/bin/xzcat %s
_build .[1-9][a-z]* /usr/bin/mandoc %s
_build .[1-9ln] /usr/bin/mandoc %s
_build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/mandoc
_build .[1-9ln].bz2 /usr/bin/bzcat %s | /usr/bin/mandoc
@@ -30,7 +31,7 @@ _build .tbl.xz /usr/bin/xzcat %s | /usr/bin/mandoc
_build .me /usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s
_crunch .Z /usr/bin/zcat > %s
_crunch .bz /usr/bin/bzcat > %s
_crunch .bz2 /usr/bin/bzcat > %s
_crunch .gz /usr/bin/zcat > %s
_crunch .xz /usr/bin/xzcat > %s
@@ -39,7 +40,7 @@ _crunch .xz /usr/bin/xzcat > %s
# directory with all of the subdirectories listed for the keyword _subdir.
# default
# MINIX: Add /usr/man ...
# LSC, for MINIX: Add /usr/man ...
_default /usr/{,share,X11R7,X11R6,pkg,local}/man/
# Other sections that represent complete man subdirectories.
@@ -54,12 +55,16 @@ local /usr/local/man/
3 {cat,man}3
3F {cat,man}3f
3f {cat,man}3f
3lua {cat,man}3lua
3l {cat,man}3lua
4 {cat,man}4
5 {cat,man}5
6 {cat,man}6
7 {cat,man}7
8 {cat,man}8
9 {cat,man}9
9lua {cat,man}9lua
9l {cat,man}9lua
l {cat,man}l
n {cat,man}n

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2011/09/10 17:02:46 apb Exp $
# $NetBSD: Makefile,v 1.24 2013/10/16 14:50:43 christos Exp $
.include <bsd.own.mk>
@@ -18,10 +18,11 @@ EXTRA_DIST_FILES+= ${.CURDIR}/Minix.gcccmds
# XXX these are only used by compat currently, but they could be used
# by something else; this may need to be fixed properly in the future.
# TAC these are used by Minix for arch-specific content.
.if ${MKCOMPAT} != "no" || defined(__MINIX)
.if exists(NetBSD.dist.${MACHINE_ARCH})
EXTRA_DIST_FILES+= ${.CURDIR}/NetBSD.dist.${MACHINE_ARCH}
.elif !empty(MACHINE_ARCH:Mearm*)
EXTRA_DIST_FILES+= ${.CURDIR}/NetBSD.dist.earm
.endif
.endif
@@ -59,7 +60,7 @@ TOOL_MTREE.unpriv= -W
# the Makefile.
#
emit_dist_file:
cat ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES}
@cat ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES}
distrib-dirs: .PHONY check_DESTDIR NetBSD.dist
.if !defined(DISTRIBUTION_DONE) # {

View File

@@ -48,13 +48,18 @@
./usr/include/compat/machine
./usr/include/ddekit
./usr/include/ddekit/minix
./usr/include/fs
./usr/include/g++
./usr/include/i386
./usr/include/lutok
./usr/include/lzma
./usr/include/isofs
./usr/include/isofs/cd9660
./usr/include/minix
./usr/include/msdosfs
./usr/include/net
./usr/include/net/gen
./usr/include/ppath
./usr/include/prop
./usr/include/protocols
./usr/include/readline
@@ -75,6 +80,8 @@
./usr/lib/flex
./usr/lib/fonts
./usr/lib/keymaps
./usr/lib/lua
./usr/lib/lua/5.1
./usr/lib/pkgconfig
./usr/libexec
./usr/log
@@ -106,6 +113,8 @@
./usr/share/info
./usr/share/misc
./usr/share/mk
./usr/share/nvi
./usr/share/nvi/catalog
./usr/share/terminfo
./usr/share/zoneinfo
./usr/share/zoneinfo/Africa

View File

@@ -1,6 +1,6 @@
# $NetBSD: NetBSD.dist.tests,v 1.96 2013/03/21 19:17:51 christos Exp $
# $NetBSD: NetBSD.dist.tests,v 1.98 2013/08/11 03:53:12 dholland Exp $
# LSC Do not take for granted that the last thing done in the previous file
# LSC: Do not take for granted that the last thing done in the previous file
# was standard directories...
/set type=dir uid=0 gid=0 mode=0755
@@ -330,6 +330,7 @@
./usr/tests/net/icmp
./usr/tests/net/if
./usr/tests/net/if_loop
./usr/tests/net/mpls
./usr/tests/net/net
./usr/tests/net/npf
./usr/tests/net/route
@@ -388,6 +389,7 @@
./usr/tests/usr.bin/shmif_dumpbus
./usr/tests/usr.bin/sort
./usr/tests/usr.bin/tmux
./usr/tests/usr.bin/tr
./usr/tests/usr.bin/unifdef
./usr/tests/usr.bin/xlint
./usr/tests/usr.bin/xlint/lint1

View File

@@ -1,4 +1,4 @@
# $NetBSD: special,v 1.142 2012/06/28 16:34:07 kefren Exp $
# $NetBSD: special,v 1.146 2013/07/09 09:34:58 roy Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
# This file may be overwritten on upgrades.
@@ -193,6 +193,7 @@
./etc/rc.d/cgd type=file mode=0555
./etc/rc.d/cleartmp type=file mode=0555
./etc/rc.d/cron type=file mode=0555
./etc/rc.d/devpubd type=file mode=0555
./etc/rc.d/dhclient type=file mode=0555
./etc/rc.d/dhcpd type=file mode=0555
./etc/rc.d/dhcrelay type=file mode=0555
@@ -310,6 +311,8 @@
./etc/ssh/ssh_config type=file mode=0644 optional
./etc/ssh/ssh_host_dsa_key type=file mode=0600 optional tags=nodiff
./etc/ssh/ssh_host_dsa_key.pub type=file mode=0644 optional
./etc/ssh/ssh_host_ecdsa_key type=file mode=0600 optional tags=nodiff
./etc/ssh/ssh_host_ecdsa_key.pub type=file mode=0644 optional
./etc/ssh/ssh_host_key type=file mode=0600 optional tags=nodiff
./etc/ssh/ssh_host_key.pub type=file mode=0644 optional
./etc/ssh/ssh_host_rsa_key type=file mode=0600 optional tags=nodiff
@@ -392,6 +395,10 @@
./var/chroot/ntpd/var/db type=dir mode=0775 gname=ntpd
./var/chroot/ntpd/var/run type=dir mode=0775 gname=ntpd
./var/chroot/pflogd type=dir mode=0755
./var/chroot/rtadvd type=dir mode=0755
./var/chroot/rtadvd/etc type=dir mode=0755
./var/chroot/rtadvd/var type=dir mode=0755
./var/chroot/rtadvd/var/run type=dir mode=0775 gname=_rtadvd
./var/chroot/sshd type=dir mode=0755
./var/chroot/tcpdump type=dir mode=0755
./var/chroot/tftp-proxy type=dir mode=0755

View File

@@ -1,19 +1,278 @@
# $NetBSD: protocols,v 1.26 2013/02/22 03:42:06 christos Exp $
# See also: protocols(5), http://www.sethwklein.net/projects/iana-etc/
#
# Internet (IP) protocols
#
# @(#)protocols 8.1 (Berkeley) 6/9/93
#
ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # internet group management protocol
ggp 3 GGP # gateway-gateway protocol
tcp 6 TCP # transmission control protocol
egp 8 EGP # exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # user datagram protocol
hmp 20 HMP # host monitoring protocol
xns-idp 22 XNS-IDP # Xerox NS IDP
rdp 27 RDP # reliable data protocol
iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4
iso-ip 80 ISO-IP # ISO Internet Protocol
encap 98 ENCAP # RFC1241 encapsulation
# Last Updated
# 2013-02-17
#
# This registry is also available in plain text.
#
# Registry included below
#
# * Assigned Internet Protocol Numbers
#
# Assigned Internet Protocol Numbers
#
# Registration Procedure(s)
#
# IESG Approval or Standards Action
#
# Reference
# [RFC5237]
#
# Note
#
# In the Internet Protocol version 4 (IPv4) [RFC791] there is a field
# called "Protocol" to identify the next level protocol. This is an 8
# bit field. In Internet Protocol version 6 (IPv6) [RFC2460], this field
# is called the "Next Header" field.
#
# Decimal Keyword Protocol Reference
# protocol num aliases # comments
hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC2460]
icmp 1 ICMP # Internet Control Message [RFC792]
igmp 2 IGMP # Internet Group Management [RFC1112]
ggp 3 GGP # Gateway-to-Gateway [RFC823]
ipv4 4 IPv4 # IPv4 encapsulation [RFC2003]
st 5 ST # Stream [RFC1190][RFC1819]
tcp 6 TCP # Transmission Control [RFC793]
cbt 7 CBT # CBT [Tony_Ballardie]
egp 8 EGP # Exterior Gateway Protocol [RFC888][David_Mills]
igp 9 IGP # any private interior gateway (used by [Internet_Assigned_Numbers_Authority]
# Cisco for their IGRP)
bbn-rcc-mon 10 BBN-RCC-MON # BBN RCC Monitoring [Steve_Chipman]
nvp-ii 11 NVP-II # Network Voice Protocol [RFC741][Steve_Casner]
# [Boggs, D., J. Shoch, E. Taft, and R. Metcalfe, "PUP: An Internetwork
pup 12 PUP # PUP Architecture", XEROX Palo Alto Research Center, CSL-79-10, July 1979; also in IEEE
# Transactions on Communication, Volume COM-28, Number 4, April 1980.][[XEROX]]
argus 13 ARGUS # ARGUS [Robert_W_Scheifler]
emcon 14 EMCON # EMCON [<mystery contact>]
xnet 15 XNET # Cross Net Debugger [Haverty, J., "XNET Formats for Internet Protocol Version 4", IEN 158, October
# 1980.][Jack_Haverty]
chaos 16 CHAOS # Chaos [J_Noel_Chiappa]
udp 17 UDP # User Datagram [RFC768][Jon_Postel]
mux 18 MUX # Multiplexing [Cohen, D. and J. Postel, "Multiplexing Protocol", IEN 90, USC/Information
# Sciences Institute, May 1979.][Jon_Postel]
dcn-meas 19 DCN-MEAS # DCN Measurement Subsystems [David_Mills]
hmp 20 HMP # Host Monitoring [RFC869][Bob_Hinden]
prm 21 PRM # Packet Radio Measurement [Zaw_Sing_Su]
# ["The Ethernet, A Local Area Network: Data Link Layer and Physical Layer
# Specification", AA-K759B-TK, Digital Equipment Corporation, Maynard, MA. Also as:
# "The Ethernet - A Local Area Network", Version 1.0, Digital Equipment Corporation,
xns-idp 22 XNS-IDP # XEROX NS IDP Intel Corporation, Xerox Corporation, September 1980. And: "The Ethernet, A Local
# Area Network: Data Link Layer and Physical Layer Specifications", Digital, Intel
# and Xerox, November 1982. And: XEROX, "The Ethernet, A Local Area Network: Data
# Link Layer and Physical Layer Specification", X3T51/80-50, Xerox Corporation,
# Stamford, CT., October 1980.][[XEROX]]
trunk-1 23 TRUNK-1 # Trunk-1 [Barry_Boehm]
trunk-2 24 TRUNK-2 # Trunk-2 [Barry_Boehm]
leaf-1 25 LEAF-1 # Leaf-1 [Barry_Boehm]
leaf-2 26 LEAF-2 # Leaf-2 [Barry_Boehm]
rdp 27 RDP # Reliable Data Protocol [RFC908][Bob_Hinden]
irtp 28 IRTP # Internet Reliable Transaction [RFC938][Trudy_Miller]
iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4 [RFC905][<mystery contact>]
netblt 30 NETBLT # Bulk Data Transfer Protocol [RFC969][David_Clark]
# [Shuttleworth, B., "A Documentary of MFENet, a National Computer Network",
mfe-nsp 31 MFE-NSP # MFE Network Services Protocol UCRL-52317, Lawrence Livermore Labs, Livermore, California, June
# 1977.][Barry_Howard]
merit-inp 32 MERIT-INP # MERIT Internodal Protocol [Hans_Werner_Braun]
dccp 33 DCCP # Datagram Congestion Control Protocol [RFC4340]
3pc 34 3PC # Third Party Connect Protocol [Stuart_A_Friedberg]
idpr 35 IDPR # Inter-Domain Policy Routing Protocol [Martha_Steenstrup]
xtp 36 XTP # XTP [Greg_Chesson]
ddp 37 DDP # Datagram Delivery Protocol [Wesley_Craig]
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport Proto [Martha_Steenstrup]
tp++ 39 TP++ # TP++ Transport Protocol [Dirk_Fromhein]
il 40 IL # IL Transport Protocol [Dave_Presotto]
ipv6 41 IPv6 # IPv6 encapsulation [RFC2473]
sdrp 42 SDRP # Source Demand Routing Protocol [Deborah_Estrin]
ipv6-route 43 IPv6-Route # Routing Header for IPv6 [Steve_Deering]
ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 [Steve_Deering]
idrp 45 IDRP # Inter-Domain Routing Protocol [Sue_Hares]
rsvp 46 RSVP # Reservation Protocol [RFC2205][RFC3209][Bob_Braden]
gre 47 GRE # Generic Routing Encapsulation [RFC1701][Tony_Li]
dsr 48 DSR # Dynamic Source Routing Protocol [RFC4728]
bna 49 BNA # BNA [Gary Salamon]
esp 50 ESP # Encap Security Payload [RFC4303]
ah 51 AH # Authentication Header [RFC4302]
i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA [K_Robert_Glenn]
swipe 53 SWIPE # IP with Encryption [John_Ioannidis]
narp 54 NARP # NBMA Address Resolution Protocol [RFC1735]
mobile 55 MOBILE # IP Mobility [Charlie_Perkins]
tlsp 56 TLSP # Transport Layer Security Protocol [Christer_Oberg]
# using Kryptonet key management
skip 57 SKIP # SKIP [Tom_Markson]
ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 [RFC2460]
ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 [RFC2460]
ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 [RFC2460]
# 61 any host internal protocol [Internet_Assigned_Numbers_Authority]
cftp 62 CFTP # CFTP [Forsdick, H., "CFTP", Network Message, Bolt Beranek and Newman, January
# 1982.][Harry_Forsdick]
# 63 any local network [Internet_Assigned_Numbers_Authority]
sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK [Steven_Blumenthal]
kryptolan 65 KRYPTOLAN # Kryptolan [Paul Liu]
rvd 66 RVD # MIT Remote Virtual Disk Protocol [Michael_Greenwald]
ippc 67 IPPC # Internet Pluribus Packet Core [Steven_Blumenthal]
# 68 any distributed file system [Internet_Assigned_Numbers_Authority]
sat-mon 69 SAT-MON # SATNET Monitoring [Steven_Blumenthal]
visa 70 VISA # VISA Protocol [Gene_Tsudik]
ipcv 71 IPCV # Internet Packet Core Utility [Steven_Blumenthal]
cpnx 72 CPNX # Computer Protocol Network Executive [David Mittnacht]
cphb 73 CPHB # Computer Protocol Heart Beat [David Mittnacht]
wsn 74 WSN # Wang Span Network [Victor Dafoulas]
pvp 75 PVP # Packet Video Protocol [Steve_Casner]
br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring [Steven_Blumenthal]
sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary [William_Melohn]
wb-mon 78 WB-MON # WIDEBAND Monitoring [Steven_Blumenthal]
wb-expak 79 WB-EXPAK # WIDEBAND EXPAK [Steven_Blumenthal]
iso-ip 80 ISO-IP # ISO Internet Protocol [Marshall_T_Rose]
vmtp 81 VMTP # VMTP [Dave_Cheriton]
secure-vmtp 82 SECURE-VMTP # SECURE-VMTP [Dave_Cheriton]
vines 83 VINES # VINES [Brian Horn]
ttp 84 TTP iptm IPTM # TTP [Jim_Stevens]
#iptm 84 IPTM # Protocol Internet Protocol Traffic [Jim_Stevens]
# Manager
nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP [Hans_Werner_Braun]
dgp 86 DGP # Dissimilar Gateway Protocol [M/A-COM Government Systems, "Dissimilar Gateway Protocol Specification, Draft
# Version", Contract no. CS901145, November 16, 1987.][Mike_Little]
tcf 87 TCF # TCF [Guillermo_A_Loyola]
eigrp 88 EIGRP # EIGRP [Cisco Systems, "Gateway Server Reference Manual", Manual Revision B, January 10,
# 1988.][Guenther_Schreiner]
ospfigp 89 OSPFIGP # OSPFIGP [RFC1583][RFC2328][RFC5340][John_Moy]
# [Welch, B., "The Sprite Remote Procedure Call System", Technical Report,
sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol UCB/Computer Science Dept., 86/302, University of California at Berkeley, June
# 1986.][Bruce Willins]
larp 91 LARP # Locus Address Resolution Protocol [Brian Horn]
mtp 92 MTP # Multicast Transport Protocol [Susie_Armstrong]
ax.25 93 AX.25 # AX.25 Frames [Brian_Kantor]
ipip 94 IPIP # IP-within-IP Encapsulation Protocol [John_Ioannidis]
micp 95 MICP # Mobile Internetworking Control Pro. [John_Ioannidis]
scc-sp 96 SCC-SP # Semaphore Communications Sec. Pro. [Howard_Hart]
etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378]
encap 98 ENCAP # Encapsulation Header [RFC1241][Robert_Woodburn]
# 99 any private encryption scheme [Internet_Assigned_Numbers_Authority]
gmtp 100 GMTP # GMTP [[RXB5]]
ifmp 101 IFMP # Ipsilon Flow Management Protocol [Bob_Hinden][November 1995, 1997.]
pnni 102 PNNI # PNNI over IP [Ross_Callon]
pim 103 PIM # Protocol Independent Multicast [RFC4601][Dino_Farinacci]
aris 104 ARIS # ARIS [Nancy_Feldman]
scps 105 SCPS # SCPS [Robert_Durst]
qnx 106 QNX # QNX [Michael_Hunter]
a/n 107 A/N # Active Networks [Bob_Braden]
ipcomp 108 IPComp # IP Payload Compression Protocol [RFC2393]
snp 109 SNP # Sitara Networks Protocol [Manickam_R_Sridhar]
compaq-peer 110 Compaq-Peer # Compaq Peer Protocol [Victor_Volpe]
ipx-in-ip 111 IPX-in-IP # IPX in IP [CJ_Lee]
vrrp 112 VRRP # Virtual Router Redundancy Protocol [RFC5798]
pgm 113 PGM # PGM Reliable Transport Protocol [Tony_Speakman]
# 114 any 0-hop protocol [Internet_Assigned_Numbers_Authority]
l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC3931][Bernard_Aboba]
ddx 116 DDX # D-II Data Exchange (DDX) [John_Worley]
iatp 117 IATP # Interactive Agent Transfer Protocol [John_Murphy]
stp 118 STP # Schedule Transfer Protocol [Jean_Michel_Pittet]
srp 119 SRP # SpectraLink Radio Protocol [Mark_Hamilton]
uti 120 UTI # UTI [Peter_Lothberg]
smp 121 SMP # Simple Message Protocol [Leif_Ekblad]
sm 122 SM # SM [Jon_Crowcroft]
ptp 123 PTP # Performance Transparency Protocol [Michael_Welzl]
isis 124 ISIS # over IPv4 [Tony_Przygienda]
fire 125 FIRE # [Criag_Partridge]
crtp 126 CRTP # Combat Radio Transport Protocol [Robert_Sautter]
crudp 127 CRUDP # Combat Radio User Datagram [Robert_Sautter]
sscopmce 128 SSCOPMCE # [Kurt_Waber]
iplt 129 IPLT # [[Hollbach]]
sps 130 SPS # Secure Packet Shield [Bill_McIntosh]
pipe 131 PIPE # Private IP Encapsulation within IP [Bernhard_Petri]
sctp 132 SCTP # Stream Control Transmission Protocol [Randall_R_Stewart]
fc 133 FC # Fibre Channel [Murali_Rajagopal][RFC6172]
rsvp-e2e-ignore 134 RSVP-E2E-IGNORE # [RFC3175]
mobility 135 Mobility # Header [RFC6275]
udplite 136 UDPLite # [RFC3828]
mpls-in-ip 137 MPLS-in-IP # [RFC4023]
manet 138 MANET # MANET Protocols [RFC5498]
hip 139 HIP # Host Identity Protocol [RFC5201]
shim6 140 Shim6 # Shim6 Protocol [RFC5533]
wesp 141 WESP # Wrapped Encapsulating Security [RFC5840]
# Payload
rohc 142 ROHC # Robust Header Compression [RFC5858]
# 143-252 Unassigned [Internet_Assigned_Numbers_Authority]
# 253 Use for experimentation and testing [RFC3692]
# 254 Use for experimentation and testing [RFC3692]
reserved 255 Reserved # [Internet_Assigned_Numbers_Authority]
#
# People
#
# ID Name Contact URI Last Updated
# [Barry_Boehm] Barry Boehm mailto:boehm&arpa.mil
# [Barry_Howard] Barry Howard mailto:Howard&nmfecc.llnl.gov
# [Bernard_Aboba] Bernard Aboba mailto:bernarda&microsoft.com 1998-04
# [Bernhard_Petri] Bernhard Petri mailto:bernhard.petri&siemens.com 2012-07-09
# [Bill_McIntosh] Bill McIntosh mailto:BMcIntosh&fortresstech.com
# [Bob_Braden] Bob Braden mailto:braden&isi.edu 1997-07
# [Bob_Hinden] Bob Hinden mailto:bob.hinden&gmail.com 2013-02-17
# [Brian_Kantor] Brian Kantor mailto:brian&ucsd.edu
# [CJ_Lee] CJ Lee mailto:cj_lee&novell.com 1997-10
# [Charlie_Perkins] Charlie Perkins mailto:perk&watson.ibm.com 1994-10
# [Christer_Oberg] Christer Oberg mailto:chg&bull.se 1994-10
# [Criag_Partridge] Criag Partridge mailto:craig&bbn.com 1999-08
# [Dave_Cheriton] Dave Cheriton mailto:cheriton&pescadero.stanford.edu
# [Dave_Presotto] Dave Presotto mailto:presotto&plan9.att.com 1995-07
# [David_Clark] David Clark mailto:ddc&lcs.mit.edu
# [David_Mills] David Mills mailto:Mills&huey.udel.edu
# [Deborah_Estrin] Deborah Estrin mailto:estrin&usc.edu
# [Dino_Farinacci] Dino Farinacci mailto:dino&cisco.com 1996-03
# [Dirk_Fromhein] Dirk Fromhein mailto:df&watershed.com
# [Gene_Tsudik] Gene Tsudik mailto:tsudik&usc.edu
# [Greg_Chesson] Greg Chesson mailto:Greg&sgi.com
# [Guenther_Schreiner] Guenther Schreiner mailto:snmp-admin&ira.uka.de
# [Guillermo_A_Loyola] Guillermo A. Loyola mailto:LOYOLA&ibm.com
# [Hans_Werner_Braun] Hans-Werner Braun mailto:HWB&mcr.umich.edu
# [Harry_Forsdick] Harry Forsdick mailto:Forsdick&bbn.com
# [Howard_Hart] Howard Hart mailto:hch&hybrid.com
# [Internet_Assigned_Numbers_Authority] Internet Assigned Numbers Authority mailto:iana&iana.org 1995-06
# [J_Noel_Chiappa] J. Noel Chiappa mailto:JNC&xx.lcs.mit.edu
# [Jack_Haverty] Jack Haverty mailto:jhaverty&oracle.com
# [Jean_Michel_Pittet] Jean-Michel Pittet mailto:jmp&gandalf.engr.sgi.com 1998-11
# [Jim_Stevens] Jim Stevens mailto:jasteven&rockwellcollins.com 2011-01-26
# [John_Ioannidis] John Ioannidis mailto:ji&cs.columbia.edu
# [John_Moy] John Moy mailto:jmoy&proteon.com
# [John_Murphy] John Murphy mailto:john.m.murphy&mci.com 1998-10
# [John_Worley] John Worley mailto:worley&milehigh.net 1998-06
# [Jon_Crowcroft] Jon Crowcroft mailto:jon&cs.ucl.ac.uk 1999-06
# [Jon_Postel] Jon Postel mailto:postel&isi.edu
# [K_Robert_Glenn] K. Robert Glenn mailto:glenn&osi.ncsl.nist.gov
# [Kurt_Waber] Kurt Waber mailto:kurt.waber&swisscom.com 1999-08
# [Leif_Ekblad] Leif Ekblad mailto:leif&rdos.net 2012-08-21
# [Manickam_R_Sridhar] Manickam R. Sridhar mailto:msridhar&sitaranetworks.com 1997-09
# [Mark_Hamilton] Mark Hamilton mailto:mah&spectralink.com 1998-11
# [Marshall_T_Rose] Marshall T. Rose mailto:mrose&dbc.mtview.ca.us
# [Martha_Steenstrup] Martha Steenstrup mailto:MSteenst&bbn.com
# [Michael_Greenwald] Michael Greenwald mailto:Greenwald&scrc-stony-brook.symbolics.com
# [Michael_Hunter] Michael Hunter mailto:mphunter&qnx.com 1997-07
# [Michael_Welzl] Michael Welzl mailto:michael&tk.uni-linz.ac.at 1999-08
# [Mike_Little] Mike Little mailto:little&macom4.arpa
# [Murali_Rajagopal] Murali Rajagopal mailto:murali&gadzoox.com 2000-05
# [Nancy_Feldman] Nancy Feldman mailto:nkf&vnet.ibm.com 1997-01
# [Peter_Lothberg] Peter Lothberg mailto:roll&stupi.se 1999-03
# [Randall_R_Stewart] Randall R. Stewart mailto:rrs&lakerest.net 2000-04
# [Robert_Durst] Robert Durst mailto:durst&mitre.org 1997-03
# [Robert_Sautter] Robert Sautter mailto:rsautter&acdnj.itt.com 1999-08
# [Robert_W_Scheifler] Robert W. Scheifler mailto:RWS&xx.lcs.mit.edu
# [Robert_Woodburn] Robert Woodburn mailto:woody&cseic.saic.com
# [Ross_Callon] Ross Callon mailto:rcallon&baynetworks.com 1995-12
# [Steve_Casner] Steve Casner mailto:casner&isi.edu
# [Steve_Chipman] Steve Chipman mailto:Chipman&f.bbn.com
# [Steve_Deering] Steve Deering mailto:deering&parc.xerox.com 1995-03
# [Steven_Blumenthal] Steven Blumenthal mailto:BLUMENTHAL&vax.bbn.com
# [Stuart_A_Friedberg] Stuart A. Friedberg mailto:stuart&cs.wisc.edu
# [Sue_Hares] Sue Hares mailto:skh&merit.edu
# [Susie_Armstrong] Susie Armstrong mailto:Armstrong.wbst128&xerox.com
# [Tom_Markson] Tom Markson mailto:markson&osmosys.ingog.com 1995-09
# [Tony_Ballardie] Tony Ballardie mailto:A.Ballardie&cs.ucl.ac.uk
# [Tony_Li] Tony Li mailto:tony.li&tony.li 2012-10-17
# [Tony_Przygienda] Tony Przygienda mailto:prz&siara.com 1999-08
# [Tony_Speakman] Tony Speakman mailto:speakman&cisco.com 1998-01
# [Trudy_Miller] Trudy Miller mailto:Trudy&acc.com
# [Victor_Volpe] Victor Volpe mailto:vvolpe&smtp.microcom.com 1997-10
# [Wesley_Craig] Wesley Craig mailto:Wesley.Craig&terminator.cc.umich.edu
# [William_Melohn] William Melohn mailto:Melohn&sun.com
# [Zaw_Sing_Su] Zaw-Sing Su mailto:ZSu&tsca.istc.sri.

View File

@@ -14,7 +14,7 @@ if [ -r /etc/defaults/rc.conf ]; then
fi
# If this is not set to YES, the system will drop into single-user mode.
# (Doesn't matter for Minix.)
#
rc_configured=NO
# Add local overrides below

View File

@@ -1,4 +1,4 @@
# $NetBSD: rc.subr,v 1.88 2011/08/11 22:52:47 apb Exp $
# $NetBSD: rc.subr,v 1.92 2012/12/17 18:17:27 apb Exp $
#
# Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -152,7 +152,7 @@ mount_critical_filesystems()
# multiple lines can't be good,
# not even if $_optional is true
;;
*'unknown special file or file system'*)
*[uU]'nknown special file or file system'*)
if $_optional; then
# ignore this error
print_rc_metadata \
@@ -1256,6 +1256,34 @@ collapse_backslash_newline()
done
}
# Shell implementations of basename and dirname, usable before
# the /usr file system is mounted.
#
basename()
{
local file="$1"
local suffix="$2"
local base
base="${file##*/}" # remove up to and including last '/'
base="${base%${suffix}}" # remove suffix, if any
command printf "%s\n" "${base}"
}
dirname()
{
local file="$1"
local dir
case "$file" in
/*/*) dir="${file%/*}" ;; # common case: absolute path
/*) dir="/" ;; # special case: name in root dir
*/*) dir="${file%/*}" ;; # common case: relative path with '/'
*) dir="." ;; # special case: name without '/'
esac
command printf "%s\n" "${dir}"
}
# Override the normal "echo" and "printf" commands, so that
# partial lines printed by rc.d scripts appear immediately,
# instead of being buffered by rc(8)'s post-processor.

19873
etc/services Executable file → Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,9 @@
# $NetBSD: shells,v 1.3 1996/12/29 03:23:07 mrg Exp $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/sh
/bin/csh
/bin/ksh