[arch-commits] Commit in keycloak/repos/community-any (12 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jun 14 21:10:24 UTC 2020
Date: Sunday, June 14, 2020 @ 21:10:23
Author: svenstaro
Revision: 644722
archrelease: copy trunk to community-any
Added:
keycloak/repos/community-any/PKGBUILD
(from rev 644721, keycloak/trunk/PKGBUILD)
keycloak/repos/community-any/keycloak.service
(from rev 644721, keycloak/trunk/keycloak.service)
keycloak/repos/community-any/keycloak.sysusers
(from rev 644721, keycloak/trunk/keycloak.sysusers)
keycloak/repos/community-any/keycloak.tmpfiles
(from rev 644721, keycloak/trunk/keycloak.tmpfiles)
keycloak/repos/community-any/layers.conf
(from rev 644721, keycloak/trunk/layers.conf)
keycloak/repos/community-any/postgresql-module.xml
(from rev 644721, keycloak/trunk/postgresql-module.xml)
Deleted:
keycloak/repos/community-any/PKGBUILD
keycloak/repos/community-any/keycloak.service
keycloak/repos/community-any/keycloak.sysusers
keycloak/repos/community-any/keycloak.tmpfiles
keycloak/repos/community-any/layers.conf
keycloak/repos/community-any/postgresql-module.xml
-----------------------+
PKGBUILD | 170 ++++++++++++++++++++++++------------------------
keycloak.service | 54 +++++++--------
keycloak.sysusers | 2
keycloak.tmpfiles | 8 +-
layers.conf | 2
postgresql-module.xml | 24 +++---
6 files changed, 130 insertions(+), 130 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-14 21:10:10 UTC (rev 644721)
+++ PKGBUILD 2020-06-14 21:10:23 UTC (rev 644722)
@@ -1,85 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Nikita Volodin <volodin.n at gmail dot com>
-
-pkgname=keycloak
-pkgver=10.0.1
-_postgresql_jdbc=42.2.12
-pkgrel=3
-pkgdesc="Open Source Identity and Access Management For Modern Applications and Services"
-arch=('any')
-url="https://www.keycloak.org/"
-license=('Apache')
-depends=('java-runtime>=8' 'grep' 'bash' 'coreutils' 'util-linux')
-makedepends=('maven' 'git' 'java-environment=8')
-backup=(
- opt/keycloak/standalone/configuration/application-roles.properties
- opt/keycloak/standalone/configuration/application-users.properties
- opt/keycloak/standalone/configuration/logging.properties
- opt/keycloak/standalone/configuration/mgmt-groups.properties
- opt/keycloak/standalone/configuration/mgmt-users.properties
- opt/keycloak/standalone/configuration/standalone-ha.xml
- opt/keycloak/standalone/configuration/standalone.xml
-)
-options=(emptydirs)
-source=(https://github.com/keycloak/keycloak/archive/$pkgver/$pkgname-$pkgver.tar.gz
- keycloak.service
- keycloak.sysusers
- keycloak.tmpfiles
- layers.conf
- postgresql-module.xml
- https://jdbc.postgresql.org/download/postgresql-${_postgresql_jdbc}.jar
- https://github.com/keycloak/keycloak/pull/7053.patch
- https://github.com/keycloak/keycloak/pull/7030.patch)
-sha512sums=('311ec1c3ef46cca2267b2b0517e581916a8f95b76154f947017604f8e73b76ac556a2bcbd9a5156331a496f7bdb3789ce8c2dd069280aee05ae934e3e5a36090'
- '34d3fda501e0616bf5e4631f8dbe3a7f4c2b7566ffedc63e4f6ea49acbc6c1f3f75aabec22bb4b42d2aad586468ef5c7fddf29ca94253fcf141b71d88806a71a'
- 'c53b734598ccf675930754514bd2af628355025197e77541e5acb8718629a8ece763c814e8373278758a30475e6a716febeff10bdebf0847d914bc193e732c79'
- '2f51757761d0444820e5624cdd061062d125a1ea74faf51c224603cae11583f99ff9ffbb79bb1834ae45dd6439b5d2db0f36f3a84c625df85fa9549e95308fea'
- 'd54a04c120edb933c4f7168460bd813ff92a4e3771cedcabfeeb76c5d3e057b3cd0d0486dc11ddbd91e8d87ca90193e4c74cc3414e45106dd556d455ac7e60b2'
- '5eece4f3eb57372969f0e5319804198b546455828e938ff7f37bbcfb58be08efde43a5b0376c98f359c4bc5eb069e0cd9410daefe19da1c03e9e9c57d3c1b75b'
- '3f9518bc93ee12913040c7728a79bebab97ea4d991fff40cf227dd7ed09c147cd8faba3a50604dcfdbead78ed0fb910334c19b1db923bfe0e73c0c013d2beb34'
- 'd8783f209512857de68fc7232f2ac08690094e47b876ed24533ade4352327b62191019fa06aab424b363f3ba8f5613cf7f523faac93273e17ab4107ed326b241'
- '4cc035cc91917aa78fc868758b828dbee034c40799e0b9eca97bcd8cf708bf988bbc5d98e3e7a37ff1e1cbc7fedf9c458250f4f7f92d977b2b6d1ab71fa138d8')
-
-prepare() {
- cd $pkgname-$pkgver
-
- patch -Np1 -i "$srcdir"/7053.patch
- patch -Np1 -i "$srcdir"/7030.patch
-}
-
-build() {
- cd $pkgname-$pkgver
-
- export PATH="/usr/lib/jvm/java-8-openjdk/bin:$PATH"
- mvn -Pdistribution \
- -pl distribution/server-dist \
- -am \
- -Dmaven.test.skip \
- clean install
-}
-
-package() {
- cd $pkgname-$pkgver
-
- mkdir -p "$pkgdir/opt"
- cp -r "distribution/server-dist/target/keycloak-$pkgver" "$pkgdir/opt/keycloak"
- install -Dm 644 "$srcdir"/layers.conf -t "$pkgdir/opt/keycloak/modules"
- install -d "$pkgdir"/opt/keycloak/standalone/{data,log}
-
- install -Dm644 "$srcdir"/postgresql-${_postgresql_jdbc}.jar "$pkgdir"/opt/keycloak/modules/system/layers/keycloak/org/postgresql/main/postgresql-${_postgresql_jdbc}.jar
- sed "s/@JDBC_POSTGRESQL_JAR@/postgresql-${_postgresql_jdbc}.jar/g" "$srcdir"/postgresql-module.xml > "$pkgdir"/opt/keycloak/modules/system/layers/keycloak/org/postgresql/main/module.xml
-
- install -d "$pkgdir/"{etc,var/log}
- ln -s /opt/keycloak/standalone/configuration "$pkgdir/etc/keycloak"
- ln -s /opt/keycloak/standalone/log "$pkgdir/var/log/keycloak"
-
- install -Dm644 "$srcdir"/keycloak.service "$pkgdir"/usr/lib/systemd/system/keycloak.service
- install -Dm644 "$srcdir"/keycloak.sysusers "$pkgdir"/usr/lib/sysusers.d/keycloak.conf
- install -Dm644 "$srcdir"/keycloak.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/keycloak.conf
-
- mkdir -p "$pkgdir"/usr/bin
- ln -s /opt/keycloak/bin/kcadm.sh "$pkgdir"/usr/bin/kcadm
- ln -s /opt/keycloak/bin/kcreg.sh "$pkgdir"/usr/bin/kcreg
-}
-
-# vim: ts=2 sw=2 et:
Copied: keycloak/repos/community-any/PKGBUILD (from rev 644721, keycloak/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-14 21:10:23 UTC (rev 644722)
@@ -0,0 +1,85 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Nikita Volodin <volodin.n at gmail dot com>
+
+pkgname=keycloak
+pkgver=10.0.2
+_postgresql_jdbc=42.2.14
+pkgrel=1
+pkgdesc="Open Source Identity and Access Management For Modern Applications and Services"
+arch=('any')
+url="https://www.keycloak.org/"
+license=('Apache')
+depends=('java-runtime>=8' 'grep' 'bash' 'coreutils' 'util-linux')
+makedepends=('maven' 'git' 'java-environment=8')
+backup=(
+ opt/keycloak/standalone/configuration/application-roles.properties
+ opt/keycloak/standalone/configuration/application-users.properties
+ opt/keycloak/standalone/configuration/logging.properties
+ opt/keycloak/standalone/configuration/mgmt-groups.properties
+ opt/keycloak/standalone/configuration/mgmt-users.properties
+ opt/keycloak/standalone/configuration/standalone-ha.xml
+ opt/keycloak/standalone/configuration/standalone.xml
+)
+options=(emptydirs)
+source=(https://github.com/keycloak/keycloak/archive/$pkgver/$pkgname-$pkgver.tar.gz
+ keycloak.service
+ keycloak.sysusers
+ keycloak.tmpfiles
+ layers.conf
+ postgresql-module.xml
+ https://jdbc.postgresql.org/download/postgresql-${_postgresql_jdbc}.jar
+ https://github.com/keycloak/keycloak/pull/7053.patch
+ https://github.com/keycloak/keycloak/pull/7030.patch)
+sha512sums=('ae9bb4374622c426dfbf63680d3a212551677a3389d6dd93a87bc5bc1056e47c1c68da94b7d48197f3e5c2f4987d49e7debfc891d965e81723c6fd73a7aa847f'
+ '34d3fda501e0616bf5e4631f8dbe3a7f4c2b7566ffedc63e4f6ea49acbc6c1f3f75aabec22bb4b42d2aad586468ef5c7fddf29ca94253fcf141b71d88806a71a'
+ 'c53b734598ccf675930754514bd2af628355025197e77541e5acb8718629a8ece763c814e8373278758a30475e6a716febeff10bdebf0847d914bc193e732c79'
+ '2f51757761d0444820e5624cdd061062d125a1ea74faf51c224603cae11583f99ff9ffbb79bb1834ae45dd6439b5d2db0f36f3a84c625df85fa9549e95308fea'
+ 'd54a04c120edb933c4f7168460bd813ff92a4e3771cedcabfeeb76c5d3e057b3cd0d0486dc11ddbd91e8d87ca90193e4c74cc3414e45106dd556d455ac7e60b2'
+ '5eece4f3eb57372969f0e5319804198b546455828e938ff7f37bbcfb58be08efde43a5b0376c98f359c4bc5eb069e0cd9410daefe19da1c03e9e9c57d3c1b75b'
+ 'd83b2b3a782d8cea341a03f3af0d24355885c5fcf377c71449d4cfa7e0362c483e6f66c2c73b76fcfe833761b4c38d2f22c6a60469efce21c8f175b1336b467d'
+ 'd8783f209512857de68fc7232f2ac08690094e47b876ed24533ade4352327b62191019fa06aab424b363f3ba8f5613cf7f523faac93273e17ab4107ed326b241'
+ '4cc035cc91917aa78fc868758b828dbee034c40799e0b9eca97bcd8cf708bf988bbc5d98e3e7a37ff1e1cbc7fedf9c458250f4f7f92d977b2b6d1ab71fa138d8')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -Np1 -i "$srcdir"/7053.patch
+ patch -Np1 -i "$srcdir"/7030.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ export PATH="/usr/lib/jvm/java-8-openjdk/bin:$PATH"
+ mvn -Pdistribution \
+ -pl distribution/server-dist \
+ -am \
+ -Dmaven.test.skip \
+ clean install
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ mkdir -p "$pkgdir/opt"
+ cp -r "distribution/server-dist/target/keycloak-$pkgver" "$pkgdir/opt/keycloak"
+ install -Dm 644 "$srcdir"/layers.conf -t "$pkgdir/opt/keycloak/modules"
+ install -d "$pkgdir"/opt/keycloak/standalone/{data,log}
+
+ install -Dm644 "$srcdir"/postgresql-${_postgresql_jdbc}.jar "$pkgdir"/opt/keycloak/modules/system/layers/keycloak/org/postgresql/main/postgresql-${_postgresql_jdbc}.jar
+ sed "s/@JDBC_POSTGRESQL_JAR@/postgresql-${_postgresql_jdbc}.jar/g" "$srcdir"/postgresql-module.xml > "$pkgdir"/opt/keycloak/modules/system/layers/keycloak/org/postgresql/main/module.xml
+
+ install -d "$pkgdir/"{etc,var/log}
+ ln -s /opt/keycloak/standalone/configuration "$pkgdir/etc/keycloak"
+ ln -s /opt/keycloak/standalone/log "$pkgdir/var/log/keycloak"
+
+ install -Dm644 "$srcdir"/keycloak.service "$pkgdir"/usr/lib/systemd/system/keycloak.service
+ install -Dm644 "$srcdir"/keycloak.sysusers "$pkgdir"/usr/lib/sysusers.d/keycloak.conf
+ install -Dm644 "$srcdir"/keycloak.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/keycloak.conf
+
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /opt/keycloak/bin/kcadm.sh "$pkgdir"/usr/bin/kcadm
+ ln -s /opt/keycloak/bin/kcreg.sh "$pkgdir"/usr/bin/kcreg
+}
+
+# vim: ts=2 sw=2 et:
Deleted: keycloak.service
===================================================================
--- keycloak.service 2020-06-14 21:10:10 UTC (rev 644721)
+++ keycloak.service 2020-06-14 21:10:23 UTC (rev 644722)
@@ -1,27 +0,0 @@
-[Unit]
-Description=Keycloak server
-After=network-online.target
-Wants=network-online.target systemd-networkd-wait-online.service
-
-[Service]
-User=keycloak
-Group=keycloak
-ExecStart=/opt/keycloak/bin/standalone.sh
-WorkingDirectory=/opt/keycloak
-ReadWritePaths=/opt/keycloak/standalone/data /opt/keycloak/standalone/tmp /opt/keycloak/standalone/log /opt/keycloak/standalone/configuration
-
-# Hardening options
-CapabilityBoundingSet=
-AmbientCapabilities=
-NoNewPrivileges=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectControlGroups=true
-PrivateTmp=true
-PrivateDevices=true
-LockPersonality=true
-
-[Install]
-WantedBy=multi-user.target
Copied: keycloak/repos/community-any/keycloak.service (from rev 644721, keycloak/trunk/keycloak.service)
===================================================================
--- keycloak.service (rev 0)
+++ keycloak.service 2020-06-14 21:10:23 UTC (rev 644722)
@@ -0,0 +1,27 @@
+[Unit]
+Description=Keycloak server
+After=network-online.target
+Wants=network-online.target systemd-networkd-wait-online.service
+
+[Service]
+User=keycloak
+Group=keycloak
+ExecStart=/opt/keycloak/bin/standalone.sh
+WorkingDirectory=/opt/keycloak
+ReadWritePaths=/opt/keycloak/standalone/data /opt/keycloak/standalone/tmp /opt/keycloak/standalone/log /opt/keycloak/standalone/configuration
+
+# Hardening options
+CapabilityBoundingSet=
+AmbientCapabilities=
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=strict
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectControlGroups=true
+PrivateTmp=true
+PrivateDevices=true
+LockPersonality=true
+
+[Install]
+WantedBy=multi-user.target
Deleted: keycloak.sysusers
===================================================================
--- keycloak.sysusers 2020-06-14 21:10:10 UTC (rev 644721)
+++ keycloak.sysusers 2020-06-14 21:10:23 UTC (rev 644722)
@@ -1 +0,0 @@
-u keycloak - "keycloak user" /opt/keycloak -
Copied: keycloak/repos/community-any/keycloak.sysusers (from rev 644721, keycloak/trunk/keycloak.sysusers)
===================================================================
--- keycloak.sysusers (rev 0)
+++ keycloak.sysusers 2020-06-14 21:10:23 UTC (rev 644722)
@@ -0,0 +1 @@
+u keycloak - "keycloak user" /opt/keycloak -
Deleted: keycloak.tmpfiles
===================================================================
--- keycloak.tmpfiles 2020-06-14 21:10:10 UTC (rev 644721)
+++ keycloak.tmpfiles 2020-06-14 21:10:23 UTC (rev 644722)
@@ -1,4 +0,0 @@
-z /opt/keycloak/standalone/tmp - keycloak keycloak -
-z /opt/keycloak/standalone/data - keycloak keycloak -
-z /opt/keycloak/standalone/log - keycloak keycloak -
-Z /opt/keycloak/standalone/configuration - keycloak keycloak -
Copied: keycloak/repos/community-any/keycloak.tmpfiles (from rev 644721, keycloak/trunk/keycloak.tmpfiles)
===================================================================
--- keycloak.tmpfiles (rev 0)
+++ keycloak.tmpfiles 2020-06-14 21:10:23 UTC (rev 644722)
@@ -0,0 +1,4 @@
+z /opt/keycloak/standalone/tmp - keycloak keycloak -
+z /opt/keycloak/standalone/data - keycloak keycloak -
+z /opt/keycloak/standalone/log - keycloak keycloak -
+Z /opt/keycloak/standalone/configuration - keycloak keycloak -
Deleted: layers.conf
===================================================================
--- layers.conf 2020-06-14 21:10:10 UTC (rev 644721)
+++ layers.conf 2020-06-14 21:10:23 UTC (rev 644722)
@@ -1 +0,0 @@
-layers=keycloak
Copied: keycloak/repos/community-any/layers.conf (from rev 644721, keycloak/trunk/layers.conf)
===================================================================
--- layers.conf (rev 0)
+++ layers.conf 2020-06-14 21:10:23 UTC (rev 644722)
@@ -0,0 +1 @@
+layers=keycloak
Deleted: postgresql-module.xml
===================================================================
--- postgresql-module.xml 2020-06-14 21:10:10 UTC (rev 644721)
+++ postgresql-module.xml 2020-06-14 21:10:23 UTC (rev 644722)
@@ -1,12 +0,0 @@
-<?xml version="1.0" ?>
-<module xmlns="urn:jboss:module:1.3" name="org.postgresql">
-
- <resources>
- <resource-root path="@JDBC_POSTGRESQL_JAR@"/>
- </resources>
-
- <dependencies>
- <module name="javax.api"/>
- <module name="javax.transaction.api"/>
- </dependencies>
-</module>
Copied: keycloak/repos/community-any/postgresql-module.xml (from rev 644721, keycloak/trunk/postgresql-module.xml)
===================================================================
--- postgresql-module.xml (rev 0)
+++ postgresql-module.xml 2020-06-14 21:10:23 UTC (rev 644722)
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?>
+<module xmlns="urn:jboss:module:1.3" name="org.postgresql">
+
+ <resources>
+ <resource-root path="@JDBC_POSTGRESQL_JAR@"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ <module name="javax.transaction.api"/>
+ </dependencies>
+</module>
More information about the arch-commits
mailing list