summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-06-20 11:54:17 +0200
committerMichał Górny <mgorny@gentoo.org>2019-06-24 12:29:35 +0200
commitf5c03cd0a3e826e8c9d56e136d67569d740cc350 (patch)
treea24218fdd5f61b6179aed6c13fa6c86edccec9d2 /acct-user/mail
parentacct-group/mail: Add 'mail' group (GID 12 on Linux) (diff)
downloadgentoo-f5c03cd0a3e826e8c9d56e136d67569d740cc350.tar.gz
gentoo-f5c03cd0a3e826e8c9d56e136d67569d740cc350.tar.bz2
gentoo-f5c03cd0a3e826e8c9d56e136d67569d740cc350.zip
acct-user/mail: Add 'mail' user (UID 8 on Linux)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'acct-user/mail')
-rw-r--r--acct-user/mail/mail-0.ebuild15
-rw-r--r--acct-user/mail/metadata.xml8
2 files changed, 23 insertions, 0 deletions
diff --git a/acct-user/mail/mail-0.ebuild b/acct-user/mail/mail-0.ebuild
new file mode 100644
index 000000000000..0b4854eb984e
--- /dev/null
+++ b/acct-user/mail/mail-0.ebuild
@@ -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
index 000000000000..e6f3bf582ab7
--- /dev/null
+++ b/acct-user/mail/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>eras@gentoo.org</email>
+ <name>Eray Aslan</name>
+ </maintainer>
+</pkgmetadata>