Module: kamailio
Branch: 5.8
Commit: d33e4bc5fc8b8f482b740bb4fc63ff4c3d7e29ef
URL:
https://github.com/kamailio/kamailio/commit/d33e4bc5fc8b8f482b740bb4fc63ff4…
Author: Sergey Safarov <s.safarov(a)anycast-lb.net>
Committer: Sergey Safarov <s.safarov(a)anycast-lb.net>
Date: 2024-11-15T14:30:56+02:00
pkg/kamailio: packaged jwt module [skip ci]
(cherry picked from commit 2d745d21764485c725e2beea91b67cbda83c96f3)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/d33e4bc5fc8b8f482b740bb4fc63ff4…
Patch:
https://github.com/kamailio/kamailio/commit/d33e4bc5fc8b8f482b740bb4fc63ff4…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 8f1863fc822..423f7f9f3de 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -237,6 +237,7 @@ Conflicts: kamailio-dialplan < %ver, kamailio-dnssec < %ver
Conflicts: kamailio-geoip < %ver, kamailio-gzcompress < %ver
Conflicts: kamailio-http_client < %ver
Conflicts: kamailio-ims < %ver, kamailio-java < %ver, kamailio-json < %ver
+Conflicts: kamailio-jwt < %ver
Conflicts: kamailio-kazoo < %ver
Conflicts: kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lost < %ver,
kamailio-lua < %ver
Conflicts: kamailio-nats < %ver
@@ -590,6 +591,17 @@ JSON string handling and RPC modules for Kamailio.
%endif
+%package jwt
+Summary: JWT (JSON Web Token) functions module for Kamailio
+Group: %{PKGGROUP}
+Requires: libjwt, kamailio = %ver
+BuildRequires: libjwt-devel
+
+%description jwt
+This module provides JWT (JSON Web Token) functions to be used in Kamailio configuration
file.
+It relies on libjwt (at least v1.12.0) library (
https://github.com/benmcollins/libjwt).
+
+
%if %{with kazoo}
%package kazoo
Summary: Kazoo middle layer connector support for Kamailio
@@ -1245,6 +1257,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle
iptrtpproxy \
kjson \
%endif
kjsonrpcs \
+ kjwt \
%if %{with kazoo}
kkazoo \
%endif
@@ -1358,6 +1371,7 @@ make install-modules-all skip_modules="app_mono db_cassandra
db_oracle \
kjson \
%endif
kjsonrpcs \
+ kjwt \
%if %{with kazoo}
kkazoo \
%endif
@@ -2020,6 +2034,12 @@ fi
%endif
+%files jwt
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.jwt
+%{_libdir}/kamailio/modules/jwt.so
+
+
%if %{with kazoo}
%files kazoo
%defattr(-,root,root)