Hello community, here is the log from the commit of package yast2-samba-server for openSUSE:Factory checked in at 2013-02-20 09:39:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-samba-server (Old) and /work/SRC/openSUSE:Factory/.yast2-samba-server.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-samba-server", Maintainer is "jsuchome@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-samba-server/yast2-samba-server.changes 2013-01-31 16:44:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-samba-server.new/yast2-samba-server.changes 2013-02-20 09:39:10.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Feb 19 17:36:01 CET 2013 - jsuchome@suse.cz + +- Shares table: show share specific guest access status, added + button to toggle the it (bnc#803512) +- 2.23.2 + +------------------------------------------------------------------- Old: ---- yast2-samba-server-2.23.1.tar.bz2 New: ---- yast2-samba-server-2.23.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-samba-server.spec ++++++ --- /var/tmp/diff_new_pack.cagVmv/_old 2013-02-20 09:39:11.000000000 +0100 +++ /var/tmp/diff_new_pack.cagVmv/_new 2013-02-20 09:39:11.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-samba-server -Version: 2.23.1 +Version: 2.23.2 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-samba-server-2.23.1.tar.bz2 -> yast2-samba-server-2.23.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-samba-server-2.23.1/VERSION new/yast2-samba-server-2.23.2/VERSION --- old/yast2-samba-server-2.23.1/VERSION 2013-01-31 14:06:34.000000000 +0100 +++ new/yast2-samba-server-2.23.2/VERSION 2013-02-19 17:41:33.000000000 +0100 @@ -1 +1 @@ -2.23.1 +2.23.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-samba-server-2.23.1/configure new/yast2-samba-server-2.23.2/configure --- old/yast2-samba-server-2.23.1/configure 2013-01-31 14:06:46.000000000 +0100 +++ new/yast2-samba-server-2.23.2/configure 2013-02-19 17:41:44.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2-samba-server 2.23.1. +# Generated by GNU Autoconf 2.69 for yast2-samba-server 2.23.2. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='yast2-samba-server' PACKAGE_TARNAME='yast2-samba-server' -PACKAGE_VERSION='2.23.1' -PACKAGE_STRING='yast2-samba-server 2.23.1' +PACKAGE_VERSION='2.23.2' +PACKAGE_STRING='yast2-samba-server 2.23.2' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1247,7 +1247,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures yast2-samba-server 2.23.1 to adapt to many kinds of systems. +\`configure' configures yast2-samba-server 2.23.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1319,7 +1319,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-samba-server 2.23.1:";; + short | recursive ) echo "Configuration of yast2-samba-server 2.23.2:";; esac cat <<\_ACEOF @@ -1399,7 +1399,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-samba-server configure 2.23.1 +yast2-samba-server configure 2.23.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1416,7 +1416,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-samba-server $as_me 2.23.1, which was +It was created by yast2-samba-server $as_me 2.23.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2355,7 +2355,7 @@ # Define the identity of the package. PACKAGE='yast2-samba-server' - VERSION='2.23.1' + VERSION='2.23.2' cat >>confdefs.h <<_ACEOF @@ -2478,7 +2478,7 @@ -VERSION="2.23.1" +VERSION="2.23.2" RPMNAME="yast2-samba-server" MAINTAINER="Jiří Suchomel <jsuchome@suse.cz>" @@ -3404,7 +3404,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-samba-server $as_me 2.23.1, which was +This file was extended by yast2-samba-server $as_me 2.23.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3457,7 +3457,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-samba-server config.status 2.23.1 +yast2-samba-server config.status 2.23.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-samba-server-2.23.1/configure.in new/yast2-samba-server-2.23.2/configure.in --- old/yast2-samba-server-2.23.1/configure.in 2013-01-31 14:06:41.000000000 +0100 +++ new/yast2-samba-server-2.23.2/configure.in 2013-02-19 17:41:41.000000000 +0100 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-samba-server, 2.23.1, http://bugs.opensuse.org/, yast2-samba-server) +AC_INIT(yast2-samba-server, 2.23.2, http://bugs.opensuse.org/, yast2-samba-server) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="2.23.1" +VERSION="2.23.2" RPMNAME="yast2-samba-server" MAINTAINER="Jiří Suchomel <jsuchome@suse.cz>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-samba-server-2.23.1/src/dialogs.ycp new/yast2-samba-server-2.23.2/src/dialogs.ycp --- old/yast2-samba-server-2.23.1/src/dialogs.ycp 2013-01-22 11:58:52.000000000 +0100 +++ new/yast2-samba-server-2.23.2/src/dialogs.ycp 2013-02-19 17:41:33.000000000 +0100 @@ -84,7 +84,8 @@ string enabled = SambaConfig::ShareEnabled(name) ? _("Enabled") : _("Disabled"); string comment = SambaConfig::ShareGetStr(name, "comment", ""); boolean ro = SambaConfig::ShareGetTruth(name, "read only", true); - return `item( `id(index), enabled, ro ? _("Yes") : _("No"), name, pth , comment); + boolean ga = SambaConfig::ShareGetTruth(name, "guest ok", false); + return `item( `id(index), enabled, ro ? _("Yes") : _("No"), name, pth, ga ? _("Yes") : _("No"), comment); }); } @@ -399,6 +400,7 @@ UI::ChangeWidget( `id(`edit), `Enabled, size(items)>0 ); UI::ChangeWidget( `id(`delete), `Enabled, size(items)>0 ); UI::ChangeWidget( `id(`toggle), `Enabled, size(items)>0 ); + UI::ChangeWidget( `id(`guest), `Enabled, size(items)>0 ); InitUserShareWidgets(); AdjustUserShareWidgets(); @@ -526,6 +528,12 @@ UI::ChangeWidget( `id(`table), `CurrentItem, id ); return nil; } + if (ret == `guest) { + SambaConfig::ShareSetTruth (share, "guest ok", !SambaConfig::ShareGetTruth (share, "guest ok", false)); + UI::ChangeWidget( `id(`table), `Items, sharesItems(false) ); + UI::ChangeWidget( `id(`table), `CurrentItem, id ); + return nil; + } if (ret == `delete) { // confirmation dialog before deleting a share @@ -835,13 +843,16 @@ `item(`id(`filter_all), _("Show &All Shares") ), `item(`id(`filter_non_system), _("Do Not Show &System Shares") )]))), // translators: table header texts - `Table( `id(`table ), `opt(`hvstretch), `header(_("Status"), _("Read-Only"), _("Name"), _("Path"), _("Comment")), []), + `Table (`id (`table), `opt (`hvstretch), + `header (_("Status"), _("Read-Only"), _("Name"), _("Path"), _("Guest Access"), _("Comment")), [] + ), `HBox( `PushButton(`id(`add), Label::AddButton() + "..."), `PushButton(`id(`edit), Label::EditButton() + "..."), `PushButton(`id(`delete), Label::DeleteButton()), `HStretch(), `PushButton(`id(`rename), _("&Rename...")), + `PushButton(`id(`guest), _("Guest Access")), `PushButton(`id(`toggle), _("&Toggle Status")) ) )), -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org