public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Randy Barlow <randy@electronsweatshop.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ejabberd] f45: Use auth_admin for all polkit default rules (#1094143).
Date: Wed, 23 Sep 2026 19:07:33 GMT	[thread overview]
Message-ID: <179019045372.1.5256535606610123153.rpms-ejabberd-a071f0d32128@fedoraproject.org> (raw)

            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>

                 reply	other threads:[~2026-09-23 19:07 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=179019045372.1.5256535606610123153.rpms-ejabberd-a071f0d32128@fedoraproject.org \
    --to=randy@electronsweatshop.com \
    --cc=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