Hello community,
here is the log from the commit of package yast2-dns-server for openSUSE:Factory
checked in at Fri Jan 7 12:38:59 CET 2011.
--------
--- yast2-dns-server/yast2-dns-server.changes 2009-03-20 17:20:40.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-dns-server/yast2-dns-server.changes 2011-01-06 14:49:33.000000000 +0100
@@ -0,0 +1,18 @@
+------------------------------------------------------------------
+Thu Jan 6 14:17:25 CET 2011 - locilka@suse.cz
+
+- Implemented less strict TXT record check (BNC #620480).
+- 2.20.1
+
+------------------------------------------------------------------
+Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz
+
+- Adjusted .desktop file(s) to wrap /sbin/yast2/ calls in xdg-su
+ where root privileges are needed, removed X-KDE-SubstituteUID key
+ (bnc#540627)
+
+-------------------------------------------------------------------
+Thu Nov 26 14:00:19 CET 2009 - locilka@suse.cz
+
+- Fixed LDAP initialization (bnc #557090).
+
calling whatdependson for head-i586
Old:
----
yast2-dns-server-2.18.3.tar.bz2
New:
----
yast2-dns-server-2.20.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-dns-server.spec ++++++
--- /var/tmp/diff_new_pack.vRbWZG/_old 2011-01-07 12:30:03.000000000 +0100
+++ /var/tmp/diff_new_pack.vRbWZG/_new 2011-01-07 12:30:03.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-dns-server (Version 2.18.3)
+# spec file for package yast2-dns-server (Version 2.20.1)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,18 @@
Name: yast2-dns-server
-Version: 2.18.3
+Version: 2.20.1
Release: 1
-License: GPL v2 or later
-Group: System/YaST
+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-dns-server-2.18.3.tar.bz2
+Source0: yast2-dns-server-2.20.1.tar.bz2
+
Prefix: /usr
+
+Group: System/YaST
+License: GPLv2+
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-testsuite
+
# requires DnsServerAPI::GetReverseIPforIPv6
BuildRequires: yast2 >= 2.17.8
Requires: /usr/bin/host
@@ -39,37 +43,38 @@
Requires: bind-utils
Requires: yast2-ldap
Requires: yast2-ldap-client
+
# Script /sbin/netconfig 0.71.2+?
# FATE #303386: Network setup tools
Requires: yast2-sysconfig
+
# DnsServerApi moved to yast2.rpm (bnc#392606)
# DnsServerAPI::GetReverseIPforIPv6
Requires: yast2 >= 2.17.8
+
BuildArch: noarch
+
Summary: YaST2 - DNS Server Configuration
%description
This package contains the YaST2 component for DNS server configuration.
-
-
-Authors:
---------
- Jiri Srain
- Lukas Ocilka
-
%prep
-%setup -n yast2-dns-server-2.18.3
+%setup -n yast2-dns-server-2.20.1
%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
+
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
-make %{?jobs:-j%jobs}
+# V=1: verbose build in case we used AM_SILENT_RULES(yes)
+# so that RPM_OPT_FLAGS check works
+make %{?jobs:-j%jobs} V=1
%install
make install DESTDIR="$RPM_BUILD_ROOT"
++++++ yast2-dns-server-2.18.3.tar.bz2 -> yast2-dns-server-2.20.1.tar.bz2 ++++++
++++ 3452 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/autodocs-ycp.ami new/yast2-dns-server-2.20.1/autodocs-ycp.ami
--- old/yast2-dns-server-2.18.3/autodocs-ycp.ami 2009-01-23 18:42:45.000000000 +0100
+++ new/yast2-dns-server-2.20.1/autodocs-ycp.ami 2011-01-06 14:47:53.000000000 +0100
@@ -1,5 +1,5 @@
# -*- makefile -*- Automake include file
-# $Id: autodocs-ycp.ami 33394 2006-10-13 11:51:40Z mvidner $
+# $Id: autodocs-ycp.ami 57644 2009-06-19 08:38:11Z mvidner $
# Builds source documentation for YCP sources
# Uses ycpdoc
@@ -8,20 +8,25 @@
# Optional - the default is $(srcdir)/../../src/*.ycp
# AUTODOCS_PM: Files that the perl autodocs is built from
# Optional - the default is $(srcdir)/../../src/*.pm
+# AUTODOCS_SUBDIR: To install the result to $(docdir)/SUBDIR/autodocs
+# Optional - the default is no subdir, $(docdir)/autodocs
+# AUTODOCS_STRIP: Strip it from filenames. The remaining / are replaced by __
+# Optional - the default is $(srcdir)/../../src
-htmldir = $(docdir)/autodocs
+htmldir = $(docdir)/$(AUTODOCS_SUBDIR)/autodocs
-html_DATA = index.html $(wildcard *.html)
+html_DATA = index.html $(filter-out index.html, $(wildcard *.html))
CLEANFILES = $(html_DATA) pod2htm*.tmp
AUTODOCS_YCP ?= $(wildcard $(srcdir)/../../src/*.ycp)
AUTODOCS_PM ?= $(wildcard $(srcdir)/../../src/*.pm)
+AUTODOCS_STRIP ?= $(srcdir)/../../src
index.html: $(AUTODOCS_YCP) $(AUTODOCS_PM)
#including *.pm, for the index
- ${YCPDOC} -d. $^
+ ${YCPDOC} -d. -s$(AUTODOCS_STRIP) $(AUTODOCS_YCP)
for i in $(AUTODOCS_PM); do \
- b=`basename $$i`; b=$${b%.pm}; \
+ b=$${i##$(AUTODOCS_STRIP)}; b=$${b#/}; b=$${b//\//__}; b=$${b%.pm}; \
pod2html --title=$$b --infile=$$i --outfile=$$b.html; \
- echo "<a href='$$b.html'>$$b</a>" > $$b.mod.html; \
+ echo "<a href='$$b.html'>$${b/__/::}</a>" > $$b.mod.html; \
done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/configure.in new/yast2-dns-server-2.20.1/configure.in
--- old/yast2-dns-server-2.18.3/configure.in 2009-01-23 18:42:45.000000000 +0100
+++ new/yast2-dns-server-2.20.1/configure.in 2011-01-06 14:47:53.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-dns-server
dnl
-dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-dns-server, 2.18.1, http://bugs.opensuse.org/, yast2-dns-server)
+AC_INIT(yast2-dns-server, 2.20.1, http://bugs.opensuse.org/, yast2-dns-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.18.1"
+VERSION="2.20.1"
RPMNAME="yast2-dns-server"
MAINTAINER="Lukas Ocilka "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/Makefile.am new/yast2-dns-server-2.20.1/Makefile.am
--- old/yast2-dns-server-2.18.3/Makefile.am 2009-01-23 18:42:45.000000000 +0100
+++ new/yast2-dns-server-2.20.1/Makefile.am 2011-01-06 14:47:53.000000000 +0100
@@ -32,10 +32,10 @@
# less strict; prefer bzip2
AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
-# where devtools instal m4 snippets
+# where devtools install m4 snippets
# argh, executed literally
#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
-ACLOCAL_AMFLAGS = -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
cmp -s $< $@ || cp -f $< $@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/missing new/yast2-dns-server-2.20.1/missing
--- old/yast2-dns-server-2.18.3/missing 2009-01-23 18:42:48.000000000 +0100
+++ new/yast2-dns-server-2.20.1/missing 2011-01-06 14:47:56.000000000 +0100
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2006-05-10.23
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
# This program is free software; you can redistribute it and/or modify
@@ -18,9 +18,7 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program. If not, see http://www.gnu.org/licenses/.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -89,6 +87,9 @@
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
Send bug reports to ."
exit $?
;;
@@ -106,15 +107,22 @@
esac
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
-# the program).
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
case $1 in
- lex|yacc)
+ lex*|yacc*)
# Not GNU programs, they don't have --version.
;;
- tar)
+ tar*)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
@@ -138,7 +146,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case $1 in
+case $program in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -148,7 +156,7 @@
touch aclocal.m4
;;
- autoconf)
+ autoconf*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
@@ -157,7 +165,7 @@
touch configure
;;
- autoheader)
+ autoheader*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
@@ -187,7 +195,7 @@
while read f; do touch "$f"; done
;;
- autom4te)
+ autom4te*)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
@@ -210,7 +218,7 @@
fi
;;
- bison|yacc)
+ bison*|yacc*)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
@@ -240,7 +248,7 @@
fi
;;
- lex|flex)
+ lex*|flex*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
@@ -263,7 +271,7 @@
fi
;;
- help2man)
+ help2man*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
@@ -277,11 +285,11 @@
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
- exit 1
+ exit $?
fi
;;
- makeinfo)
+ makeinfo*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -310,7 +318,7 @@
touch $file
;;
- tar)
+ tar*)
shift
# We have already tried tar in the generic part.
@@ -363,5 +371,6 @@
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/src/dialog-masterzone.ycp new/yast2-dns-server-2.20.1/src/dialog-masterzone.ycp
--- old/yast2-dns-server-2.18.3/src/dialog-masterzone.ycp 2008-11-18 13:53:21.000000000 +0100
+++ new/yast2-dns-server-2.20.1/src/dialog-masterzone.ycp 2011-01-06 14:35:22.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Jiri Srain ,
* Lukas Ocilka
*
- * $Id: dialog-masterzone.ycp 53380 2008-11-18 12:54:01Z locilka $
+ * $Id: dialog-masterzone.ycp 63112 2011-01-06 13:35:21Z locilka $
*/
{
@@ -1308,6 +1308,31 @@
}
/**
+ * Checks whether a given string is a valid TXT record key (name)
+ */
+boolean ValidTXTRecordName (string name) {
+ // Checking the length
+ if (name == nil || name == "") {
+ y2warning ("TXT record key must not be empty");
+ return false;
+ }
+
+ // Checking for forbidden '='
+ if (regexpmatch(name, "=")) {
+ y2warning ("TXT record key %1 must not contain a '=' character.", name);
+ return false;
+ }
+
+ // only US-ASCII characters are allowed
+ if (size(name) != size(toascii(name))) {
+ y2warning ("TXT record key %1 contains some non US-ASCII characters", name);
+ return false;
+ }
+
+ return true;
+}
+
+/**
* Checking new record by the "type"
*/
boolean CheckNewZoneRecordSyntax (map record) {
@@ -1467,10 +1492,10 @@
// -- TXT -- \\
} else if (type == "TXT") {
- // (hostname or FQ)
- if (Hostname::Check(key) != true && Hostname::CheckFQ(key) != true) {
+ if (! ValidTXTRecordName(key)) {
UI::SetFocus ( `id ("add_record_name") );
- Popup::Error (_("Invalid TXT record key. It should be similar to a hostname.") + "\n\n" + Hostname::ValidFQ() );
+ Popup::Error (_("Invalid TXT record key. It should consist of printable US-ASCII characters excluding '='
+and must be at least one character long."));
return false;
}
if (size (val) > 255) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/src/dns-server.desktop new/yast2-dns-server-2.20.1/src/dns-server.desktop
--- old/yast2-dns-server-2.18.3/src/dns-server.desktop 2008-05-19 15:28:04.000000000 +0200
+++ new/yast2-dns-server-2.20.1/src/dns-server.desktop 2010-01-15 11:14:00.000000000 +0100
@@ -20,9 +20,8 @@
X-SuSE-YaST-AutoInstSchema=dns-server.rnc
Icon=yast-dns-server
-Exec=/sbin/yast2 dns-server
+Exec=xdg-su -c "/sbin/yast2 dns-server"
Name=DNS Server
GenericName=Configure a DNS server
-X-KDE-SubstituteUID=true
StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/src/DnsServerHelperFunctions.ycp new/yast2-dns-server-2.20.1/src/DnsServerHelperFunctions.ycp
--- old/yast2-dns-server-2.18.3/src/DnsServerHelperFunctions.ycp 2008-07-23 15:09:17.000000000 +0200
+++ new/yast2-dns-server-2.20.1/src/DnsServerHelperFunctions.ycp 2009-11-24 15:14:18.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Module containing helper functions.
* Authors: Lukas Ocilka
*
- * $Id:$
+ * $Id: DnsServerHelperFunctions.ycp 57028 2009-04-29 10:58:09Z lslezak $
*
* Module handles dynamic update of zone using 'nsupdate' command.
* Automatic generation of connected zones and much more!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/src/DnsServer.pm new/yast2-dns-server-2.20.1/src/DnsServer.pm
--- old/yast2-dns-server-2.18.3/src/DnsServer.pm 2009-03-20 17:00:15.000000000 +0100
+++ new/yast2-dns-server-2.20.1/src/DnsServer.pm 2009-11-26 14:00:01.000000000 +0100
@@ -1784,7 +1784,7 @@
# check if the schema is properly included
NetworkInterfaces->Read ();
- if ($ldap_server eq "127.0.0.1" || $ldap_server eq "localhost"
+ if ($ldap_server =~ /^127\.0\.0\.[0-9]+$/ || $ldap_server eq "localhost" || $ldap_server eq "::1"
|| -1 != index (lc ($ldap_server), lc (Hostname->CurrentHostname()))
|| 0 != scalar (@{NetworkInterfaces->Locate ("IPADDR", $ldap_server)}))
{
@@ -1797,7 +1797,7 @@
}
# connect to the LDAP server
- my $ret = Ldap->LDAPInit (0, 0);
+ my $ret = Ldap->LDAPInit ();
if ($ret ne "")
{
Ldap->LDAPErrorMessage ("init", $ret);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.18.3/VERSION new/yast2-dns-server-2.20.1/VERSION
--- old/yast2-dns-server-2.18.3/VERSION 2009-03-20 17:13:30.000000000 +0100
+++ new/yast2-dns-server-2.20.1/VERSION 2011-01-06 14:20:56.000000000 +0100
@@ -1 +1 @@
-2.18.3
+2.20.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org