Browse Source

handle the movement of the first few files to /etc/examples. They are

still managed by changelist, as long as the marker is + and they are in
the correct distrib/sets/* files
Bit of help from ajacoutot
OPENBSD_5_6
deraadt 10 years ago
parent
commit
e29f67bfe4
2 changed files with 15 additions and 15 deletions
  1. +8
    -8
      src/etc/Makefile
  2. +7
    -7
      src/etc/changelist

+ 8
- 8
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.357 2014/04/29 21:30:20 dcoppa Exp $
# $OpenBSD: Makefile,v 1.358 2014/07/11 16:59:03 deraadt Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -38,7 +38,10 @@ BIN1= changelist csh.cshrc csh.login csh.logout daily dhcpd.conf \
remote rpc services shells syslog.conf weekly \ remote rpc services shells syslog.conf weekly \
etc.${MACHINE}/login.conf \ etc.${MACHINE}/login.conf \
etc.${MACHINE}/disktab dhclient.conf mailer.conf ntpd.conf \ etc.${MACHINE}/disktab dhclient.conf mailer.conf ntpd.conf \
moduli pf.os sensorsd.conf ifstated.conf mixerctl.conf
moduli pf.os sensorsd.conf mixerctl.conf
EXAMPLES=chio.conf dvmrpd.conf hostapd.conf ifstated.conf ldpd.conf \
ospf6d.conf ospfd.conf
.if ${MACHINE} != "aviion" .if ${MACHINE} != "aviion"
BIN1+= wsconsctl.conf BIN1+= wsconsctl.conf
@ -109,14 +112,8 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd 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 bgpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ospfd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ospf6d.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ripd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 ripd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 dvmrpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ldpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g operator -m 644 chio.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 relayd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 relayd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 iked.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 iked.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ipsec.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 ipsec.conf ${DESTDIR}/etc
@ -173,6 +170,9 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/etc/ppp; \ ${DESTDIR}/etc/ppp; \
${INSTALL} -c -o root -g wheel -m 600 pap-secrets \ ${INSTALL} -c -o root -g wheel -m 600 pap-secrets \
${DESTDIR}/etc/ppp ${DESTDIR}/etc/ppp
cd examples; \
${INSTALL} -c -o root -g wheel -m 644 ${EXAMPLES} \
${DESTDIR}/etc/examples
cd signify; \ cd signify; \
${INSTALL} -c -o root -g wheel -m 644 *.pub \ ${INSTALL} -c -o root -g wheel -m 644 *.pub \
${DESTDIR}/etc/signify ${DESTDIR}/etc/signify


+ 7
- 7
src/etc/changelist View File

@ -1,4 +1,4 @@
# $OpenBSD: changelist,v 1.87 2014/04/29 21:30:20 dcoppa Exp $
# $OpenBSD: changelist,v 1.88 2014/07/11 16:59:03 deraadt Exp $
# #
# List of files which the security script backs up and checks # List of files which the security script backs up and checks
# for modifications. # for modifications.
@ -14,7 +14,7 @@
/etc/boot.conf /etc/boot.conf
/etc/bootparams /etc/bootparams
/etc/changelist /etc/changelist
/etc/chio.conf
+/etc/chio.conf
/etc/crontab /etc/crontab
/etc/csh.cshrc /etc/csh.cshrc
/etc/csh.login /etc/csh.login
@ -26,7 +26,7 @@
/etc/dhcpd.conf /etc/dhcpd.conf
/etc/disktab /etc/disktab
/etc/distfile /etc/distfile
/etc/dvmrpd.conf
+/etc/dvmrpd.conf
/etc/ethers /etc/ethers
/etc/exports /etc/exports
/etc/fbtab /etc/fbtab
@ -40,7 +40,7 @@
+/etc/hostname.* +/etc/hostname.*
/etc/hosts /etc/hosts
/etc/hosts.lpd /etc/hosts.lpd
/etc/ifstated.conf
+/etc/ifstated.conf
+/etc/iked.conf +/etc/iked.conf
/etc/inetd.conf /etc/inetd.conf
+/etc/ipsec.conf +/etc/ipsec.conf
@ -50,7 +50,7 @@
+/etc/isakmpd/private/local.key +/etc/isakmpd/private/local.key
/etc/ksh.kshrc /etc/ksh.kshrc
/etc/ldapd.conf /etc/ldapd.conf
/etc/ldpd.conf
+/etc/ldpd.conf
/etc/locate.rc /etc/locate.rc
/etc/login.conf /etc/login.conf
/etc/lynx.cfg /etc/lynx.cfg
@ -95,8 +95,8 @@
/etc/npppd/npppd.conf /etc/npppd/npppd.conf
+/etc/npppd/npppd-users +/etc/npppd/npppd-users
/etc/ntpd.conf /etc/ntpd.conf
/etc/ospf6d.conf
/etc/ospfd.conf
+/etc/ospf6d.conf
+/etc/ospfd.conf
/etc/passwd /etc/passwd
/etc/pf.conf /etc/pf.conf
/etc/pf.os /etc/pf.os


Loading…
Cancel
Save