diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-21 21:49:50 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-21 21:49:50 +0200 |
commit | 40d54935a63658845d1e94fe28c510eb86795006 (patch) | |
tree | ce26f810b692f5b4015931562dcd6c6546052455 | |
parent | d65a3061b76888008f8abbaec9bc7a78ebbdcd0c (diff) | |
download | arctica-greeter-40d54935a63658845d1e94fe28c510eb86795006.tar.gz arctica-greeter-40d54935a63658845d1e94fe28c510eb86795006.tar.bz2 arctica-greeter-40d54935a63658845d1e94fe28c510eb86795006.zip |
Apply openSUSE patch: arctica-greeter-disable-remote-logon.patch.
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | src/Makefile.am | 10 | ||||
-rw-r--r-- | src/user-list.vala | 5 |
3 files changed, 16 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index dddc348..acdbde1 100644 --- a/configure.ac +++ b/configure.ac @@ -131,8 +131,10 @@ dnl ########################################################################## dnl Remote Logon Dependencies dnl ########################################################################## -AC_CHECK_HEADERS([security/pam-x2go.h],[],AC_MSG_ERROR([Could not find security/pam-x2go.h])) -AC_CHECK_HEADERS([security/pam-freerdp2.h],[],AC_MSG_ERROR([Could not find security/pam-freerdp2.h])) +dnl We do not have the necessary remote logon packages and PAM modules yet, so +dnl just disable it for now. +dnl AC_CHECK_HEADERS([security/pam-x2go.h],[],AC_MSG_ERROR([Could not find security/pam-x2go.h])) +dnl AC_CHECK_HEADERS([security/pam-freerdp2.h],[],AC_MSG_ERROR([Could not find security/pam-freerdp2.h])) dnl ########################################################################### dnl Files to generate diff --git a/src/Makefile.am b/src/Makefile.am index bb91f59..c078f43 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,8 +7,6 @@ arctica_greeter_SOURCES = \ config.vapi \ fixes.vapi \ indicator.vapi \ - pam_freerdp2.vapi \ - pam_x2go.vapi \ xsync.vapi \ animate-timer.vala \ background.vala \ @@ -38,7 +36,13 @@ arctica_greeter_SOURCES = \ arctica-greeter.vala \ user-list.vala \ user-prompt-box.vala \ - util.vala + util.vala \ + $(NULL) + +# Disable remote logon features we haven't packaged yet. +# pam_freerdp2.vapi \ +# pam_x2go.vapi \ +# $(NULL) logo_generator_SOURCES = logo-generator.vala diff --git a/src/user-list.vala b/src/user-list.vala index 3936768..124f5b3 100644 --- a/src/user-list.vala +++ b/src/user-list.vala @@ -1191,6 +1191,10 @@ public class UserList : GreeterList if (selected_entry.id.has_prefix ("*remote_login")) { var greeter = new ArcticaGreeter (); + /* + * Fully disable some remote logon features for now. + */ + /* if ((text == pam_x2go.PROMPT_USER) || (text == pam_freerdp2.PROMPT_USER)) { Gtk.Entry field = current_remote_fields.get ("username") as Gtk.Entry; @@ -1225,6 +1229,7 @@ public class UserList : GreeterList debug ("remote_login prompt parsing: command -> %s", answer); greeter.respond (answer); } + */ } else { |