pkgsrc-WIP-changes archive

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

py-homeassistant: Create a user and homedir (for config)



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Mon Aug 26 19:44:49 2019 -0400
Changeset:	29cce63f5803c8d6fd5a0c4eea29262caeed8bb0

Modified Files:
	py-homeassistant/Makefile

Log Message:
py-homeassistant: Create a user and homedir (for config)

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

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

diffstat:
 py-homeassistant/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diffs:
diff --git a/py-homeassistant/Makefile b/py-homeassistant/Makefile
index 24d2c15a6f..3e86629e0e 100644
--- a/py-homeassistant/Makefile
+++ b/py-homeassistant/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	homeassistant-0.97.2
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_PYPI:=h/homeassistant/}
 
@@ -37,6 +38,15 @@ DEPENDS+=	${PYPKGPREFIX}-ruamel-yaml>=0.15.99:../../devel/py-ruamel-yaml
 DEPENDS+=	${PYPKGPREFIX}-voluptuous>=0.11.5:../../wip/py-voluptuous
 #DEPENDS+=	${PYPKGPREFIX}-voluptuous-serialize>=2.1.0:../../FOO/py-voluptuous-serialize
 
+HASS_DIR=	${VARBASE}/hass
+
+PKG_GROUPS=	hass
+PKG_USERS=	hass:hass
+PKG_GECOS.hass=	Home Assistant
+PKG_HOME.hass=	${HASS_DIR}
+
+OWN_DIRS_PERMS=	${HASS_DIR} hass hass 0700
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index