Hello community,
here is the log from the commit of package yast2-samba-server
checked in at Mon Aug 28 23:47:39 CEST 2006.
--------
--- yast2-samba-server/yast2-samba-server.changes 2006-07-21 14:24:27.000000000 +0200
+++ yast2-samba-server/yast2-samba-server.changes 2006-08-28 11:27:54.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Aug 28 11:34:35 CEST 2006 - locilka@suse.cz
+
+- Added yast2-ldap-client into BuildRequires.
+- Changed call GetSharesTerm into SharesTerm (bugzilla #144787).
+- 2.13.13
+
+-------------------------------------------------------------------
+Wed Jul 26 11:44:40 CEST 2006 - locilka@suse.cz
+
+- Function for creating path moved to yast2 package into the
+ FileUtils module.
+
+-------------------------------------------------------------------
Old:
----
yast2-samba-server-2.13.12.tar.bz2
New:
----
yast2-samba-server-2.13.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-samba-server.spec ++++++
--- /var/tmp/diff_new_pack.V1dtfS/_old 2006-08-28 23:47:21.000000000 +0200
+++ /var/tmp/diff_new_pack.V1dtfS/_new 2006-08-28 23:47:21.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-samba-server (Version 2.13.12)
+# spec file for package yast2-samba-server (Version 2.13.13)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,14 +11,14 @@
# norootforbuild
Name: yast2-samba-server
-Version: 2.13.12
+Version: 2.13.13
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-samba-server-2.13.12.tar.bz2
+Source0: yast2-samba-server-2.13.13.tar.bz2
prefix: /usr
-BuildRequires: libsmbclient libsmbclient-devel perl-Crypt-SmbHash perl-X500-DN perl-XML-Writer samba-client update-desktop-files yast2 yast2-devtools yast2-network yast2-perl-bindings yast2-printer yast2-samba-client yast2-testsuite
+BuildRequires: libsmbclient libsmbclient-devel perl-Crypt-SmbHash perl-X500-DN perl-XML-Writer samba-client update-desktop-files yast2 yast2-devtools yast2-ldap-client yast2-network yast2-perl-bindings yast2-printer yast2-samba-client yast2-testsuite
Requires: yast2-perl-bindings yast2 yast2-ldap-client yast2-samba-client yast2-pam yast2-printer perl-Crypt-SmbHash yast2-ldap yast2-network
BuildArchitectures: noarch
Summary: YaST2 - Samba Server Configuration
@@ -32,9 +32,11 @@
Authors:
--------
Stanislav Visnovsky
+ Martin Lazar
+ Lukas Ocilka
%prep
-%setup -n yast2-samba-server-2.13.12
+%setup -n yast2-samba-server-2.13.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -68,6 +70,13 @@
%doc %{prefix}/share/doc/packages/yast2-samba-server
%changelog -n yast2-samba-server
+* Mon Aug 28 2006 - locilka@suse.cz
+- Added yast2-ldap-client into BuildRequires.
+- Changed call GetSharesTerm into SharesTerm (bugzilla #144787).
+- 2.13.13
+* Wed Jul 26 2006 - locilka@suse.cz
+- Function for creating path moved to yast2 package into the
+ FileUtils module.
* Fri Jul 21 2006 - locilka@suse.cz
- When creating a new share or editing an old one, the share-path
is checked for its existency. If the path doesn't exists, it's
++++++ yast2-samba-server-2.13.12.tar.bz2 -> yast2-samba-server-2.13.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-samba-server-2.13.12/VERSION new/yast2-samba-server-2.13.13/VERSION
--- old/yast2-samba-server-2.13.12/VERSION 2006-07-21 13:58:53.000000000 +0200
+++ new/yast2-samba-server-2.13.13/VERSION 2006-08-28 11:31:34.000000000 +0200
@@ -1 +1 @@
-2.13.12
+2.13.13
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-samba-server-2.13.12/configure new/yast2-samba-server-2.13.13/configure
--- old/yast2-samba-server-2.13.12/configure 2006-07-14 10:40:05.000000000 +0200
+++ new/yast2-samba-server-2.13.13/configure 2006-08-28 12:24:51.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-samba-server 2.13.11.
+# Generated by GNU Autoconf 2.59 for yast2-samba-server 2.13.13.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-samba-server'
PACKAGE_TARNAME='yast2-samba-server'
-PACKAGE_VERSION='2.13.11'
-PACKAGE_STRING='yast2-samba-server 2.13.11'
+PACKAGE_VERSION='2.13.13'
+PACKAGE_STRING='yast2-samba-server 2.13.13'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -728,7 +728,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.13.11 to adapt to many kinds of systems.
+\`configure' configures yast2-samba-server 2.13.13 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -795,7 +795,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-samba-server 2.13.11:";;
+ short | recursive ) echo "Configuration of yast2-samba-server 2.13.13:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-samba-server configure 2.13.11
+yast2-samba-server configure 2.13.13
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -922,7 +922,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.13.11, which was
+It was created by yast2-samba-server $as_me 2.13.13, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1652,7 +1652,7 @@
# Define the identity of the package.
PACKAGE='yast2-samba-server'
- VERSION='2.13.11'
+ VERSION='2.13.13'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.13.11"
+VERSION="2.13.13"
RPMNAME="yast2-samba-server"
MAINTAINER="Lukas Ocilka "
@@ -2693,7 +2693,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-samba-server $as_me 2.13.11, which was
+This file was extended by yast2-samba-server $as_me 2.13.13, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -2748,7 +2748,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-samba-server config.status 2.13.11
+yast2-samba-server config.status 2.13.13
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-samba-server-2.13.12/configure.in new/yast2-samba-server-2.13.13/configure.in
--- old/yast2-samba-server-2.13.12/configure.in 2006-07-14 10:40:01.000000000 +0200
+++ new/yast2-samba-server-2.13.13/configure.in 2006-08-28 12:24:47.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.13.19 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-samba-server, 2.13.11, http://bugs.opensuse.org/, yast2-samba-server)
+AC_INIT(yast2-samba-server, 2.13.13, http://bugs.opensuse.org/, yast2-samba-server)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.11"
+VERSION="2.13.13"
RPMNAME="yast2-samba-server"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-samba-server-2.13.12/src/complex.ycp new/yast2-samba-server-2.13.13/src/complex.ycp
--- old/yast2-samba-server-2.13.12/src/complex.ycp 2006-07-21 14:05:52.000000000 +0200
+++ new/yast2-samba-server-2.13.13/src/complex.ycp 2006-07-26 11:53:25.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Stanislav Visnovsky
* Lukas Ocilka
*
- * $Id: complex.ycp 31950 2006-07-21 12:07:24Z locilka $
+ * $Id: complex.ycp 31999 2006-07-26 09:54:58Z locilka $
*/
{
@@ -73,71 +73,5 @@
return ret ? `next : `abort;
}
-/**
- * Checks whether the path (directory) exists and return a boolean
- * value whether everything is OK or user accepted the behavior as
- * despite some errors. If the directory doesn't exist, it offers
- * to create it (and eventually creates it).
- *
- * @param string pathvalue (directory)
- * @return boolean whether everything was OK or whether user decided to ignore eventual errors
- */
-boolean CheckAndCreatePath (string pathvalue) {
- string check_path = pathvalue;
-
- // remove the final slash
- if (regexpmatch(check_path, "/$")) check_path = regexpsub(check_path, "^(.*)/$", "\\1");
- y2milestone("Checking existency of %1 path", check_path);
-
- // Directory (path) already exists
- if (FileUtils::Exists(check_path)) {
- y2milestone("Path %1 exists", check_path);
- // Directory (path) is a type 'directory'
- if (FileUtils::IsDirectory(check_path)) {
- return true;
- // Directory (path) is not a valid 'directory'
- } else {
- y2warning ("Path %1 is not a directory", check_path);
- // Continue despite the error?
- return Popup::ContinueCancel(sformat(
- // TRANSLATORS: popup question (with continue / cancel buttons)
- // %1 is the filesystem path
- _("Although the path %1 exists, it is not a directory.\nWould you like to continue or cancel the operation?"),
- pathvalue
- ));
- }
- // Directory (path) doesn't exist, trying to create it if wanted
- } else {
- y2milestone("Path %1 does not exist", check_path);
- if (Popup::YesNo(sformat(
- // TRANSLATORS: question popup (with yes / no buttons). A user entered non-existent path
- // for a share, %1 is entered path
- _("The path %1 does not exist.\nWould you like to create it now?"),
- pathvalue
- ))) {
- // Directory creation successful
- if ((boolean) SCR::Execute(.target.mkdir, check_path)) {
- y2milestone("Directory %1 successfully created", check_path);
- return true;
- // Failed to create the directory
- } else {
- y2warning("Failed to create directory %1", check_path);
- // Continue despite the error?
- return Popup::ContinueCancel(sformat(
- // TRANSLATORS: popup question (with continue / cancel buttons)
- // %1 is the name (path) of the directory
- _("Failed to create the directory %1.\nWould you like to continue or cancel the current operation?"),
- pathvalue
- ));
- }
- // User doesn't want to create the directory
- } else {
- y2warning("User doesn't want to create the directory %1", check_path);
- return true;
- }
- }
-}
-
-
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-samba-server-2.13.12/src/dialogs-items.ycp new/yast2-samba-server-2.13.13/src/dialogs-items.ycp
--- old/yast2-samba-server-2.13.12/src/dialogs-items.ycp 2006-07-21 14:05:52.000000000 +0200
+++ new/yast2-samba-server-2.13.13/src/dialogs-items.ycp 2006-07-26 11:53:25.000000000 +0200
@@ -6,7 +6,7 @@
* Stanislav Visnovsky
* Martin Lazar
*
- * $Id: dialogs-items.ycp 31950 2006-07-21 12:07:24Z locilka $
+ * $Id: dialogs-items.ycp 31999 2006-07-26 09:54:58Z locilka $
*/
{
@@ -17,6 +17,7 @@
import "Popup";
import "LogView";
import "TablePopup";
+ import "FileUtils";
import "SambaServer";
import "SambaConfig";
@@ -224,7 +225,7 @@
string p = (string)UI::QueryWidget (`id(opt_key), `Value);
if (!SharePathWarning (p)) return false;
- if (!CheckAndCreatePath (p)) return false;
+ if (!FileUtils::CheckAndCreatePath (p)) return false;
return true;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-samba-server-2.13.12/src/dialogs.ycp new/yast2-samba-server-2.13.13/src/dialogs.ycp
--- old/yast2-samba-server-2.13.12/src/dialogs.ycp 2006-07-21 14:05:52.000000000 +0200
+++ new/yast2-samba-server-2.13.13/src/dialogs.ycp 2006-08-28 11:31:42.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Stanislav Visnovsky
* Lukas Ocilka
*
- * $Id: dialogs.ycp 31950 2006-07-21 12:07:24Z locilka $
+ * $Id: dialogs.ycp 32591 2006-08-28 09:33:18Z locilka $
*/
{
@@ -18,6 +18,7 @@
import "Mode";
import "Popup";
import "ProductFeatures";
+import "FileUtils";
import "SambaRole";
import "SambaServer";
@@ -616,7 +617,7 @@
} else if (!printable && !SharePathWarning(pathvalue)) {
ret = nil;
continue;
- } else if (!printable && !Mode::config() && !CheckAndCreatePath(pathvalue)) {
+ } else if (!printable && !Mode::config() && !FileUtils::CheckAndCreatePath(pathvalue)) {
ret = nil;
continue;
}
@@ -750,7 +751,12 @@
`HBox (
`HSpacing(1),
// Bugzilla #143908
- GetSharesTerm(allow_share, shares_group, max_shares),
+ // Bugzilla #144787, comment #43
+ SharesTerm ($[
+ "allow_share" : allow_share,
+ "group" : shares_group,
+ "max_shares" : max_shares,
+ ]),
`HSpacing(1)
),
`VSpacing(1)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org