aboutsummaryrefslogtreecommitdiff
path: root/share/mk/bsd.own.mk
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2011-06-27 13:23:51 +0000
committerStefan Eßer <se@FreeBSD.org>2011-06-27 13:23:51 +0000
commitcf78df8a0e44042b4e35b42021724bd21bb13dfe (patch)
treeff2ed9a4f833a5d0685496971f87b8ef0646da8e /share/mk/bsd.own.mk
parent671dfdbf117f02c6e46a3664bfe87b98a96b4b17 (diff)
downloadsrc-cf78df8a0e44042b4e35b42021724bd21bb13dfe.tar.gz
src-cf78df8a0e44042b4e35b42021724bd21bb13dfe.zip
Add macros to specify owner, group and mode of config files for installation.
Submitted by: Chris Rees (crees)
Notes
Notes: svn path=/head/; revision=223596
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index a589fba8fbcb..ee786199019d 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -63,6 +63,15 @@
# SHAREMODE ASCII text file mode. [${NOBINMODE}]
#
#
+# CONFDIR Base path for configuration files. [/etc]
+#
+# CONFOWN Configuration file owner. [root]
+#
+# CONFGRP Configuration file group. [wheel]
+#
+# CONFMODE Configuration file mode. [644]
+#
+#
# DOCDIR Base path for system documentation (e.g. PSD, USD,
# handbook, FAQ etc.). [${SHAREDIR}/doc]
#
@@ -145,6 +154,11 @@ SHAREOWN?= root
SHAREGRP?= wheel
SHAREMODE?= ${NOBINMODE}
+CONFDIR?= /etc
+CONFOWN?= root
+CONFGRP?= wheel
+CONFMODE?= 644
+
MANDIR?= ${SHAREDIR}/man/man
MANOWN?= ${SHAREOWN}
MANGRP?= ${SHAREGRP}