[arch-commits] Commit in keycloak/repos/community-any (12 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu May 6 15:57:08 UTC 2021


    Date: Thursday, May 6, 2021 @ 15:57:07
  Author: svenstaro
Revision: 928512

archrelease: copy trunk to community-any

Added:
  keycloak/repos/community-any/PKGBUILD
    (from rev 928511, keycloak/trunk/PKGBUILD)
  keycloak/repos/community-any/keycloak.service
    (from rev 928511, keycloak/trunk/keycloak.service)
  keycloak/repos/community-any/keycloak.sysusers
    (from rev 928511, keycloak/trunk/keycloak.sysusers)
  keycloak/repos/community-any/keycloak.tmpfiles
    (from rev 928511, keycloak/trunk/keycloak.tmpfiles)
  keycloak/repos/community-any/layers.conf
    (from rev 928511, keycloak/trunk/layers.conf)
  keycloak/repos/community-any/postgresql-module.xml
    (from rev 928511, 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              |  150 ++++++++++++++++++++++++------------------------
 keycloak.service      |   54 ++++++++---------
 keycloak.sysusers     |    2 
 keycloak.tmpfiles     |   10 +--
 layers.conf           |    2 
 postgresql-module.xml |   24 +++----
 6 files changed, 121 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-06 15:56:55 UTC (rev 928511)
+++ PKGBUILD	2021-05-06 15:57:07 UTC (rev 928512)
@@ -1,75 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Nikita Volodin <volodin.n at gmail dot com>
-
-pkgname=keycloak
-pkgver=12.0.4
-_postgresql_jdbc=42.2.18
-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)
-sha512sums=('c6cada4a9d76a195c152606743b90be4ae2c51ec5dfbe3363ce4f9b9eb6e4d08365460f90f7a94aedc6be7df9edcb0b7712f4f7eff65a48120c4f64a1140ff04'
-            'dd10a38e4c8867de6d1fcbb4939c6c5946684842462eba3d5355bf1de13fa059edfd5eba37adce587c824ddd618b6bb88d4bbe1ee568ca5abd0f72296da3ddfe'
-            'c53b734598ccf675930754514bd2af628355025197e77541e5acb8718629a8ece763c814e8373278758a30475e6a716febeff10bdebf0847d914bc193e732c79'
-            '9382b42f09040e34fe1a27d9ff4fb87cabd41525ca26f8ea9629df0169cf93d95cc4bb62bcc5c2ca30efdfd7eeeb13a6f090df9a05823baf701ba729a47f6fd1'
-            'd54a04c120edb933c4f7168460bd813ff92a4e3771cedcabfeeb76c5d3e057b3cd0d0486dc11ddbd91e8d87ca90193e4c74cc3414e45106dd556d455ac7e60b2'
-            '5eece4f3eb57372969f0e5319804198b546455828e938ff7f37bbcfb58be08efde43a5b0376c98f359c4bc5eb069e0cd9410daefe19da1c03e9e9c57d3c1b75b'
-            '681fa842eb6367aa7720ad3ae1150e6149df03f11f019d8966e9cc52547fa64e6bda68ec8d7a3f14552f148c617364fbe0e4a3b14c0b4a714caf682b11f094dd')
-
-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,var/lib/keycloak}
-  ln -s /opt/keycloak/standalone/configuration "$pkgdir/etc/keycloak"
-  ln -s /opt/keycloak/standalone/log "$pkgdir/var/log/keycloak"
-  ln -s /opt/keycloak/standalone/deployments "$pkgdir/var/lib/keycloak/deployments"
-
-  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 928511, keycloak/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-06 15:57:07 UTC (rev 928512)
@@ -0,0 +1,75 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Nikita Volodin <volodin.n at gmail dot com>
+
+pkgname=keycloak
+pkgver=13.0.0
+_postgresql_jdbc=42.2.20
+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)
+sha512sums=('0e766f220c053c9ef812dbfaea2a158397047bc67baa2d1841c1d8a88a73c5102465f8d41ea93a12f8600aa332fc3c8cbb2c7c89f87297b63234c6006f796088'
+            'dd10a38e4c8867de6d1fcbb4939c6c5946684842462eba3d5355bf1de13fa059edfd5eba37adce587c824ddd618b6bb88d4bbe1ee568ca5abd0f72296da3ddfe'
+            'c53b734598ccf675930754514bd2af628355025197e77541e5acb8718629a8ece763c814e8373278758a30475e6a716febeff10bdebf0847d914bc193e732c79'
+            '9382b42f09040e34fe1a27d9ff4fb87cabd41525ca26f8ea9629df0169cf93d95cc4bb62bcc5c2ca30efdfd7eeeb13a6f090df9a05823baf701ba729a47f6fd1'
+            'd54a04c120edb933c4f7168460bd813ff92a4e3771cedcabfeeb76c5d3e057b3cd0d0486dc11ddbd91e8d87ca90193e4c74cc3414e45106dd556d455ac7e60b2'
+            '5eece4f3eb57372969f0e5319804198b546455828e938ff7f37bbcfb58be08efde43a5b0376c98f359c4bc5eb069e0cd9410daefe19da1c03e9e9c57d3c1b75b'
+            'f7f48f6c69954fb1e7756cc1dbb984af17c00753741f83506673b5a9ad4e1d980f933a359529fef1ca63ca1f46f11a0bef9ef6c0d8b69d503a259dc31adfad91')
+
+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,var/lib/keycloak}
+  ln -s /opt/keycloak/standalone/configuration "$pkgdir/etc/keycloak"
+  ln -s /opt/keycloak/standalone/log "$pkgdir/var/log/keycloak"
+  ln -s /opt/keycloak/standalone/deployments "$pkgdir/var/lib/keycloak/deployments"
+
+  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	2021-05-06 15:56:55 UTC (rev 928511)
+++ keycloak.service	2021-05-06 15:57:07 UTC (rev 928512)
@@ -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 /opt/keycloak/standalone/deployments
-
-# 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 928511, keycloak/trunk/keycloak.service)
===================================================================
--- keycloak.service	                        (rev 0)
+++ keycloak.service	2021-05-06 15:57:07 UTC (rev 928512)
@@ -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 /opt/keycloak/standalone/deployments
+
+# 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	2021-05-06 15:56:55 UTC (rev 928511)
+++ keycloak.sysusers	2021-05-06 15:57:07 UTC (rev 928512)
@@ -1 +0,0 @@
-u keycloak - "keycloak user" /opt/keycloak -

Copied: keycloak/repos/community-any/keycloak.sysusers (from rev 928511, keycloak/trunk/keycloak.sysusers)
===================================================================
--- keycloak.sysusers	                        (rev 0)
+++ keycloak.sysusers	2021-05-06 15:57:07 UTC (rev 928512)
@@ -0,0 +1 @@
+u keycloak - "keycloak user" /opt/keycloak -

Deleted: keycloak.tmpfiles
===================================================================
--- keycloak.tmpfiles	2021-05-06 15:56:55 UTC (rev 928511)
+++ keycloak.tmpfiles	2021-05-06 15:57:07 UTC (rev 928512)
@@ -1,5 +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 -
-Z /opt/keycloak/standalone/deployments - keycloak keycloak -

Copied: keycloak/repos/community-any/keycloak.tmpfiles (from rev 928511, keycloak/trunk/keycloak.tmpfiles)
===================================================================
--- keycloak.tmpfiles	                        (rev 0)
+++ keycloak.tmpfiles	2021-05-06 15:57:07 UTC (rev 928512)
@@ -0,0 +1,5 @@
+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 -
+Z /opt/keycloak/standalone/deployments - keycloak keycloak -

Deleted: layers.conf
===================================================================
--- layers.conf	2021-05-06 15:56:55 UTC (rev 928511)
+++ layers.conf	2021-05-06 15:57:07 UTC (rev 928512)
@@ -1 +0,0 @@
-layers=keycloak

Copied: keycloak/repos/community-any/layers.conf (from rev 928511, keycloak/trunk/layers.conf)
===================================================================
--- layers.conf	                        (rev 0)
+++ layers.conf	2021-05-06 15:57:07 UTC (rev 928512)
@@ -0,0 +1 @@
+layers=keycloak

Deleted: postgresql-module.xml
===================================================================
--- postgresql-module.xml	2021-05-06 15:56:55 UTC (rev 928511)
+++ postgresql-module.xml	2021-05-06 15:57:07 UTC (rev 928512)
@@ -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 928511, keycloak/trunk/postgresql-module.xml)
===================================================================
--- postgresql-module.xml	                        (rev 0)
+++ postgresql-module.xml	2021-05-06 15:57:07 UTC (rev 928512)
@@ -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