Author: ken
Date: 2009-09-19 12:19:16 -0600 (Sat, 19 Sep 2009)
New Revision: 2129
Added:
trunk/PolicyKit/
trunk/PolicyKit/PolicyKit-0.9-without_pam_headers-1.patch
Log:
The patch to build PolicyKit (and therefore GConf-2.26) without PAM, now that
I've confirmed it doesn't need anything else to build it.
Added: trunk/PolicyKit/PolicyKit-0.9-without_pam_headers-1.patch
===================================================================
--- trunk/PolicyKit/PolicyKit-0.9-without_pam_headers-1.patch
(rev 0)
+++ trunk/PolicyKit/PolicyKit-0.9-without_pam_headers-1.patch 2009-09-19
18:19:16 UTC (rev 2129)
@@ -0,0 +1,27 @@
+Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
+Date: 2009-09-19
+Initial Package Version: 0.9
+Upstream Status: Assume not applied
+Origin: Gentoo
+Description: Allows PolicyKit to build without PAM being installed.
+
+ Configure this "--with-authfw=shadow" (thanks to Simon Geard for
+suggesting that option - gentoo do something different).
+
+# Remove unwanted pam header
+#
+# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=239554
+# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=16131
+#
+diff --git a/src/polkit-dbus/polkit-resolve-exe-helper.c
b/src/polkit-dbus/polkit-resolve-exe-helper.c
+index c56b2f5..5992b67 100644
+--- a/src/polkit-dbus/polkit-resolve-exe-helper.c
++++ b/src/polkit-dbus/polkit-resolve-exe-helper.c
+@@ -43,7 +43,6 @@
+ #ifdef HAVE_FREEBSD
+ #include <sys/param.h>
+ #endif
+-#include <security/pam_appl.h>
+ #include <grp.h>
+ #include <pwd.h>
+ #include <syslog.h>
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page