acct-user/mail: Add 'mail' user (UID 8 on Linux)
authorMichał Górny <mgorny@gentoo.org>
Thu, 20 Jun 2019 09:54:17 +0000 (11:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 24 Jun 2019 10:29:35 +0000 (12:29 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
acct-user/mail/mail-0.ebuild [new file with mode: 0644]
acct-user/mail/metadata.xml [new file with mode: 0644]

diff --git a/acct-user/mail/mail-0.ebuild b/acct-user/mail/mail-0.ebuild
new file mode 100644 (file)
index 0000000..0b4854e
--- /dev/null
@@ -0,0 +1,15 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="Mail program user"
+ACCT_USER_ID=8
+ACCT_USER_HOME=/var/spool/mail
+ACCT_USER_HOME_OWNER=root:mail
+ACCT_USER_HOME_PERMS=03775
+ACCT_USER_GROUPS=( mail )
+
+acct-user_add_deps
diff --git a/acct-user/mail/metadata.xml b/acct-user/mail/metadata.xml
new file mode 100644 (file)
index 0000000..e6f3bf5
--- /dev/null
@@ -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>eras@gentoo.org</email>
+    <name>Eray Aslan</name>
+  </maintainer>
+</pkgmetadata>