Hello community,
here is the log from the commit of package yast2-ldap-client
checked in at Sat Mar 10 23:57:42 CET 2007.
--------
--- yast2-ldap-client/yast2-ldap-client.changes 2007-03-06 10:34:35.000000000 +0100
+++ /mounts/work_src_done/NOARCH/yast2-ldap-client/yast2-ldap-client.changes 2007-03-09 15:40:03.002207000 +0100
@@ -1,0 +2,7 @@
+Thu Mar 8 18:30:38 CET 2007 - jsuchome@suse.cz
+
+- SLPAPI.pm moved to yast2 (#238680)
+- check if user changed imported LDAP settings (#252094)
+- 2.15.6
+
+-------------------------------------------------------------------
Old:
----
yast2-ldap-client-2.15.5.tar.bz2
New:
----
yast2-ldap-client-2.15.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ldap-client.spec ++++++
--- /var/tmp/diff_new_pack.B31673/_old 2007-03-10 23:57:30.000000000 +0100
+++ /var/tmp/diff_new_pack.B31673/_new 2007-03-10 23:57:30.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ldap-client (Version 2.15.5)
+# spec file for package yast2-ldap-client (Version 2.15.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,16 +11,18 @@
# norootforbuild
Name: yast2-ldap-client
-Version: 2.15.5
+Version: 2.15.6
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ldap-client-2.15.5.tar.bz2
+Source0: yast2-ldap-client-2.15.6.tar.bz2
prefix: /usr
BuildRequires: doxygen perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-network yast2-pam yast2-testsuite
PreReq: %fillup_prereq
-Requires: yast2 yast2-network
+# SLPAPI.pm
+Requires: yast2 >= 2.15.17
+Requires: yast2-network
# check for tls_error
Requires: yast2-ldap >= 2.15.1
# new API of Pam.ycp
@@ -44,7 +46,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-ldap-client-2.15.5
+%setup -n yast2-ldap-client-2.15.6
%build
%{prefix}/bin/y2tool y2autoconf
@@ -78,7 +80,6 @@
/usr/share/YaST2/include/ldap/*
/usr/share/YaST2/modules/Ldap.y*
/usr/share/YaST2/modules/LdapPopup.y*
-/usr/share/YaST2/modules/SLPAPI.*
/usr/share/YaST2/clients/ldap*.ycp
/usr/share/YaST2/scrconf/*.scr
/usr/share/YaST2/schema/autoyast/rnc/ldap_client.rnc
@@ -86,6 +87,10 @@
/var/adm/fillup-templates/sysconfig.ldap
%changelog
+* Thu Mar 08 2007 - jsuchome@suse.cz
+- SLPAPI.pm moved to yast2 (#238680)
+- check if user changed imported LDAP settings (#252094)
+- 2.15.6
* Tue Mar 06 2007 - jsuchome@suse.cz
- browser: offer possibility to connect without TLS (#246397)
- 2.15.5
++++++ yast2-ldap-client-2.15.5.tar.bz2 -> yast2-ldap-client-2.15.6.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/configure new/yast2-ldap-client-2.15.6/configure
--- old/yast2-ldap-client-2.15.5/configure 2007-02-06 10:47:43.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/configure 2007-03-09 15:22:10.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-ldap-client 2.15.2.
+# Generated by GNU Autoconf 2.60 for yast2-ldap-client 2.15.6.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-ldap-client'
PACKAGE_TARNAME='yast2-ldap-client'
-PACKAGE_VERSION='2.15.2'
-PACKAGE_STRING='yast2-ldap-client 2.15.2'
+PACKAGE_VERSION='2.15.6'
+PACKAGE_STRING='yast2-ldap-client 2.15.6'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,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-ldap-client 2.15.2 to adapt to many kinds of systems.
+\`configure' configures yast2-ldap-client 2.15.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-ldap-client 2.15.2:";;
+ short | recursive ) echo "Configuration of yast2-ldap-client 2.15.6:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-ldap-client configure 2.15.2
+yast2-ldap-client configure 2.15.6
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,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-ldap-client $as_me 2.15.2, which was
+It was created by yast2-ldap-client $as_me 2.15.6, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-ldap-client'
- VERSION='2.15.2'
+ VERSION='2.15.6'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.2"
+VERSION="2.15.6"
RPMNAME="yast2-ldap-client"
MAINTAINER="Jiri Suchomel "
@@ -3258,7 +3258,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-ldap-client $as_me 2.15.2, which was
+This file was extended by yast2-ldap-client $as_me 2.15.6, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3301,7 +3301,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-ldap-client config.status 2.15.2
+yast2-ldap-client config.status 2.15.6
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/configure.in new/yast2-ldap-client-2.15.6/configure.in
--- old/yast2-ldap-client-2.15.5/configure.in 2007-02-06 10:47:21.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/configure.in 2007-03-09 15:22:05.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ldap-client, 2.15.2, http://bugs.opensuse.org/, yast2-ldap-client)
+AC_INIT(yast2-ldap-client, 2.15.6, http://bugs.opensuse.org/, yast2-ldap-client)
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.15.2"
+VERSION="2.15.6"
RPMNAME="yast2-ldap-client"
MAINTAINER="Jiri Suchomel "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/src/ldap_browser.ycp new/yast2-ldap-client-2.15.6/src/ldap_browser.ycp
--- old/yast2-ldap-client-2.15.5/src/ldap_browser.ycp 2007-03-06 10:22:25.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/src/ldap_browser.ycp 2007-03-06 10:36:26.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Simple browser and editor of LDAP tree
* Author: Jiri Suchomel
*
- * $Id: ldap_browser.ycp 35269 2007-01-12 11:04:13Z jsuchome $
+ * $Id: ldap_browser.ycp 36727 2007-03-06 09:36:25Z jsuchome $
*
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/src/Makefile.am new/yast2-ldap-client-2.15.6/src/Makefile.am
--- old/yast2-ldap-client-2.15.5/src/Makefile.am 2007-02-13 07:54:00.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/src/Makefile.am 2007-03-09 15:22:01.000000000 +0100
@@ -24,8 +24,7 @@
module_DATA = \
Ldap.ycp \
- LdapPopup.ycp \
- SLPAPI.pm
+ LdapPopup.ycp
rnc_DATA = \
ldap_client.rnc
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/src/Makefile.in new/yast2-ldap-client-2.15.6/src/Makefile.in
--- old/yast2-ldap-client-2.15.5/src/Makefile.in 2007-02-19 14:25:16.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/src/Makefile.in 2007-03-09 15:22:11.000000000 +0100
@@ -200,8 +200,7 @@
module_DATA = \
Ldap.ycp \
- LdapPopup.ycp \
- SLPAPI.pm
+ LdapPopup.ycp
rnc_DATA = \
ldap_client.rnc
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/src/SLPAPI.pm new/yast2-ldap-client-2.15.6/src/SLPAPI.pm
--- old/yast2-ldap-client-2.15.5/src/SLPAPI.pm 2007-02-06 10:52:18.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/src/SLPAPI.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
-#
-# SLPAPI.pm
-# wrapper for SPL.ycp functions, included in yast2-slp package
-#
-
-package SLPAPI;
-
-use strict;
-use YaST::YCP qw(:LOGGING Boolean sformat);;
-#use YaPI;
-use Data::Dumper;
-
-YaST::YCP::Import ("SLP");
-
-our %TYPEINFO;
-
-use strict;
-#use Errno qw(ENOENT);
-
-
-# Issue the query for services
-# @param pcServiceType The Service Type String, including authority string if
-# any, for the request, such as can be discovered using SLPSrvTypes().
-# This could be, for example "service:printer:lpr" or "service:nfs".
-# @param pcScopeList comma separated list of scope names to search for
-# service types.
-# @return list<map> List of Services
-BEGIN{ $TYPEINFO{FindSrvs} = ["function", ["list", ["map", "string", "any"] ], "string", "string"];}
-sub FindSrvs {
-
- my ($self, $pcServiceType, $pcScopeList) = @_;
- return SLP->FindSrvs ($pcServiceType, $pcScopeList);
-}
-
-42
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/src/ui.ycp new/yast2-ldap-client-2.15.6/src/ui.ycp
--- old/yast2-ldap-client-2.15.5/src/ui.ycp 2007-02-13 07:54:00.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/src/ui.ycp 2007-03-09 15:23:53.000000000 +0100
@@ -483,6 +483,17 @@
if (message != "")
Popup::Message (message);
}
+ // check if user changed part of imported settings (#252094)
+ if (start && Stage::cont () && size (Ldap::initial_defaults) > 0 &&
+ Ldap::create_ldap &&
+ server != Ldap::initial_defaults["ldap_server"]:"" &&
+ domain != Ldap::initial_defaults["ldap_domain"]:"" &&
+ Ldap::bind_dn == Ldap::initial_defaults["bind_dn"]:"" &&
+ !issubstring (Ldap::bind_dn, domain))
+ {
+ y2warning ("Server and base DN changed but bind_dn remains imported -> disabling LDAP objects creation...");
+ Ldap::create_ldap = false;
+ }
}
Ldap::SetDomain (domain);
Ldap::start = start;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.15.5/VERSION new/yast2-ldap-client-2.15.6/VERSION
--- old/yast2-ldap-client-2.15.5/VERSION 2007-03-06 10:23:20.000000000 +0100
+++ new/yast2-ldap-client-2.15.6/VERSION 2007-03-08 18:31:44.000000000 +0100
@@ -1 +1 @@
-2.15.5
+2.15.6
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org