Add authelia binary ebuild

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2021-09-27 22:18:05 +02:00
parent be140956c1
commit 0b6c64755d
5 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
AUX authelia.confd 0 BLAKE2B 786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
AUX authelia.initd 0 BLAKE2B 786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
AUX authelia.service 236 BLAKE2B 1b9385fbf184a608f87d0c3eb98dd9fa5e01b53f3fabdafda77b2e14c6c04230f0107c1afd84fee619406a07b9df6df68419abb7894fca92772f85589046f866 SHA512 191788494db1b5d1d6a5c2566ed27e49110f4408e539994bcea136a8a600cda509180890e4ab5cb3754de95eb14f41cc9823aa602cb97f65d99ce132116dd209
DIST authelia-bin-4.31.0-linux-amd64.tar.gz 15201725 BLAKE2B 88794bcbca1557a8fab68a88acfab4b9aa39cec74b5a2d557746ddd5a74561122dd9d707ec3d26aced8c550ed5b6ee939823b1e89baaf1f0fc2f8664a2e95402 SHA512 b4e3e819ac0eec61df7b4412a61b8069839e634993720d891b30585166b89b9f4c1b35b80cd2f743de1e90c2e9da3e8de12d4149f0aa54634b7e6ba4a85b0dc0
EBUILD authelia-bin-4.31.0.ebuild 756 BLAKE2B 8f6272a3cf64817289c337ed78acf6b81c141f5a0ffbf1b6f15ceeeb12132a7e47ffe0a3243c3e2857a325bad0fd214dffb1b8972f5fbb5c52637e1298c4ef74 SHA512 c837f84b830df45f34488199de9d588355986248b3841e545e2dc4bebb191e4e6cb612903f70b696223aa996681a05abee8250e2718ffdae3fc5f9b40c598817

View File

@@ -0,0 +1,33 @@
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"
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"
}

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Authelia authentication and authorization server
After=multi-user.target
[Service]
ExecStart=/usr/bin/authelia --config /etc/authelia/configuration.yml
SyslogIdentifier=authelia
[Install]
WantedBy=multi-user.target