From 4f234a18a5de0c6e7ebb2ac6e0f83abf688dd12c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 6 May 2025 13:21:47 -0400 Subject: [PATCH] ilot/authentik: upgrade to 2025.4.0 --- ilot/authentik/APKBUILD | 10 +++---- ilot/authentik/go-downgrade-1.22.patch | 38 -------------------------- ilot/authentik/go-downgrade-1.23.patch | 12 ++++++++ 3 files changed, 17 insertions(+), 43 deletions(-) delete mode 100644 ilot/authentik/go-downgrade-1.22.patch create mode 100644 ilot/authentik/go-downgrade-1.23.patch diff --git a/ilot/authentik/APKBUILD b/ilot/authentik/APKBUILD index 79b5870..e59f737 100644 --- a/ilot/authentik/APKBUILD +++ b/ilot/authentik/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=authentik -pkgver=2025.2.4 +pkgver=2025.4.0 pkgrel=0 pkgdesc="An open-source Identity Provider focused on flexibility and versatility" url="https://github.com/goauthentik/authentik" @@ -41,7 +41,7 @@ depends=" py3-django-prometheus py3-django-pglock py3-django-redis - py3-django-rest-framework~3.14.0 + py3-django-rest-framework py3-django-rest-framework-guardian py3-django-storages py3-django-tenants @@ -127,7 +127,7 @@ source=" authentik-manage.sh fix-ak-bash.patch root-settings-csrf_trusted_origins.patch - go-downgrade-1.22.patch + go-downgrade-1.23.patch " builddir="$srcdir/"authentik-version-$pkgver subpackages="$pkgname-openrc $pkgname-doc $pkgname-pyc" @@ -284,7 +284,7 @@ pyc() { } sha512sums=" -75928b3ab9ae126f3cbe88ff1256de8adba7add099b0d93615abb8c91a2b7f275e83664a232e8c5393c5031bd9757af2f20fdb9d0153dacdf9a482b6b4bb8b00 authentik-2025.2.4.tar.gz +bafaac41c7d9e4981cd78f86c8274c81bb609e98172e5d1551e64e00eb6c1c1b50309e924c918e26afd6b982a84af9f62fa721d75692243959f09119d7ac7c90 authentik-2025.4.0.tar.gz 4defb4fe3a4230f4aa517fbecd5e5b8bcef2a64e1b40615660ae9eec33597310a09df5e126f4d39ce7764bd1716c0a7040637699135c103cbc1879593c6c06f1 authentik.openrc 6cb03b9b69df39bb4539fe05c966536314d766b2e9307a92d87070ba5f5b7e7ab70f1b5ee1ab3c0c50c23454f9c5a4caec29e63fdf411bbb7a124ad687569b89 authentik-worker.openrc 351e6920d987861f8bf0d7ab2f942db716a8dbdad1f690ac662a6ef29ac0fd46cf817cf557de08f1c024703503d36bc8b46f0d9eb1ecaeb399dce4c3bb527d17 authentik-ldap.openrc @@ -292,5 +292,5 @@ sha512sums=" f1a3cb215b6210fa7d857a452a9f2bc4dc0520e49b9fa7027547cff093d740a7e2548f1bf1f8831f7d5ccb80c8e523ee0c8bafcc4dc42d2788725f2137d21bee authentik-manage.sh 3d38076606d18a438a2d76cdd2067774d5471bb832e641050630726b4d7bd8b8c2218d25d7e987a1fb46ee6a4a81d13e899145f015b3c94204cece039c7fb182 fix-ak-bash.patch 5c60e54b6a7829d611af66f5cb8184a002b5ae927efbd024c054a7c176fcb9efcfbe5685279ffcf0390b0f0abb3bb03e02782c6867c2b38d1ad2d508aae83fa0 root-settings-csrf_trusted_origins.patch -badff70b19aad79cf16046bd46cb62db25c2a8b85b2673ce7c44c42eb60d42f6fcb1b9a7a7236c00f24803b25d3c66a4d64423f7ce14a59763b8415db292a5b9 go-downgrade-1.22.patch +b27de23193bec2d81f916d85669da5b109b8a80c41d02608a95c999694266ead9e8735957e2d8862de61d239aa3b79fe80c7eb9d76eedf1e648623c18c1f1464 go-downgrade-1.23.patch " diff --git a/ilot/authentik/go-downgrade-1.22.patch b/ilot/authentik/go-downgrade-1.22.patch deleted file mode 100644 index eeae018..0000000 --- a/ilot/authentik/go-downgrade-1.22.patch +++ /dev/null @@ -1,38 +0,0 @@ -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= diff --git a/ilot/authentik/go-downgrade-1.23.patch b/ilot/authentik/go-downgrade-1.23.patch new file mode 100644 index 0000000..e9f6ed7 --- /dev/null +++ b/ilot/authentik/go-downgrade-1.23.patch @@ -0,0 +1,12 @@ +diff --git a/go.mod.orig b/go.mod +index 13956cf..d9303bf 100644 +--- a/go.mod.orig ++++ b/go.mod +@@ -1,6 +1,6 @@ + module goauthentik.io + +-go 1.24.0 ++go 1.23.9 + + require ( + beryju.io/ldap v0.1.0