public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ejabberd] f45: Use auth_admin for all polkit default rules (#1094143).
@ 2026-09-23 19:07 Randy Barlow
0 siblings, 0 replies; only message in thread
From: Randy Barlow @ 2026-09-23 19:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ejabberd
Branch : f45
Commit : a071f0d32128b3edbf3a18677224be1a00b14ffb
Author : Randy Barlow <randy@electronsweatshop.com>
Date : 2016-12-25T12:57:58-05:00
Stats : +12/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ejabberd/c/a071f0d32128b3edbf3a18677224be1a00b14ffb?branch=f45
Log:
Use auth_admin for all polkit default rules (#1094143).
Also,
- Drop unused BuildRequires on hevea and texlive-comment.
- Add a Requires on logrotate since we install a logrotate.d file.
---
diff --git a/ejabberd.spec b/ejabberd.spec
index 69111b8..0d09ced 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -5,7 +5,7 @@
Name: ejabberd
Version: 16.09
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A distributed, fault-tolerant Jabber/XMPP server
License: GPLv2+
@@ -69,8 +69,6 @@ BuildRequires: libyaml-devel >= 0.1.4
BuildRequires: openssl-devel >= 1.0.0
BuildRequires: pam-devel
-BuildRequires: hevea
-BuildRequires: texlive-comment
BuildRequires: autoconf
BuildRequires: automake
@@ -87,6 +85,8 @@ Provides: group(%{name})
# From rebar
Requires: elixir >= 1.1.0
+# We install a logrotate.d file
+Requires: logrotate
# for /usr/bin/pkexec
Requires: polkit
# for flock in ejabberdctl
@@ -273,6 +273,7 @@ fi)
%dir %{_erllibdir}/%{name}-%{version}/priv
%dir %{_erllibdir}/%{name}-%{version}/priv/bin
%dir %{_erllibdir}/%{name}-%{version}/priv/msgs
+%dir %{_erllibdir}/%{name}-%{version}/priv/sql
%{_erllibdir}/%{name}-%{version}/ebin/*.app
%{_erllibdir}/%{name}-%{version}/ebin/*.beam
@@ -287,6 +288,11 @@ fi)
%changelog
+* Sun Dec 25 2016 Randy Barlow <bowlofeggs@fedoraproject.org> - 16.09-5
+- Use auth_admin for all polkit default rules (#1094143).
+- Drop unused BuildRequires on hevea and texlive-comment.
+- Add a Requires on logrotate since we install a logrotate.d file.
+
* Thu Dec 01 2016 Randy Barlow <bowlofeggs@fedoraproject.org> - 16.09-4
- Drop the use of -set-cookie since it is unsafe.
- Configure the ejabberdctl script to set INSTALLUSER so it uses su to be ejabberd (#1163812).
diff --git a/ejabberdctl.polkit.actions b/ejabberdctl.polkit.actions
index f3ef4f4..7232718 100644
--- a/ejabberdctl.polkit.actions
+++ b/ejabberdctl.polkit.actions
@@ -7,9 +7,9 @@
<_description>Run ejabberd control script</_description>
<_message>Authentication is required for running ejabberdctl</_message>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>auth_self</allow_inactive>
- <allow_active>auth_self</allow_active>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/bin/sh</annotate>
<annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/ejabberdctl</annotate>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 19:07 [rpms/ejabberd] f45: Use auth_admin for all polkit default rules (#1094143) Randy Barlow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox