public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/janus] f43: chore: fix private module SONAME filters, HTTP crypto-policy, and spec cruft
Date: Tue, 01 Dec 2026 21:57:35 GMT [thread overview]
Message-ID: <179616225574.1.12753936379863003643.rpms-janus-4df109f253d4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/janus
Branch : f43
Commit : 4df109f253d40d6c077fd2614bfd677b035849b1
Author : Rénich Bon Ćirić <renich@evalinux.com>
Date : 2026-12-01T15:57:24-06:00
Stats : +18/-22 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/janus/c/4df109f253d40d6c077fd2614bfd677b035849b1?branch=f43
Log:
chore: fix private module SONAME filters, HTTP crypto-policy, and spec cruft
- Consolidate __provides_exclude_from below Name: so %{name} expands cleanly
and stops all 24 private module subpackages from leaking libjanus_*.so.2()
into global RPM Provides
- Replace broken __requires_exclude_from lines with __requires_exclude for
libjanus_*.so.* so self-requires are dropped while preserving external
shared library Requires (libmicrohttpd, libsofia-sip-ua, libopus, etc.)
- Add janus-http-crypto-policy.patch to default libmicrohttpd GnuTLS cipher
priorities to "@SYSTEM" instead of "NORMAL" per Fedora crypto-policies
- Remove dead RHEL 8 ffmpeg-devel conditional and empty %sysusers_create_compat
%pre scriptlet (RPM natively handles %{_sysusersdir}/janus.conf)
Assisted-by: Gemini <renich+gemini@woralelandia.com>
Signed-off-by: Rénich Bon Ćirić <renich@evalinux.com>
---
diff --git a/janus-http-crypto-policy.patch b/janus-http-crypto-policy.patch
new file mode 100644
index 0000000..fe3e0aa
--- /dev/null
+++ b/janus-http-crypto-policy.patch
@@ -0,0 +1,11 @@
+--- a/src/transports/janus_http.c
++++ b/src/transports/janus_http.c
+@@ -852,7 +852,7 @@
+ item = janus_config_get(config, config_certs, janus_config_type_item, "cert_pwd");
+ if(item && item->value)
+ password = (char *)item->value;
+- const char *ciphers = "NORMAL";
++ const char *ciphers = "@SYSTEM";
+ item = janus_config_get(config, config_certs, janus_config_type_item, "ciphers");
+ if(item && item->value)
+ ciphers = item->value;
diff --git a/janus.spec b/janus.spec
index bc71129..48f31ac 100644
--- a/janus.spec
+++ b/janus.spec
@@ -1,13 +1,3 @@
-%global __provides_exclude_from %{_libdir}/%{name}/events/.*\\.so$
-%global __provides_exclude_from %{_libdir}/%{name}/loggers/.*\\.so$
-%global __provides_exclude_from %{_libdir}/%{name}/plugins/.*\\.so$
-%global __provides_exclude_from %{_libdir}/%{name}/transports/.*\\.so$
-
-%global __requires_exclude_from %{_libdir}/%{name}/events/.*\\.so$
-%global __requires_exclude_from %{_libdir}/%{name}/loggers/.*\\.so$
-%global __requires_exclude_from %{_libdir}/%{name}/plugins/.*\\.so$
-%global __requires_exclude_from %{_libdir}/%{name}/transports/.*\\.so$
-
%global api_version_major 2
%global api_version_minor 0
%global api_version_patch 14
@@ -18,14 +8,20 @@ Version: 1.4.5
Release: %autorelease
Summary: An open source WebRTC server designed and developed by Meetecho
+# Exclude private module SONAMEs from global Provides and self-Requires
+# while preserving external shared library Requires on module subpackages.
+%global __provides_exclude_from %{?__provides_exclude_from:%{__provides_exclude_from}|}^%{_libdir}/%{name}/(events|loggers|plugins|transports)/.*\\.so.*$
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^libjanus_.*\\.so.*$
+
License: GPL-3.0-only AND MIT AND BSD-3-Clause
URL: https://janus.conf.meetecho.com/
Source0: https://github.com/meetecho/%{name}-gateway/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.service
Source2: %{name}.sysusers
-# this patch changes the use of TLS ciphers to use the system's default
+# Use Fedora system-wide crypto-policies by default for DTLS and HTTPS transports
Patch0: janus-dtls.patch
+Patch1: janus-http-crypto-policy.patch
BuildRequires: autoconf
BuildRequires: automake
@@ -34,16 +30,9 @@ BuildRequires: duktape-devel
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: jansson-devel
-
-%if 0%{?rhel} == 8
-BuildRequires: ffmpeg-devel
-%endif
-
-%if 0%{?fedora} || 0%{?rhel} > 8
BuildRequires: libavcodec-free-devel
BuildRequires: libavformat-free-devel
BuildRequires: libavutil-free-devel
-%endif
BuildRequires: libconfig-devel
BuildRequires: libcurl-devel
@@ -343,10 +332,6 @@ rm -fr %{buildroot}%{_datadir}/%{name}/javascript
find %{buildroot} -type f -iname '*.la' -delete
-%pre
-%sysusers_create_compat %{SOURCE2}
-
-
%post
%systemd_post %{name}.service
reply other threads:[~2026-12-01 21:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179616225574.1.12753936379863003643.rpms-janus-4df109f253d4@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox