summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-05-13 20:32:58 +0200
committerLouis Sautier <sbraz@gentoo.org>2020-06-12 13:06:16 +0200
commit52f0c43fa2ade59f04712cfbcabc2ea2bbac6f1a (patch)
treef78b9917b4e0da323df164d94e52e322dc41eaf1 /acct-user
parentacct-group/znc: new group for net-irc/znc (diff)
downloadgentoo-52f0c43fa2ade59f04712cfbcabc2ea2bbac6f1a.tar.gz
gentoo-52f0c43fa2ade59f04712cfbcabc2ea2bbac6f1a.tar.bz2
gentoo-52f0c43fa2ade59f04712cfbcabc2ea2bbac6f1a.zip
acct-user/znc: new user for net-irc/znc
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/znc/metadata.xml8
-rw-r--r--acct-user/znc/znc-0.ebuild16
2 files changed, 24 insertions, 0 deletions
diff --git a/acct-user/znc/metadata.xml b/acct-user/znc/metadata.xml
new file mode 100644
index 00000000000..44039e87f44
--- /dev/null
+++ b/acct-user/znc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sbraz@gentoo.org</email>
+ <name>Louis Sautier</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/znc/znc-0.ebuild b/acct-user/znc/znc-0.ebuild
new file mode 100644
index 00000000000..9848611f21f
--- /dev/null
+++ b/acct-user/znc/znc-0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for net-irc/znc"
+ACCT_USER_ID=421
+ACCT_USER_GROUPS=( ${PN} )
+# The systemd unit needs HOME to be set
+# https://bugs.gentoo.org/521916
+ACCT_USER_HOME=/var/lib/znc
+ACCT_USER_HOME_PERMS=0700
+
+acct-user_add_deps