Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
|
7388c81762 | |
|
0fa9052b9a | |
|
107fe94316 |
|
@ -9,3 +9,4 @@ polkit-0.98.tar.gz
|
||||||
/polkit-0.100.tar.gz
|
/polkit-0.100.tar.gz
|
||||||
/polkit-0.101.tar.gz
|
/polkit-0.101.tar.gz
|
||||||
/polkit-0.102.tar.gz
|
/polkit-0.102.tar.gz
|
||||||
|
/polkit-0.103.tar.gz
|
||||||
|
|
68
polkit.spec
68
polkit.spec
|
@ -1,6 +1,6 @@
|
||||||
Summary: PolicyKit Authorization Framework
|
Summary: PolicyKit Authorization Framework
|
||||||
Name: polkit
|
Name: polkit
|
||||||
Version: 0.102
|
Version: 0.103
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
|
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
|
||||||
|
@ -23,6 +23,9 @@ Provides: PolicyKit = 0.11
|
||||||
# sufficiently new polkit-gnome package
|
# sufficiently new polkit-gnome package
|
||||||
Conflicts: polkit-gnome < 0.97
|
Conflicts: polkit-gnome < 0.97
|
||||||
|
|
||||||
|
Obsoletes: polkit-desktop-policy < 0.103
|
||||||
|
Provides: polkit-desktop-policy = 0.103
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PolicyKit is a toolkit for defining and handling authorizations.
|
PolicyKit is a toolkit for defining and handling authorizations.
|
||||||
It is used for allowing unprivileged processes to speak to privileged
|
It is used for allowing unprivileged processes to speak to privileged
|
||||||
|
@ -50,19 +53,6 @@ Provides: PolicyKit-docs = 0.11
|
||||||
%description docs
|
%description docs
|
||||||
Development documentation for PolicyKit.
|
Development documentation for PolicyKit.
|
||||||
|
|
||||||
%package desktop-policy
|
|
||||||
Summary: PolicyKit policy for desktop users
|
|
||||||
Group: Development/Libraries
|
|
||||||
#Requires: %name = %{version}-%{release}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description desktop-policy
|
|
||||||
This package contains configuration directives to make PolicyKit use
|
|
||||||
members of the wheel group when administrator authentication is
|
|
||||||
required. Additionally, the package also contain configuration
|
|
||||||
directives to allow users in the wheel group to do certain actions
|
|
||||||
without being interrupted by password dialogs
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
@ -82,48 +72,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
|
||||||
|
|
||||||
%find_lang polkit-1
|
%find_lang polkit-1
|
||||||
|
|
||||||
###
|
|
||||||
### BEGIN DESKTOP POLICY CONFIGURATION ###
|
|
||||||
###
|
|
||||||
|
|
||||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/polkit-1/localauthority.conf.d/60-desktop-policy.conf << EOF
|
|
||||||
# This allows users in the wheel group to authenticate as the
|
|
||||||
# administrator.
|
|
||||||
#
|
|
||||||
# DO NOT EDIT THIS FILE, it will be overwritten on update.
|
|
||||||
|
|
||||||
[Configuration]
|
|
||||||
AdminIdentities=unix-group:wheel
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat > $RPM_BUILD_ROOT%{_localstatedir}/lib/polkit-1/localauthority/10-vendor.d/10-desktop-policy.pkla << EOF
|
|
||||||
# Authorizations/policy for the wheel group.
|
|
||||||
#
|
|
||||||
# DO NOT EDIT THIS FILE, it will be overwritten on update.
|
|
||||||
#
|
|
||||||
# Allow users in the wheel group to do certain actions without being
|
|
||||||
# interrupted by password dialogs
|
|
||||||
#
|
|
||||||
[Wheel Group Permissions]
|
|
||||||
Identity=unix-group:wheel
|
|
||||||
Action=org.gnome.settingsdaemon.datetimemechanism.*;org.kde.kcontrol.kcmclock.save;org.freedesktop.RealtimeKit1.*;org.freedesktop.udisks.filesystem-mount-system-internal;org.freedesktop.hostname1.set-static-hostname
|
|
||||||
ResultAny=auth_admin
|
|
||||||
ResultInactive=auth_admin
|
|
||||||
ResultActive=yes
|
|
||||||
EOF
|
|
||||||
|
|
||||||
###
|
|
||||||
### END DESKTOP POLICY CONFIGURATION
|
|
||||||
###
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files desktop-policy
|
|
||||||
%{_sysconfdir}/polkit-1/localauthority.conf.d/60-desktop-policy.conf
|
|
||||||
%{_localstatedir}/lib/polkit-1/localauthority/10-vendor.d/10-desktop-policy.pkla
|
|
||||||
|
|
||||||
%files -f polkit-1.lang
|
%files -f polkit-1.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
@ -172,6 +124,18 @@ EOF
|
||||||
%{_datadir}/gtk-doc
|
%{_datadir}/gtk-doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 06 2011 David Zeuthen <davidz@redhat.com> 0.103-1%{?dist}
|
||||||
|
- Update to upstream release 0.103
|
||||||
|
- Drop upstreamed patch
|
||||||
|
- Drop Fedora-specific policy, it is now upstream (fdo #41008)
|
||||||
|
|
||||||
|
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3
|
||||||
|
- Rebuilt for glibc bug#747377
|
||||||
|
|
||||||
|
* Tue Oct 18 2011 David Zeuthen <davidz@redhat.com> 0.102-2%{?dist}
|
||||||
|
- Add patch to neuter the annoying systemd behavior where stdout/stderr
|
||||||
|
is sent to the system logs
|
||||||
|
|
||||||
* Fri Aug 04 2011 David Zeuthen <davidz@redhat.com> 0.102-1
|
* Fri Aug 04 2011 David Zeuthen <davidz@redhat.com> 0.102-1
|
||||||
- Update to 0.102 release
|
- Update to 0.102 release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue