Skip to content

Commit

Permalink
Merge pull request #10 from thardeck/add_cfg_iucvterminal_server
Browse files Browse the repository at this point in the history
Readd cfg_iucvterminal_server.scr
  • Loading branch information
kobliha committed Feb 28, 2014
2 parents d10250e + e92a055 commit 6f8e1e3
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/yast2-s390.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 28 10:26:39 UTC 2014 - thardeck@suse.com

- readded SCR agent files for iucvterminal-server module
- 3.1.7

-------------------------------------------------------------------
Thu Feb 27 15:36:12 CET 2014 - thardeck@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-s390.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-s390
Version: 3.1.6
Version: 3.1.7
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
4 changes: 3 additions & 1 deletion src/Makefile.am
Expand Up @@ -60,6 +60,8 @@ ynclude6_DATA = \

scrconf_DATA = \
scrconf/cfg_xpram.scr \
scrconf/cfg_iucv_terminal_server.scr \
scrconf/etc_iucv_ts-authorization.scr \
scrconf/cfg_dumpconf.scr

schemafilesdir = $(schemadir)/autoyast/rnc
Expand All @@ -78,4 +80,4 @@ desktop_DATA = \

EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(ynclude1_DATA) $(ynclude2_DATA) $(ynclude3_DATA) $(ynclude4_DATA) $(ynclude5_DATA) $(ynclude6_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(desktop_DATA)

include $(top_srcdir)/Makefile.am.common
include $(top_srcdir)/Makefile.am.common
17 changes: 17 additions & 0 deletions src/scrconf/cfg_iucv_terminal_server.scr
@@ -0,0 +1,17 @@
/**
* File:
* cfg_iucv_terminal_server.scr
* Summary:
* SCR Agent for reading/writing /etc/sysconfig/iucv_terminal_server
* using the sysconfig-agent
* this file is only relevant for the Yast IUCV Terminal Server
* configuration
*
* Read/Sets the values defined in <tt>/etc/sysconfig/iucv_terminal_server</tt>
* in an easy manner.
*/
.sysconfig.iucv_terminal_server

`ag_ini(
`SysConfigFile("/etc/sysconfig/iucv_terminal_server")
)
23 changes: 23 additions & 0 deletions src/scrconf/etc_iucv_ts-authorization.scr
@@ -0,0 +1,23 @@
/**
* File:
* ts-authorization.conf
* Summary:
* SCR Agent for reading/writing /etc/iucvterm/ts-authorization.conf using the ini-agent
*
*/
.etc.iucvterm-ts-authorization

`ag_ini(
`IniAgent(
"/etc/iucvterm/ts-authorization.conf",
$[
"options" : [ "global_values" ],
"comments": [ "^[ \t]*#.*", "#.*", "^[ \t]*$" ],
"params" : [
$[
"match" : [ "^[ \t]*([^=]*[^ \t=])[ \t]*=[ \t]*(.*)[ \t]*$" , "%s = %s"],
],
],
]
)
)

0 comments on commit 6f8e1e3

Please sign in to comment.