From 91f319a72e52e0c9a252cd4f63d4a0a0a8346ffd Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Tue, 26 Jul 2022 20:54:04 +0200 Subject: [PATCH] Bump authelia and add user/group Signed-off-by: Stefan Knoblich --- acct-group/authelia/Manifest | 1 + acct-group/authelia/authelia-0-r1.ebuild | 9 +++++ acct-user/authelia/Manifest | 1 + acct-user/authelia/authelia-0-r1.ebuild | 13 +++++++ www-apps/authelia-bin/Manifest | 2 + .../authelia-bin/authelia-bin-4.36.3.ebuild | 38 +++++++++++++++++++ 6 files changed, 64 insertions(+) create mode 100644 acct-group/authelia/Manifest create mode 100644 acct-group/authelia/authelia-0-r1.ebuild create mode 100644 acct-user/authelia/Manifest create mode 100644 acct-user/authelia/authelia-0-r1.ebuild create mode 100644 www-apps/authelia-bin/authelia-bin-4.36.3.ebuild diff --git a/acct-group/authelia/Manifest b/acct-group/authelia/Manifest new file mode 100644 index 0000000..33749af --- /dev/null +++ b/acct-group/authelia/Manifest @@ -0,0 +1 @@ +EBUILD authelia-0-r1.ebuild 188 BLAKE2B 0a73b940aa6ba3236f54a396ec59145aece23332c260e56056b2d326f00496c9f8aa0fbf8198fb3e6f941242023e2d0cc42044203c9e3aa019b3f50046cc56fa SHA512 aac5e85218014d8de80fe14494cdeaaf77822aab1fc4006ae8e429abf4590205edca9e6c16ca15f0578eb982acf266af6b22165ae55581527a893c7493fc5e84 diff --git a/acct-group/authelia/authelia-0-r1.ebuild b/acct-group/authelia/authelia-0-r1.ebuild new file mode 100644 index 0000000..b03daf7 --- /dev/null +++ b/acct-group/authelia/authelia-0-r1.ebuild @@ -0,0 +1,9 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-group + +DESCRIPTION="Authelia program group" +ACCT_GROUP_ID=980 diff --git a/acct-user/authelia/Manifest b/acct-user/authelia/Manifest new file mode 100644 index 0000000..c9c2ada --- /dev/null +++ b/acct-user/authelia/Manifest @@ -0,0 +1 @@ +EBUILD authelia-0-r1.ebuild 293 BLAKE2B 2e582deb0dc94637a6883633d77bfb58234b1c0b99f5ed28b2235fa90898b60de0378f4424d30e015f6d85401eafa68e73d27cd804711316911470e2d3393066 SHA512 1e405f09e877c6ffc0eeae050d5d462e47692695c5bc431756896606047c19af5f0f1d3c7b4561776534298be8724473ac78dbe78c6a5834c3f651be27e31d21 diff --git a/acct-user/authelia/authelia-0-r1.ebuild b/acct-user/authelia/authelia-0-r1.ebuild new file mode 100644 index 0000000..0e1a5c5 --- /dev/null +++ b/acct-user/authelia/authelia-0-r1.ebuild @@ -0,0 +1,13 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="Authelia program user" +ACCT_USER_ID=980 +ACCT_USER_HOME=/var/lib/authelia +ACCT_USER_HOME_PERMS=0750 +ACCT_USER_GROUPS=( authelia ) +acct-user_add_deps diff --git a/www-apps/authelia-bin/Manifest b/www-apps/authelia-bin/Manifest index c9b6060..e56a58e 100644 --- a/www-apps/authelia-bin/Manifest +++ b/www-apps/authelia-bin/Manifest @@ -2,4 +2,6 @@ AUX authelia.confd 0 BLAKE2B 786a02f742015903c6c6fd852552d272912f4740e15847618a8 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 +DIST authelia-bin-4.36.3-linux-amd64.tar.gz 14623425 BLAKE2B 9a7b9c32ae9d72386600437d2047477933fb4d7170bf6c3de132c673a36d2dacdbb8b2f542603598a62308369767154f5cf703f28d9122a7d4f8025b96771130 SHA512 98f43bb69a6c2ab8a4a75f144af4544628771a043f3aefb39f984d1e2d7aeabd5cdca47fe25a5615817d30c4d1806a20c0c6dfcbcc4e31f18564897c1b1fe373 EBUILD authelia-bin-4.31.0.ebuild 756 BLAKE2B 8f6272a3cf64817289c337ed78acf6b81c141f5a0ffbf1b6f15ceeeb12132a7e47ffe0a3243c3e2857a325bad0fd214dffb1b8972f5fbb5c52637e1298c4ef74 SHA512 c837f84b830df45f34488199de9d588355986248b3841e545e2dc4bebb191e4e6cb612903f70b696223aa996681a05abee8250e2718ffdae3fc5f9b40c598817 +EBUILD authelia-bin-4.36.3.ebuild 809 BLAKE2B ed608e7b8c40c16e9570afe2b2db7adff98cf47d584513fc238053c4671bd1ccc4edf1500e1070447d118d06221c0abe03136e09ad3bc52a39a3eaf0d8e2c065 SHA512 c55e4ac0f4a18e1c7dd0cf24f85ddaf0a65abc2348628f47a5135eab271dfe18d739f578c3301b459e7d100383a0a5b1729a8cc4a4f953fd89e67a63802e066d diff --git a/www-apps/authelia-bin/authelia-bin-4.36.3.ebuild b/www-apps/authelia-bin/authelia-bin-4.36.3.ebuild new file mode 100644 index 0000000..6040ebb --- /dev/null +++ b/www-apps/authelia-bin/authelia-bin-4.36.3.ebuild @@ -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" +}