Accepting request 17723 from Base:System

Copy from Base:System/polkit based on submit request 17723 from user kay_sievers

OBS-URL: https://build.opensuse.org/request/show/17723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=2
This commit is contained in:
OBS User autobuild 2009-08-13 21:33:53 +00:00 committed by Git OBS Bridge
parent d28dfbe3b0
commit 42a152ecb0
5 changed files with 37 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba45c787e6fbd069b4cb0675f5f05c544bf0d1e172dd6718751e2469aecadaf8
size 801643

3
polkit-0.94.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5314f781e3e0ca5c5c9e4a0391970c4426e8432a141d90ce592bf9d971ffb7f
size 821511

View File

@ -1 +0,0 @@
# addFilter(".*permissions-file-setuid-bit*")

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Aug 13 04:31:38 CEST 2009 - kay.sievers@novell.com
- new upstream release 0.94
- Allow unprivileged callers to check authorizations
- Don't spawn man(1) from a setuid program
- Add polkit.retains_authorization_after_challenge to authz result
- Ensure all fds except stdin/stdout/stderr are closed after exec(2)
- Be more careful when determining process start time
- Remove temporary authorization when the subject it applies to vanishes
- Generate GI gir and typelibs for libpolkit-gobject-1
- drop patches which are in the release now
- disable introspection
-------------------------------------------------------------------
Tue Aug 11 21:23:49 CEST 2009 - kay.sievers@novell.com
- add upstream patches:
polkit-close-stdfds.patch
polkit-no-man-spawn.patch
polkit-proc-stat-parse-fix.patch
- drop rpmlint patch
-------------------------------------------------------------------
Thu Aug 6 17:36:16 CEST 2009 - meissner@suse.de
- check for the right binary in verify_permisisons
-------------------------------------------------------------------
Thu Jul 30 17:32:41 CEST 2009 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package polkit (Version 0.93)
# spec file for package polkit (Version 0.94)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,7 +19,7 @@
Name: polkit
Summary: PolicyKit Authorization Framework
Version: 0.93
Version: 0.94
Release: 1
License: LGPLv2+
Url: http://www.freedesktop.org/wiki/Software/PolicyKit
@ -34,7 +34,6 @@ BuildRequires: intltool
Requires: ConsoleKit
Requires: dbus-1
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
Source1: polkit-rpmlintrc
Requires: libpolkit0 = %{version}-%{release}
%description
@ -81,6 +80,7 @@ This package contains the libraries only.
--with-os-type=suse \
--enable-gtk-doc \
--disable-static \
--disable-introspection \
--libexecdir=%{_prefix}/lib/polkit-1
make %{?jobs:-j %jobs}
@ -100,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT
%post
%run_permissions
%verifyscript
%verify_permissions -e %{_bindir}/pkcheck
%verify_permissions -e %{_bindir}/pkexec
%verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1
%post -n libpolkit0 -p /sbin/ldconfig
@ -134,10 +134,10 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/polkit-1/localauthority.conf.d/50-localauthority.conf
%{_bindir}/pkaction
%{_bindir}/pkcheck
%verify(not mode) %attr(0755,root,root) %{_bindir}/pkexec
%verify(not mode) %attr(4755,root,root) %{_bindir}/pkexec
%dir %{_prefix}/lib/polkit-1
%{_prefix}/lib/polkit-1/polkitd
%verify(not mode) %attr(0755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
%verify(not mode) %attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
%attr(0700,root,root) %dir %{_localstatedir}/lib/polkit-1
%files devel