summaryrefslogtreecommitdiff
path: root/acct-user
diff options
context:
space:
mode:
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/Manifest.gzbin5987 -> 6313 bytes
-rw-r--r--acct-user/git/Manifest2
-rw-r--r--acct-user/git/git-0.ebuild29
-rw-r--r--acct-user/git/metadata.xml15
-rw-r--r--acct-user/postfix/Manifest2
-rw-r--r--acct-user/postfix/metadata.xml8
-rw-r--r--acct-user/postfix/postfix-0.ebuild12
7 files changed, 68 insertions, 0 deletions
diff --git a/acct-user/Manifest.gz b/acct-user/Manifest.gz
index 30202e78a05a..9ac6e328119d 100644
--- a/acct-user/Manifest.gz
+++ b/acct-user/Manifest.gz
Binary files differ
diff --git a/acct-user/git/Manifest b/acct-user/git/Manifest
new file mode 100644
index 000000000000..96c13a7471a4
--- /dev/null
+++ b/acct-user/git/Manifest
@@ -0,0 +1,2 @@
+EBUILD git-0.ebuild 548 BLAKE2B d2dcc4b9f6a725301a53a8990c39b0108381dc599afc8154824ab8b266fe10822f0b418dc1ba5d4bd2f30c1da62bc4fde5d809785350fef9d86ca7e79d755de1 SHA512 977de3f8513fc82e29124e02f8ad68a480920649a00fdbefbec5444aa9e2d1fd73736fe68aa788712380cb1e2752128d83914ddcc874bb4532abf60edc784030
+MISC metadata.xml 502 BLAKE2B 9a5b2a85c54c283bed9e5ec27e03465639dfd2d8ef4daebdbfed9cf52eb90dc21764a35a910a4ac5aa7538b14cb8f733ce9758026ed1b2c6d9e92dd8a70e3117 SHA512 c9d052a560e89eeca6cd15d8d90824138897098277431a04cbab9074a670e037ee58afeb6466f057194cfb4dc8869c1af68e6bef4ba6d2416067d134c337a7c8
diff --git a/acct-user/git/git-0.ebuild b/acct-user/git/git-0.ebuild
new file mode 100644
index 000000000000..384b3bd703e6
--- /dev/null
+++ b/acct-user/git/git-0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="Git repository hosting user"
+
+IUSE="gitea gitolite"
+REQUIRED_USE="^^ ( gitea gitolite )"
+
+ACCT_USER_ID=196
+ACCT_USER_HOME_OWNER=git:git
+ACCT_USER_HOME_PERMS=750
+ACCT_USER_SHELL=/bin/sh
+ACCT_USER_GROUPS=( git )
+
+acct-user_add_deps
+
+pkg_setup() {
+ if use gitea; then
+ ACCT_USER_HOME=/var/lib/gitea
+ elif use gitolite; then
+ ACCT_USER_HOME=/var/lib/gitolite
+ else
+ die "Incorrect USE flag combination"
+ fi
+}
diff --git a/acct-user/git/metadata.xml b/acct-user/git/metadata.xml
new file mode 100644
index 000000000000..159d766b8251
--- /dev/null
+++ b/acct-user/git/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name="gitea">Set home directory for git hosting
+ via <pkg>www-apps/gitea</pkg>.</flag>
+ <flag name="gitolite">Set home directory for git hosting
+ via <pkg>dev-vcs/gitolite</pkg>
+ or <pkg>dev-vcs/gitolite-gentoo</pkg>.</flag>
+ </use>
+</pkgmetadata>
diff --git a/acct-user/postfix/Manifest b/acct-user/postfix/Manifest
new file mode 100644
index 000000000000..f4a282fc170d
--- /dev/null
+++ b/acct-user/postfix/Manifest
@@ -0,0 +1,2 @@
+EBUILD postfix-0.ebuild 236 BLAKE2B 6204cdaf4f74829cb02bf90751997d76c9f1253e589c1c280d7481b225fa7e9186c4eb6334c37edc4cf80230ca0671999371e51cb7573c509c3b3604497766d4 SHA512 8a438cef4650aee34ad9ce0c81af92449ffb7b708bcc5ee33f30194398bea342f55f9af2619a7f1691feda09257b15a05a60c42e623439375d578699db82898a
+MISC metadata.xml 247 BLAKE2B 167e8eb377614081cdfda6ab24f1a1bcbcac4b7db4a34c79d682d3c47bc6de17c14fa679aa3a1d82a61988ef0fc044b99061635e1a50de646b9ddfe88444ebe8 SHA512 6dd50c3fa3c6a61cc3590827074f4dd0586cb36ef78dfaf161c09a613b198af88aa874b96f7958aa59761b0689ea903fac1bfca9d05023c648cf8dabc0596f4d
diff --git a/acct-user/postfix/metadata.xml b/acct-user/postfix/metadata.xml
new file mode 100644
index 000000000000..e6f3bf582ab7
--- /dev/null
+++ b/acct-user/postfix/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>
diff --git a/acct-user/postfix/postfix-0.ebuild b/acct-user/postfix/postfix-0.ebuild
new file mode 100644
index 000000000000..81f26ddfcd1a
--- /dev/null
+++ b/acct-user/postfix/postfix-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="user for postfix daemon"
+ACCT_USER_ID=207
+ACCT_USER_GROUPS=( postfix mail )
+
+acct-user_add_deps