From 9bc3ff3e5fa6a6b0df087eedbde1f0f86b1f4ab9 Mon Sep 17 00:00:00 2001 From: rpe <> Date: Sun, 13 Jul 2014 13:53:36 +0000 Subject: [PATCH] - move the ntpd.conf file to examples directory - move it from BIN1 to EXAMPLES in src/etc/Makefile - change the installer to create the file instead of editing it - add a '+' to the corresponding changelist entry suggested by and OK deraadt@ OK for the installer change krw@ --- src/etc/Makefile | 7 ++++--- src/etc/changelist | 4 ++-- src/etc/{ => examples}/ntpd.conf | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) rename src/etc/{ => examples}/ntpd.conf (87%) diff --git a/src/etc/Makefile b/src/etc/Makefile index 47c21202..2b070cc7 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.369 2014/07/13 13:01:48 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.370 2014/07/13 13:53:36 rpe Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -36,10 +36,11 @@ BIN1= changelist csh.cshrc csh.login csh.logout daily \ newsyslog.conf protocols rc rc.conf rc.local \ rc.securelevel rc.shutdown rpc services shells syslog.conf \ weekly etc.${MACHINE}/login.conf etc.${MACHINE}/disktab \ - dhclient.conf mailer.conf ntpd.conf moduli pf.os mixerctl.conf + dhclient.conf mailer.conf moduli pf.os mixerctl.conf EXAMPLES=chio.conf dhcpd.conf exports ftpchroot hosts.lpd ifstated.conf \ - inetd.conf mrouted.conf printcap rbootd.conf remote sensorsd.conf + inetd.conf mrouted.conf ntpd.conf printcap rbootd.conf remote \ + sensorsd.conf EXAMPLES_600=bgpd.conf dvmrpd.conf hostapd.conf iked.conf ipsec.conf \ ldapd.conf ldpd.conf ospf6d.conf ospfd.conf relayd.conf ripd.conf \ diff --git a/src/etc/changelist b/src/etc/changelist index 3debfe05..d6b7afd6 100644 --- a/src/etc/changelist +++ b/src/etc/changelist @@ -1,4 +1,4 @@ -# $OpenBSD: changelist,v 1.91 2014/07/12 03:52:39 deraadt Exp $ +# $OpenBSD: changelist,v 1.92 2014/07/13 13:53:36 rpe Exp $ # # List of files which the security script backs up and checks # for modifications. @@ -94,7 +94,7 @@ /etc/nginx/nginx.conf /etc/npppd/npppd.conf +/etc/npppd/npppd-users -/etc/ntpd.conf ++/etc/ntpd.conf +/etc/ospf6d.conf +/etc/ospfd.conf /etc/passwd diff --git a/src/etc/ntpd.conf b/src/etc/examples/ntpd.conf similarity index 87% rename from src/etc/ntpd.conf rename to src/etc/examples/ntpd.conf index 275853c7..7fcbbed0 100644 --- a/src/etc/ntpd.conf +++ b/src/etc/examples/ntpd.conf @@ -1,4 +1,4 @@ -# $OpenBSD: ntpd.conf,v 1.11 2009/05/18 16:13:48 stevesk Exp $ +# $OpenBSD: ntpd.conf,v 1.1 2014/07/13 13:53:36 rpe Exp $ # sample ntpd configuration file, see ntpd.conf(5) # Addresses to listen on (ntpd does not listen by default)