Bump authelia and add user/group
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
38
www-apps/authelia-bin/authelia-bin-4.36.3.ebuild
Normal file
38
www-apps/authelia-bin/authelia-bin-4.36.3.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit systemd
|
||||
|
||||
MY_PN="authelia"
|
||||
DESCRIPTION="Single Sign-On Multi-Factor portal for web apps"
|
||||
HOMEPAGE="https://github.com/authelia/authelia"
|
||||
SRC_URI="https://github.com/authelia/authelia/releases/download/v${PV}/${MY_PN}-v${PV}-linux-amd64.tar.gz -> ${P}-linux-amd64.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PRESTRIPPED="usr/bin/authelia"
|
||||
|
||||
DEPEND="
|
||||
acct-group/authelia
|
||||
acct-user/authelia
|
||||
"
|
||||
|
||||
src_install() {
|
||||
newbin authelia-linux-amd64 authelia
|
||||
insinto /etc/authelia
|
||||
doins config.template.yml
|
||||
|
||||
keepdir /etc/authelia/keys.d
|
||||
keepdir /etc/authelia/certs.d
|
||||
|
||||
keepdir /var/lib/authelia
|
||||
keepdir /var/log/authelia
|
||||
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}/${MY_PN}.service"
|
||||
}
|
||||
Reference in New Issue
Block a user