summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2006-06-01 16:43:24 +0000
committerEsben Norby <norby@cvs.openbsd.org>2006-06-01 16:43:24 +0000
commitc5db77c6cf8612345407440dd7b1ed3b4abf9da8 (patch)
tree2a4accaa2efdd0a9a81f051b9c34047f51de61de
parent4389062e76e5509bae24bfd6c14a1700801ab5f4 (diff)
add all the goo to hook dvmrp into the system
ok derradt@
-rw-r--r--etc/Makefile5
-rw-r--r--etc/changelist3
-rw-r--r--etc/ftpusers3
-rw-r--r--etc/group1
-rw-r--r--etc/mail/aliases3
-rw-r--r--etc/master.passwd1
-rw-r--r--etc/mtree/special3
-rw-r--r--etc/rc6
-rw-r--r--etc/rc.conf3
9 files changed, 20 insertions, 8 deletions
diff --git a/etc/Makefile b/etc/Makefile
index bad3bc1deb8..7eee8e266fc 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.233 2006/05/09 21:17:13 miod Exp $
+# $OpenBSD: Makefile,v 1.234 2006/06/01 16:43:23 norby Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -78,6 +78,7 @@ distribution-etc-root-var: distrib-dirs
pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd
${INSTALL} -c -o root -g wheel -m 600 bgpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ospfd.conf ${DESTDIR}/etc
+ ${INSTALL} -c -o root -g wheel -m 600 dvmrpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ipsec.conf ${DESTDIR}/etc
@@ -379,7 +380,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
- echo '# $$OpenBSD: Makefile,v 1.233 2006/05/09 21:17:13 miod Exp $$'; \
+ echo '# $$OpenBSD: Makefile,v 1.234 2006/06/01 16:43:23 norby Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \
diff --git a/etc/changelist b/etc/changelist
index be7365cbb93..83058a7c547 100644
--- a/etc/changelist
+++ b/etc/changelist
@@ -1,4 +1,4 @@
-# $OpenBSD: changelist,v 1.44 2005/12/28 04:57:28 david Exp $
+# $OpenBSD: changelist,v 1.45 2006/06/01 16:43:23 norby Exp $
#
# List of files which the security script backs up and checks
# for modifications.
@@ -27,6 +27,7 @@
/etc/dhcpd.interfaces
/etc/disktab
/etc/distfile
+/etc/dvmrpd.conf
/etc/ethers
/etc/exports
/etc/fbtab
diff --git a/etc/ftpusers b/etc/ftpusers
index 3f9041c3a5e..910ff1ece32 100644
--- a/etc/ftpusers
+++ b/etc/ftpusers
@@ -1,4 +1,4 @@
-# $OpenBSD: ftpusers,v 1.27 2005/04/13 21:37:05 henning Exp $
+# $OpenBSD: ftpusers,v 1.28 2006/06/01 16:43:23 norby Exp $
#
# list of users disallowed any ftp access.
# read by ftpd(8).
@@ -38,3 +38,4 @@ _ntp
_ftp
_ospfd
_hostapd
+_dvmrpd
diff --git a/etc/group b/etc/group
index ac516e05060..00ea05f4058 100644
--- a/etc/group
+++ b/etc/group
@@ -51,6 +51,7 @@ _ntp:*:83:
_ftp:*:84:
_ospfd:*:85:
_hostapd:*:86:
+_dvmrpd:*:87:
dialer:*:117:
nogroup:*:32766:
nobody:*:32767:
diff --git a/etc/mail/aliases b/etc/mail/aliases
index d89dc11edf1..8c39efa603f 100644
--- a/etc/mail/aliases
+++ b/etc/mail/aliases
@@ -1,5 +1,5 @@
#
-# $OpenBSD: aliases,v 1.18 2005/04/13 21:37:06 henning Exp $
+# $OpenBSD: aliases,v 1.19 2006/06/01 16:43:23 norby Exp $
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /usr/libexec/mail.local.
@@ -24,6 +24,7 @@ www: root
_afs: /dev/null
_bgpd: /dev/null
_dhcp: /dev/null
+_dvmrpd: /dev/null
_fingerd: /dev/null
_ftp: /dev/null
_hostapd: /dev/null
diff --git a/etc/master.passwd b/etc/master.passwd
index 11c8eee8e24..7a93ad6fa37 100644
--- a/etc/master.passwd
+++ b/etc/master.passwd
@@ -33,4 +33,5 @@ _ntp:*:83:83::0:0:NTP Daemon:/var/empty:/sbin/nologin
_ftp:*:84:84::0:0:FTP Daemon:/var/empty:/sbin/nologin
_ospfd:*:85:85::0:0:OSPF Daemon:/var/empty:/sbin/nologin
_hostapd:*:86:86::0:0:HostAP Daemon:/var/empty:/sbin/nologin
+_dvmrpd:*:87:87::0:0:DVMRP Daemon:/var/empty:/sbin/nologin
nobody:*:32767:32767::0:0:Unprivileged user:/nonexistent:/sbin/nologin
diff --git a/etc/mtree/special b/etc/mtree/special
index 57fce45e5f9..9cfbaf409a7 100644
--- a/etc/mtree/special
+++ b/etc/mtree/special
@@ -1,4 +1,4 @@
-# $OpenBSD: special,v 1.68 2006/01/04 04:21:52 david Exp $
+# $OpenBSD: special,v 1.69 2006/06/01 16:43:23 norby Exp $
# $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
@@ -24,6 +24,7 @@ csh.logout type=file mode=0644 uname=root gname=wheel
daily type=file mode=0644 uname=root gname=wheel
daily.local type=file mode=0644 uname=root gname=wheel optional
disklabels type=dir mode=0755 uname=root gname=wheel ignore
+dvmrpd.conf type=file mode=0600 uname=root gname=wheel
.. #disklabels
exports type=file mode=0644 uname=root gname=wheel optional
fbtab type=file mode=0644 uname=root gname=wheel
diff --git a/etc/rc b/etc/rc
index c1320f37d05..ac81a99bd1a 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.283 2006/05/29 16:49:42 avsm Exp $
+# $OpenBSD: rc,v 1.284 2006/06/01 16:43:23 norby Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -571,6 +571,10 @@ if [ X"${mrouted_flags}" != X"NO" ]; then
echo -n ' mrouted'; mrouted $mrouted_flags
fi
+if [ X"${dvmrpd_flags}" != X"NO" ]; then
+ echo -n ' dvmrpd'; /usr/sbin/dvmrpd $dvmrpd_flags
+fi
+
if [ X"${ospfd_flags}" != X"NO" ]; then
echo -n ' ospfd'; /usr/sbin/ospfd $ospfd_flags
fi
diff --git a/etc/rc.conf b/etc/rc.conf
index 83316c832d6..173683c441c 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,11 +1,12 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.113 2006/05/29 16:49:42 avsm Exp $
+# $OpenBSD: rc.conf,v 1.114 2006/06/01 16:43:23 norby Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
mrouted_flags=NO # for normal use: "", if activated
# be sure to enable multicast_router below.
+dvmrpd_flags=NO # for normal use: ""
ospfd_flags=NO # for normal use: ""
bgpd_flags=NO # for normal use: ""
rarpd_flags=NO # for normal use: "-a"