pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zabbix50-agent: Move zabbix user and group into server's Makefile.common



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Tue Aug 18 15:50:41 2020 +0000
Changeset:	1a3a8e3425c4195be068b5f4a3ea90aeb160c92d

Modified Files:
	zabbix50-agent/Makefile

Log Message:
zabbix50-agent: Move zabbix user and group into server's Makefile.common

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1a3a8e3425c4195be068b5f4a3ea90aeb160c92d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zabbix50-agent/Makefile | 13 -------------
 1 file changed, 13 deletions(-)

diffs:
diff --git a/zabbix50-agent/Makefile b/zabbix50-agent/Makefile
index dd4eecf993..3ebe00ce5a 100644
--- a/zabbix50-agent/Makefile
+++ b/zabbix50-agent/Makefile
@@ -29,19 +29,6 @@ SUBST_SED.fix-paths=		-e 's,/usr/local/etc,${PKG_SYSCONFDIR},g'
 
 .include "../../mk/bsd.prefs.mk"
 
-ZABBIX_GROUP?=		zabbix
-ZABBIX_USER?=		zabbix
-ZABBIX_HOMEDIR?=	/var/zabbix
-PKG_GROUPS+=		${ZABBIX_GROUP}
-PKG_USERS+=		${ZABBIX_USER}:${ZABBIX_GROUP}
-PKG_GECOS.${ZABBIX_USER}= Zabbix user
-PKG_HOME.${ZABBIX_USER}=	${ZABBIX_HOMEDIR}
-
-FILES_SUBST+=		ZABBIX_USER=${ZABBIX_USER}
-FILES_SUBST+=		ZABBIX_GROUP=${ZABBIX_GROUP}
-
-OWN_DIRS_PERMS+=	${ZABBIX_HOMEDIR} ${ZABBIX_USER} ${ZABBIX_GROUP} 0755
-
 SMF_INSTANCES=		agent
 
 .include "options.mk"


Home | Main Index | Thread Index | Old Index