Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src add nsd
details: https://anonhg.NetBSD.org/src/rev/59412c3554f1
branches: trunk
changeset: 350212:59412c3554f1
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 07 19:55:35 2017 +0000
description:
add nsd
diffstat:
distrib/sets/lists/base/mi | 9 ++++++++-
etc/defaults/rc.conf | 7 ++++++-
etc/group | 1 +
etc/master.passwd | 1 +
etc/mtree/NetBSD.dist.base | 9 ++++++++-
usr.sbin/postinstall/postinstall | 10 +++++++---
6 files changed, 31 insertions(+), 6 deletions(-)
diffs (139 lines):
diff -r 18699f1704ac -r 59412c3554f1 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Sat Jan 07 19:53:49 2017 +0000
+++ b/distrib/sets/lists/base/mi Sat Jan 07 19:55:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1145 2017/01/07 17:29:24 christos Exp $
+# $NetBSD: mi,v 1.1146 2017/01/07 20:10:09 christos Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -105,6 +105,7 @@
./etc/mtree base-sys-root
./etc/mtree/set.base base-sys-root
./etc/namedb base-bind-root
+./etc/nsd base-sys-root
./etc/obsolete base-obsolete obsolete
./etc/openldap base-ldap-root
./etc/openssl base-crypto-root
@@ -5910,6 +5911,12 @@
./var/chroot/named/var/run/lwresd base-bind-root
./var/chroot/named/var/run/named base-bind-root
./var/chroot/named/var/tmp base-bind-root
+./var/chroot/nsd base-sys-root
+./var/chroot/nsd/etc base-sys-root
+./var/chroot/nsd/etc/nsd base-sys-root
+./var/chroot/nsd/var base-sys-root
+./var/chroot/nsd/var/db base-sys-root
+./var/chroot/nsd/var/db/nsd base-sys-root
./var/chroot/ntpd base-ntp-root
./var/chroot/ntpd/dev base-ntp-root
./var/chroot/ntpd/etc base-ntp-root
diff -r 18699f1704ac -r 59412c3554f1 etc/defaults/rc.conf
--- a/etc/defaults/rc.conf Sat Jan 07 19:53:49 2017 +0000
+++ b/etc/defaults/rc.conf Sat Jan 07 19:55:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.conf,v 1.138 2017/01/05 14:39:09 christos Exp $
+# $NetBSD: rc.conf,v 1.139 2017/01/07 20:00:33 christos Exp $
#
# /etc/defaults/rc.conf --
# default configuration of /etc/rc.conf
@@ -392,3 +392,8 @@
# Unbound
unbound=NO
unbound_chrootdir=/var/chroot/unbound
+
+# Nsd
+nsd=NO
+nsd_chrootdir=/var/chroot/nsd
+nsd_flags="-t ${nsd_chrootdir}"
diff -r 18699f1704ac -r 59412c3554f1 etc/group
--- a/etc/group Sat Jan 07 19:53:49 2017 +0000
+++ b/etc/group Sat Jan 07 19:55:35 2017 +0000
@@ -28,6 +28,7 @@
_rtadvd:*:30:
guest:*:31:root
_unbound:*:32:
+_nsd:*:33:
nobody:*:39:
utmp:*:45:
authpf:*:72:
diff -r 18699f1704ac -r 59412c3554f1 etc/master.passwd
--- a/etc/master.passwd Sat Jan 07 19:53:49 2017 +0000
+++ b/etc/master.passwd Sat Jan 07 19:55:35 2017 +0000
@@ -20,5 +20,6 @@
_tss:*:28:28::0:0:& pseudo-user:/var/tpm:/sbin/nologin
_rtadvd:*:30:30::0:0:& pseudo-user:/var/chroot/rtadvd:/sbin/nologin
_unbound:*:32:32::0:0:& pseudo-user:/var/chroot/unbound:/sbin/nologin
+_nsd:*:33:33::0:0:& pseudo-user:/var/chroot/unbound:/sbin/nologin
uucp:*:66:1::0:0:UNIX-to-UNIX Copy:/nonexistent:/sbin/nologin
nobody:*:32767:39::0:0:Unprivileged user:/nonexistent:/sbin/nologin
diff -r 18699f1704ac -r 59412c3554f1 etc/mtree/NetBSD.dist.base
--- a/etc/mtree/NetBSD.dist.base Sat Jan 07 19:53:49 2017 +0000
+++ b/etc/mtree/NetBSD.dist.base Sat Jan 07 19:55:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.dist.base,v 1.154 2016/08/20 11:21:50 christos Exp $
+# $NetBSD: NetBSD.dist.base,v 1.155 2017/01/07 20:00:07 christos Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
# Do not customize this file as it may be overwritten on upgrades.
@@ -41,6 +41,7 @@
./etc/mail
./etc/mtree
./etc/namedb
+./etc/nsd
./etc/openldap
./etc/openssl
./etc/openssl/certs
@@ -1270,6 +1271,12 @@
./var/chroot/named/var/run/lwresd mode=0775 gname=named
./var/chroot/named/var/run/named mode=0775 gname=named
./var/chroot/named/var/tmp mode=01775 gname=named
+./var/chroot/nsd mode=0755 uname=_nsd gname=_nsd
+./var/chroot/nsd/etc mode=0755 uname=_nsd gname=_nsd
+./var/chroot/nsd/etc/nsd mode=0755 uname=_nsd gname=_nsd
+./var/chroot/nsd/var mode=0755 uname=_nsd gname=_nsd
+./var/chroot/nsd/var/db mode=0755 uname=_nsd gname=_nsd
+./var/chroot/nsd/var/db/nsd mode=0755 uname=_nsd gname=_nsd
./var/chroot/ntpd
./var/chroot/ntpd/dev
./var/chroot/ntpd/etc
diff -r 18699f1704ac -r 59412c3554f1 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Sat Jan 07 19:53:49 2017 +0000
+++ b/usr.sbin/postinstall/postinstall Sat Jan 07 19:55:35 2017 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.207 2017/01/03 00:35:07 jnemeth Exp $
+# $NetBSD: postinstall,v 1.208 2017/01/07 19:55:35 christos Exp $
#
# Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1046,7 +1046,7 @@
"${SRC_DIR}/etc/group" 14 \
named ntpd sshd SKIP _pflogd _rwhod staff _proxy _timedc \
_sdpd _httpd _mdnsd _tests _tcpdump _tss _gpio _rtadvd SKIP \
- _unbound
+ _unbound _nsd
}
#
@@ -1531,6 +1531,10 @@
"${SRC_DIR}/external/bsd/unbound/etc/rc.d"
failed=$(( ${failed} + $? ))
+ update_rc "${op}" "${dir}" nsd \
+ "${SRC_DIR}/external/bsd/nsd/etc/rc.d"
+ failed=$(( ${failed} + $? ))
+
if $SOURCEMODE && [ -n "${generated_scripts}" ]; then
# generate scripts
mkdir "${SCRATCHDIR}/rc"
@@ -1879,7 +1883,7 @@
"${SRC_DIR}/etc/master.passwd" 12 \
postfix SKIP named ntpd sshd SKIP _pflogd _rwhod SKIP _proxy \
_timedc _sdpd _httpd _mdnsd _tests _tcpdump _tss SKIP _rtadvd \
- SKIP _unbound
+ SKIP _unbound _nsd
}
Home |
Main Index |
Thread Index |
Old Index