Compare commits

..

4 commits

Author SHA1 Message Date
55a52f05b5
ilot/authentik: clean-up packaging
Some checks failed
/ lint (pull_request) Successful in 29s
/ deploy-x86_64 (pull_request) Successful in 29s
/ build-x86_64 (pull_request) Successful in 37m24s
/ deploy-aarch64 (pull_request) Has been cancelled
/ build-aarch64 (pull_request) Has been cancelled
2024-09-20 20:59:57 -04:00
ca0e141ba8
forgejo-ci: change hostname to what is in hosts 2024-09-20 20:35:53 -04:00
5218717858
ilot/py3-sentry-sdk: new aport 2024-09-20 20:35:28 -04:00
f9a55abb9f
ilot/authentik: enable check 2024-09-20 20:35:12 -04:00

View file

@ -157,6 +157,7 @@ depends="
uvicorn
"
makedepends="go npm"
# checkdepends scooped up by poetry due to number
checkdepends="
py3-pip
py3-coverage
@ -258,8 +259,7 @@ with open(\"local.env.yml\", \"w\") as _config:
package() {
msg "Packaging $pkgname"
local prefix="/usr/share/webapps"
local destdir="$pkgdir"$prefix/authentik
local destdir="$pkgdir"/usr/share/webapps/authentik
# authentik install
install -d -m755 \
@ -268,7 +268,7 @@ package() {
"$pkgdir"/usr/bin \
"$pkgdir"/usr/share/doc
cp -rl authentik lifecycle locale tests blueprints \
cp -rl authentik lifecycle locale tests blueprints web/dist web/authentik \
"$destdir"/
cp -rl web/dist web/authentik \
@ -281,11 +281,11 @@ package() {
"$builddir"/proxy \
"$builddir"/manage.py
cp -rl website/build/ "$pkgdir"/usr/share/doc/authentik/
cp -rl website/build "$pkgdir"/usr/share/doc/
# symbolic bin links to usr/bin
for i in server proxy ldap radius; do
ln -s $prefix/authentik/$i "$pkgdir"/usr/bin/authentik-$i
ln -s "$destdir"/$i "$pkgdir"/usr/bin/authentik-$i
done
# openrc install