summaryrefslogtreecommitdiff
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-05-16 06:13:39 +0000
committerjlam <jlam@pkgsrc.org>2006-05-16 06:13:39 +0000
commitfb91fca48915c911c28299f815c1ac5d5f1e245f (patch)
tree6a0185aa00f458500b4654c2ea6c5cc580e0ccd5 /sysutils/webmin
parent531161f4e6f2dcc53235f4b1bff5c6d71d32dc53 (diff)
downloadpkgsrc-fb91fca48915c911c28299f815c1ac5d5f1e245f.tar.gz
Actually manage the config files installed in the examples directory
using INSTALL/DEINSTALL scripts.
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/wbm.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/webmin/wbm.mk b/sysutils/webmin/wbm.mk
index 53d90cb0c7f..4941f59c0ed 100644
--- a/sysutils/webmin/wbm.mk
+++ b/sysutils/webmin/wbm.mk
@@ -1,4 +1,4 @@
-# $NetBSD: wbm.mk,v 1.1 2006/05/16 04:01:28 jlam Exp $
+# $NetBSD: wbm.mk,v 1.2 2006/05/16 06:13:39 jlam Exp $
#
# Makefile fragment for Webmin modules
@@ -19,6 +19,13 @@ WEBMIN_EGDIR= ${PREFIX.webmin}/share/examples/webmin
WBM_DIR= ${PREFIX}/share/webmin
WBM_EGDIR= ${PREFIX}/share/examples/webmin
+PKG_SYSCONFSUBDIR= webmin
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/${WBMNAME} \
+ ${ROOT_USER} ${ROOT_GROUP} 0700
+CONF_FILES_PERMS+= ${WBM_EGDIR}/${WBMNAME}/config \
+ ${PKG_SYSCONFDIR}/${WBMNAME}/config \
+ ${ROOT_USER} ${ROOT_GROUP} 0600
+
# WBMNAME is the name of the module directory
WBMNAME?= ${DISTNAME}
WEBMIN_OSTYPE_cmd= ${AWK} '/^os_type=/ {sub("os_type=",""); print}' \