Install this version:
emerge -a =acct-user/git-0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =acct-user/git-0
Or alternatively:
emerge --autounmask-write -a =acct-user/git-0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0 | 8 |
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
inherit acct-user
DESCRIPTION="Git repository hosting user"
IUSE="git gitea gitolite gitprep"
REQUIRED_USE="?? ( git gitea gitolite gitprep )"
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 git; then
ACCT_USER_HOME=/var/lib/git
elif use gitea; then
ACCT_USER_HOME=/var/lib/gitea
elif use gitolite; then
ACCT_USER_HOME=/var/lib/gitolite
elif use gitprep; then
ACCT_USER_HOME=/var/lib/gitprep
else
die "Incorrect USE flag combination"
fi
}
Manage flags for this package:
euse -i <flag> -p acct-user/git |
euse -E <flag> -p acct-user/git |
euse -D <flag> -p acct-user/git