commit polkit for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2020-10-29 09:22:23

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.3463 (New)


Package is "polkit"

Thu Oct 29 09:22:23 2020 rev:71 rq:844237 version:0.118

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2020-08-03 
14:12:56.860352379 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new.3463/polkit.changes  2020-10-29 
09:22:26.690695727 +0100
@@ -1,0 +2,9 @@
+Fri Oct 23 08:19:06 UTC 2020 - Bjørn Lie 
+
+- Update to version 0.118:
+  + Updated dependency to mozjs78.
+  + Tarball fixes.
+- Replace pkgconfig(mozjs-68) for pkgconfig(mozjs-78)
+  BuildRequires following upstreams port.
+
+---

Old:

  polkit-0.117.tar.gz
  polkit-0.117.tar.gz.sign

New:

  polkit-0.118.tar.gz
  polkit-0.118.tar.gz.sign



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.f6hwte/_old  2020-10-29 09:22:27.802696793 +0100
+++ /var/tmp/diff_new_pack.f6hwte/_new  2020-10-29 09:22:27.806696797 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   polkit
-Version:0.117
+Version:0.118
 Release:0
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1-or-later
@@ -49,7 +49,7 @@
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.32.0
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.6.2
 BuildRequires:  pkgconfig(libsystemd)
-BuildRequires:  pkgconfig(mozjs-68)
+BuildRequires:  pkgconfig(mozjs-78)
 BuildRequires:  pkgconfig(systemd)
 # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
 #!BuildIgnore:  ruby

++ polkit-0.117.tar.gz -> polkit-0.118.tar.gz ++
 2039 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/polkit-0.117/Makefile.am new/polkit-0.118/Makefile.am
--- old/polkit-0.117/Makefile.am2019-09-27 15:19:53.0 +0200
+++ new/polkit-0.118/Makefile.am2020-09-09 13:31:03.0 +0200
@@ -24,13 +24,13 @@
gpg --armor --detach-sign --output polkit-$(VERSION).tar.gz.sign 
polkit-$(VERSION).tar.gz
 
 publish : sign
-   scp polkit-$(VERSION).tar.gz polkit-$(VERSION).tar.gz.sign 
"da...@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/releases/"
+   scp polkit-$(VERSION).tar.gz polkit-$(VERSION).tar.gz.sign 
"jry...@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/releases/"
 
 publish-docs :
gtkdoc-rebase --html-dir docs/polkit/html --online
-   ssh "da...@people.freedesktop.org" "mkdir -p 
/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
-   scp docs/polkit/html/* 
"da...@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
-   ssh "da...@people.freedesktop.org" "rm -f 
/srv/www.freedesktop.org/www/software/polkit/docs/latest; ln -s $(VERSION) 
/srv/www.freedesktop.org/www/software/polkit/docs/latest"
+   ssh "jry...@people.freedesktop.org" "mkdir -p 
/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
+   scp docs/polkit/html/* 
"jry...@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)"
+   ssh "jry...@people.freedesktop.org" "rm -f 
/srv/www.freedesktop.org/www/software/polkit/docs/latest; ln -s $(VERSION) 
/srv/www.freedesktop.org/www/software/polkit/docs/latest"
 
 clean-local :
rm -f *~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/polkit-0.117/NEWS new/polkit-0.118/NEWS
--- old/polkit-0.117/NEWS   2020-07-27 14:01:49.0 +0200
+++ new/polkit-0.118/NEWS   2020-09-09 13:31:03.0 +0200
@@ -1,4 +1,39 @@
 --
+polkit 0.118
+--
+
+WARNING WARNING WARNING: This is a prerelease on the road to polkit
+1.0. Public API might change and certain parts of the code still needs
+some security review. Use at your own risk.
+
+This is polkit 0.118.
+
+Highlights:
+ move to mozjs78
+ tarball CI fix
+
+Build requirements
+
+ glib, gobject, gio>= 2.32
+ mozjs-78
+ gobject-introspection >= 0.6.2 (optional)
+ pam (optional)
+ ConsoleKit 

commit polkit for openSUSE:Factory

2020-08-03 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2020-08-03 14:12:38

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.3592 (New)


Package is "polkit"

Mon Aug  3 14:12:38 2020 rev:70 rq:823734 version:0.117

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2019-12-11 
11:58:49.960895915 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new.3592/polkit.changes  2020-08-03 
14:12:56.860352379 +0200
@@ -1,0 +2,11 @@
+Fri Jul 31 11:39:38 UTC 2020 - Bjørn Lie 
+
+- Update to version 0.117:
+  + Activated Gitlab CI.
+  + Updated dependency to mozjs68.
+  + Memory management fixes.
+  + Updated translations.
+- Replace pkgconfig(mozjs-60) for pkgconfig(mozjs-68)
+  BuildRequires following upstreams port.
+
+---

Old:

  polkit-0.116.tar.gz
  polkit-0.116.tar.gz.sign

New:

  polkit-0.117.tar.gz
  polkit-0.117.tar.gz.sign



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.PCCk1t/_old  2020-08-03 14:12:57.812353334 +0200
+++ /var/tmp/diff_new_pack.PCCk1t/_new  2020-08-03 14:12:57.816353337 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   polkit
-Version:0.116
+Version:0.117
 Release:0
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1-or-later
 Group:  System/Libraries
-Url:http://www.freedesktop.org/wiki/Software/polkit/
-Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
-Source1:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
+URL:https://www.freedesktop.org/wiki/Software/polkit/
+Source0:
https://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
+Source1:
https://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
 Source2:%{name}.keyring
 Source99:   baselibs.conf
 
@@ -49,7 +49,7 @@
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.32.0
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.6.2
 BuildRequires:  pkgconfig(libsystemd)
-BuildRequires:  pkgconfig(mozjs-60)
+BuildRequires:  pkgconfig(mozjs-68)
 BuildRequires:  pkgconfig(systemd)
 # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
 #!BuildIgnore:  ruby

++ polkit-0.116.tar.gz -> polkit-0.117.tar.gz ++
 6789 lines of diff (skipped)





commit polkit for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2019-12-11 11:58:38

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.4691 (New)


Package is "polkit"

Wed Dec 11 11:58:38 2019 rev:69 rq:754301 version:0.116

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2019-10-10 
11:52:35.919456054 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new.4691/polkit.changes  2019-12-11 
11:58:49.960895915 +0100
@@ -1,0 +2,5 @@
+Fri Nov 29 10:36:53 UTC 2019 - Bjørn Lie 
+
+- Fix usage of libexecdir instead of prefix/lib where applicable.
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.0qUkDa/_old  2019-12-11 11:58:50.700895715 +0100
+++ /var/tmp/diff_new_pack.0qUkDa/_new  2019-12-11 11:58:50.704895714 +0100
@@ -129,7 +129,6 @@
--enable-introspection \
--enable-examples \
--enable-libsystemd-login \
-   --libexecdir=%{_libexecdir}/polkit-1 \
%{nil}
 %make_build
 
@@ -199,8 +198,8 @@
 %{_bindir}/pkcheck
 %verify(not mode) %attr(4755,root,root) %{_bindir}/pkexec
 %{_bindir}/pkttyagent
-%dir %{_libexecdir}/polkit-1
-%{_libexecdir}/polkit-1/polkitd
+%dir %{_prefix}/lib/polkit-1
+%{_prefix}/lib/polkit-1/polkitd
 %verify(not mode) %attr(4755,root,root) 
%{_prefix}/lib/polkit-1/polkit-agent-helper-1
 # $HOME for polkit user
 %dir %{_localstatedir}/lib/polkit






commit polkit for openSUSE:Factory

2019-10-10 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2019-10-10 11:52:34

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.2352 (New)


Package is "polkit"

Thu Oct 10 11:52:34 2019 rev:68 rq:736148 version:0.116

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2019-06-22 
11:03:26.071739336 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new.2352/polkit.changes  2019-10-10 
11:52:35.919456054 +0200
@@ -1,0 +2,5 @@
+Tue Oct  8 12:41:44 UTC 2019 - Marcus Meissner 
+
+- polkit-keyinit.patch: add pam_keyinit to the polkit configuration 
(bsc#1144053)
+
+---

New:

  polkit-keyinit.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.jmJKpk/_old  2019-10-10 11:52:37.447451998 +0200
+++ /var/tmp/diff_new_pack.jmJKpk/_new  2019-10-10 11:52:37.447451998 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -34,6 +34,8 @@
 Patch1: polkit-gettext.patch
 # PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version 
and --help even if not setuid
 Patch2: pkexec.patch
+# PATCH-FIX-OPENSUSE polkit-keyinit.patch meissner@ -- bsc#1144053 Please add 
"pam_keyinit.so" to the /etc/pam.d/polkit-1 configuration file
+Patch3: polkit-keyinit.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc


++ polkit-keyinit.patch ++
Index: polkit-0.116/data/polkit-1.in
===
--- polkit-0.116.orig/data/polkit-1.in
+++ polkit-0.116/data/polkit-1.in
@@ -4,3 +4,4 @@ auth   include  @PAM_FILE_INCLUD
 accountinclude  @PAM_FILE_INCLUDE_ACCOUNT@
 password   include  @PAM_FILE_INCLUDE_PASSWORD@
 sessioninclude  @PAM_FILE_INCLUDE_SESSION@
+sessionoptional pam_keyinit.so revoke [force]




commit polkit for openSUSE:Factory

2019-06-22 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2019-06-22 11:03:16

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.4615 (New)


Package is "polkit"

Sat Jun 22 11:03:16 2019 rev:67 rq:709799 version:0.116

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2019-05-21 
10:21:48.763606582 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new.4615/polkit.changes  2019-06-22 
11:03:26.071739336 +0200
@@ -1,0 +2,26 @@
+Wed May 29 07:57:26 UTC 2019 - Bjørn Lie 
+
+- Update to version 0.116:
+  + Leaking zombie child processes.
+  + Possible resource leak found by static analyzer.
+  + Output messages tuneup.
+  + Sanity fixes.
+  + pkttyagent tty echo disabled on SIGINT.
+  + HACKING: add link to Code of Conduct.
+  + polkitbackend: comment typos fix.
+  + configure.ac: fix detection of systemd with cgroups v2.
+  + CVE-2018-19788 High UIDs overflow fix.
+  + CVE-2019-6133 Slowfork vulnerability fix.
+  + Allow unset process-uid.
+  + Port the JS authority to mozjs-60.
+  + Use JS_EncodeStringToUTF8.
+  + Updated translations.
+- Replace pkgconfig(mozjs-52) with pkgconfig(mozjs-60)
+  BuildRequires following upstreams changes.
+- Drop patches fixed upstream:
+  + polkit-fix-possible-resource-leak.patch
+  + polkit-fix-leaking-zombie-child-processes.patch
+  + polkit-CVE-2018-19788.patch
+- Refresh patches with quilt.
+
+---

Old:

  polkit-0.115.tar.gz
  polkit-0.115.tar.gz.sign
  polkit-CVE-2018-19788.patch
  polkit-fix-leaking-zombie-child-processes.patch
  polkit-fix-possible-resource-leak.patch

New:

  polkit-0.116.tar.gz
  polkit-0.116.tar.gz.sign



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.RRQsw1/_old  2019-06-22 11:03:26.971740840 +0200
+++ /var/tmp/diff_new_pack.RRQsw1/_new  2019-06-22 11:03:26.975740847 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   polkit
-Version:0.115
+Version:0.116
 Release:0
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1-or-later
@@ -34,12 +34,6 @@
 Patch1: polkit-gettext.patch
 # PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version 
and --help even if not setuid
 Patch2: pkexec.patch
-# PATCH-FIX-UPSTREAM polkit-fix-possible-resource-leak.patch -- Fix possible 
resource leak found by static analyzer
-Patch3: polkit-fix-possible-resource-leak.patch
-# PATCH-FIX-UPSTREAM polkit-fix-leaking-zombie-child-processes.patch 
fdo#106021 -- polkitd: fix zombie not reaped when js spawned process timed out
-Patch4: polkit-fix-leaking-zombie-child-processes.patch
-# PATCH-FIX-UPSTREAM polkit-CVE-2018-19788.patch bsc#1118277 meiss...@suse.com 
-- 2cb40c4d5feeaa09325522bd7d97910f1b59e379
-Patch5: polkit-CVE-2018-19788.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
@@ -49,11 +43,11 @@
 BuildRequires:  libtool
 BuildRequires:  pam-devel
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.30.0
-BuildRequires:  pkgconfig(gmodule-2.0) >= 2.30.0
+BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.32.0
+BuildRequires:  pkgconfig(gmodule-2.0) >= 2.32.0
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.6.2
 BuildRequires:  pkgconfig(libsystemd)
-BuildRequires:  pkgconfig(mozjs-52)
+BuildRequires:  pkgconfig(mozjs-60)
 BuildRequires:  pkgconfig(systemd)
 # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
 #!BuildIgnore:  ruby
@@ -118,17 +112,10 @@
 This package provides the GObject Introspection bindings for PolicyKit.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+%autosetup -p1
 
 %build
-export V=1
-# needed for patch1 and patch2
+# Needed for patch1 and patch2
 autoreconf -fi
 export SUID_CFLAGS="-fPIE"
 export SUID_LDFLAGS="-z now -pie"
@@ -140,8 +127,9 @@
   --enable-introspection \
   --enable-examples \
   --enable-libsystemd-login \
-  --libexecdir=%{_libexecdir}/polkit-1
-make %{?_smp_mflags}
+   --libexecdir=%{_libexecdir}/polkit-1 \
+   %{nil}
+%make_build
 
 %install
 %make_install

++ pkexec.patch ++
--- /var/tmp/diff_new_pack.RRQsw1/_old  2019-06-22 11:03:27.051740974 +0200
+++ /var/tmp/diff_new_pack.RRQsw1/_new  2019-06-22 11:03:27.051740974 +0200
@@ -6,10 +6,10 @@
 building packages that want to check for pkexec 

commit polkit for openSUSE:Factory

2019-05-21 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2019-05-21 10:21:46

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.5148 (New)


Package is "polkit"

Tue May 21 10:21:46 2019 rev:66 rq:702612 version:0.115

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2019-05-03 
22:06:49.246847134 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new.5148/polkit.changes  2019-05-21 
10:21:48.763606582 +0200
@@ -1,0 +2,10 @@
+Fri May 10 14:44:20 UTC 2019 - Dominique Leuenberger 
+
+- Use systemd_ordering instead of systemd_requires: strictly
+  speaking, polkit does not require systemd to be present. Just
+  that when we install on a system with systemd (e.g outside
+  containers) we would want systemd to be present before
+  installing polkit. Help also reduce a cycle without special hacks
+  in systemd.spec.
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.orAK8R/_old  2019-05-21 10:21:49.563606419 +0200
+++ /var/tmp/diff_new_pack.orAK8R/_new  2019-05-21 10:21:49.567606418 +0200
@@ -61,7 +61,7 @@
 Requires:   libpolkit0 = %{version}-%{release}
 Requires(pre):  shadow
 Requires(post): permissions
-%systemd_requires
+%systemd_ordering
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id






commit polkit for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2019-05-03 22:06:48

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.5148 (New)


Package is "polkit"

Fri May  3 22:06:48 2019 rev:65 rq:698215 version:0.115

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2018-12-27 
00:21:38.424042702 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new.5148/polkit.changes  2019-05-03 
22:06:49.246847134 +0200
@@ -1,0 +2,7 @@
+Fri Apr 26 11:06:05 UTC 2019 - mvet...@suse.com
+
+- bsc#1130588: Require shadow instead of old pwdutils
+- User proper Requires(pre)/Requires(post) for permissions and
+  shadow
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.ab23QA/_old  2019-05-03 22:06:50.046848669 +0200
+++ /var/tmp/diff_new_pack.ab23QA/_new  2019-05-03 22:06:50.046848669 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -59,9 +59,8 @@
 #!BuildIgnore:  ruby
 Requires:   dbus-1
 Requires:   libpolkit0 = %{version}-%{release}
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq: permissions
-PreReq: pwdutils
+Requires(pre):  shadow
+Requires(post): permissions
 %systemd_requires
 
 # Upstream First - Policy:






commit polkit for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2018-12-27 00:21:37

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new.28833 (New)


Package is "polkit"

Thu Dec 27 00:21:37 2018 rev:64 rq:660357 version:0.115

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2018-08-28 
09:22:07.012392314 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new.28833/polkit.changes 2018-12-27 
00:21:38.424042702 +0100
@@ -1,0 +2,6 @@
+Thu Dec 20 17:29:58 UTC 2018 - meiss...@suse.com
+
+- polkit-CVE-2018-19788.patch: Fixed handling of UIDs over MAX_UINT
+  (bsc#1118277 CVE-2018-19788)
+
+---

New:

  polkit-CVE-2018-19788.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.9gPoeI/_old  2018-12-27 00:21:39.064042182 +0100
+++ /var/tmp/diff_new_pack.9gPoeI/_new  2018-12-27 00:21:39.068042179 +0100
@@ -38,6 +38,8 @@
 Patch3: polkit-fix-possible-resource-leak.patch
 # PATCH-FIX-UPSTREAM polkit-fix-leaking-zombie-child-processes.patch 
fdo#106021 -- polkitd: fix zombie not reaped when js spawned process timed out
 Patch4: polkit-fix-leaking-zombie-child-processes.patch
+# PATCH-FIX-UPSTREAM polkit-CVE-2018-19788.patch bsc#1118277 meiss...@suse.com 
-- 2cb40c4d5feeaa09325522bd7d97910f1b59e379
+Patch5: polkit-CVE-2018-19788.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
@@ -123,6 +125,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 export V=1


++ polkit-CVE-2018-19788.patch ++
commit 2cb40c4d5feeaa09325522bd7d97910f1b59e379
Author: Zbigniew Jędrzejewski-Szmek 
Date:   Mon Dec 3 10:28:58 2018 +0100

Allow negative uids/gids in PolkitUnixUser and Group objects

(uid_t) -1 is still used as placeholder to mean "unset". This is OK, since
there should be no users with such number, see
https://systemd.io/UIDS-GIDS#special-linux-uids.

(uid_t) -1 is used as the default value in class initialization.

When a user or group above INT32_MAX is created, the numeric uid or
gid wraps around to negative when the value is assigned to gint, and
polkit gets confused. Let's accept such gids, except for -1.

A nicer fix would be to change the underlying type to e.g. uint32 to
not have negative values. But this cannot be done without breaking the
API, so likely new functions will have to be added (a
polkit_unix_user_new variant that takes a unsigned, and the same for
_group_new, _set_uid, _get_uid, _set_gid, _get_gid, etc.). This will
require a bigger patch.

Fixes https://gitlab.freedesktop.org/polkit/polkit/issues/74.

diff --git a/src/polkit/polkitunixgroup.c b/src/polkit/polkitunixgroup.c
index c57a1aa..309f689 100644
--- a/src/polkit/polkitunixgroup.c
+++ b/src/polkit/polkitunixgroup.c
@@ -71,6 +71,7 @@ G_DEFINE_TYPE_WITH_CODE (PolkitUnixGroup, polkit_unix_group, 
G_TYPE_OBJECT,
 static void
 polkit_unix_group_init (PolkitUnixGroup *unix_group)
 {
+  unix_group->gid = -1; /* (git_t) -1 is not a valid GID under Linux */
 }
 
 static void
@@ -100,11 +101,14 @@ polkit_unix_group_set_property (GObject  *object,
GParamSpec   *pspec)
 {
   PolkitUnixGroup *unix_group = POLKIT_UNIX_GROUP (object);
+  gint val;
 
   switch (prop_id)
 {
 case PROP_GID:
-  unix_group->gid = g_value_get_int (value);
+  val = g_value_get_int (value);
+  g_return_if_fail (val != -1);
+  unix_group->gid = val;
   break;
 
 default:
@@ -131,9 +135,9 @@ polkit_unix_group_class_init (PolkitUnixGroupClass *klass)
g_param_spec_int ("gid",
  "Group ID",
  "The UNIX group ID",
- 0,
+ G_MININT,
  G_MAXINT,
- 0,
+ -1,
  G_PARAM_CONSTRUCT |
  G_PARAM_READWRITE |
  G_PARAM_STATIC_NAME |
@@ -166,9 +170,10 @@ polkit_unix_group_get_gid (PolkitUnixGroup *group)
  */
 void
 polkit_unix_group_set_gid (PolkitUnixGroup *group,
-  gint gid)
+   gint gid)
 {
   g_return_if_fail (POLKIT_IS_UNIX_GROUP (group));
+  g_return_if_fail (gid != -1);
   

commit polkit for openSUSE:Factory

2018-08-28 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2018-08-28 09:21:58

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Tue Aug 28 09:21:58 2018 rev:63 rq:630680 version:0.115

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2018-07-18 
22:35:09.990694402 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2018-08-28 
09:22:07.012392314 +0200
@@ -1,0 +2,8 @@
+Fri Aug 17 07:56:08 UTC 2018 - bjorn@gmail.com
+
+- Add polkit-fix-possible-resource-leak.patch: Fix possible
+  resource leak found by static analyzer.
+- Add polkit-fix-leaking-zombie-child-processes.patch: polkitd: fix
+  zombie not reaped when js spawned process timed out (fdo#106021).
+
+---

New:

  polkit-fix-leaking-zombie-child-processes.patch
  polkit-fix-possible-resource-leak.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.nnGwrW/_old  2018-08-28 09:22:07.624394223 +0200
+++ /var/tmp/diff_new_pack.nnGwrW/_new  2018-08-28 09:22:07.628394236 +0200
@@ -34,6 +34,10 @@
 Patch1: polkit-gettext.patch
 # PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version 
and --help even if not setuid
 Patch2: pkexec.patch
+# PATCH-FIX-UPSTREAM polkit-fix-possible-resource-leak.patch -- Fix possible 
resource leak found by static analyzer
+Patch3: polkit-fix-possible-resource-leak.patch
+# PATCH-FIX-UPSTREAM polkit-fix-leaking-zombie-child-processes.patch 
fdo#106021 -- polkitd: fix zombie not reaped when js spawned process timed out
+Patch4: polkit-fix-leaking-zombie-child-processes.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
@@ -117,6 +121,8 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 export V=1


++ polkit-fix-leaking-zombie-child-processes.patch ++
>From 8638ec5cd534dcc616b68e5b0744c493c0c71dc9 Mon Sep 17 00:00:00 2001
From: Jan Rybar 
Date: Wed, 15 Aug 2018 16:11:22 +0200
Subject: Leaking zombie child processes Resolves: bz#106021

Subject: [PATCH] polkitd: fix zombie not reaped when js spawned process timed
 out

The child watch source attached to thread context didn't work due
to the release of it's main loop and context outside. So we attach
the source to the global default main context to make it work and
avoid zombies.
---
 src/polkitbackend/polkitbackendjsauthority.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp 
b/src/polkitbackend/polkitbackendjsauthority.cpp
index 517f3c6..7602714 100644
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
@@ -1595,7 +1595,8 @@ utils_spawn_data_free (UtilsSpawnData *data)
  (GSourceFunc) utils_child_watch_from_release_cb,
  source,
  (GDestroyNotify) g_source_destroy);
-  g_source_attach (source, data->main_context);
+  /* attach source to the global default main context */
+  g_source_attach (source, NULL);
   g_source_unref (source);
   data->child_pid = 0;
 }
-- 
cgit v1.1

++ polkit-fix-possible-resource-leak.patch ++
>From 542c6ec832919df6a74e16aba574adaeebe35e08 Mon Sep 17 00:00:00 2001
From: Jan Rybar 
Date: Thu, 9 Aug 2018 16:46:38 +0200
Subject: Possible resource leak found by static analyzer

---
 src/polkitagent/polkitagentlistener.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/polkitagent/polkitagentlistener.c 
b/src/polkitagent/polkitagentlistener.c
index debd1bb..2e0e11e 100644
--- a/src/polkitagent/polkitagentlistener.c
+++ b/src/polkitagent/polkitagentlistener.c
@@ -439,6 +439,7 @@ polkit_agent_listener_register_with_options 
(PolkitAgentListener  *listener,
   server->thread_initialization_error = NULL;
   g_thread_join (server->thread);
   server_free (server);
+  server = NULL;
   goto out;
 }
 }
-- 
cgit v1.1





commit polkit for openSUSE:Factory

2018-07-18 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2018-07-18 22:35:02

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Wed Jul 18 22:35:02 2018 rev:62 rq:622066 version:0.115

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2018-04-26 
13:26:06.922272615 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2018-07-18 
22:35:09.990694402 +0200
@@ -1,0 +2,8 @@
+Wed Jul 11 10:48:37 UTC 2018 - meiss...@suse.com
+
+- Update to version 0.115:
+  - Fix CVE-2018-1116: Trusting client-supplied UID (bsc#1099031)
+  - jsauthority: pass "%s" format string to remaining report function
+(obsoletes polkit-jsauthority-pass-format-string.patch)
+
+---

Old:

  polkit-0.114.tar.gz
  polkit-0.114.tar.gz.sign
  polkit-jsauthority-pass-format-string.patch

New:

  polkit-0.115.tar.gz
  polkit-0.115.tar.gz.sign



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.nQW3h7/_old  2018-07-18 22:35:11.142690586 +0200
+++ /var/tmp/diff_new_pack.nQW3h7/_new  2018-07-18 22:35:11.154690547 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   polkit
-Version:0.114
+Version:0.115
 Release:0
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1-or-later
 Group:  System/Libraries
-URL:http://www.freedesktop.org/wiki/Software/polkit/
+Url:http://www.freedesktop.org/wiki/Software/polkit/
 Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 Source1:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
 Source2:%{name}.keyring
@@ -34,8 +34,6 @@
 Patch1: polkit-gettext.patch
 # PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version 
and --help even if not setuid
 Patch2: pkexec.patch
-# PATCH-FIX-UPSTREAM polkit-jsauthority-pass-format-string.patch bgo#105865 
bjorn@gmail.com -- jsauthority: pass "%s" format string to remaining report 
function
-Patch3: polkit-jsauthority-pass-format-string.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
@@ -119,7 +117,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 export V=1

++ polkit-0.114.tar.gz -> polkit-0.115.tar.gz ++
 8272 lines of diff (skipped)





commit polkit for openSUSE:Factory

2018-04-26 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2018-04-26 13:25:59

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Thu Apr 26 13:25:59 2018 rev:61 rq:595145 version:0.114

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2018-03-12 
12:03:08.605901306 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2018-04-26 
13:26:06.922272615 +0200
@@ -1,0 +2,30 @@
+Mon Apr  9 22:38:39 UTC 2018 - bjorn@gmail.com
+
+- Update to version 0.114:
+  + Port to mozjs 52, the latest version of the firefox JavaScript
+engine.
+  + Add gettext support for policy files.
+  + Fixes for various memory leaks.
+  + Updated translations.
+- Update keyring with Ray Strode  public key.
+- Drop with_systemd define and all conditionals and
+  polkit-no-systemd.patch and ConsoleKit BuildRequires, we only
+  support systemd now.
+- Drop upstream fixed polkit-itstools.patch.
+- Rebase pkexec.patch with quilt.
+- Add gcc-c++ and pkgconfig(mozjs-52) BuildRequires: New
+  dependencies.
+- Drop conditional pkgconfig(mozjs-17.0) and pkgconfig(mozjs185):
+  no longer supported.
+- Drop autoconf and automake BuildRequires: They are implicit via
+  libtool BuildRequires.
+- Replace glib2-devel and gobject-introspection-devel with their
+  pkgconfig counterparts: pkgconfig(gio-unix-2.0),
+  pkgconfig(gmodule-2.0) and pkgconfig(gobject-introspection-1.0).
+- Add polkit-jsauthority-pass-format-string.patch: jsauthority:
+  pass "%s" format string to remaining report function, patch from
+  upstream git, adding missed commit (bgo#105865).
+- Drop polkit-revert-session-magic.patch: Upstream systemd bug is
+  since a long time fixed (gh#systemd#58) (boo#954139).
+
+---

Old:

  polkit-0.113.tar.gz
  polkit-0.113.tar.gz.sign
  polkit-itstools.patch
  polkit-no-systemd.patch
  polkit-revert-session-magic.patch

New:

  polkit-0.114.tar.gz
  polkit-0.114.tar.gz.sign
  polkit-jsauthority-pass-format-string.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.GClI6R/_old  2018-04-26 13:26:07.682244787 +0200
+++ /var/tmp/diff_new_pack.GClI6R/_new  2018-04-26 13:26:07.686244641 +0200
@@ -16,9 +16,8 @@
 #
 
 
-%define with_systemd 1
 Name:   polkit
-Version:0.113
+Version:0.114
 Release:0
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1-or-later
@@ -28,30 +27,30 @@
 Source1:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
 Source2:%{name}.keyring
 Source99:   baselibs.conf
+
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
-# PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
-Patch1: polkit-no-systemd.patch
-# PATCH-REVERT-UPSTREAM polkit-revert-session-magic.patch various bugs 
meissner -- systemd session magic was not updating the user seats correctly
-Patch2: polkit-revert-session-magic.patch
 # PATCH-FIX-OPENSUSE polkit-gettext.patch lnus...@suse.de -- allow fallback to 
gettext for polkit action translations
-Patch3: polkit-gettext.patch
-# PATCH-FEATURE-UPSTREAM polkit-itstools.patch dims...@opensuse.org -- Add 
gettext support for .policy files, taken from git
-Patch4: polkit-itstools.patch
+Patch1: polkit-gettext.patch
 # PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version 
and --help even if not setuid
-Patch5: pkexec.patch
-# needed for patch1
-BuildRequires:  autoconf
-# needed for patch1
-BuildRequires:  automake
-BuildRequires:  glib2-devel >= 2.30.0
-BuildRequires:  gobject-introspection-devel >= 0.6.2
+Patch2: pkexec.patch
+# PATCH-FIX-UPSTREAM polkit-jsauthority-pass-format-string.patch bgo#105865 
bjorn@gmail.com -- jsauthority: pass "%s" format string to remaining report 
function
+Patch3: polkit-jsauthority-pass-format-string.patch
+
+BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
-# needed for patch1, patch3 and patch4
+# needed for patch1 and 2
 BuildRequires:  libtool
 BuildRequires:  pam-devel
+BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.30.0
+BuildRequires:  pkgconfig(gmodule-2.0) >= 2.30.0

commit polkit for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2018-03-12 12:03:04

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Mon Mar 12 12:03:04 2018 rev:60 rq:585102 version:0.113

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2018-03-07 
10:28:43.091376324 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2018-03-12 
12:03:08.605901306 +0100
@@ -1,0 +2,5 @@
+Thu Mar  1 11:23:00 UTC 2018 - sch...@suse.de
+
+- pkexec.patch: pkexec: allow --version and --help even if not setuid
+
+---

New:

  pkexec.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.oQSuUr/_old  2018-03-12 12:03:10.341839095 +0100
+++ /var/tmp/diff_new_pack.oQSuUr/_new  2018-03-12 12:03:10.341839095 +0100
@@ -38,6 +38,8 @@
 Patch3: polkit-gettext.patch
 # PATCH-FEATURE-UPSTREAM polkit-itstools.patch dims...@opensuse.org -- Add 
gettext support for .policy files, taken from git
 Patch4: polkit-itstools.patch
+# PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version 
and --help even if not setuid
+Patch5: pkexec.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -136,6 +138,7 @@
 %patch2 -p1 -R
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 export V=1

++ pkexec.patch ++
From: Andreas Schwab 
Subject: pkexec: allow --version and --help even if not setuid

Don't check for setuid invocation until after parsing command line, to allow
running uninstalled pkexec with --help or --version.  This also helps
building packages that want to check for pkexec in an emulated environment
that does not support setuid invocation (eg. QEMU linux-user).

Index: polkit-0.113/src/programs/pkexec.c
===
--- polkit-0.113.orig/src/programs/pkexec.c
+++ polkit-0.113/src/programs/pkexec.c
@@ -503,27 +503,6 @@ main (int argc, char *argv[])
   opt_user = NULL;
   local_agent_handle = NULL;
 
-  /* check for correct invocation */
-  if (geteuid () != 0)
-{
-  g_printerr ("pkexec must be setuid root\n");
-  goto out;
-}
-
-  original_user_name = g_strdup (g_get_user_name ());
-  if (original_user_name == NULL)
-{
-  g_printerr ("Error getting user name.\n");
-  goto out;
-}
-
-  if ((original_cwd = g_get_current_dir ()) == NULL)
-{
-  g_printerr ("Error getting cwd: %s\n",
-  g_strerror (errno));
-  goto out;
-}
-
   /* First process options and find the command-line to invoke. Avoid using 
fancy library routines
* that depend on environtment variables since we haven't cleared the 
environment just yet.
*/
@@ -579,6 +558,27 @@ main (int argc, char *argv[])
   goto out;
 }
 
+  /* check for correct invocation */
+  if (geteuid () != 0)
+{
+  g_printerr ("pkexec must be setuid root\n");
+  goto out;
+}
+
+  original_user_name = g_strdup (g_get_user_name ());
+  if (original_user_name == NULL)
+{
+  g_printerr ("Error getting user name.\n");
+  goto out;
+}
+
+  if ((original_cwd = g_get_current_dir ()) == NULL)
+{
+  g_printerr ("Error getting cwd: %s\n",
+  g_strerror (errno));
+  goto out;
+}
+
   if (opt_user == NULL)
 opt_user = g_strdup ("root");
 





commit polkit for openSUSE:Factory

2018-03-07 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2018-03-07 10:28:41

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Wed Mar  7 10:28:41 2018 rev:59 rq:581491 version:0.113

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2017-09-04 
12:17:42.432544712 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2018-03-07 
10:28:43.091376324 +0100
@@ -1,0 +2,5 @@
+Wed Feb 28 16:38:33 UTC 2018 - dims...@opensuse.org
+
+- Modernize spec-file by calling spec-cleaner
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.ntsGNN/_old  2018-03-07 10:28:43.815350209 +0100
+++ /var/tmp/diff_new_pack.ntsGNN/_new  2018-03-07 10:28:43.819350064 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,12 +21,12 @@
 Version:0.113
 Release:0
 Summary:PolicyKit Authorization Framework
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  System/Libraries
-Url:http://www.freedesktop.org/wiki/Software/polkit/
+URL:http://www.freedesktop.org/wiki/Software/polkit/
 Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 Source1:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
-Source2:%name.keyring
+Source2:%{name}.keyring
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
@@ -54,6 +54,7 @@
 #!BuildIgnore:  ruby
 Requires:   dbus-1
 Requires:   libpolkit0 = %{version}-%{release}
+# FIXME: use proper Requires(pre/post/preun/...)
 PreReq: permissions
 PreReq: pwdutils
 %if 0%{?with_systemd}
@@ -85,7 +86,7 @@
 %package devel
 Summary:Development files for PolicyKit
 Group:  Development/Libraries/C and C++
-Requires:   %name = %{version}-%{release}
+Requires:   %{name} = %{version}-%{release}
 Requires:   libpolkit0 = %{version}
 Requires:   pkgconfig
 Requires:   typelib-1_0-Polkit-1_0 = %{version}
@@ -159,7 +160,7 @@
 
 %install
 %make_install
-rm %{buildroot}%{_libdir}/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
 # create $HOME for polkit user
 install -d %{buildroot}%{_localstatedir}/lib/polkit
 %find_lang polkit-1
@@ -192,22 +193,19 @@
 %verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1
 
 %post -n libpolkit0 -p /sbin/ldconfig
-
 %postun -n libpolkit0 -p /sbin/ldconfig
 
 %files -n libpolkit0
-%defattr(-,root,root,-)
 %{_libdir}/libpolkit-agent-1.so.*
 %{_libdir}/libpolkit-gobject-1.so.*
 
 %files -n typelib-1_0-Polkit-1_0
-%defattr(-,root,root,-)
 %{_libdir}/girepository-1.0/Polkit-1.0.typelib
 %{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib
 
 %files -f polkit-1.lang
-%defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
+
 %{_mandir}/man1/pkexec.1%{?ext_man}
 %{_mandir}/man1/pkaction.1%{?ext_man}
 %{_mandir}/man1/pkcheck.1%{?ext_man}
@@ -242,7 +240,6 @@
 %endif
 
 %files devel
-%defattr(-,root,root,-)
 %{_libdir}/libpolkit-agent-1.so
 %{_libdir}/libpolkit-gobject-1.so
 %{_libdir}/pkgconfig/polkit-agent-1.pc
@@ -255,7 +252,6 @@
 %{_datadir}/gettext/its/polkit.loc
 
 %files doc
-%defattr(-,root,root,-)
 %doc NEWS
 %doc %{_datadir}/gtk-doc/html/polkit-1/
 






commit polkit for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2017-09-04 12:17:41

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Mon Sep  4 12:17:41 2017 rev:58 rq:519773 version:0.113

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2017-06-18 
13:49:58.470330488 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2017-09-04 
12:17:42.432544712 +0200
@@ -1,0 +2,5 @@
+Tue Aug 15 12:20:52 UTC 2017 - dims...@opensuse.org
+
+- Add polkit-itstools.patch: Add gettext support for .policy files.
+
+---

New:

  polkit-itstools.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.Z01ur0/_old  2017-09-04 12:17:43.616378289 +0200
+++ /var/tmp/diff_new_pack.Z01ur0/_new  2017-09-04 12:17:43.628376602 +0200
@@ -17,15 +17,13 @@
 
 
 %define with_systemd 1
-
 Name:   polkit
+Version:0.113
+Release:0
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.113
-Release:0
 Url:http://www.freedesktop.org/wiki/Software/polkit/
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 Source1:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
 Source2:%name.keyring
@@ -38,6 +36,8 @@
 Patch2: polkit-revert-session-magic.patch
 # PATCH-FIX-OPENSUSE polkit-gettext.patch lnus...@suse.de -- allow fallback to 
gettext for polkit action translations
 Patch3: polkit-gettext.patch
+# PATCH-FEATURE-UPSTREAM polkit-itstools.patch dims...@opensuse.org -- Add 
gettext support for .policy files, taken from git
+Patch4: polkit-itstools.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -45,13 +45,17 @@
 BuildRequires:  glib2-devel >= 2.30.0
 BuildRequires:  gobject-introspection-devel >= 0.6.2
 BuildRequires:  gtk-doc
-# gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
-#!BuildIgnore:  ruby
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
-# needed for patch1 and patch3
+# needed for patch1, patch3 and patch4
 BuildRequires:  libtool
 BuildRequires:  pam-devel
+# gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
+#!BuildIgnore:  ruby
+Requires:   dbus-1
+Requires:   libpolkit0 = %{version}-%{release}
+PreReq: permissions
+PreReq: pwdutils
 %if 0%{?with_systemd}
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libsystemd)
@@ -62,16 +66,12 @@
 %else
 BuildRequires:  pkgconfig(mozjs185)
 %endif
-PreReq: permissions pwdutils
 %if ! %{with_systemd}
 Requires:   ConsoleKit
 %endif
-Requires:   dbus-1
-Requires:   libpolkit0 = %{version}-%{release}
 %if %{with_systemd}
 %systemd_requires
 %endif
-
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
 # in the patch. Any patches added here without a very good reason to make
@@ -134,6 +134,7 @@
 %endif
 %patch2 -p1 -R
 %patch3 -p1
+%patch4 -p1
 
 %build
 export V=1
@@ -158,14 +159,11 @@
 
 %install
 %make_install
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
+rm %{buildroot}%{_libdir}/*.la
 # create $HOME for polkit user
 install -d %{buildroot}%{_localstatedir}/lib/polkit
 %find_lang polkit-1
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %pre
 getent group polkitd > /dev/null || groupadd -r polkitd
 getent passwd polkitd > /dev/null || useradd -r -g polkitd -d 
%{_localstatedir}/lib/polkit -s /sbin/nologin -c "User for polkitd" polkitd
@@ -253,6 +251,8 @@
 %{_bindir}/pk-example-frobnicate
 %{_datadir}/gir-1.0/*.gir
 %{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
+%{_datadir}/gettext/its/polkit.its
+%{_datadir}/gettext/its/polkit.loc
 
 %files doc
 %defattr(-,root,root,-)


++ polkit-itstools.patch ++
>From c78819245ff8a270f97c9f800773e727918be838 Mon Sep 17 00:00:00 2001
From: Matthias Clasen 
Date: Fri, 15 Jul 2016 11:12:35 -0400
Subject: Add gettext support for .policy files

gettext can extract strings from and merge them back into xml
file formats, with the help of .its files.

https://bugs.freedesktop.org/show_bug.cgi?id=96940

diff --git a/data/Makefile.am b/data/Makefile.am
index fe0f1d5..18693fe 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -36,6 +36,11 @@ pkgconfig_DATA = polkit-gobject-1.pc polkit-agent-1.pc
 
 # 

commit polkit for openSUSE:Factory

2017-06-18 Thread root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2017-06-18 13:49:34

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Sun Jun 18 13:49:34 2017 rev:57 rq:503611 version:0.113

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2016-06-12 
18:51:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2017-06-18 
13:49:58.470330488 +0200
@@ -1,0 +2,9 @@
+Tue Jun 13 15:25:58 UTC 2017 - lnus...@suse.de
+
+- Use gettext as fallback to get potential distro translations for
+  polkit actions. Similar mechnism as used for desktop file
+  translations. That way it's possible to use weblate to add
+  additional translations that are not provided by upstream
+  (polkit-gettext.patch).
+
+---

New:

  polkit-gettext.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.hhOGqy/_old  2017-06-18 13:49:59.398199921 +0200
+++ /var/tmp/diff_new_pack.hhOGqy/_new  2017-06-18 13:49:59.402199357 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,8 @@
 Patch1: polkit-no-systemd.patch
 # PATCH-REVERT-UPSTREAM polkit-revert-session-magic.patch various bugs 
meissner -- systemd session magic was not updating the user seats correctly
 Patch2: polkit-revert-session-magic.patch
+# PATCH-FIX-OPENSUSE polkit-gettext.patch lnus...@suse.de -- allow fallback to 
gettext for polkit action translations
+Patch3: polkit-gettext.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -131,6 +133,7 @@
 %patch1 -p1
 %endif
 %patch2 -p1 -R
+%patch3 -p1
 
 %build
 export V=1


++ polkit-gettext.patch ++
>From fea7159b7cc50deb7298b2858e125fb623012549 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel 
Date: Tue, 13 Jun 2017 18:28:28 +0200
Subject: [PATCH] Use gettext as fallback for translations

Upstream polkit action files do not necessarily contain translations for
all languages a distribution supports. And even if all translations are
contained in the head branch, distributions sometimes need to ship older
versions of packages. In order to allow retrofitting translations and
shipping language packs for polkit actions without having to patch and
rebuild packages gettext could be used as fallback. That way only
additional .mo files have to be installed.
So this patch makes polkit call into gettext with the domain
'polkit-action-distro-translations' if an xml doesn't contain
translations for the requested language.
---
 src/polkitbackend/polkitbackendactionpool.c | 17 +++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/polkitbackend/polkitbackendactionpool.c 
b/src/polkitbackend/polkitbackendactionpool.c
index 3894fe9..9252788 100644
--- a/src/polkitbackend/polkitbackendactionpool.c
+++ b/src/polkitbackend/polkitbackendactionpool.c
@@ -24,6 +24,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -1132,8 +1133,20 @@ _localize (GHashTable *translations,
   if (result != NULL)
 goto out;
 
-  /* fall back to untranslated */
-  result = untranslated;
+  /* try distro provided language bundle via gettext */
+
+  /* Set LANG and locale so g_dgettext() + friends work below */
+  if (setlocale (LC_ALL, lang) == NULL)
+{
+  g_printerr ("Invalid locale '%s'\n", lang);
+}
+  g_setenv ("LANG", lang, TRUE);
+
+  result = g_dgettext ("polkit-action-distro-translations", untranslated);
+
+  /* Back to C! */
+  setlocale (LC_ALL, "C");
+  g_setenv ("LANG", "C", TRUE);
 
 out:
   return result;
-- 
2.12.2





commit polkit for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2016-06-12 18:51:08

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2015-12-09 
22:30:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2016-06-12 
18:51:09.0 +0200
@@ -1,0 +2,12 @@
+Wed Jun  8 11:13:43 UTC 2016 - f...@suse.com
+
+- Use pkgconfig() instead of requiring systemd package names directly.
+
+---
+Tue Jun  7 15:25:00 UTC 2016 - f...@suse.com
+
+- systemd.pc is shipped by systemd main package (bsc#983167)
+  Strangely polkit wants systemd.pc to detect that the target system
+  is running systemd even if its configured to build systemd support...
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.we5Tps/_old  2016-06-12 18:51:10.0 +0200
+++ /var/tmp/diff_new_pack.we5Tps/_new  2016-06-12 18:51:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,6 @@
 
 
 %define with_systemd 1
-%if 0%{with_systemd}
-%define systemdsystemunitdir %(pkg-config --variable systemdsystemunitdir 
systemd)
-%endif
 
 Name:   polkit
 Summary:PolicyKit Authorization Framework
@@ -54,7 +51,9 @@
 BuildRequires:  libtool
 BuildRequires:  pam-devel
 %if 0%{?with_systemd}
-BuildRequires:  systemd-devel
+BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  pkgconfig(systemd)
 %endif
 %if 0%{?suse_version} >= 1310
 BuildRequires:  pkgconfig(mozjs-17.0)
@@ -238,7 +237,7 @@
 # $HOME for polkit user
 %dir %{_localstatedir}/lib/polkit
 %if %{with_systemd}
-%{systemdsystemunitdir}/polkit.service
+%{_unitdir}/polkit.service
 %endif
 
 %files devel






commit polkit for openSUSE:Factory

2015-12-09 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2015-12-09 20:33:30

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2015-09-16 
10:36:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2015-12-09 
22:30:00.0 +0100
@@ -1,0 +2,7 @@
+Thu Nov 26 16:26:09 UTC 2015 - meiss...@suse.com
+
+- polkit-revert-session-magic.patch: revert a session detection change
+  that could lead to sessions not being detected as active due to 
+  a systemd bug. bsc#954139
+
+---

New:

  polkit-revert-session-magic.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.wymPc7/_old  2015-12-09 22:30:01.0 +0100
+++ /var/tmp/diff_new_pack.wymPc7/_new  2015-12-09 22:30:01.0 +0100
@@ -37,6 +37,8 @@
 Patch0: polkit-no-wheel-group.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch1: polkit-no-systemd.patch
+# PATCH-REVERT-UPSTREAM polkit-revert-session-magic.patch various bugs 
meissner -- systemd session magic was not updating the user seats correctly
+Patch2: polkit-revert-session-magic.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -129,6 +131,7 @@
 %if !(0%{?with_systemd})
 %patch1 -p1
 %endif
+%patch2 -p1 -R
 
 %build
 export V=1


++ polkit-revert-session-magic.patch ++
commit a29653ffa99e0809e15aa34afcd7b2df8593871c
Author: Philip Withnall 
Date:   Tue Jun 2 16:19:51 2015 +0100

sessionmonitor-systemd: Use sd_uid_get_state() to check session activity

Instead of using sd_pid_get_session() then sd_session_is_active() to
determine whether the user is active, use sd_uid_get_state() directly.
This gets the maximum of the states of all the user’s sessions, rather
than the state of the session containing the subject process. Since the
user is the security boundary, this is fine.

This change is necessary for `systemd --user` sessions, where most user
code will be forked off user@.service, rather than running inside the
logind session (whether that be a foreground/active or background/online
session).

Policy-wise, the change is from checking whether the subject process is
in an active session; to checking whether the subject process is owned
by a user with at least one active session.

https://bugs.freedesktop.org/show_bug.cgi?id=76358

diff --git a/src/polkitbackend/polkitbackendsessionmonitor-systemd.c 
b/src/polkitbackend/polkitbackendsessionmonitor-systemd.c
index 9995f87..2a6c739 100644
--- a/src/polkitbackend/polkitbackendsessionmonitor-systemd.c
+++ b/src/polkitbackend/polkitbackendsessionmonitor-systemd.c
@@ -389,6 +389,37 @@ gboolean
 polkit_backend_session_monitor_is_session_active (PolkitBackendSessionMonitor 
*monitor,
   PolkitSubject   
*session)
 {
-  return sd_session_is_active (polkit_unix_session_get_session_id 
(POLKIT_UNIX_SESSION (session)));
+  const char *session_id;
+  char *state;
+  uid_t uid;
+  gboolean is_active = FALSE;
+
+  session_id = polkit_unix_session_get_session_id (POLKIT_UNIX_SESSION 
(session));
+
+  g_debug ("Checking whether session %s is active.", session_id);
+
+  /* Check whether *any* of the user's current sessions are active. */
+  if (sd_session_get_uid (session_id, ) < 0)
+goto fallback;
+
+  g_debug ("Session %s has UID %u.", session_id, uid);
+
+  if (sd_uid_get_state (uid, ) < 0)
+goto fallback;
+
+  g_debug ("UID %u has state %s.", uid, state);
+
+  is_active = (g_strcmp0 (state, "active") == 0);
+  free (state);
+
+  return is_active;
+
+fallback:
+  /* Fall back to checking the session. This is not ideal, since the user
+   * might have multiple sessions, and we cannot guarantee to have chosen
+   * the active one.
+   *
+   * See: https://bugs.freedesktop.org/show_bug.cgi?id=76358. */
+  return sd_session_is_active (session_id);
 }
 




commit polkit for openSUSE:Factory

2015-09-16 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2015-09-16 10:36:02

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is "polkit"

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2015-01-20 
21:54:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2015-09-16 
10:36:04.0 +0200
@@ -1,0 +2,14 @@
+Thu Aug  6 21:26:18 UTC 2015 - antoine.belv...@laposte.net
+
+- Update to 0.113:
+  * Fix CVE-2015-4625
+  * Fix CVE-2015-3256
+  * Fix CVE-2015-3255
+  * Fix CVE-2015-3218
+  * On systemd-213 and later, the “active” state is shared across
+all sessions of an user, instead of being tracked separately
+  * pkexec: when not given a program to execute, runs the users’
+shell by default
+- Remove polkit-no-kded-leak.patch (upstreamed)
+
+---

Old:

  polkit-0.112.tar.gz
  polkit-0.112.tar.gz.sign
  polkit-no-kded-leak.patch

New:

  polkit-0.113.tar.gz
  polkit-0.113.tar.gz.sign



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.F7nWfU/_old  2015-09-16 10:36:05.0 +0200
+++ /var/tmp/diff_new_pack.F7nWfU/_new  2015-09-16 10:36:05.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.112
+Version:0.113
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/polkit/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -37,9 +37,6 @@
 Patch0: polkit-no-wheel-group.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch1: polkit-no-systemd.patch
-# PATCH-FIX-UPSTREAM polkit-no-kded-leak -- attemp to fix leaking of kded
-# duirng long periods of time while in lockscreen due to powerdevil managing
-Patch2: polkit-no-kded-leak.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -132,7 +129,6 @@
 %if !(0%{?with_systemd})
 %patch1 -p1
 %endif
-%patch2 -p1
 
 %build
 export V=1

++ polkit-0.112.tar.gz -> polkit-0.113.tar.gz ++
 27643 lines of diff (skipped)





commit polkit for openSUSE:Factory

2015-01-20 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2015-01-20 21:54:13

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2015-01-03 
22:02:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2015-01-20 
21:54:16.0 +0100
@@ -1,0 +2,7 @@
+Mon Jan 12 13:21:20 UTC 2015 - tchva...@suse.com
+
+- Try to fix kded leaking due to powerdevil exposing this issue in
+  polkit: (bsc#912889)
+  * polkit-no-kded-leak.patch
+
+---

New:

  polkit-no-kded-leak.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.jlo2e9/_old  2015-01-20 21:54:17.0 +0100
+++ /var/tmp/diff_new_pack.jlo2e9/_new  2015-01-20 21:54:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,9 @@
 Patch0: polkit-no-wheel-group.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch1: polkit-no-systemd.patch
+# PATCH-FIX-UPSTREAM polkit-no-kded-leak -- attemp to fix leaking of kded
+# duirng long periods of time while in lockscreen due to powerdevil managing
+Patch2: polkit-no-kded-leak.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -129,6 +132,7 @@
 %if !(0%{?with_systemd})
 %patch1 -p1
 %endif
+%patch2 -p1
 
 %build
 export V=1


++ polkit-no-kded-leak.patch ++
From f4d71e0de885010494b8b0b8d62ca910011d7544 Mon Sep 17 00:00:00 2001
From: Max A. Dednev ded...@rambler.ru
Date: Sun, 11 Jan 2015 20:00:44 -0500
Subject: authority: Fix memory leak in EnumerateActions call results handler

Policykit-1 doesn't release reference counters of GVariant data for
org.freedesktop.PolicyKit1.Authority.EnumerateActions dbus call.  This
patch fixed reference counting and following memory leak.

https://bugs.freedesktop.org/show_bug.cgi?id=88288

diff --git a/src/polkit/polkitauthority.c b/src/polkit/polkitauthority.c
index 75619ab..ab6d3cd 100644
--- a/src/polkit/polkitauthority.c
+++ b/src/polkit/polkitauthority.c
@@ -715,7 +715,6 @@ polkit_authority_enumerate_actions_finish (PolkitAuthority 
*authority,
   while ((child = g_variant_iter_next_value (iter)) != NULL)
 {
   ret = g_list_prepend (ret, polkit_action_description_new_for_gvariant 
(child));
-  g_variant_ref_sink (child);
   g_variant_unref (child);
 }
   ret = g_list_reverse (ret);
-- 
cgit v0.10.2


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2015-01-03 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2015-01-03 22:02:12

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-09-27 
17:57:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2015-01-03 
22:02:14.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec  9 16:23:50 UTC 2014 - meiss...@suse.com
+
+- Added gpg signature and keyring with David Zeuthen and Miloslav Trmac
+  ids.
+
+---

New:

  polkit-0.112.tar.gz.sign
  polkit.keyring



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.CsmgmU/_old  2015-01-03 22:02:15.0 +0100
+++ /var/tmp/diff_new_pack.CsmgmU/_new  2015-01-03 22:02:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 Url:http://www.freedesktop.org/wiki/Software/polkit/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
+Source1:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
+Source2:%name.keyring
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-09-27 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-09-27 17:57:31

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-09-23 
11:17:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-09-27 
17:57:33.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 27 08:16:34 UTC 2013 - t...@opensuse.org
+
+- Fixed URL
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.C4OcFM/_old  2013-09-27 17:57:33.0 +0200
+++ /var/tmp/diff_new_pack.C4OcFM/_new  2013-09-27 17:57:33.0 +0200
@@ -27,7 +27,7 @@
 Group:  System/Libraries
 Version:0.112
 Release:0
-Url:http://www.freedesktop.org/wiki/Software/PolicyKit
+Url:http://www.freedesktop.org/wiki/Software/polkit/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-09-23 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-09-23 10:51:41

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-07-08 
07:11:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-09-23 
11:17:41.0 +0200
@@ -1,0 +2,11 @@
+Thu Sep 19 01:13:08 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to 0.112
+  + polkitunixprocess: Deprecate racy APIs
+  + pkcheck: Support --process=pid,start-time,uid syntax too
+(CVE-2013-4288)
+  + Use GOnce for interface type registration
+  + Add czech translation po file to distribution
+  + Update the czech once more with newest pot file
+
+---

Old:

  polkit-0.111.tar.gz

New:

  polkit-0.112.tar.gz



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.1yjsH8/_old  2013-09-23 11:17:42.0 +0200
+++ /var/tmp/diff_new_pack.1yjsH8/_new  2013-09-23 11:17:42.0 +0200
@@ -25,7 +25,7 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.111
+Version:0.112
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ polkit-0.111.tar.gz - polkit-0.112.tar.gz ++
 11273 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-07-07 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-07-08 07:11:54

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-06-18 
15:30:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-07-08 
07:11:58.0 +0200
@@ -1,0 +2,9 @@
+Fri Jul  5 11:50:44 UTC 2013 - dims...@opensuse.org
+
+- On openSUSE 13.1+, switch from mozjs185 to mozjs-17.0 by:
+  + Conditionally BuildRequire pkgconfig(mozjs-17.0).
+- Drop libmozjs185-1_0 Recommends: the library is actually required
+  and auto-detected as such by rpm (from 0.111 changes: The
+  JavaScript interpreter is now mandatory).
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.xgqYwB/_old  2013-07-08 07:11:58.0 +0200
+++ /var/tmp/diff_new_pack.xgqYwB/_new  2013-07-08 07:11:58.0 +0200
@@ -52,7 +52,11 @@
 %if 0%{?with_systemd}
 BuildRequires:  systemd-devel
 %endif
+%if 0%{?suse_version} = 1310
+BuildRequires:  pkgconfig(mozjs-17.0)
+%else
 BuildRequires:  pkgconfig(mozjs185)
+%endif
 PreReq: permissions pwdutils
 %if ! %{with_systemd}
 Requires:   ConsoleKit
@@ -62,7 +66,6 @@
 %if %{with_systemd}
 %systemd_requires
 %endif
-Recommends: libmozjs185-1_0
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-06-18 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-06-18 15:30:52

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-04-14 
10:37:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-06-18 
15:30:54.0 +0200
@@ -1,0 +2,13 @@
+Fri Jun 14 20:34:39 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to 0.111
+  + Both js185 and mozjs17 versions of SpiderMonkey are supported
+  + The JavaScript interpreter is now mandatory
+  + Fixed various memory leaks
+  + Respect SUID_CFLAGS and SUID_LDFLAGS
+  + Set process environment from pam_getenvlist()
+  + Fix the build with automake 1.13
+- Drop polkit-suid_flags.patch and automake-113.patch, those
+  patches are included in this release
+
+---

Old:

  automake-113.patch
  polkit-0.110.tar.gz
  polkit-suid_flags.patch

New:

  polkit-0.111.tar.gz



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.VDidKk/_old  2013-06-18 15:30:55.0 +0200
+++ /var/tmp/diff_new_pack.VDidKk/_new  2013-06-18 15:30:55.0 +0200
@@ -25,7 +25,7 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.110
+Version:0.111
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -33,12 +33,8 @@
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
-# PATCH-FIX-UPSTREAM polkit-suid_flags.patch bnc#743145 fdo#46569 
vu...@opensuse.org -- Respect SUID_CFLAGS/SUID_LDFLAGS
-Patch1: polkit-suid_flags.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
-Patch2: polkit-no-systemd.patch
-# PATCH-FIX-UPSTREAM automake-113.patch -- Use AC_CONFIG_HEADERS macro instead 
of deprecated AM_CONFIG_HEADER, fixes build with Automake 1.13
-Patch3: automake-113.patch
+Patch1: polkit-no-systemd.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -125,11 +121,9 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 %if !(0%{?with_systemd})
-%patch2 -p1
+%patch1 -p1
 %endif
-%patch3 -p1
 
 %build
 export V=1

++ polkit-0.110.tar.gz - polkit-0.111.tar.gz ++
 8145 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-04-14 10:37:06

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-02-19 
13:39:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-04-14 
10:37:08.0 +0200
@@ -1,0 +2,5 @@
+Thu Apr 11 01:17:21 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Add automake-113.patch, fixes build with automake-1.13
+
+---

New:

  automake-113.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.RHou3b/_old  2013-04-14 10:37:09.0 +0200
+++ /var/tmp/diff_new_pack.RHou3b/_new  2013-04-14 10:37:09.0 +0200
@@ -37,6 +37,8 @@
 Patch1: polkit-suid_flags.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch2: polkit-no-systemd.patch
+# PATCH-FIX-UPSTREAM automake-113.patch -- Use AC_CONFIG_HEADERS macro instead 
of deprecated AM_CONFIG_HEADER, fixes build with Automake 1.13
+Patch3: automake-113.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -127,6 +129,7 @@
 %if !(0%{?with_systemd})
 %patch2 -p1
 %endif
+%patch3 -p1
 
 %build
 export V=1

++ automake-113.patch ++
From 7caa88f1eb8d01ab935f1d1e34a0db20f554448b Mon Sep 17 00:00:00 2001
From: Nuno Araujo nuno.ara...@russo79.com
Date: Tue, 15 Jan 2013 16:47:22 +
Subject: Fix the build with automake 1.13

In Automake 1.13, the long-deprecated macro AM_CONFIG_HEADER (deprecated
since 2002) has been removed in favour of AC_CONFIG_HEADERS.

Signed-off-by: David Zeuthen zeut...@gmail.com
---
diff --git a/configure.ac b/configure.ac
index 40f0cd7..7d2dfcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure 
script.
 AC_PREREQ(2.59c)
 AC_INIT(polkit, 0.110 
http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
 AM_INIT_AUTOMAKE(polkit, 0.110)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AM_MAINTAINER_MODE
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
--
cgit v0.9.0.2-2-gbebe
++ polkit-suid_flags.patch ++
--- /var/tmp/diff_new_pack.RHou3b/_old  2013-04-14 10:37:09.0 +0200
+++ /var/tmp/diff_new_pack.RHou3b/_new  2013-04-14 10:37:09.0 +0200
@@ -10,7 +10,7 @@
 index f4a0c41..42da974 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -429,6 +429,11 @@ AC_SUBST([GETTEXT_PACKAGE])
+@@ -459,6 +459,11 @@ AC_SUBST([GETTEXT_PACKAGE])
  AM_GLIB_GNU_GETTEXT
  AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],[$GETTEXT_PACKAGE],[gettext domain])
  
@@ -26,7 +26,7 @@
 index e8c9fb1..f0f8419 100644
 --- a/src/polkitagent/Makefile.am
 +++ b/src/polkitagent/Makefile.am
-@@ -92,6 +92,7 @@ endif
+@@ -94,6 +94,7 @@ endif
  
  polkit_agent_helper_1_CFLAGS  =   \
  -D_POLKIT_COMPILATION 
\
@@ -34,7 +34,7 @@
$(GLIB_CFLAGS)  \
$(NULL)
  
-@@ -101,6 +102,11 @@ polkit_agent_helper_1_LDADD = 
\
+@@ -103,6 +104,11 @@ polkit_agent_helper_1_LDADD = 
\
$(top_builddir)/src/polkit/libpolkit-gobject-1.la   \
$(NULL)
  

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-02-19 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-02-19 13:39:30

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-01-17 
09:57:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-02-19 
13:39:32.0 +0100
@@ -1,0 +2,6 @@
+Mon Feb 18 19:47:33 UTC 2013 - g...@opensuse.org
+
+- Recommend libmozjs185-1_0 which is dlopen'ed and required for JS
+  rules
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.hpvg3i/_old  2013-02-19 13:39:33.0 +0100
+++ /var/tmp/diff_new_pack.hpvg3i/_new  2013-02-19 13:39:33.0 +0100
@@ -64,6 +64,7 @@
 %if %{with_systemd}
 %systemd_requires
 %endif
+Recommends: libmozjs185-1_0
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2013-01-17 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-01-17 09:57:10

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2013-01-10 
13:51:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-01-17 
09:57:12.0 +0100
@@ -1,0 +2,14 @@
+Mon Jan 14 15:51:20 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to 0.110
+  + Set XAUTHORITY environment variable if is unset
+  + Use mutex and condition variables properly
+  + Build fixes.
+- Changes from version 0.109:
+  + Include gmodule-2.0 to avoid linker errors
+  + Don't require libmozjs185 devel packages for polkit rules
+to work
+- Drop polkit-link-gmodule.patch and polkit-libmozjs.patch, those
+  are merged upstream
+
+---

Old:

  polkit-0.108.tar.gz
  polkit-libmozjs.patch
  polkit-link-gmodule.patch

New:

  polkit-0.110.tar.gz



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.OmjM6i/_old  2013-01-17 09:57:13.0 +0100
+++ /var/tmp/diff_new_pack.OmjM6i/_new  2013-01-17 09:57:13.0 +0100
@@ -25,7 +25,7 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.108
+Version:0.110
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -37,10 +37,6 @@
 Patch1: polkit-suid_flags.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch2: polkit-no-systemd.patch
-# PATCH-FIX-UPSTREAM polkit-link-gmodule.patch dims...@opensuse.org -- Link 
against gmodule-2.0. Patch taken from upstream git.
-Patch3: polkit-link-gmodule.patch
-# PATCH-FIX-UPSTREAM polkit-libmozjs.patch bnc#793562 fdo#57146 
dims...@opensuse.org -- dlopen libmozjs185.so.1.0 instead of libmozjs185.so, 
taken from upstream git.
-Patch4: polkit-libmozjs.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -130,12 +126,10 @@
 %if !(0%{?with_systemd})
 %patch2 -p1
 %endif
-%patch3 -p1
-%patch4 -p1
 
 %build
 export V=1
-# needed for patch1 and patch3
+# needed for patch1
 autoreconf -fi
 export SUID_CFLAGS=-fPIE
 export SUID_LDFLAGS=-z now -pie

++ polkit-0.108.tar.gz - polkit-0.110.tar.gz ++
 1641 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/polkit-0.108/NEWS new/polkit-0.110/NEWS
--- old/polkit-0.108/NEWS   2012-11-14 19:27:19.0 +0100
+++ new/polkit-0.110/NEWS   2013-01-09 21:02:57.0 +0100
@@ -1,4 +1,73 @@
 --
+polkit 0.110
+--
+
+WARNING WARNING WARNING: This is a prerelease on the road to polkit
+1.0. Public API might change and certain parts of the code still needs
+some security review. Use at your own risk.
+
+This is polkit 0.110.
+
+Build requirements
+
+ glib, gobject, gio= 2.30
+ mozjs185
+ gobject-introspection = 0.6.2 (optional)
+ pam (optional)
+ ConsoleKit OR systemd
+
+Changes since polkit 0.109:
+
+David Zeuthen (5):
+  Post-release version bump to 0.110
+  Set XAUTHORITY environment variable if is unset
+  Use mutex and condition variables properly
+  Remove AM_PROG_CC_STDC
+  Update NEWS for release
+
+Emilio Pozuelo Monfort (1):
+  Fix build on GNU Hurd
+
+Michael Biebl (1):
+  build: Remove generated introspection files on make clean
+
+Thanks to our contributors.
+
+David Zeuthen,
+Jan 9, 2013
+
+--
+polkit 0.109
+--
+
+WARNING WARNING WARNING: This is a prerelease on the road to polkit
+1.0. Public API might change and certain parts of the code still needs
+some security review. Use at your own risk.
+
+This is polkit 0.109.
+
+Build requirements
+
+ glib, gobject, gio= 2.30
+ mozjs185
+ gobject-introspection = 0.6.2 (optional)
+ pam (optional)
+ ConsoleKit OR systemd
+
+Changes since polkit 0.108:
+
+David Zeuthen (4):
+  Post-release version bump to 0.109
+  Include gmodule-2.0 to avoid linker errors
+  Don't require libmozjs185 devel packages for 

commit polkit for openSUSE:Factory

2013-01-10 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2013-01-10 13:51:39

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-12-14 
10:40:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2013-01-10 
13:51:41.0 +0100
@@ -1,0 +2,11 @@
+Wed Jan  9 14:08:57 UTC 2013 - sasc...@suse.de
+
+- Only mark the following files as %config, not %config(noreplace):
+  + %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
+  + %{_sysconfdir}/pam.d/polkit-1
+  + %{_sysconfdir}/polkit-1/rules.d/50-default.rules
+  PolicyKit's own config files should only be changed for good reason
+  and we want to prefer openSUSE's defaults (you still get an .rpmsafe
+  file)
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.d2BLiI/_old  2013-01-10 13:51:42.0 +0100
+++ /var/tmp/diff_new_pack.d2BLiI/_new  2013-01-10 13:51:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -223,11 +223,11 @@
 %attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
 %dir %{_sysconfdir}/dbus-1
 %dir %{_sysconfdir}/dbus-1/system.d
-%config(noreplace) 
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
-%config(noreplace) %{_sysconfdir}/pam.d/polkit-1
+%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
+%config %{_sysconfdir}/pam.d/polkit-1
 %dir %{_sysconfdir}/polkit-1
 %attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
-%config(noreplace) %{_sysconfdir}/polkit-1/rules.d/50-default.rules
+%config %{_sysconfdir}/polkit-1/rules.d/50-default.rules
 %{_bindir}/pkaction
 %{_bindir}/pkcheck
 %verify(not mode) %attr(4755,root,root) %{_bindir}/pkexec

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2012-12-14 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-12-14 10:40:22

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-11-18 
09:11:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-12-14 
10:40:25.0 +0100
@@ -1,0 +2,7 @@
+Mon Dec 10 07:45:47 UTC 2012 - dims...@opensuse.org
+
+- Add polkit-libmozjs.patch: dlopen libmozjs185.so.1.0 instead of
+  libmozjs185.so, which is packaged in the -devel package
+  (bnc#793562)
+
+---

New:

  polkit-libmozjs.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.XFv6ag/_old  2012-12-14 10:40:28.0 +0100
+++ /var/tmp/diff_new_pack.XFv6ag/_new  2012-12-14 10:40:28.0 +0100
@@ -39,6 +39,8 @@
 Patch2: polkit-no-systemd.patch
 # PATCH-FIX-UPSTREAM polkit-link-gmodule.patch dims...@opensuse.org -- Link 
against gmodule-2.0. Patch taken from upstream git.
 Patch3: polkit-link-gmodule.patch
+# PATCH-FIX-UPSTREAM polkit-libmozjs.patch bnc#793562 fdo#57146 
dims...@opensuse.org -- dlopen libmozjs185.so.1.0 instead of libmozjs185.so, 
taken from upstream git.
+Patch4: polkit-libmozjs.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -129,6 +131,7 @@
 %patch2 -p1
 %endif
 %patch3 -p1
+%patch4 -p1
 
 %build
 export V=1

++ polkit-libmozjs.patch ++
From a6747362693a91f8cfa3bd5e619cf91e2e03941b Mon Sep 17 00:00:00 2001
From: David Zeuthen zeut...@gmail.com
Date: Thu, 15 Nov 2012 15:09:06 +
Subject: Don't require libmozjs185 devel packages for polkit rules to work

The SO-name rules for SpiderMonkey are a little bit weird and we were
opening wrong file. This problem was reported in

 https://bugs.freedesktop.org/show_bug.cgi?id=57146

Signed-off-by: David Zeuthen zeut...@gmail.com
---
diff --git a/src/polkitbackend/polkitbackendjsauthority.c 
b/src/polkitbackend/polkitbackendjsauthority.c
index 034edc4..e4aa46b 100644
--- a/src/polkitbackend/polkitbackendjsauthority.c
+++ b/src/polkitbackend/polkitbackendjsauthority.c
@@ -238,7 +238,7 @@ djs_init (PolkitBackendJsAuthority *authority)
   guint n;
   const gchar *library_name;
 
-  library_name = libmozjs185.so;
+  library_name = libmozjs185.so.1.0;
   module = g_module_open (library_name, 0);
   if (module == NULL)
 goto out;
--
cgit v0.9.0.2-2-gbebe

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2012-11-18 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-11-18 09:11:43

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-11-13 
10:18:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-11-18 
09:11:45.0 +0100
@@ -1,0 +2,25 @@
+Thu Nov 15 21:31:19 UTC 2012 - dims...@opensuse.org
+
+- Update to version 0.108:
+  + PolkitAgent: Avoid crashing if initializing the server object
+fails
+  + Fall back to authenticating as uid 0 if the list of admin
+identities is empty
+  + Dynamically load libmozjs185.so and cope with it not being
+available
+  + docs: mention the audience for authorization rules
+  + build: Fix .gir generation for parallel make
+- Only conditionally Require ConsoleKit when with_systemd is 0:
+  systemd support obsoletes ConsoleKit.
+- Add polkit-link-gmodule.patch: Link against gmodule-2.0.
+- Change libpolkit0 to require polkit = %version instead of the
+  exact version. This will ease upgrade problems should there ever
+  be a soname bump of libpolkit0.
+
+---
+Wed Nov 14 09:26:14 UTC 2012 - dims...@opensuse.org
+
+- Enable systemd inetegration (change with_systemd to 1): As an
+  agreed target for 12.3, systemd integration will be enabled.
+
+---

Old:

  polkit-0.107.tar.gz

New:

  polkit-0.108.tar.gz
  polkit-link-gmodule.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.Smilww/_old  2012-11-18 09:11:47.0 +0100
+++ /var/tmp/diff_new_pack.Smilww/_new  2012-11-18 09:11:47.0 +0100
@@ -16,13 +16,16 @@
 #
 
 
-%define with_systemd 0
+%define with_systemd 1
+%if 0%{with_systemd}
+%define systemdsystemunitdir %(pkg-config --variable systemdsystemunitdir 
systemd)
+%endif
 
 Name:   polkit
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.107
+Version:0.108
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -34,6 +37,8 @@
 Patch1: polkit-suid_flags.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch2: polkit-no-systemd.patch
+# PATCH-FIX-UPSTREAM polkit-link-gmodule.patch dims...@opensuse.org -- Link 
against gmodule-2.0. Patch taken from upstream git.
+Patch3: polkit-link-gmodule.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -45,7 +50,7 @@
 #!BuildIgnore:  ruby
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
-# needed for patch1
+# needed for patch1 and patch3
 BuildRequires:  libtool
 BuildRequires:  pam-devel
 %if 0%{?with_systemd}
@@ -53,9 +58,14 @@
 %endif
 BuildRequires:  pkgconfig(mozjs185)
 PreReq: permissions pwdutils
+%if ! %{with_systemd}
 Requires:   ConsoleKit
+%endif
 Requires:   dbus-1
 Requires:   libpolkit0 = %{version}-%{release}
+%if %{with_systemd}
+%systemd_requires
+%endif
 
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
@@ -91,7 +101,7 @@
 %package -n libpolkit0
 Summary:PolicyKit Authorization Framework -- Libraries
 Group:  System/Libraries
-Requires:   %{name} = %{version}
+Requires:   %{name} = %{version}
 
 %description -n libpolkit0
 PolicyKit is a toolkit for defining and handling authorizations.
@@ -118,10 +128,11 @@
 %if !(0%{?with_systemd})
 %patch2 -p1
 %endif
+%patch3 -p1
 
 %build
 export V=1
-# needed for patch1
+# needed for patch1 and patch3
 autoreconf -fi
 export SUID_CFLAGS=-fPIE
 export SUID_LDFLAGS=-z now -pie
@@ -153,11 +164,25 @@
 %pre
 getent group polkitd  /dev/null || groupadd -r polkitd
 getent passwd polkitd  /dev/null || useradd -r -g polkitd -d 
%{_localstatedir}/lib/polkit -s /sbin/nologin -c User for polkitd polkitd
+%if %{with_systemd}
+%service_add_pre polkit.service
+%endif
 exit 0
 
+%if %{with_systemd}
+%preun
+%service_del_preun polkit.service
+
+%postun
+%service_del_postun polkit.service
+%endif
+
 %post
 %set_permissions %{_bindir}/pkexec
 %set_permissions %{_prefix}/lib/polkit-1/polkit-agent-helper-1
+%if %{with_systemd}
+%service_add_post polkit.service
+%endif
 
 %verifyscript
 %verify_permissions -e %{_bindir}/pkexec
@@ -209,6 +234,9 @@
 

commit polkit for openSUSE:Factory

2012-11-13 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-11-13 10:18:18

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-09-27 
09:06:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-11-13 
10:18:23.0 +0100
@@ -1,0 +2,61 @@
+Thu Nov  8 21:34:15 UTC 2012 - a...@suse.de
+
+- Add pwdutils to prereq for groupadd and useradd.
+
+---
+Thu Sep 27 07:55:23 UTC 2012 - vu...@opensuse.org
+
+- Add polkit-no-systemd.patch: this patch, only applied when not
+  building systemd support, removes the systemd service reference
+  from the dbus .service file. This is needed as the systemd
+  .service file does not get installed in that case and dbus gets
+  confused because it expects it.
+- Make %{_datadir}/polkit-1/rules.d and
+  %{_sysconfdir}/polkit-1/rules.d owned by user polkitd, as those
+  directories have 0700 as permissions.
+- Those two changes should fix polkit so it can start.
+  Fix bnc#782395.
+
+---
+Tue Sep 25 09:05:02 UTC 2012 - vu...@opensuse.org
+
+- Use %{_localstatedir}/lib/polkit for $HOME of polkit user,
+  instead of %{_libexecdir}/polkit-1. The directory is manually
+  created in %install.
+
+---
+Fri Sep 14 18:20:06 UTC 2012 - vu...@opensuse.org
+
+- Update to version 0.107:
+  + Try harder to look up the right localization
+  + Introduce a polkit.Result enumeration for authorization rules
+  + pkexec: add support for argv1 annotation and mention
+shebang-wrappers
+  + doc: update guidance on situations where there is no polkit
+authority
+- Changes from version 0.106:
+  + Major change: switch from .pkla files (keyfile-format) to
+.rules files (JavaScript)
+  + Nuke polkitbackend library, localauthority backend and
+extension system
+  + Run polkitd as an unprivileged user
+  + Add a systemd .service file
+  + Several other code changes.
+  + Updated documentation.
+- Changes from version 0.105:
+  + Add pkttyagent(1) helper
+  + Make it possible to influence agent registration with an a{sv}
+parameter
+  + Several other code changes.
+- Add pkgconfig(mozjs185) BuildRequires: new dependency for the
+  authority backend.
+- Rebase polkit-no-wheel-group.patch: the admin configuration is
+  now in a .rules file.
+- Rebase polkit-suid_flags.patch.
+- Explicitly pass --enable-libsystemd-login or
+  --disable-libsystemd-login, depending on whether we build systemd
+  support.
+- Add a %pre script to create the polkitd group and user, as
+  polkitd now run as an unprivileged user.
+
+---

Old:

  polkit-0.104.tar.gz

New:

  polkit-0.107.tar.gz
  polkit-no-systemd.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.XvBZOo/_old  2012-11-13 10:18:32.0 +0100
+++ /var/tmp/diff_new_pack.XvBZOo/_new  2012-11-13 10:18:32.0 +0100
@@ -22,21 +22,23 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.104
+Version:0.107
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
 # PATCH-FIX-UPSTREAM polkit-suid_flags.patch bnc#743145 fdo#46569 
vu...@opensuse.org -- Respect SUID_CFLAGS/SUID_LDFLAGS
 Patch1: polkit-suid_flags.patch
+# PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
+Patch2: polkit-no-systemd.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
 BuildRequires:  automake
-BuildRequires:  glib2-devel = 2.25.12
+BuildRequires:  glib2-devel = 2.30.0
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
 # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build 

commit polkit for openSUSE:Factory

2012-09-27 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-09-27 09:06:48

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-09-26 
16:27:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-09-27 
09:06:50.0 +0200
@@ -2,42 +1,0 @@
-Tue Sep 25 09:05:02 UTC 2012 - vu...@opensuse.org
-
-- Use %{_localstatedir}/lib/polkit for $HOME of polkit user,
-  instead of %{_libexecdir}/polkit-1. The directory is manually
-  created in %install.
-

-Fri Sep 14 18:20:06 UTC 2012 - vu...@opensuse.org
-
-- Update to version 0.107:
-  + Try harder to look up the right localization
-  + Introduce a polkit.Result enumeration for authorization rules
-  + pkexec: add support for argv1 annotation and mention
-shebang-wrappers
-  + doc: update guidance on situations where there is no polkit
-authority
-- Changes from version 0.106:
-  + Major change: switch from .pkla files (keyfile-format) to
-.rules files (JavaScript)
-  + Nuke polkitbackend library, localauthority backend and
-extension system
-  + Run polkitd as an unprivileged user
-  + Add a systemd .service file
-  + Several other code changes.
-  + Updated documentation.
-- Changes from version 0.105:
-  + Add pkttyagent(1) helper
-  + Make it possible to influence agent registration with an a{sv}
-parameter
-  + Several other code changes.
-- Add pkgconfig(mozjs185) BuildRequires: new dependency for the
-  authority backend.
-- Rebase polkit-no-wheel-group.patch: the admin configuration is
-  now in a .rules file.
-- Rebase polkit-suid_flags.patch.
-- Explicitly pass --enable-libsystemd-login or
-  --disable-libsystemd-login, depending on whether we build systemd
-  support.
-- Add a %pre script to create the polkitd group and user, as
-  polkitd now run as an unprivileged user.
-


Old:

  polkit-0.107.tar.gz

New:

  polkit-0.104.tar.gz



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.2EM750/_old  2012-09-27 09:06:52.0 +0200
+++ /var/tmp/diff_new_pack.2EM750/_new  2012-09-27 09:06:52.0 +0200
@@ -22,11 +22,11 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.107
+Version:0.104
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
+Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
@@ -36,7 +36,7 @@
 BuildRequires:  autoconf
 # needed for patch1
 BuildRequires:  automake
-BuildRequires:  glib2-devel = 2.30.0
+BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
 # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
@@ -49,7 +49,6 @@
 %if 0%{?with_systemd}
 BuildRequires:  systemd-devel
 %endif
-BuildRequires:  pkgconfig(mozjs185)
 PreReq: permissions
 Requires:   ConsoleKit
 Requires:   dbus-1
@@ -127,29 +126,22 @@
   --disable-static \
   --enable-introspection \
   --enable-examples \
-%if 0%{?with_systemd}
-  --enable-libsystemd-login \
-%else
-  --disable-libsystemd-login \
-%endif
-  --libexecdir=%{_libexecdir}/polkit-1
+  --libexecdir=%{_prefix}/lib/polkit-1
 make %{?_smp_mflags}
 
 %install
-%make_install
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
-# create $HOME for polkit user
-install -d %{buildroot}%{_localstatedir}/lib/polkit
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
+# For some reason, smart parts of the build are _sometimes_
+# not smart enough to handle a 0700 directory. We set that back to
+# the proper original value in the %file list
+chmod 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/polkit-1
 %find_lang polkit-1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
-getent group polkitd  /dev/null || groupadd -r polkitd
-getent passwd polkitd  /dev/null || useradd -r -g polkitd -d 
%{_localstatedir}/lib/polkit -s /sbin/nologin -c 

commit polkit for openSUSE:Factory

2012-09-26 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-09-26 16:26:57

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-09-25 
14:28:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-09-26 
16:27:05.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 25 09:05:02 UTC 2012 - vu...@opensuse.org
+
+- Use %{_localstatedir}/lib/polkit for $HOME of polkit user,
+  instead of %{_libexecdir}/polkit-1. The directory is manually
+  created in %install.
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.gaBqze/_old  2012-09-26 16:27:06.0 +0200
+++ /var/tmp/diff_new_pack.gaBqze/_new  2012-09-26 16:27:06.0 +0200
@@ -138,6 +138,8 @@
 %install
 %make_install
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
+# create $HOME for polkit user
+install -d %{buildroot}%{_localstatedir}/lib/polkit
 %find_lang polkit-1
 
 %clean
@@ -145,7 +147,7 @@
 
 %pre
 getent group polkitd  /dev/null || groupadd -r polkitd
-getent passwd polkitd  /dev/null || useradd -r -g polkitd -d 
%{_libexecdir}/polkit-1 -s /sbin/nologin -c User for polkitd polkitd
+getent passwd polkitd  /dev/null || useradd -r -g polkitd -d 
%{_localstatedir}/lib/polkit -s /sbin/nologin -c User for polkitd polkitd
 exit 0
 
 %post
@@ -200,6 +202,8 @@
 %dir %{_libexecdir}/polkit-1
 %{_libexecdir}/polkit-1/polkitd
 %verify(not mode) %attr(4755,root,root) 
%{_prefix}/lib/polkit-1/polkit-agent-helper-1
+# $HOME for polkit user
+%dir %{_localstatedir}/lib/polkit
 
 %files devel
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-09-25 14:28:26

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-08-26 
11:33:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-09-25 
14:28:27.0 +0200
@@ -1,0 +2,35 @@
+Fri Sep 14 18:20:06 UTC 2012 - vu...@opensuse.org
+
+- Update to version 0.107:
+  + Try harder to look up the right localization
+  + Introduce a polkit.Result enumeration for authorization rules
+  + pkexec: add support for argv1 annotation and mention
+shebang-wrappers
+  + doc: update guidance on situations where there is no polkit
+authority
+- Changes from version 0.106:
+  + Major change: switch from .pkla files (keyfile-format) to
+.rules files (JavaScript)
+  + Nuke polkitbackend library, localauthority backend and
+extension system
+  + Run polkitd as an unprivileged user
+  + Add a systemd .service file
+  + Several other code changes.
+  + Updated documentation.
+- Changes from version 0.105:
+  + Add pkttyagent(1) helper
+  + Make it possible to influence agent registration with an a{sv}
+parameter
+  + Several other code changes.
+- Add pkgconfig(mozjs185) BuildRequires: new dependency for the
+  authority backend.
+- Rebase polkit-no-wheel-group.patch: the admin configuration is
+  now in a .rules file.
+- Rebase polkit-suid_flags.patch.
+- Explicitly pass --enable-libsystemd-login or
+  --disable-libsystemd-login, depending on whether we build systemd
+  support.
+- Add a %pre script to create the polkitd group and user, as
+  polkitd now run as an unprivileged user.
+
+---

Old:

  polkit-0.104.tar.gz

New:

  polkit-0.107.tar.gz



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.O4ewnU/_old  2012-09-25 14:28:28.0 +0200
+++ /var/tmp/diff_new_pack.O4ewnU/_new  2012-09-25 14:28:28.0 +0200
@@ -22,11 +22,11 @@
 Summary:PolicyKit Authorization Framework
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:0.104
+Version:0.107
 Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
@@ -36,7 +36,7 @@
 BuildRequires:  autoconf
 # needed for patch1
 BuildRequires:  automake
-BuildRequires:  glib2-devel = 2.25.12
+BuildRequires:  glib2-devel = 2.30.0
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
 # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
@@ -49,6 +49,7 @@
 %if 0%{?with_systemd}
 BuildRequires:  systemd-devel
 %endif
+BuildRequires:  pkgconfig(mozjs185)
 PreReq: permissions
 Requires:   ConsoleKit
 Requires:   dbus-1
@@ -126,22 +127,27 @@
   --disable-static \
   --enable-introspection \
   --enable-examples \
-  --libexecdir=%{_prefix}/lib/polkit-1
+%if 0%{?with_systemd}
+  --enable-libsystemd-login \
+%else
+  --disable-libsystemd-login \
+%endif
+  --libexecdir=%{_libexecdir}/polkit-1
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
-# For some reason, smart parts of the build are _sometimes_
-# not smart enough to handle a 0700 directory. We set that back to
-# the proper original value in the %file list
-chmod 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/polkit-1
+%make_install
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
 %find_lang polkit-1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+getent group polkitd  /dev/null || groupadd -r polkitd
+getent passwd polkitd  /dev/null || useradd -r -g polkitd -d 
%{_libexecdir}/polkit-1 -s /sbin/nologin -c User for polkitd polkitd
+exit 0
+
 %post
 %set_permissions %{_bindir}/pkexec
 %set_permissions %{_prefix}/lib/polkit-1/polkit-agent-helper-1
@@ -156,7 +162,8 @@
 
 %files -n libpolkit0
 %defattr(-,root,root,-)
-%{_libdir}/lib*.so.*
+%{_libdir}/libpolkit-agent-1.so.*
+%{_libdir}/libpolkit-gobject-1.so.*
 
 %files -n typelib-1_0-Polkit-1_0
 %defattr(-,root,root,-)
@@ 

commit polkit for openSUSE:Factory

2012-08-26 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-08-26 11:33:45

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-06-19 
22:43:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-08-26 
11:33:46.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug 22 15:52:30 UTC 2012 - meiss...@suse.com
+
+- also use -z now for binary hardening
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.XeoUYk/_old  2012-08-26 11:33:48.0 +0200
+++ /var/tmp/diff_new_pack.XeoUYk/_new  2012-08-26 11:33:48.0 +0200
@@ -118,7 +118,7 @@
 # needed for patch1
 autoreconf -fi
 export SUID_CFLAGS=-fPIE
-export SUID_LDFLAGS=-pie
+export SUID_LDFLAGS=-z now -pie
 %configure \
   --with-os-type=suse \
   --enable-gtk-doc \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2012-06-19 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-06-19 22:43:40

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-02-25 
07:31:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-06-19 
22:43:43.0 +0200
@@ -1,0 +2,7 @@
+Wed Jun 13 20:54:29 CEST 2012 - vu...@opensuse.org
+
+- Package /etc/polkit-1/localauthority and its subdirectories. They
+  were forgotten because they were empty, but people might need
+  them to put .pkla files.
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.BuUF1j/_old  2012-06-19 22:43:46.0 +0200
+++ /var/tmp/diff_new_pack.BuUF1j/_new  2012-06-19 22:43:46.0 +0200
@@ -69,8 +69,8 @@
 Group:  Development/Libraries/C and C++
 Requires:   %name = %{version}-%{release}
 Requires:   libpolkit0 = %{version}
-Requires:   typelib-1_0-Polkit-1_0 = %{version}
 Requires:   pkgconfig
+Requires:   typelib-1_0-Polkit-1_0 = %{version}
 
 %description devel
 Development files for PolicyKit Authorization Framework.
@@ -187,6 +187,12 @@
 %dir %{_sysconfdir}/polkit-1
 %dir %{_sysconfdir}/polkit-1/nullbackend.conf.d
 %config(noreplace) 
%{_sysconfdir}/polkit-1/nullbackend.conf.d/50-nullbackend.conf
+%attr(0700,root,root) %dir %{_sysconfdir}/polkit-1/localauthority
+%dir %{_sysconfdir}/polkit-1/localauthority/10-vendor.d
+%dir %{_sysconfdir}/polkit-1/localauthority/20-org.d
+%dir %{_sysconfdir}/polkit-1/localauthority/30-site.d
+%dir %{_sysconfdir}/polkit-1/localauthority/50-local.d
+%dir %{_sysconfdir}/polkit-1/localauthority/90-mandatory.d
 %dir %{_sysconfdir}/polkit-1/localauthority.conf.d
 %config(noreplace) 
%{_sysconfdir}/polkit-1/localauthority.conf.d/50-localauthority.conf
 %{_bindir}/pkaction

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2012-02-24 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-02-25 07:31:13

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-02-15 
16:17:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-02-25 
07:31:15.0 +0100
@@ -1,0 +2,14 @@
+Fri Feb 24 12:11:04 UTC 2012 - vu...@opensuse.org
+
+- Change the way we pass -fpie/-pie:
+  + Drop polkit-pie.patch: this was not upstreamable.
+  + Add polkit-suid_flags.patch: respect SUID_CFLAGS/SUID_LDFLAGS
+when building the suid binaries (pkexec and
+polkit-agent-helper-1).
+  + Add autoconf, automake and libtool BuildRequires, and call
+autoreconf, for the new patch.
+  + Set SUID_CFLAGS to -fPIE and SUID_LDFLAGS to -pie in %build.
+  + Pass --with-pic to configure instead of changing CFLAGS to
+contain -fPIC.
+
+---

Old:

  polkit-pie.patch

New:

  polkit-suid_flags.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.tspCMz/_old  2012-02-25 07:31:16.0 +0100
+++ /var/tmp/diff_new_pack.tspCMz/_new  2012-02-25 07:31:16.0 +0100
@@ -30,7 +30,12 @@
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
-Patch1: polkit-pie.patch
+# PATCH-FIX-UPSTREAM polkit-suid_flags.patch bnc#743145 fdo#46569 
vu...@opensuse.org -- Respect SUID_CFLAGS/SUID_LDFLAGS
+Patch1: polkit-suid_flags.patch
+# needed for patch1
+BuildRequires:  autoconf
+# needed for patch1
+BuildRequires:  automake
 BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
@@ -38,6 +43,8 @@
 #!BuildIgnore:  ruby
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
+# needed for patch1
+BuildRequires:  libtool
 BuildRequires:  pam-devel
 %if 0%{?with_systemd}
 BuildRequires:  systemd-devel
@@ -108,14 +115,19 @@
 
 %build
 export V=1
+# needed for patch1
+autoreconf -fi
+export SUID_CFLAGS=-fPIE
+export SUID_LDFLAGS=-pie
 %configure \
   --with-os-type=suse \
   --enable-gtk-doc \
+  --with-pic \
   --disable-static \
   --enable-introspection \
   --enable-examples \
   --libexecdir=%{_prefix}/lib/polkit-1
-make CFLAGS=-fPIC %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT

++ polkit-suid_flags.patch ++
commit 1d2f40178c8b3ba39c25de25530c998c3591fab8
Author: Vincent Untz vu...@gnome.org
Date:   Fri Feb 24 13:13:17 2012 +0100

polkitagent, pkexec: Respect SUID_CFLAGS and SUID_LDFLAGS

This is a good way for distributors to use -fPIE/-pie.

diff --git a/configure.ac b/configure.ac
index f4a0c41..42da974 100644
--- a/configure.ac
+++ b/configure.ac
@@ -429,6 +429,11 @@ AC_SUBST([GETTEXT_PACKAGE])
 AM_GLIB_GNU_GETTEXT
 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],[$GETTEXT_PACKAGE],[gettext domain])
 
+AC_ARG_VAR([SUID_CFLAGS],
+   [CFLAGS used for binaries which are usually with the suid bit])
+AC_ARG_VAR([SUID_LDFLAGS],
+   [LDFLAGS used for binaries which are usually with the suid bit])
+
 AC_OUTPUT([
 Makefile
 actions/Makefile
diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
index e8c9fb1..f0f8419 100644
--- a/src/polkitagent/Makefile.am
+++ b/src/polkitagent/Makefile.am
@@ -92,6 +92,7 @@ endif
 
 polkit_agent_helper_1_CFLAGS  =\
 -D_POLKIT_COMPILATION  
\
+   $(SUID_CFLAGS)  \
$(GLIB_CFLAGS)  \
$(NULL)
 
@@ -101,6 +102,11 @@ polkit_agent_helper_1_LDADD =  
\
$(top_builddir)/src/polkit/libpolkit-gobject-1.la   \
$(NULL)
 
+polkit_agent_helper_1_LDFLAGS =\
+   $(SUID_LDFLAGS) \
+   $(AM_LDFLAGS)   \
+   $(NULL)
+
 if HAVE_INTROSPECTION
 girdir = $(INTROSPECTION_GIRDIR)
 gir_DATA = PolkitAgent-1.0.gir
diff --git a/src/programs/Makefile.am b/src/programs/Makefile.am
index c260dee..6aac06b 100644
--- a/src/programs/Makefile.am
+++ b/src/programs/Makefile.am
@@ -24,6 +24,7 @@ bin_PROGRAMS = pkexec pkcheck pkaction
 

commit polkit for openSUSE:Factory

2012-02-15 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-02-15 16:17:36

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-01-11 
15:38:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-02-15 
16:17:46.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb  7 14:39:43 UTC 2012 - dlova...@suse.com
+
+- fixed bnc#743145 - added -fpie/-pie flags to compilation and linking of 
polkit-agent-helper and pkexec
+
+---

New:

  polkit-pie.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.1sId5c/_old  2012-02-15 16:17:47.0 +0100
+++ /var/tmp/diff_new_pack.1sId5c/_new  2012-02-15 16:17:47.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define with_systemd 0
 
 Name:   polkit
@@ -29,6 +30,7 @@
 Source99:   baselibs.conf
 # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
 Patch0: polkit-no-wheel-group.patch
+Patch1: polkit-pie.patch
 BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
@@ -102,6 +104,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 export V=1
@@ -112,7 +115,7 @@
   --enable-introspection \
   --enable-examples \
   --libexecdir=%{_prefix}/lib/polkit-1
-make %{?_smp_mflags}
+make CFLAGS=-fPIC %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT

++ polkit-pie.patch ++
Index: polkit-0.104/src/programs/Makefile.am
===
--- polkit-0.104.orig/src/programs/Makefile.am
+++ polkit-0.104/src/programs/Makefile.am
@@ -26,12 +26,14 @@ pkexec_SOURCES = pkexec.c
 pkexec_CFLAGS =\
$(GLIB_CFLAGS)  \
$(AUTH_LIBS)\
+   -fPIE \
$(NULL)
 
 pkexec_LDADD = \
$(GLIB_LIBS)\
$(top_builddir)/src/polkit/libpolkit-gobject-1.la   \
$(top_builddir)/src/polkitagent/libpolkit-agent-1.la\
+   -pie \
$(NULL)
 
 # 

Index: polkit-0.104/src/polkitagent/Makefile.am
===
--- polkit-0.104.orig/src/polkitagent/Makefile.am
+++ polkit-0.104/src/polkitagent/Makefile.am
@@ -64,6 +64,7 @@ libpolkit_agent_1_la_SOURCES =
 $(NULL)
 
 libpolkit_agent_1_la_CFLAGS =  \
+   -fpie \
 -D_POLKIT_COMPILATION  
\
-D_POLKIT_AGENT_COMPILATION \
 $(GLIB_CFLAGS) \
@@ -75,7 +76,7 @@ libpolkit_agent_1_la_LIBADD =
$(EXPAT_LIBS)   \
 $(NULL)
 
-libpolkit_agent_1_la_LDFLAGS = -export-symbols-regex '(^polkit_.*)'
+libpolkit_agent_1_la_LDFLAGS = -pie -export-symbols-regex '(^polkit_.*)'
 
 libexec_PROGRAMS = polkit-agent-helper-1
 
@@ -93,7 +94,10 @@ endif
 polkit_agent_helper_1_CFLAGS  =\
 -D_POLKIT_COMPILATION  
\
$(GLIB_CFLAGS)  \
+   -fpie \
$(NULL)
+   
+polkit_agent_helper_1_LDFLAGS = -pie
 
 polkit_agent_helper_1_LDADD =  \
$(AUTH_LIBS)\
Index: polkit-0.104/src/programs/Makefile.in
===
--- polkit-0.104.orig/src/programs/Makefile.in
+++ polkit-0.104/src/programs/Makefile.in
@@ -76,7 +76,7 @@ pkexec_DEPENDENCIES = $(am__DEPENDENCIES
$(am__DEPENDENCIES_1)
 pkexec_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(pkexec_CFLAGS) $(CFLAGS) \
-   $(AM_LDFLAGS) $(LDFLAGS) -o $@
+   $(AM_LDFLAGS) $(pkexec_LDFLAGS) $(LDFLAGS) -o $@
 DEFAULT_INCLUDES = 

commit polkit for openSUSE:Factory

2012-01-11 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-01-11 15:37:44

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2012-01-06 
11:46:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-01-11 
15:38:47.0 +0100
@@ -1,0 +2,11 @@
+Mon Jan  9 09:33:30 UTC 2012 - vu...@opensuse.org
+
+- Split typelib file into typelib-1_0-Polkit-1_0 subpackage.
+- Add typelib-1_0-Polkit-1_0 Requires to devel subpackage.
+- Add explicit libpolkit0 Requires to devel subpackage: it was
+  missing before.
+- Remove explicit glib2-devel Requires from devel subpackage: it
+  will automatically be added the pkgconfig() way.
+- Improve summary of libpolkit0 subpackage.
+
+---



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.ScXTb9/_old  2012-01-11 15:38:48.0 +0100
+++ /var/tmp/diff_new_pack.ScXTb9/_new  2012-01-11 15:38:48.0 +0100
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %define with_systemd 0
 
 Name:   polkit
@@ -60,8 +59,9 @@
 Summary:Development files for PolicyKit
 Group:  Development/Libraries/C and C++
 Requires:   %name = %{version}-%{release}
+Requires:   libpolkit0 = %{version}
+Requires:   typelib-1_0-Polkit-1_0 = %{version}
 Requires:   pkgconfig
-Requires:   glib2-devel
 
 %description devel
 Development files for PolicyKit Authorization Framework.
@@ -77,7 +77,7 @@
 Development documentation for PolicyKit Authorization Framework.
 
 %package -n libpolkit0
-Summary:Libraries required for polkit
+Summary:PolicyKit Authorization Framework -- Libraries
 Group:  System/Libraries
 Requires:   %{name} = %{version}
 
@@ -88,6 +88,17 @@
 
 This package contains the libraries only.
 
+%package -n typelib-1_0-Polkit-1_0
+Summary:PolicyKit Authorization Framework -- Introspection bindings
+Group:  System/Libraries
+
+%description -n typelib-1_0-Polkit-1_0
+PolicyKit is a toolkit for defining and handling authorizations.
+It is used for allowing unprivileged processes to speak to privileged
+processes.
+
+This package provides the GObject Introspection bindings for PolicyKit.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -131,6 +142,9 @@
 %files -n libpolkit0
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so.*
+
+%files -n typelib-1_0-Polkit-1_0
+%defattr(-,root,root,-)
 %{_libdir}/girepository-1.0/Polkit-1.0.typelib
 %{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2012-01-06 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2012-01-06 11:46:33

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2011-11-05 
11:53:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2012-01-06 
11:46:36.0 +0100
@@ -1,0 +2,32 @@
+Wed Jan  4 22:03:54 UTC 2012 - crrodrig...@opensuse.org
+
+- A quick test reveals that the systemd backend does not 
+  integrate very well with packages yet, revert.
+
+---
+Wed Jan  4 21:02:38 UTC 2012 - crrodrig...@opensuse.org
+
+- Previous update missed systemd-devel in buildrequires 
+  without it no systemd support is built
+
+---
+Wed Jan  4 13:52:09 UTC 2012 - vu...@opensuse.org
+
+- Update to version 0.104:
+  + Add optional systemd support
+  + Add netgroup support (fdo#43610)
+  + Add unit tests (fdo#43608)
+- Changes from version 0.103:
+  + Mistype in DBus object: PoliycKit1 - PolicyKit1
+  + Add support for the org.freedesktop.policykit.imply annotation
+  + Add --no-debug option and use this for D-Bus activation
+  + Add org.freedesktop.policykit.owner annotation (fdo#41025)
+  + Default to AdminIdentities=unix-group:wheel for local authority
+- Drop patches that were taken from upstream:
+  + 0001-Add-support-for-the-org.freedesktop.policykit.imply-a.diff
+  + 0002-Add-no-debug-option-and-use-this-for-D-Bus-activation.diff
+  + 0003-Bug-41025-Add-org.freedesktop.policykit.owner-annotat.diff
+- Add polkit-no-wheel-group.patch: do not allow the wheel group as
+  admin identity, and revert to only accept the root user for this.
+
+---

Old:

  0001-Add-support-for-the-org.freedesktop.policykit.imply-a.diff
  0002-Add-no-debug-option-and-use-this-for-D-Bus-activation.diff
  0003-Bug-41025-Add-org.freedesktop.policykit.owner-annotat.diff
  polkit-0.102.tar.gz

New:

  polkit-0.104.tar.gz
  polkit-no-wheel-group.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.UZah5N/_old  2012-01-06 11:46:37.0 +0100
+++ /var/tmp/diff_new_pack.UZah5N/_new  2012-01-06 11:46:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,20 @@
 #
 
 
+%define with_systemd 0
 
 Name:   polkit
 Summary:PolicyKit Authorization Framework
-Version:0.102
-Release:1
 License:LGPL-2.1+
+Group:  System/Libraries
+Version:0.104
+Release:0
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Group:  System/Libraries
 Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf
-# PATCH-FIX-UPSTREAM Add support for the org.freedesktop.policykit.imply 
annotation
-Patch0: 0001-Add-support-for-the-org.freedesktop.policykit.imply-a.diff
-# PATCH-FIX-UPSTREAM Add --no-debug option and use this for D-Bus activation
-Patch1: 0002-Add-no-debug-option-and-use-this-for-D-Bus-activation.diff
-# PATCH-FIX-UPSTREAM allow unprivileged users to check authorizations
-Patch2: 0003-Bug-41025-Add-org.freedesktop.policykit.owner-annotat.diff
+# PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In 
openSUSE, there's no special meaning for the wheel group, so we shouldn't allow 
it to be admin
+Patch0: polkit-no-wheel-group.patch
 BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
@@ -41,6 +38,9 @@
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
 BuildRequires:  pam-devel
+%if 0%{?with_systemd}
+BuildRequires:  systemd-devel
+%endif
 PreReq: permissions
 Requires:   ConsoleKit
 Requires:   dbus-1
@@ -57,7 +57,6 @@
 processes.
 
 %package devel
-License:LGPL-2.1+
 Summary:Development files for PolicyKit
 Group:  Development/Libraries/C and C++
 Requires:   %name = %{version}-%{release}
@@ -68,7 +67,6 @@
 Development files for PolicyKit Authorization Framework.
 
 %package doc
-License:LGPL-2.1+
 Summary:Development 

commit polkit for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2011-12-06 18:52:22

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:




Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.YLX00I/_old  2011-12-06 19:25:50.0 +0100
+++ /var/tmp/diff_new_pack.YLX00I/_new  2011-12-06 19:25:50.0 +0100
@@ -21,7 +21,7 @@
 Summary:PolicyKit Authorization Framework
 Version:0.102
 Release:1
-License:LGPLv2.1+
+License:LGPL-2.1+
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Group:  System/Libraries
@@ -57,7 +57,7 @@
 processes.
 
 %package devel
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Development files for PolicyKit
 Group:  Development/Libraries/C and C++
 Requires:   %name = %{version}-%{release}
@@ -68,7 +68,7 @@
 Development files for PolicyKit Authorization Framework.
 
 %package doc
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Development documentation for PolicyKit
 Group:  Development/Libraries/C and C++
 %if 0%{?suse_version} = 1120
@@ -79,7 +79,7 @@
 Development documentation for PolicyKit Authorization Framework.
 
 %package -n libpolkit0
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Libraries required for polkit
 Group:  System/Libraries
 Requires:   %{name} = %{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2011-11-05 Thread h_root
Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2011-11-05 11:22:36

Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and  /work/SRC/openSUSE:Factory/.polkit.new (New)


Package is polkit, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/polkit/polkit.changes2011-09-23 
12:41:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes   2011-11-05 
11:53:57.0 +0100
@@ -1,0 +2,7 @@
+Wed Nov  2 10:30:03 UTC 2011 - lnus...@suse.de
+
+- pick some patches from git to add support for
+  org.freedesktop.policykit.imply, disable debug spam and allow
+  unprivileged users to query authorizations (bnc#698250)
+
+---

New:

  0001-Add-support-for-the-org.freedesktop.policykit.imply-a.diff
  0002-Add-no-debug-option-and-use-this-for-D-Bus-activation.diff
  0003-Bug-41025-Add-org.freedesktop.policykit.owner-annotat.diff



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.EcHHed/_old  2011-11-05 11:57:28.0 +0100
+++ /var/tmp/diff_new_pack.EcHHed/_new  2011-11-05 11:57:28.0 +0100
@@ -27,6 +27,12 @@
 Group:  System/Libraries
 Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf
+# PATCH-FIX-UPSTREAM Add support for the org.freedesktop.policykit.imply 
annotation
+Patch0: 0001-Add-support-for-the-org.freedesktop.policykit.imply-a.diff
+# PATCH-FIX-UPSTREAM Add --no-debug option and use this for D-Bus activation
+Patch1: 0002-Add-no-debug-option-and-use-this-for-D-Bus-activation.diff
+# PATCH-FIX-UPSTREAM allow unprivileged users to check authorizations
+Patch2: 0003-Bug-41025-Add-org.freedesktop.policykit.owner-annotat.diff
 BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
@@ -87,6 +93,9 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 export V=1

++ 0001-Add-support-for-the-org.freedesktop.policykit.imply-a.diff ++
From 6bbd5189e967e8ddc36100bf22cd12bcb152ab5f Mon Sep 17 00:00:00 2001
From: David Zeuthen dav...@redhat.com
Date: Tue, 20 Sep 2011 14:13:12 -0400
Subject: [PATCH 1/3] Add support for the org.freedesktop.policykit.imply 
annotation

For example, GNOME control center can now defined e.g.

  action id=org.zee.example.meta
descriptionMeta Action/description
messageExample of a meta action, blabla/message
defaults
  allow_anyno/allow_any
  allow_inactiveno/allow_inactive
  allow_activeauth_admin_keep/allow_active
/defaults
annotate 
key=org.freedesktop.policykit.implyorg.freedesktop.udisks2.ata-smart-selftest
 org.freedesktop.udisks2.encrypted-lock-others 
org.freedesktop.udisks2.filesystem-unmount-others/annotate
  /action

and set up a single GtkLockButton for a PolkitPermission for action id
org.zee.example.meta.

When unlocked the given subject will now be authorized for the actions
mentioned in the annotation.

Example test program:

int
main (int argc, char *argv[])
{
  PolkitSubject *subject;
  GtkWidget *window;
  GtkWidget *table;
  GMainLoop *loop;
  guint n;

  gtk_init (argc, argv);

  subject = polkit_unix_process_new (getpid ());

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);

  table = gtk_table_new (1, 2, FALSE);
  for (n = 1; n  argc; n++)
{
  const gchar *action_id = argv[n];
  GPermission *permission;
  GtkWidget *label;
  GtkWidget *lock_button;
  GError *error = NULL;

  label = gtk_label_new (action_id);

  permission = polkit_permission_new_sync (action_id, subject, NULL, 
error);
  if (permission == NULL)
{
  g_error (Error constructing permission for action_id %s: %s (%s, 
%d),
   action_id, error-message, g_quark_to_string 
(error-domain), error-code);
  goto out;
}
  lock_button = gtk_lock_button_new (permission);
  g_object_unref (permission);

  gtk_table_attach (GTK_TABLE (table), label,   0, 1, n - 1, n, 
GTK_FILL, GTK_FILL, 0, 0);
  gtk_table_attach (GTK_TABLE (table), lock_button, 1, 2, n - 1, n, 
GTK_FILL, GTK_FILL, 0, 0);
}
  gtk_container_add (GTK_CONTAINER (window), table);

  gtk_widget_show_all (window);

  loop = g_main_loop_new (NULL, FALSE);
  g_main_loop_run (loop);

 out:
  ;
}

Compile with:

 gcc -o showpolkit showpolkit.c `pkg-config --cflags --libs polkit-gobject-1 
gtk+-3.0` -g -O0

Run with:

 ./showpolkit org.freedesktop.udisks2.ata-smart-selftest 
org.freedesktop.udisks2.encrypted-lock-others 
org.freedesktop.udisks2.filesystem-unmount-others org.zee.example.meta

Signed-off-by: David Zeuthen 

commit polkit for openSUSE:Factory

2011-09-05 Thread h_root

Hello community,

here is the log from the commit of package polkit for openSUSE:Factory
checked in at Mon Sep 5 16:55:46 CEST 2011.




--- polkit/polkit.changes   2011-08-10 14:29:29.0 +0200
+++ polkit/polkit.changes   2011-09-02 13:01:46.0 +0200
@@ -1,0 +2,27 @@
+Fri Sep  2 10:42:54 UTC 2011 - vu...@opensuse.org
+
+- Update to version 0.102:
+  + pkexec:
+- fdo#38769: Support running X11 apps
+- Avoid time-of-check-to-time-of-use problems with parent
+  process
+  + Fix backend crash if a .policy file does not specify message
+  + Fix multi-line pam prompt handling
+  + Don't show diagnostic messages intended for the administrator
+to the end user
+  + PolkitUnixProcess:
+- Clarify that the real uid is returned, not the effective one
+- Record the uid of the process
+  + Backend: Use polkit_unix_process_get_uid() to get the owner of
+a process
+  + Introspection fixes:
+- Add --c-include to the gir files
+- Specify exported pkg-config files in GIRs
+  + Build fix.
+- Drop polkit-CVE-2011-1485-1.patch, polkit-CVE-2011-1485-2.patch,
+  polkit-CVE-2011-1485-3.patch, polkit-CVE-2011-1485-4.patch: fixed
+  upstream.
+- Remove service usage, following the new consensus on Factory
+  packaging.
+
+---

calling whatdependson for head-i586


Old:

  _service
  polkit-0.101.tar.bz2
  polkit-CVE-2011-1485-1.patch
  polkit-CVE-2011-1485-2.patch
  polkit-CVE-2011-1485-3.patch
  polkit-CVE-2011-1485-4.patch

New:

  polkit-0.102.tar.gz



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.jVoMEP/_old  2011-09-05 16:45:47.0 +0200
+++ /var/tmp/diff_new_pack.jVoMEP/_new  2011-09-05 16:45:47.0 +0200
@@ -19,13 +19,13 @@
 
 Name:   polkit
 Summary:PolicyKit Authorization Framework
-Version:0.101
-Release:7
+Version:0.102
+Release:1
 License:LGPLv2.1+
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Group:  System/Libraries
-Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
+Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
 Source99:   baselibs.conf
 BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
@@ -40,11 +40,6 @@
 Requires:   dbus-1
 Requires:   libpolkit0 = %{version}-%{release}
 
-Patch10:polkit-CVE-2011-1485-1.patch
-Patch11:polkit-CVE-2011-1485-2.patch
-Patch12:polkit-CVE-2011-1485-3.patch
-Patch13:polkit-CVE-2011-1485-4.patch
-
 # Upstream First - Policy:
 # Never add any patches to this package without the upstream commit id
 # in the patch. Any patches added here without a very good reason to make
@@ -92,10 +87,6 @@
 
 %prep
 %setup -q
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
 
 %build
 export V=1






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2011-08-15 Thread h_root

Hello community,

here is the log from the commit of package polkit for openSUSE:Factory
checked in at Mon Aug 15 09:49:44 CEST 2011.




--- polkit/polkit.changes   2011-05-05 19:36:39.0 +0200
+++ /mounts/work_src_done/STABLE/polkit/polkit.changes  2011-08-10 
14:29:29.0 +0200
@@ -1,0 +2,8 @@
+Wed Aug 10 12:20:39 UTC 2011 - dims...@opensuse.org
+
+- BuildIgnore ruby, which is being dragged in via indirect
+  dependencies by gtk-doc for one of the helpers, which we do not
+  need during the build of polkit. Not dragging ruby in resolves a
+  build-cycle.
+
+---

calling whatdependson for head-i586


Old:

  _service:recompress:download_url:polkit-0.101.tar.bz2



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.Eu8O5j/_old  2011-08-15 09:42:07.0 +0200
+++ /var/tmp/diff_new_pack.Eu8O5j/_new  2011-08-15 09:42:07.0 +0200
@@ -20,7 +20,7 @@
 Name:   polkit
 Summary:PolicyKit Authorization Framework
 Version:0.101
-Release:5
+Release:7
 License:LGPLv2.1+
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -30,6 +30,8 @@
 BuildRequires:  glib2-devel = 2.25.12
 BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
+# gtk-doc drags indirectyly ruby in for one of the helpers. This in turn 
causes a build cycle.
+#!BuildIgnore:  ruby
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
 BuildRequires:  pam-devel






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2011-05-09 Thread h_root

Hello community,

here is the log from the commit of package polkit for openSUSE:Factory
checked in at Mon May 9 09:01:31 CEST 2011.




--- polkit/polkit.changes   2011-04-26 21:20:59.0 +0200
+++ /mounts/work_src_done/STABLE/polkit/polkit.changes  2011-05-05 
19:36:39.0 +0200
@@ -1,0 +2,7 @@
+Thu May  5 19:35:05 CEST 2011 - vu...@opensuse.org
+
+- Use %set_permissions instead of deprecated %run_permissions in
+  %post.
+- Add permissions PreReq, which was missing before.
+
+---

calling whatdependson for head-i586




Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.r3F9FP/_old  2011-05-09 08:58:56.0 +0200
+++ /var/tmp/diff_new_pack.r3F9FP/_new  2011-05-09 08:58:56.0 +0200
@@ -20,7 +20,7 @@
 Name:   polkit
 Summary:PolicyKit Authorization Framework
 Version:0.101
-Release:1
+Release:5
 License:LGPLv2.1+
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -33,6 +33,7 @@
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
 BuildRequires:  pam-devel
+PreReq: permissions
 Requires:   ConsoleKit
 Requires:   dbus-1
 Requires:   libpolkit0 = %{version}-%{release}
@@ -119,7 +120,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%run_permissions
+%set_permissions %{_bindir}/pkexec
+%set_permissions %{_prefix}/lib/polkit-1/polkit-agent-helper-1
+
 %verifyscript
 %verify_permissions -e %{_bindir}/pkexec
 %verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit polkit for openSUSE:Factory

2011-04-27 Thread h_root

Hello community,

here is the log from the commit of package polkit for openSUSE:Factory
checked in at Wed Apr 27 11:16:39 CEST 2011.




--- polkit/polkit.changes   2010-11-10 16:04:42.0 +0100
+++ /mounts/work_src_done/STABLE/polkit/polkit.changes  2011-04-26 
21:20:59.0 +0200
@@ -1,0 +2,22 @@
+Tue Apr 26 21:19:32 CEST 2011 - kay.siev...@novell.com
+
+- use LGPLv2.1+ in spec file
+
+---
+Tue Apr 26 18:24:01 CEST 2011 - kay.siev...@novell.com
+
+- stat race condition (CVE-2011-1485) (bnc#688788)
+
+---
+Wed Apr  6 15:40:51 UTC 2011 - fcro...@novell.com
+
+- Remove PolkitAgent-1.0.typelib from main package, it is in
+  library package.
+
+---
+Wed Mar  9 13:54:11 UTC 2011 - co...@novell.com
+
+- update to 0.101: 
+  * tons of bug fixes, see NEWS
+
+---

calling whatdependson for head-i586


Old:

  polkit-0.99.tar.bz2

New:

  _service
  _service:recompress:download_url:polkit-0.101.tar.bz2
  polkit-0.101.tar.bz2
  polkit-CVE-2011-1485-1.patch
  polkit-CVE-2011-1485-2.patch
  polkit-CVE-2011-1485-3.patch
  polkit-CVE-2011-1485-4.patch



Other differences:
--
++ polkit.spec ++
--- /var/tmp/diff_new_pack.WlIaey/_old  2011-04-27 11:15:52.0 +0200
+++ /var/tmp/diff_new_pack.WlIaey/_new  2011-04-27 11:15:52.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package polkit (Version 0.99)
+# spec file for package polkit
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,16 @@
 
 Name:   polkit
 Summary:PolicyKit Authorization Framework
-Version:0.99
-Release:2
-License:LGPLv2+
+Version:0.101
+Release:1
+License:LGPLv2.1+
 Url:http://www.freedesktop.org/wiki/Software/PolicyKit
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Group:  System/Libraries
 Source0:http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
 Source99:   baselibs.conf
-BuildRequires:  glib2-devel
-BuildRequires:  gobject-introspection-devel
+BuildRequires:  glib2-devel = 2.25.12
+BuildRequires:  gobject-introspection-devel = 0.6.2
 BuildRequires:  gtk-doc
 BuildRequires:  intltool
 BuildRequires:  libexpat-devel
@@ -37,13 +37,23 @@
 Requires:   dbus-1
 Requires:   libpolkit0 = %{version}-%{release}
 
+Patch10:polkit-CVE-2011-1485-1.patch
+Patch11:polkit-CVE-2011-1485-2.patch
+Patch12:polkit-CVE-2011-1485-3.patch
+Patch13:polkit-CVE-2011-1485-4.patch
+
+# Upstream First - Policy:
+# Never add any patches to this package without the upstream commit id
+# in the patch. Any patches added here without a very good reason to make
+# an exception will be silently removed with the next version update.
+
 %description
 PolicyKit is a toolkit for defining and handling authorizations.
 It is used for allowing unprivileged processes to speak to privileged
 processes.
 
 %package devel
-License:LGPLv2+
+License:LGPLv2.1+
 Summary:Development files for PolicyKit
 Group:  Development/Libraries/C and C++
 Requires:   %name = %{version}-%{release}
@@ -54,7 +64,7 @@
 Development files for PolicyKit Authorization Framework.
 
 %package doc
-License:LGPLv2+
+License:LGPLv2.1+
 Summary:Development documentation for PolicyKit
 Group:  Development/Libraries/C and C++
 %if 0%{?suse_version} = 1120
@@ -65,7 +75,7 @@
 Development documentation for PolicyKit Authorization Framework.
 
 %package -n libpolkit0
-License:LGPLv2+
+License:LGPLv2.1+
 Summary:Libraries required for polkit
 Group:  System/Libraries
 Requires:   %{name} = %{version}
@@ -79,6 +89,10 @@
 
 %prep
 %setup -q
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 
 %build
 export V=1
@@ -118,6 +132,7 @@
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so.*
 %{_libdir}/girepository-1.0/Polkit-1.0.typelib
+%{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib
 
 %files -f polkit-1.lang
 %defattr(-,root,root,-)
@@ -164,6 +179,7 @@
 
 %files doc
 %defattr(-,root,root,-)
+%doc NEWS
 %{_datadir}/gtk-doc/html/*
 
 %changelog

++ _service ++
services
  service name=download_url
param name=protocolhttp/param
param name=hosthal.freedesktop.org/param
param name=path/releases/polkit-0.101.tar.gz/param
  /service
  service name=verify_file
param name=file_service:download_url:polkit-0.101.tar.gz/param