Browse Source

/usr/share/sysmerge -> /var/sysmerge

requested by several
discussed with deraadt@
OPENBSD_5_9
ajacoutot 9 years ago
parent
commit
9e71c2ab93
3 changed files with 14 additions and 16 deletions
  1. +6
    -6
      src/etc/Makefile
  2. +5
    -5
      src/etc/mtree/4.4BSD.dist
  3. +3
    -5
      src/etc/mtree/BSD.x11.dist

+ 6
- 6
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.406 2015/08/04 04:24:08 jsg Exp $
# $OpenBSD: Makefile,v 1.407 2015/08/24 10:41:11 ajacoutot Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -210,19 +210,19 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${RCDAEMONS} \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${RCDAEMONS} \
${DESTDIR}/etc/rc.d ${DESTDIR}/etc/rc.d
cd ${DESTDIR}/var; ln -fs ../tmp cd ${DESTDIR}/var; ln -fs ../tmp
touch ${DESTDIR}/usr/share/sysmerge/etcsum
touch ${DESTDIR}/usr/share/sysmerge/examplessum
touch ${DESTDIR}/var/sysmerge/etcsum
touch ${DESTDIR}/var/sysmerge/examplessum
cd ${DESTDIR}/ && \ cd ${DESTDIR}/ && \
sort ${.CURDIR}/../distrib/sets/lists/etc/{mi,md.${MACHINE}} | \ sort ${.CURDIR}/../distrib/sets/lists/etc/{mi,md.${MACHINE}} | \
xargs sha256 -h ${DESTDIR}/usr/share/sysmerge/etcsum || true
xargs sha256 -h ${DESTDIR}/var/sysmerge/etcsum || true
cd ${DESTDIR}/ && \ cd ${DESTDIR}/ && \
grep -h '/etc/examples/' \ grep -h '/etc/examples/' \
${.CURDIR}/../distrib/sets/lists/base/{mi,md.${MACHINE}} | \ ${.CURDIR}/../distrib/sets/lists/base/{mi,md.${MACHINE}} | \
sort | \ sort | \
xargs sha256 -h ${DESTDIR}/usr/share/sysmerge/examplessum || true
xargs sha256 -h ${DESTDIR}/var/sysmerge/examplessum || true
cd ${DESTDIR}/ && \ cd ${DESTDIR}/ && \
sort ${.CURDIR}/../distrib/sets/lists/etc/{mi,md.${MACHINE}} | \ sort ${.CURDIR}/../distrib/sets/lists/etc/{mi,md.${MACHINE}} | \
pax -w -d | gzip -9 > ${DESTDIR}/usr/share/sysmerge/etc.tgz
pax -w -d | gzip -9 > ${DESTDIR}/var/sysmerge/etc.tgz
distribution: distribution:
exec ${SUDO} ${MAKE} distribution-etc-root-var exec ${SUDO} ${MAKE} distribution-etc-root-var


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

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.272 2015/07/21 04:06:04 yasuoka Exp $
# $OpenBSD: 4.4BSD.dist,v 1.273 2015/08/24 10:41:11 ajacoutot Exp $
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
@ -622,10 +622,6 @@ usr
.. ..
.. ..
# ./usr/share/sysmerge
sysmerge
..
# ./usr/share/tabset # ./usr/share/tabset
tabset tabset
.. ..
@ -753,6 +749,10 @@ var
run run
.. ..
# ./var/sysmerge
sysmerge uname=root gname=wheel mode=0700
..
# ./var/spool # ./var/spool
spool spool


+ 3
- 5
src/etc/mtree/BSD.x11.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: BSD.x11.dist,v 1.38 2015/04/15 07:41:53 jsg Exp $
# $OpenBSD: BSD.x11.dist,v 1.39 2015/08/24 10:41:11 ajacoutot Exp $
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
. .
@ -417,10 +417,6 @@
.. ..
.. ..
.. ..
share
sysmerge
..
..
.. ..
var var
cache cache
@ -433,5 +429,7 @@
.. ..
log log
.. ..
sysmerge uname=root gname=wheel mode=0700
..
.. ..
.. ..

Loading…
Cancel
Save