/usr/share/mk/conf.freebsd.mk is in bsdowl 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | ### conf.freebsd.mk -- Installation of configuration files for FreeBSD
# Author: Michael Grünewald
# Date: Sam 3 oct 2009 18:25:04 CEST
# Cookie: SYNOPSIS TARGET VARIABLE EN DOCUMENTATION
# BSD Owl Scripts (https://bitbucket.org/michipili/bsdowl)
# This file is part of BSD Owl Scripts
#
# Copyright © 2005–2014 Michael Grünewald
#
# This file must be used under the terms of the CeCILL-B.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
# This module defines several FILESGROUPS that can be used to install
# configuration files on FreeBSD systems.
#
# These files groups are:
#
# BASE For base system configuration files, in /etc
# PORT For port configuration files, in ${LOCALBASE}/etc
# KERN For kernel configuration files
# BOOT For boot configuration files, in /boot
# CSUP For csup configuration files, in /etc/csup
# FDI For device file informations used by HAL
# RC For RC files used to boot the system
# KDE For KDE configuration files
# XDM For XDM configuration files, in ${LOCALBASE}/lib/X11/xdm
# XDMPIXMAP For XDM pixmaps
# XFCE For XFCE configuration files
PREFIX?=
LOCALBASE?= /usr/local
# BASE
#
# Base system configuration files
#
# Such as rc.conf, hosts, networks, groups, etc.
FILESGROUPS+= BASE
BASEDIR?= /etc
BASEOWN?= root
BASEGRP?= wheel
BASEMODE?= 444
BASEDIR.sshd_config = ${BASEDIR}/ssh
BASEDIR.ssh_config = ${BASEDIR}/ssh
BASEMODE.hostpad.conf = 400
# RC
#
# Setting up services at boot time
FILESGROUPS+= RC
RCDIR?= ${LOCALBASE}/etc/rc.d
RCOWN?= ${BASEOWN}
RCGRP?= ${BASEGRP}
RCMODE?= 555
.if defined(RC)&&!empty(RC)
.if ${RC} == "f77"
RC:=
.endif
.endif
# PORT
#
# Third party packages configurations files
#
# Such as sudoers, pkgtools.conf, apache configuration files, etc.
FILESGROUPS+= PORT
PORTDIR?= ${LOCALBASE}/etc
PORTOWN?= ${BASEOWN}
PORTGRP?= ${BASEGRP}
PORTMODE?= 444
PORTMODE.sudoers = 440
PORTDIR.PolicyKit.conf = ${PORTDIR}/PolicyKit
PORTDIR.fonts-local.conf = ${PORTDIR}/fonts
PORTNAME.fonts-local.conf = local.conf
# FDI
#
# Device information files for the HAL system
FILESGROUPS+= FDI
FDIDIR?= ${LOCALBASE}/share/hal/fdi/preprobe/20thirdparty
FDIOWN?= ${BASEOWN}
FDIGRP?= ${BASEGRP}
FDIMODE?= 444
# KERN
#
# Kernel configuration files
#
# The machine is guessed from the MACHINE variable. Note: it would
# be nice to define a group for each supported machine type, so that
# kernels for various machines can be prepared.
FILESGROUPS+= KERN
KERNDIR?= /usr/src/sys/${MACHINE}/conf
KERNOWN?= ${BASEOWN}
KERNGRP?= ${BASEGRP}
KERNMODE?= 444
# BOOT
#
# Loader configuration files
#
# These files usually go under /boot.
FILESGROUPS+= BOOT
BOOTDIR?= /boot
BOOTOWN?= ${BASEOWN}
BOOTGRP?= ${BASEGRP}
BOOTMODE?= 444
# CSUP
#
# CVS Update
#
# Csup is a software package for updating collections of files
# across a network. It is used to keep FreeBSD sources and the ports
# collection in sync. Its configuration files goes under /etc/csup.
FILESGROUPS+= CSUP
CSUPDIR?= /etc/csup
CSUPOWN?= ${BASEOWN}
CSUPGRP?= ${BASEGRP}
CSUPMODE?= 444
CSUPDIR.refuse-supfile =/var/db/sup
CSUPNAME.refuse-supfile = refuse
# XORG
#
# X server configuration files
#
# Theses files go under /etc/X11. Note that these files must be read
# somewhere to be effective, for instance in the Xsession script.
FILESGROUPS+= XORG
XORGDIR?= /etc/X11
XORGOWN?= ${BASEOWN}
XORGGRP?= ${BASEGRP}
XORGMODE?= 444
# KDE
#
# K Desktop Environment
#
# KDE is a desktop environment. Among other bits of software, it
# provides a display manager daemon, that is a system component. We
# handle KDE4.
FILESGROUPS+= KDE
KDEDIR?= ${LOCALBASE}/kde4/share/config
KDEOWN?= ${BASEOWN}
KDEGRP?= ${BASEGRP}
KDEMODE?= 444
KDEDIR.kdmrc = ${KDEDIR}/kdm
# XDM
#
# X Display Manager
#
# XDM is the display manager daemon shipped with Xorg. It is highly
# configurable, see comments in the relevant files.
FILESGROUPS+= XDM
XDMDIR?= ${LOCALBASE}/lib/X11/xdm
XDMOWN?= ${BASEOWN}
XDMGRP?= ${BASEGRP}
XDMMODE?= 444
XDMMODE.GiveConsole?= 555
XDMMODE.TakeConsole?= 555
XDMMODE.Xreset?= 555
XDMMODE.Xsession?= 555
XDMMODE.Xstartup?= 555
XDMMODE.Xwilling?= 555
.for file in ${XDM:MXsetup_*}
XDMMODE.${file:T}?= 555
.endfor
FILESGROUPS+= XDMPIXMAP
XDMPIXMAPDIR?= ${LOCALBASE}/lib/X11/xdm/pixmaps
XDMPIXMAPOWN?= ${BASEOWN}
XDMPIXMAPGRP?= ${BASEGRP}
XDMPIXMAPMODE?= 444
# Images goes under ${XDMDIR}/pixmaps
.for suffix in png gif jpg jpeg xpm
.for file in ${XDM:M*.${suffix}}
XDMDIR.${file:T}?= ${XDMDIR}/pixmaps
.endfor
.endfor
#
# Epilogue
#
USE_SWITCH_CREDENTIALS = yes
.include "bps.init.mk"
.include "bps.credentials.mk"
.include "bps.clean.mk"
.include "bps.files.mk"
.include "bps.usertarget.mk"
### End of file `conf.freebsd.mk'
|