summaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-07-13 12:14:38 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-07-13 12:14:38 +0000
commitc6528c56b7e3723869f0877610de21189022d043 (patch)
tree6f460e036e23108a9e7f91ad29df64ff48334d80 /etc/Makefile
parentf2e0760076754f8f027fe04f8851144a1c4ccd37 (diff)
Install some config files with mode 0600 as they were before the move to
/etc/examples. ok deraadt@
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/etc/Makefile b/etc/Makefile
index f807c5e0449..6a564b83053 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.367 2014/07/13 12:07:40 claudio Exp $
+# $OpenBSD: Makefile,v 1.368 2014/07/13 12:14:37 ajacoutot Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -38,12 +38,12 @@ BIN1= changelist csh.cshrc csh.login csh.logout daily \
weekly etc.${MACHINE}/login.conf etc.${MACHINE}/disktab \
dhclient.conf mailer.conf ntpd.conf moduli pf.os mixerctl.conf
-EXAMPLES=bgpd.conf chio.conf dhcpd.conf dvmrpd.conf exports ftpchroot \
- hostapd.conf hosts.lpd ifstated.conf iked.conf \
- inetd.conf ipsec.conf ldapd.conf ldpd.conf mrouted.conf \
- ospf6d.conf ospfd.conf printcap rbootd.conf relayd.conf \
- remote ripd.conf sasyncd.conf sensorsd.conf snmpd.conf \
- ypldap.conf
+EXAMPLES=chio.conf dhcpd.conf exports ftpchroot hosts.lpd ifstated.conf \
+ inetd.conf mrouted.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 \
+ sasyncd.conf snmpd.conf ypldap.conf
.if ${MACHINE} != "aviion"
BIN1+= wsconsctl.conf
@@ -165,6 +165,8 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/etc/ppp
cd examples; \
${INSTALL} -c -o root -g wheel -m 644 ${EXAMPLES} \
+ ${DESTDIR}/etc/examples; \
+ ${INSTALL} -c -o root -g wheel -m 600 ${EXAMPLES_600} \
${DESTDIR}/etc/examples
cd signify; \
${INSTALL} -c -o root -g wheel -m 644 *.pub \