Browse Source

Enable Unbound in base, ok deraadt@

OPENBSD_5_6
sthen 10 years ago
parent
commit
cc6c887d94
6 changed files with 22 additions and 7 deletions
  1. +3
    -2
      src/etc/Makefile
  2. +1
    -0
      src/etc/group
  3. +1
    -0
      src/etc/master.passwd
  4. +12
    -1
      src/etc/mtree/4.4BSD.dist
  5. +3
    -3
      src/etc/rc
  6. +2
    -1
      src/etc/rc.conf

+ 3
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.346 2014/03/13 10:11:01 florian Exp $
# $OpenBSD: Makefile,v 1.347 2014/03/15 22:13:36 sthen Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -56,7 +56,7 @@ RCDAEMONS= amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd \
sensorsd slowcgi smtpd snmpd spamd sshd syslogd watchdogd \
wsmoused xdm ypbind ypldap yppasswdd ypserv kdc kadmind \
kpasswdd nfsd mountd lockd statd spamlogd sndiod \
tftpd tftpproxy ldomd ipropd_master ipropd_slave
tftpd tftpproxy ldomd ipropd_master ipropd_slave unbound
MISETS= base${OSrev}.tgz comp${OSrev}.tgz \
man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz
@ -131,6 +131,7 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 ldapd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ypldap.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g _nsd -m 640 nsd.conf ${DESTDIR}/var/nsd/etc
${INSTALL} -c -o root -g wheel -m 644 unbound.conf ${DESTDIR}/var/unbound/etc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
cd root; \


+ 1
- 0
src/etc/group View File

@ -22,6 +22,7 @@ _fingerd:*:33:
_sshagnt:*:34:
_x11:*:35:
utmp:*:45:
_unbound:*:53:
_lkm:*:61:
_spamd:*:62:
_radius:*:63:


+ 1
- 0
src/etc/master.passwd View File

@ -10,6 +10,7 @@ _rstatd:*:30:30::0:0:rpc.rstatd:/var/empty:/sbin/nologin
_rusersd:*:32:32::0:0:rpc.rusersd:/var/empty:/sbin/nologin
_fingerd:*:33:33::0:0:fingerd:/var/empty:/sbin/nologin
_x11:*:35:35::0:0:X Server:/var/empty:/sbin/nologin
_unbound:*:53:53::0:0:Unbound Daemon:/var/unbound:/sbin/nologin
_spamd:*:62:62::0:0:Spam Daemon:/var/empty:/sbin/nologin
uucp:*:66:1::0:0:UNIX-to-UNIX Copy:/var/spool/uucppublic:/sbin/nologin
www:*:67:67::0:0:HTTP Server:/var/www:/sbin/nologin


+ 12
- 1
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.242 2014/03/13 10:11:01 florian Exp $
# $OpenBSD: 4.4BSD.dist,v 1.243 2014/03/15 22:13:36 sthen Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@ -1366,6 +1366,17 @@ vi.recover mode=01777
# ./var/tmp
..
# ./var/unbound
unbound
# ./var/unbound/etc
etc uname=root gname=wheel mode=0755
# ./var/unbound/etc
..
# ./var/unbound
..
# ./www
www type=dir uname=root gname=daemon mode=755


+ 3
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.422 2014/03/13 10:11:01 florian Exp $
# $OpenBSD: rc,v 1.423 2014/03/15 22:13:36 sthen Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -391,8 +391,8 @@ dmesg >/var/run/dmesg.boot
make_keys
echo -n 'starting early daemons:'
start_daemon syslogd ldattach pflogd named nsd ntpd isakmpd iked sasyncd
start_daemon ldapd npppd
start_daemon syslogd ldattach pflogd named nsd unbound ntpd
start_daemon isakmpd iked sasyncd ldapd npppd
echo '.'
if [ X"${ipsec}" != X"NO" ]; then


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.186 2014/03/13 10:11:01 florian Exp $
# $OpenBSD: rc.conf,v 1.187 2014/03/15 22:13:36 sthen Exp $
# DO NOT EDIT THIS FILE!!
#
@ -27,6 +27,7 @@ rbootd_flags=NO # for normal use: ""
sshd_flags="" # for normal use: ""
named_flags=NO # for normal use: ""
nsd_flags=NO # for normal use: "-c /var/nsd/etc/nsd.conf"
unbound_flags=NO # for normal use: "-c /var/unbound/etc/unbound.conf"
ldattach_flags=NO # for normal use: "[options] linedisc cua-device"
ntpd_flags=NO # for normal use: ""
isakmpd_flags=NO # for normal use: ""


Loading…
Cancel
Save