authelia-bin: Bump to 4.39.15
See 4.39 (and newer) release notes for possibly backwards incompatible changes: https://www.authelia.com/blog/4.39-release-notes/ Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
54
www-apps/authelia-bin/authelia-bin-4.39.15.ebuild
Normal file
54
www-apps/authelia-bin/authelia-bin-4.39.15.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit systemd
|
||||
|
||||
MY_PN="authelia"
|
||||
DESCRIPTION="Single Sign-On Multi-Factor portal for web apps"
|
||||
HOMEPAGE="https://github.com/authelia/authelia"
|
||||
|
||||
SRC_URI_AMD64="
|
||||
https://github.com/authelia/authelia/releases/download/v${PV}/${MY_PN}-v${PV}-linux-amd64.tar.gz -> ${P}-linux-amd64.tar.gz
|
||||
"
|
||||
|
||||
SRC_URI_ARM64="
|
||||
https://github.com/authelia/authelia/releases/download/v${PV}/${MY_PN}-v${PV}-linux-arm64.tar.gz -> ${P}-linux-arm64.tar.gz
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (${SRC_URI_AMD64})
|
||||
arm64? (${SRC_URI_ARM64})
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PRESTRIPPED="usr/bin/authelia"
|
||||
|
||||
DEPEND="
|
||||
acct-group/authelia
|
||||
acct-user/authelia
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dobin authelia
|
||||
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}/${MY_PN}.service"
|
||||
|
||||
diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
|
||||
dodir /etc/${MY_PN}
|
||||
dodir /etc/${MY_PN}/keys.d
|
||||
dodir /etc/${MY_PN}/certs.d
|
||||
keepdir /etc/${MY_PN}/keys.d
|
||||
keepdir /etc/${MY_PN}/certs.d
|
||||
keepdir /var/lib/${MY_PN}
|
||||
keepdir /var/log/${MY_PN}
|
||||
|
||||
insinto /etc/${MY_PN}
|
||||
doins config.template.yml
|
||||
}
|
||||
Reference in New Issue
Block a user