[Lunar-commits] <moonbase> kdebase4-workspace: some more PAM related changes and make

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Fri Feb 8 23:51:03 CET 2008


commit 5e09f6e82ab7a77d02c85befb83f4f52919560d2
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Fri Feb 8 17:51:03 2008 -0500

    kdebase4-workspace: some more PAM related changes and make
    them more kde4 centric.
---
 kde4/base/kdebase4-workspace/BUILD         |    2 +-
 kde4/base/kdebase4-workspace/DEPENDS       |    5 +++++
 kde4/base/kdebase4-workspace/pam.d/kde4    |   10 ++++++++++
 kde4/base/kdebase4-workspace/pam.d/kde4-np |   10 ++++++++++
 4 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/kde4/base/kdebase4-workspace/BUILD b/kde4/base/kdebase4-workspace/BUILD
index 0cc56ec..fe4ae76 100644
--- a/kde4/base/kdebase4-workspace/BUILD
+++ b/kde4/base/kdebase4-workspace/BUILD
@@ -9,7 +9,7 @@
   cd $KDE4_BUILD_DIR &&
 
   cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             &&
+                           -DCMAKE_BUILD_TYPE=RELEASE $OPTS       &&
 
   default_make
 
diff --git a/kde4/base/kdebase4-workspace/DEPENDS b/kde4/base/kdebase4-workspace/DEPENDS
index f2345da..37dd825 100644
--- a/kde4/base/kdebase4-workspace/DEPENDS
+++ b/kde4/base/kdebase4-workspace/DEPENDS
@@ -7,4 +7,9 @@ optional_depends "libusb"      "" "" "for Logitech Mouse support"
 optional_depends "bluez-libs"  "" "" "for bluetooth support within KDE4"
 optional_depends "libraw1394"  "" "" "for firewire support"
 
+optional_depends "Linux-PAM"   "-DKDE4_COMMON_PAM_SERVICE=kde4 \
+                                -DKDE4_KDM_PAM_SERVICE=kde4"   \
+                                ""             "for PAM support"
+optional_depends "shadow"      "" ""  "for shadow password support"
+
 # TODO: Add captury to moonbase for full GL video support!
diff --git a/kde4/base/kdebase4-workspace/pam.d/kde4 b/kde4/base/kdebase4-workspace/pam.d/kde4
new file mode 100644
index 0000000..cc677fd
--- /dev/null
+++ b/kde4/base/kdebase4-workspace/pam.d/kde4
@@ -0,0 +1,10 @@
+#
+# /etc/pam.d/kde4 - kde4 pam configuration
+#
+
+auth            required        pam_nologin.so
+auth            include         system-auth
+account         include         system-auth
+password        include         system-auth
+session         include         system-auth
+session         optional        pam_console.so
diff --git a/kde4/base/kdebase4-workspace/pam.d/kde4-np b/kde4/base/kdebase4-workspace/pam.d/kde4-np
new file mode 100644
index 0000000..0b3cd03
--- /dev/null
+++ b/kde4/base/kdebase4-workspace/pam.d/kde4-np
@@ -0,0 +1,10 @@
+#
+# /etc/pam.d/kde4-np - kde4 no password pam configuration
+#
+
+auth            required        pam_nologin.so
+auth            required        pam_permit.so
+account         include         system-auth
+password        include         system-auth
+session         include         system-auth
+session         optional        pam_console.so


More information about the Lunar-commits mailing list