Module: kamailio
Branch: master
Commit: 2d745d21764485c725e2beea91b67cbda83c96f3
URL:
https://github.com/kamailio/kamailio/commit/2d745d21764485c725e2beea91b67cb…
Author: Sergey Safarov <s.safarov(a)anycast-lb.net>
Committer: Sergey Safarov <s.safarov(a)anycast-lb.net>
Date: 2024-11-14T17:50:33+02:00
pkg/kamailio: packaged jwt module
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/2d745d21764485c725e2beea91b67cb…
Patch:
https://github.com/kamailio/kamailio/commit/2d745d21764485c725e2beea91b67cb…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index bf1d35bc50c..04eb6ba9076 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -232,6 +232,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
@@ -583,6 +584,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
@@ -1235,6 +1247,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle
iptrtpproxy \
kjson \
%endif
kjsonrpcs \
+ kjwt \
%if %{with kazoo}
kkazoo \
%endif
@@ -1345,6 +1358,7 @@ make install-modules-all skip_modules="app_mono db_cassandra
db_oracle \
kjson \
%endif
kjsonrpcs \
+ kjwt \
%if %{with kazoo}
kkazoo \
%endif
@@ -2007,6 +2021,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)