[arch-commits] Commit in glewlwyd/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jun 18 18:46:00 UTC 2022
Date: Saturday, June 18, 2022 @ 18:45:59
Author: arojas
Revision: 1238529
archrelease: copy trunk to community-staging-x86_64
Added:
glewlwyd/repos/community-staging-x86_64/
glewlwyd/repos/community-staging-x86_64/PKGBUILD
(from rev 1238528, glewlwyd/trunk/PKGBUILD)
glewlwyd/repos/community-staging-x86_64/glewlwyd.service
(from rev 1238528, glewlwyd/trunk/glewlwyd.service)
------------------+
PKGBUILD | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
glewlwyd.service | 17 ++++++++++++++
2 files changed, 81 insertions(+)
Copied: glewlwyd/repos/community-staging-x86_64/PKGBUILD (from rev 1238528, glewlwyd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-06-18 18:45:59 UTC (rev 1238529)
@@ -0,0 +1,64 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=glewlwyd
+pkgver=2.7.0
+pkgrel=2
+pkgdesc='Single-Sign-On (SSO) server with multiple factor authentication'
+arch=(x86_64)
+url=https://github.com/babelouest/glewlwyd
+license=(GPL3)
+depends=(
+ glibc
+ gnutls
+ jansson
+ libcbor.so
+ libconfig.so
+ libcrypt.so
+ libhoel.so
+ libiddawc.so
+ libldap
+ liboath.so
+ liborcania.so
+ librhonabwy.so
+ libulfius.so
+ libyder.so
+)
+makedepends=(
+ cmake
+ git
+ mariadb-libs
+ ninja
+ postgresql-libs
+ sqlite
+ systemd
+)
+backup=(etc/glewlwyd/glewlwyd.conf)
+_tag=c948baf67c6f066b41c2c3beaa83028b4f96972e
+source=(
+ git+https://github.com/babelouest/glewlwyd.git#tag=${_tag}
+ glewlwyd.service
+)
+validpgpkeys=(8405B02FCC28EF9744C8F253FE82139440BD22B9) # Nicolas Mora <nicolas at babelouest.org>
+b2sums=('SKIP'
+ '3111b839f2f69a7daf9158a365ad36fddb2fd5a0ae9e63f0ef1ded4a76098fabb1fb340290755184e7ba44f7d64820d2b7980c22328ec792f6f56f85a025f931')
+
+pkgver() {
+ cd glewlwyd
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cmake -S glewlwyd -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DDOWNLOAD_DEPENDENCIES=OFF
+ ninja -C build
+}
+
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm 644 glewlwyd.service -t "${pkgdir}"/usr/lib/systemd/system
+}
+
+# vim: ts=2 sw=2 et:
Copied: glewlwyd/repos/community-staging-x86_64/glewlwyd.service (from rev 1238528, glewlwyd/trunk/glewlwyd.service)
===================================================================
--- community-staging-x86_64/glewlwyd.service (rev 0)
+++ community-staging-x86_64/glewlwyd.service 2022-06-18 18:45:59 UTC (rev 1238529)
@@ -0,0 +1,17 @@
+[Unit]
+Description=Glewlwyd OAuth2 authentication provider
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/glewlwyd/glewlwyd.conf
+ExecStart=/usr/bin/glewlwyd --config-file=/etc/glewlwyd/glewlwyd.conf
+User=glewlwyd
+DynamicUser=yes
+ConfigurationDirectory=glewlwyd
+LogsDirectory=glewlwyd
+KillMode=process
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list