Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging
/ Packages / matrix-authentication-service
Commits:
27f9949e by Jan Alexander Steffens (heftig) at 2025-03-27T23:46:30+01:00
0.14.1-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- sysusers.conf
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = matrix-authentication-service
pkgdesc = Authentication service for Matrix
- pkgver = 0.12.0
+ pkgver = 0.14.1
pkgrel = 1
url = https://github.com/element-hq/matrix-authentication-service
install = matrix-authentication-service.install
@@ -14,15 +14,15 @@ pkgbase = matrix-authentication-service
depends = gcc-libs
depends = glibc
options = !lto
- source =
git+https://github.com/element-hq/matrix-authentication-service.git#tag=c741386a58704114c635fef419a4514aa133f06a
+ source =
git+https://github.com/element-hq/matrix-authentication-service.git#tag=d1cb0d4c0a362239f4cec3fb72e5e2882a54fbe4
source = matrix-authentication-service.service
source = matrix-authentication-service-worker.service
source = sysusers.conf
source = tmpfiles.conf
- b2sums =
1aa068e41aa5e5e14049740fa69adea85045acb90772fb061ae33cb1527d6b85d2d2697d49a1b8a8339f56143682fefaf09a48325a42e6b31e70add88f600da1
+ b2sums =
b446db31f51135d32fe70eee942a2a2348b0f07fa8afc57907872bf69a59167a774f251aa6f8f5d0ef2626aefaebaee8d32c1be700f408f926fc931348b515c2
b2sums =
fd206cf9fbe26f3509053f3893066c6368024e8569194981085aff7bdbe65ecdcdd4384a5ba8119e1e6114eb576b9c683552c09f865f09e5171feecf3f0254f3
b2sums =
39ba8399ca52b5bc5984f4fd426f812d6017a096368b3e63e16c0d9a0a2ec695b02b418b821adc62fb29609803355a1f673da3be7af5d9436e3c49e461d7d049
- b2sums =
cf871c194266aad72d74421d1d4fd6bc023a5af927a327804f638c17f44758d2c6c378727943524c2f25774c636bb9db6cc481dfce19be5ea6cf9236712d8687
+ b2sums =
5996147ed184e2f29e06148e36584462f81f12d5246c91f64eefbe0b82bf03b2509cd9d0c818b733f7d4fd820823095b11a04ff875bc9b996b1909e7925dff52
b2sums =
ec4959bf54b248b3b8e5f4399d0b8b3c437f39e38131ef16eec96532b8ba3b566f182175b6e5eeaede50b3b811f9a82fbeba4d0cdf964a7da0466d1796442c1e
pkgname = matrix-authentication-service
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
# Contributor: Matt Cuneo <[email protected]>
pkgname=matrix-authentication-service
-pkgver=0.12.0
+pkgver=0.14.1
pkgrel=1
pkgdesc='Authentication service for Matrix'
arch=(x86_64)
@@ -21,7 +21,7 @@ makedepends=(
rust
)
options=(!lto)
-_tag=c741386a58704114c635fef419a4514aa133f06a
+_tag=d1cb0d4c0a362239f4cec3fb72e5e2882a54fbe4
source=(
git+https://github.com/element-hq/matrix-authentication-service.git#tag=${_tag}
matrix-authentication-service.service
@@ -29,15 +29,16 @@ source=(
sysusers.conf
tmpfiles.conf
)
-b2sums=('1aa068e41aa5e5e14049740fa69adea85045acb90772fb061ae33cb1527d6b85d2d2697d49a1b8a8339f56143682fefaf09a48325a42e6b31e70add88f600da1'
+b2sums=('b446db31f51135d32fe70eee942a2a2348b0f07fa8afc57907872bf69a59167a774f251aa6f8f5d0ef2626aefaebaee8d32c1be700f408f926fc931348b515c2'
'fd206cf9fbe26f3509053f3893066c6368024e8569194981085aff7bdbe65ecdcdd4384a5ba8119e1e6114eb576b9c683552c09f865f09e5171feecf3f0254f3'
'39ba8399ca52b5bc5984f4fd426f812d6017a096368b3e63e16c0d9a0a2ec695b02b418b821adc62fb29609803355a1f673da3be7af5d9436e3c49e461d7d049'
-
'cf871c194266aad72d74421d1d4fd6bc023a5af927a327804f638c17f44758d2c6c378727943524c2f25774c636bb9db6cc481dfce19be5ea6cf9236712d8687'
+
'5996147ed184e2f29e06148e36584462f81f12d5246c91f64eefbe0b82bf03b2509cd9d0c818b733f7d4fd820823095b11a04ff875bc9b996b1909e7925dff52'
'ec4959bf54b248b3b8e5f4399d0b8b3c437f39e38131ef16eec96532b8ba3b566f182175b6e5eeaede50b3b811f9a82fbeba4d0cdf964a7da0466d1796442c1e')
prepare() {
cd matrix-authentication-service
- cargo fetch --locked
+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+
cd frontend
npm install
}
@@ -48,11 +49,19 @@ pkgver() {
}
build() {
+ # Use debug
+ export CARGO_PROFILE_RELEASE_DEBUG=2
+
+ # Use LTO
+ export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
cd matrix-authentication-service
cargo build --release --frozen
+
cd frontend
npm ci
npm run build
+
cd ../policies
make
}
=====================================
sysusers.conf
=====================================
@@ -1 +1 @@
-u mas - "Matrix authentication service user"
/var/lib/matrix-authentication-service
+u! mas - "Matrix authentication service user"
/var/lib/matrix-authentication-service
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/matrix-authentication-service/-/commit/27f9949e1e2908164c08dc4b91cd428b85e397aa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/matrix-authentication-service/-/commit/27f9949e1e2908164c08dc4b91cd428b85e397aa
You're receiving this email because of your account on gitlab.archlinux.org.