ilot/authentik: upgrade to 2024.8.2 #24
6 changed files with 166 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=authentik
|
pkgname=authentik
|
||||||
pkgver=2024.6.4
|
pkgver=2024.8.2
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="An open-source Identity Provider focused on flexibility and versatility"
|
pkgdesc="An open-source Identity Provider focused on flexibility and versatility"
|
||||||
url="https://github.com/goauthentik/authentik"
|
url="https://github.com/goauthentik/authentik"
|
||||||
|
@ -11,6 +11,7 @@ url="https://github.com/goauthentik/authentik"
|
||||||
arch="aarch64 x86_64"
|
arch="aarch64 x86_64"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
depends="
|
depends="
|
||||||
|
bash
|
||||||
libcap-setcap
|
libcap-setcap
|
||||||
nginx
|
nginx
|
||||||
postgresql
|
postgresql
|
||||||
|
@ -54,6 +55,7 @@ depends="
|
||||||
py3-deprecated
|
py3-deprecated
|
||||||
py3-dnspython
|
py3-dnspython
|
||||||
py3-django
|
py3-django
|
||||||
|
py3-django-countries
|
||||||
py3-django-cte
|
py3-django-cte
|
||||||
py3-django-filter
|
py3-django-filter
|
||||||
py3-django-guardian
|
py3-django-guardian
|
||||||
|
@ -70,6 +72,7 @@ depends="
|
||||||
py3-dotenv
|
py3-dotenv
|
||||||
py3-dumb-init
|
py3-dumb-init
|
||||||
py3-duo_client
|
py3-duo_client
|
||||||
|
py3-drf-orjson-renderer
|
||||||
py3-drf-spectacular
|
py3-drf-spectacular
|
||||||
py3-email-validator
|
py3-email-validator
|
||||||
py3-fido2
|
py3-fido2
|
||||||
|
@ -110,6 +113,7 @@ depends="
|
||||||
py3-pydantic-scim
|
py3-pydantic-scim
|
||||||
py3-pynacl
|
py3-pynacl
|
||||||
py3-pyrsistent
|
py3-pyrsistent
|
||||||
|
py3-pyrad
|
||||||
py3-python-jwt
|
py3-python-jwt
|
||||||
py3-redis
|
py3-redis
|
||||||
py3-requests
|
py3-requests
|
||||||
|
@ -127,7 +131,6 @@ depends="
|
||||||
py3-swagger-spec-validator
|
py3-swagger-spec-validator
|
||||||
py3-tornado
|
py3-tornado
|
||||||
py3-twilio
|
py3-twilio
|
||||||
py3-twisted
|
|
||||||
py3-txaio
|
py3-txaio
|
||||||
py3-tenant-schemas-celery
|
py3-tenant-schemas-celery
|
||||||
py3-typing-extensions
|
py3-typing-extensions
|
||||||
|
@ -168,6 +171,7 @@ source="
|
||||||
authentik-manage.sh
|
authentik-manage.sh
|
||||||
fix-ak-bash.patch
|
fix-ak-bash.patch
|
||||||
root-settings-csrf_trusted_origins.patch
|
root-settings-csrf_trusted_origins.patch
|
||||||
|
go-downgrade-1.22.patch
|
||||||
"
|
"
|
||||||
builddir="$srcdir/"authentik-version-$pkgver
|
builddir="$srcdir/"authentik-version-$pkgver
|
||||||
subpackages="$pkgname-openrc $pkgname-doc"
|
subpackages="$pkgname-openrc $pkgname-doc"
|
||||||
|
@ -250,7 +254,7 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
8939dd22097a0ac17d3d974788d1e4c2d363706ff07179a73c5bc03f42c4d45e92e562521212a5908b806fee103a8dcd613852cf36952f14e36f82e434e013ce authentik-2024.6.4.tar.gz
|
02e54183fa35e7a06780f68239db7b3b5e2ccd3c6e1fcaf97690d9b596077c7a5345dbb5b005f39ff67a0dae83bd9b71d1c6d18ba8fae9cc7174d5d856360bff authentik-2024.8.2.tar.gz
|
||||||
4defb4fe3a4230f4aa517fbecd5e5b8bcef2a64e1b40615660ae9eec33597310a09df5e126f4d39ce7764bd1716c0a7040637699135c103cbc1879593c6c06f1 authentik.openrc
|
4defb4fe3a4230f4aa517fbecd5e5b8bcef2a64e1b40615660ae9eec33597310a09df5e126f4d39ce7764bd1716c0a7040637699135c103cbc1879593c6c06f1 authentik.openrc
|
||||||
6cb03b9b69df39bb4539fe05c966536314d766b2e9307a92d87070ba5f5b7e7ab70f1b5ee1ab3c0c50c23454f9c5a4caec29e63fdf411bbb7a124ad687569b89 authentik-worker.openrc
|
6cb03b9b69df39bb4539fe05c966536314d766b2e9307a92d87070ba5f5b7e7ab70f1b5ee1ab3c0c50c23454f9c5a4caec29e63fdf411bbb7a124ad687569b89 authentik-worker.openrc
|
||||||
351e6920d987861f8bf0d7ab2f942db716a8dbdad1f690ac662a6ef29ac0fd46cf817cf557de08f1c024703503d36bc8b46f0d9eb1ecaeb399dce4c3bb527d17 authentik-ldap.openrc
|
351e6920d987861f8bf0d7ab2f942db716a8dbdad1f690ac662a6ef29ac0fd46cf817cf557de08f1c024703503d36bc8b46f0d9eb1ecaeb399dce4c3bb527d17 authentik-ldap.openrc
|
||||||
|
@ -258,4 +262,5 @@ sha512sums="
|
||||||
f1a3cb215b6210fa7d857a452a9f2bc4dc0520e49b9fa7027547cff093d740a7e2548f1bf1f8831f7d5ccb80c8e523ee0c8bafcc4dc42d2788725f2137d21bee authentik-manage.sh
|
f1a3cb215b6210fa7d857a452a9f2bc4dc0520e49b9fa7027547cff093d740a7e2548f1bf1f8831f7d5ccb80c8e523ee0c8bafcc4dc42d2788725f2137d21bee authentik-manage.sh
|
||||||
3e47db684a3f353dcecdb7bab8836b9d5198766735d77f676a51d952141a0cf9903fcb92e6306c48d2522d7a1f3028b37247fdc1dc74d4d6e043da7eb4f36d49 fix-ak-bash.patch
|
3e47db684a3f353dcecdb7bab8836b9d5198766735d77f676a51d952141a0cf9903fcb92e6306c48d2522d7a1f3028b37247fdc1dc74d4d6e043da7eb4f36d49 fix-ak-bash.patch
|
||||||
5c60e54b6a7829d611af66f5cb8184a002b5ae927efbd024c054a7c176fcb9efcfbe5685279ffcf0390b0f0abb3bb03e02782c6867c2b38d1ad2d508aae83fa0 root-settings-csrf_trusted_origins.patch
|
5c60e54b6a7829d611af66f5cb8184a002b5ae927efbd024c054a7c176fcb9efcfbe5685279ffcf0390b0f0abb3bb03e02782c6867c2b38d1ad2d508aae83fa0 root-settings-csrf_trusted_origins.patch
|
||||||
|
badff70b19aad79cf16046bd46cb62db25c2a8b85b2673ce7c44c42eb60d42f6fcb1b9a7a7236c00f24803b25d3c66a4d64423f7ce14a59763b8415db292a5b9 go-downgrade-1.22.patch
|
||||||
"
|
"
|
||||||
|
|
38
ilot/authentik/go-downgrade-1.22.patch
Normal file
38
ilot/authentik/go-downgrade-1.22.patch
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
diff --git a/go.mod.orig b/go.mod
|
||||||
|
index 65490a2..13a611e 100644
|
||||||
|
--- a/go.mod.orig
|
||||||
|
+++ b/go.mod
|
||||||
|
@@ -1,8 +1,6 @@
|
||||||
|
module goauthentik.io
|
||||||
|
|
||||||
|
-go 1.23
|
||||||
|
-
|
||||||
|
-toolchain go1.23.0
|
||||||
|
+go 1.22.2
|
||||||
|
|
||||||
|
require (
|
||||||
|
beryju.io/ldap v0.1.0
|
||||||
|
@@ -16,7 +14,7 @@ require (
|
||||||
|
github.com/gorilla/handlers v1.5.2
|
||||||
|
github.com/gorilla/mux v1.8.1
|
||||||
|
github.com/gorilla/securecookie v1.1.2
|
||||||
|
- github.com/gorilla/sessions v1.4.0
|
||||||
|
+ github.com/gorilla/sessions v1.3.0
|
||||||
|
github.com/gorilla/websocket v1.5.3
|
||||||
|
github.com/jellydator/ttlcache/v3 v3.2.1
|
||||||
|
github.com/mitchellh/mapstructure v1.5.0
|
||||||
|
diff --git a/go.sum.orig b/go.sum
|
||||||
|
index 94edf9c..856c2ee 100644
|
||||||
|
--- a/go.sum.orig
|
||||||
|
+++ b/go.sum
|
||||||
|
@@ -175,8 +175,8 @@ github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+
|
||||||
|
github.com/gorilla/securecookie v1.1.2 h1:YCIWL56dvtr73r6715mJs5ZvhtnY73hBvEF8kXD8ePA=
|
||||||
|
github.com/gorilla/securecookie v1.1.2/go.mod h1:NfCASbcHqRSY+3a8tlWJwsQap2VX5pwzwo4h3eOamfo=
|
||||||
|
github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
|
||||||
|
-github.com/gorilla/sessions v1.4.0 h1:kpIYOp/oi6MG/p5PgxApU8srsSw9tuFbt46Lt7auzqQ=
|
||||||
|
-github.com/gorilla/sessions v1.4.0/go.mod h1:FLWm50oby91+hl7p/wRxDth9bWSuk0qVL2emc7lT5ik=
|
||||||
|
+github.com/gorilla/sessions v1.3.0 h1:XYlkq7KcpOB2ZhHBPv5WpjMIxrQosiZanfoy1HLZFzg=
|
||||||
|
+github.com/gorilla/sessions v1.3.0/go.mod h1:ePLdVu+jbEgHH+KWw8I1z2wqd0BAdAQh/8LRvBeoNcQ=
|
||||||
|
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||||
|
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
|
||||||
|
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
40
ilot/py3-django-countries/APKBUILD
Normal file
40
ilot/py3-django-countries/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
pkgname=py3-django-countries
|
||||||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
|
_pkgreal=django-countries
|
||||||
|
pkgver=7.6.1
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Provides a country field for Django models."
|
||||||
|
url="https://pypi.python.org/project/django-countries"
|
||||||
|
arch="noarch"
|
||||||
|
license="MIT"
|
||||||
|
depends="py3-django py3-asgiref py3-typing-extensions"
|
||||||
|
# missing py3-graphene
|
||||||
|
checkdepends="py3-pytest-django py3-pytest-cov py3-django-rest-framework"
|
||||||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/SmileyChris/django-countries/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
|
options="!check" # TODO
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
|
.testenv/bin/python3 -m pytest -v
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
53c7db02244aad196c141d1d04db5087c802d69d12de25e86fe0b2abdfb4ce9ed6ec84b6344c423dc6e7d2e57c2bb14a5324739c7cead54ec7d261e7e3fe6112 py3-django-countries-7.6.1.tar.gz
|
||||||
|
"
|
|
@ -4,11 +4,11 @@ pkgname=py3-django-tenants
|
||||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
_pkgreal=django-tenants
|
_pkgreal=django-tenants
|
||||||
pkgver=3.6.1
|
pkgver=3.6.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Tenant support for Django using PostgreSQL schemas."
|
pkgdesc="Tenant support for Django using PostgreSQL schemas."
|
||||||
url="https://pypi.python.org/project/django-tenants"
|
url="https://pypi.python.org/project/django-tenants"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="KIT"
|
license="MIT"
|
||||||
depends="py3-django py3-psycopg py3-gunicorn py3-coverage"
|
depends="py3-django py3-psycopg py3-gunicorn py3-coverage"
|
||||||
checkdepends="python3-dev py3-pytest"
|
checkdepends="python3-dev py3-pytest"
|
||||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||||
|
|
39
ilot/py3-drf-orjson-renderer/APKBUILD
Normal file
39
ilot/py3-drf-orjson-renderer/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
pkgname=py3-drf-orjson-renderer
|
||||||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
|
_pkgreal=drf_orjson_renderer
|
||||||
|
pkgver=1.7.3
|
||||||
|
_gittag=9a59352f82e262bd78ccc0228361bcb321a33623
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Django RestFramework JSON Renderer Backed by orjson"
|
||||||
|
url="https://pypi.python.org/project/drf-orjson-renderer"
|
||||||
|
arch="noarch"
|
||||||
|
license="MIT"
|
||||||
|
depends="py3-django-rest-framework py3-orjson"
|
||||||
|
checkdepends="py3-pytest-django py3-numpy"
|
||||||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/brianjbuck/drf_orjson_renderer/archive/$_gittag.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$_gittag"
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
|
.testenv/bin/python3 -m pytest -v
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
7870aebf6bcc249228b1620f4b50124eef54e251dcac236e23be4287284461617d630b073d2e9122f66779a908dfd69c5e16b486b23de0114b06b3df6b468e95 py3-drf-orjson-renderer-1.7.3.tar.gz
|
||||||
|
"
|
39
ilot/py3-pyrad/APKBUILD
Normal file
39
ilot/py3-pyrad/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
pkgname=py3-pyrad
|
||||||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
|
_pkgreal=pyrad
|
||||||
|
pkgver=2.4
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Python RADIUS Implementation"
|
||||||
|
url="https://pypi.python.org/project/pyrad"
|
||||||
|
arch="noarch"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
depends="py3-netaddr"
|
||||||
|
checkdepends="py3-pytest"
|
||||||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel poetry"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pyradius/pyrad/archive/refs/tags/$pkgver.tar.gz"
|
||||||
|
options="!check" # TODO
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
|
.testenv/bin/python3 -m pytest -v
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
e4f4c687596bd226cf2cdb409a8d940c7b665fb7f722d09113dd9a1b05ab176ce8f920b235918ec01695f262930d13b4057b199cf6aac72afa54950c1fb59166 py3-pyrad-2.4.tar.gz
|
||||||
|
"
|
Loading…
Add table
Reference in a new issue