Mailinglist Archive: yast-commit (195 mails)

< Previous Next >
[yast-commit] r63589 - in /branches/SuSE-Code-11-SP2-Branch/pam: VERSION agents/etc_krb5_conf.scr agents/etc_sssd_conf.scr package/yast2-pam.changes yast2-pam.spec.in
Author: jsuchome
Date: Fri Mar 18 09:40:06 2011
New Revision: 63589

URL: http://svn.opensuse.org/viewcvs/yast?rev=63589&view=rev
Log:
(backport from 11.4:)
- agents for accessing krb5.conf and sssd.conf moved here,
so they are available in more modules
- 2.17.3


Added:
branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_krb5_conf.scr
branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_sssd_conf.scr
Modified:
branches/SuSE-Code-11-SP2-Branch/pam/VERSION
branches/SuSE-Code-11-SP2-Branch/pam/package/yast2-pam.changes
branches/SuSE-Code-11-SP2-Branch/pam/yast2-pam.spec.in

Modified: branches/SuSE-Code-11-SP2-Branch/pam/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pam/VERSION?rev=63589&r1=63588&r2=63589&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/pam/VERSION (original)
+++ branches/SuSE-Code-11-SP2-Branch/pam/VERSION Fri Mar 18 09:40:06 2011
@@ -1 +1 @@
-2.17.2
+2.17.3

Added: branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_krb5_conf.scr
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_krb5_conf.scr?rev=63589&view=auto
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_krb5_conf.scr (added)
+++ branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_krb5_conf.scr Fri Mar 18
09:40:06 2011
@@ -0,0 +1,37 @@
+/**
+ * File:
+ * etc_krb5_conf.scr
+ * Summary:
+ * SCR Agent for reading/writing /etc/krb5.conf using the ini-agent
+ *
+ * $Id: etc_krb5_conf.scr 63250 2011-01-21 12:02:34Z jsuchome $
+ *
+ * Read/Sets the values defined in <tt>/etc/krb5.conf</tt>.
+ * Warning! The file has 2 type of sections!
+ */
+.etc.krb5_conf
+
+`ag_ini(
+ `IniAgent(
+ "/etc/krb5.conf",
+ $[
+ "options" : [ "global_values", "repeat_names" ],
+ "comments": [ "^[ \t]*#.*", "#.*", "^[ \t]*$" ],
+ "sections" : [
+ $[
+ "begin" : [ "^[ \t]*\\[[ \t]*(.*[^ \t])[ \t]*\\][ \t]*", "[%s]" ],
+ ],
+ $[
+ "begin" : [ "^[ \t]*(.*[^ \t])[ \t]*=[ \t]*\\{[ \t]*", "%s = {" ],
+ "end" : [ "^[ \t]*[ \t]*\\}[ \t]*", "}" ]
+ ]
+ ],
+ "subindent": "\t",
+ "params" : [
+ $[
+ "match" : [ "^[ \t]*([^=]*[^ \t=])[ \t]*=[ \t]*(.*[^ \t]|)[ \t]*$" ,
"%s = %s"],
+ ],
+ ],
+ ]
+ )
+)

Added: branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_sssd_conf.scr
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_sssd_conf.scr?rev=63589&view=auto
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_sssd_conf.scr (added)
+++ branches/SuSE-Code-11-SP2-Branch/pam/agents/etc_sssd_conf.scr Fri Mar 18
09:40:06 2011
@@ -0,0 +1,25 @@
+#
+
+.etc.sssd_conf
+
+`ag_ini(
+ `IniAgent("/etc/sssd/sssd.conf", $[
+ "options" : [ "ignore_case_regexps", "line_can_continue"],
+ "comments": [
+ "^[ \t]*$", // empty line
+ "^[ \t]*[;#].*"
+ ],
+ "sections" : [
+ $[
+ "begin" : [ "^[ \t]*\\[[ \t]*(.*[^ \t])[ \t]*\\][ \t]*", "[%s]"
],
+ ]
+ ],
+ "params" : [
+ $[
+ "match" : [ "^[ \t]*([a-z0-9:_ ]*[a-z])[ \t]*=[ \t]*(.*[^ \t])[
\t]*$" , "%s = %s"],
+ ]
+ ]
+ ]
+ )
+)
+

Modified: branches/SuSE-Code-11-SP2-Branch/pam/package/yast2-pam.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pam/package/yast2-pam.changes?rev=63589&r1=63588&r2=63589&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/pam/package/yast2-pam.changes (original)
+++ branches/SuSE-Code-11-SP2-Branch/pam/package/yast2-pam.changes Fri Mar 18
09:40:06 2011
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri Mar 18 09:31:58 CET 2011 - jsuchome@xxxxxxx
+
+- agents for accessing krb5.conf and sssd.conf moved here,
+ so they are available in more modules
+- 2.17.3
+
+-------------------------------------------------------------------
Thu Dec 10 14:01:00 CET 2009 - jsuchome@xxxxxxx

- kde4-kdm is now kdm (bnc#561900)

Modified: branches/SuSE-Code-11-SP2-Branch/pam/yast2-pam.spec.in
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pam/yast2-pam.spec.in?rev=63589&r1=63588&r2=63589&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/pam/yast2-pam.spec.in (original)
+++ branches/SuSE-Code-11-SP2-Branch/pam/yast2-pam.spec.in Fri Mar 18 09:40:06
2011
@@ -1,6 +1,8 @@
@HEADER-COMMENT@

@HEADER@
+Group: System/YaST
+License: GPL v2 or later
BuildRequires: yast2-devtools doxygen yast2-core-devel perl-XML-Writer yast2
yast2-testsuite
Requires: yast2


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages