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

diff --git a/acct-user/postmaster/metadata.xml b/acct-user/postmaster/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>
diff --git a/acct-user/postmaster/postmaster-0.ebuild b/acct-user/postmaster/postmaster-0.ebuild
new file mode 100644 (file)
index 0000000..6f182fb
--- /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="Postmaster user"
+ACCT_USER_ID=14
+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