polkit: remove
PATCH 1/1 polkit: remove
Previous commits have meant that PolicyKit isn't used by default anymore, so remove this now that it's been integrated into meta-gnome.
Rationales for this move inludes that PolicyKit isn't "core" for embedded systems, and future versions require the SpiderMonkey JavaScript runtime.
Signed-off-by Ross Burton <[email protected]>
--- ...ession-Set-error-if-we-cannot-find-a-sess.patch | 70 -------------------- ...ession-Actually-return-TRUE-if-a-session-.patch | 46 ------------- .../polkit-0.104/obsolete_automake_macros.patch | 23 ------- .../polkit/polkit-0.104/polkit-1_pam.patch | 23 ------- meta/recipes-extended/polkit/polkit-gnome_0.102.bb | 26 -------- meta/recipes-extended/polkit/polkit_0.104.bb | 45 ------------- 6 files changed, 233 deletions(-) delete mode 100644 meta/recipes-extended/polkit/polkit-0.104/0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch delete mode 100644 meta/recipes-extended/polkit/polkit-0.104/0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch delete mode 100644 meta/recipes-extended/polkit/polkit-0.104/obsolete_automake_macros.patch delete mode 100644 meta/recipes-extended/polkit/polkit-0.104/polkit-1_pam.patch delete mode 100644 meta/recipes-extended/polkit/polkit-gnome_0.102.bb delete mode 100644 meta/recipes-extended/polkit/polkit_0.104.bb
meta/recipes-extended/polkit/polkit-0.104/0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch deleted +0 -70
@@ -1,70 +0,0 @@ -From c46d2d13eac240d2a609b2dd8fc617ea18a78bfa Mon Sep 17 00:00:00 2001 -From: David Zeuthen <[email protected]> -Date: Mon, 6 Feb 2012 11:24:53 -0500 -Subject: [PATCH 1/2] PolkitUnixSession: Set error if we cannot find a session for the given pid - -Also, don't treat the integer returned by sd_pid_get_session() as a -boolean because that's just confusing. Also, don't confuse memory -supposed to be freed by g_free() and free(3) with each other. See - - https://bugzilla.redhat.com/show_bug.cgi?id=787222 - -for more details. - -Signed-off-by: David Zeuthen <[email protected]> ---- - -Upstream-Status: Accepted - - src/polkit/polkitunixsession-systemd.c | 21 ++++++++++++++++----- - 1 files changed, 16 insertions(+), 5 deletions(-) - -diff --git a/src/polkit/polkitunixsession-systemd.c b/src/polkit/polkitunixsession-systemd.c -index e7e913f..94a7ee4 100644 ---- a/src/polkit/polkitunixsession-systemd.c -+++ b/src/polkit/polkitunixsession-systemd.c -@@ -23,6 +23,7 @@ - # include "config.h" - #endif - -+#include <stdlib.h> - #include <string.h> - #include "polkitunixsession.h" - #include "polkitsubject.h" -@@ -450,9 +451,8 @@ polkit_unix_session_initable_init (GInitable *initable, - GError **error) - { - PolkitUnixSession *session = POLKIT_UNIX_SESSION (initable); -- gboolean ret; -- -- ret = FALSE; -+ gboolean ret = FALSE; -+ char *s; - - if (session->session_id != NULL) - { -@@ -461,8 +461,19 @@ polkit_unix_session_initable_init (GInitable *initable, - goto out; - } - -- if (!sd_pid_get_session (session->pid, &session->session_id)) -- ret = TRUE; -+ if (sd_pid_get_session (session->pid, &s) == 0) -+ { -+ session->session_id = g_strdup (s); -+ free (s); -+ ret = TRUE; -+ goto out; -+ } -+ -+ g_set_error (error, -+ POLKIT_ERROR, -+ POLKIT_ERROR_FAILED, -+ "No session for pid %d", -+ (gint) session->pid); - - out: - return ret; --- -1.7.2.5 -
meta/recipes-extended/polkit/polkit-0.104/0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch deleted +0 -46
46 lines not on this page · raw message
meta/recipes-extended/polkit/polkit-0.104/obsolete_automake_macros.patch deleted +0 -23
@@ -1,23 +0,0 @@ -Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=59091] - -Signed-off-by: Marko Lindqvist <[email protected]> -diff -Nurd polkit-0.104/configure.ac polkit-0.104/configure.ac ---- polkit-0.104/configure.ac 2012-01-03 18:25:49.000000000 +0200 -+++ polkit-0.104/configure.ac 2013-01-07 03:13:31.862125625 +0200 -@@ -3,7 +3,7 @@ - AC_PREREQ(2.59c) - AC_INIT(polkit, 0.104, http://lists.freedesktop.org/mailman/listinfo/polkit-devel) - AM_INIT_AUTOMAKE(polkit, 0.104) --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - AM_MAINTAINER_MODE - - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -@@ -24,7 +24,6 @@ - - AC_ISC_POSIX - AC_PROG_CC --AM_PROG_CC_STDC - AC_HEADER_STDC - AM_PROG_LIBTOOL - AC_PROG_MAKE_SET
meta/recipes-extended/polkit/polkit-0.104/polkit-1_pam.patch deleted +0 -23
@@ -1,23 +0,0 @@ -polkit: No system-auth in OE-Core, we can use common-* in place of it. - -Upstream-Status:Inappropriate [configuration] - -Signed-off-by: Xiaofeng Yan <[email protected]> - ---- a/configure.ac 2011-03-04 02:26:20.000000000 +0800 -+++ b/configure.ac.new 2011-07-18 10:14:12.516818852 +0800 -@@ -350,10 +350,10 @@ - PAM_FILE_INCLUDE_PASSWORD=system - PAM_FILE_INCLUDE_SESSION=system - else -- PAM_FILE_INCLUDE_AUTH=system-auth -- PAM_FILE_INCLUDE_ACCOUNT=system-auth -- PAM_FILE_INCLUDE_PASSWORD=system-auth -- PAM_FILE_INCLUDE_SESSION=system-auth -+ PAM_FILE_INCLUDE_AUTH=common-auth -+ PAM_FILE_INCLUDE_ACCOUNT=common-account -+ PAM_FILE_INCLUDE_PASSWORD=common-password -+ PAM_FILE_INCLUDE_SESSION=common-session - fi - - AC_SUBST(PAM_FILE_INCLUDE_AUTH)
meta/recipes-extended/polkit/polkit-gnome_0.102.bb deleted +0 -26
@@ -1,26 +0,0 @@ -SUMMARY = "GNOME Authentication Agent for PolicyKit" -DESCRIPTION = "PolicyKit-gnome provides an Authentication Agent for PolicyKit that integrates well with the GNOME desktop environment" -HOMEPAGE = "http://www.packagekit.org/" -BUGTRACKER = "http://bugzilla.gnome.org/" -DEPENDS = "polkit dbus-glib gconf gtk+" -LICENSE = "LGPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ - file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795" - -SRC_URI = "http://hal.freedesktop.org/releases/polkit-gnome-${PV}.tar.bz2 \ - " - -PR = "r2" - -EXTRA_OECONF = " --disable-scrollkeeper \ - --disable-man-pages \ - --disable-examples \ - --disable-introspection " - -inherit autotools gtk-doc pkgconfig - -FILES_${PN} += " ${datadir}/dbus-1 \ - ${datadir}/PolicyKit \ - " -SRC_URI[md5sum] = "f6b485ffd7bd605af815fd2747180481" -SRC_URI[sha256sum] = "81caa6972e651e90ef4ac31d7ed41bc79543d46b850dbd5b14b40f8ef7107d11"
meta/recipes-extended/polkit/polkit_0.104.bb deleted +0 -45
45 lines not on this page · raw message
Signature · 1 line
1.7.10.4