From 715529950901508087462ef35a4cb6ea12f2a255 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 12 Jun 2019 09:16:42 +0000 Subject: [PATCH] pkgbase: Set a default package=runtime for var directories This way every directory is at least present in packages. While here tag some directory from being in sendmail or dma Reviewed by: bapt MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D20605 --- etc/mtree/BSD.var.dist | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist index 3b694908f00c..a35b31ff6e41 100644 --- a/etc/mtree/BSD.var.dist +++ b/etc/mtree/BSD.var.dist @@ -3,7 +3,7 @@ # Please see the file src/etc/mtree/README before making changes to this file. # -/set type=dir uname=root gname=wheel mode=0755 +/set type=dir uname=root gname=wheel mode=0755 tags=package=runtime . account .. @@ -32,7 +32,7 @@ .. crash .. - cron tags=package=runtime + cron tabs mode=0700 .. .. @@ -59,21 +59,21 @@ .. .. .. - empty mode=0555 flags=schg tags=package=runtime + empty mode=0555 flags=schg .. games gname=games mode=0775 .. heimdal mode=0700 .. - log tags=package=runtime + log .. - mail gname=mail mode=0775 tags=package=runtime + mail gname=mail mode=0775 .. msgs uname=daemon .. preserve .. - run tags=package=runtime + run dhclient .. ppp gname=network mode=0770 @@ -84,16 +84,18 @@ rwho gname=daemon mode=0775 .. spool - dma uname=root gname=mail mode=0770 + clientmqueue uname=smmsp gname=smmsp mode=0770 tags=package=sendmail .. - lock uname=uucp gname=dialer mode=0775 + dma uname=root gname=mail mode=0770 tags=package=dma + .. + lock uname=uucp gname=dialer .. /set gname=daemon lpd .. - mqueue + mqueue tags=package=sendmail .. - opielocks mode=0700 + opielocks .. output lpd @@ -101,7 +103,7 @@ .. /set gname=wheel .. - tmp mode=01777 tags=package=runtime + tmp mode=01777 vi.recover mode=01777 .. ..