Hello community,
here is the log from the commit of package yast2-dns-server
checked in at Sun Aug 6 22:21:22 CEST 2006.
--------
--- yast2-dns-server/yast2-dns-server.changes 2006-07-28 12:52:44.000000000 +0200
+++ yast2-dns-server/yast2-dns-server.changes 2006-08-04 16:12:55.000000000 +0200
@@ -1,0 +2,19 @@
+Fri Aug 4 16:11:37 CEST 2006 - locilka@suse.cz
+
+- Added new function IsServiceConfigurableExternally() to the
+ DnsServerAPI module to be used from external modules like
+ DHCP or HTTP Servers.
+- 2.13.16
+
+-------------------------------------------------------------------
+Fri Aug 4 12:39:47 CEST 2006 - mvidner@suse.cz
+
+- Removed a Perl search path that is added elsewhere already
+ and here just breaks compilation in some cases (#197099).
+
+-------------------------------------------------------------------
+Thu Aug 3 10:57:42 CEST 2006 - locilka@suse.cz
+
+- New help texts (#195873).
+
+-------------------------------------------------------------------
Old:
----
yast2-dns-server-2.13.15.tar.bz2
New:
----
yast2-dns-server-2.13.16.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-dns-server.spec ++++++
--- /var/tmp/diff_new_pack.YXMYe6/_old 2006-08-06 22:21:13.000000000 +0200
+++ /var/tmp/diff_new_pack.YXMYe6/_new 2006-08-06 22:21:13.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-dns-server (Version 2.13.15)
+# spec file for package yast2-dns-server (Version 2.13.16)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-dns-server
-Version: 2.13.15
+Version: 2.13.16
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-dns-server-2.13.15.tar.bz2
+Source0: yast2-dns-server-2.13.16.tar.bz2
prefix: /usr
BuildRequires: perl-Digest-SHA1 perl-X500-DN perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-testsuite
Requires: yast2 /usr/bin/host perl-gettext yast2-perl-bindings bind-utils yast2-ldap perl-X500-DN perl-Digest-SHA1 perl-Parse-RecDescent yast2-ldap-client
@@ -33,7 +33,7 @@
Jiri Srain
%prep
-%setup -n yast2-dns-server-2.13.15
+%setup -n yast2-dns-server-2.13.16
%build
%{prefix}/bin/y2tool y2autoconf
@@ -76,6 +76,16 @@
%doc %{prefix}/share/doc/packages/yast2-dns-server
%changelog -n yast2-dns-server
+* Fri Aug 04 2006 - locilka@suse.cz
+- Added new function IsServiceConfigurableExternally() to the
+ DnsServerAPI module to be used from external modules like
+ DHCP or HTTP Servers.
+- 2.13.16
+* Fri Aug 04 2006 - mvidner@suse.cz
+- Removed a Perl search path that is added elsewhere already
+ and here just breaks compilation in some cases (#197099).
+* Thu Aug 03 2006 - locilka@suse.cz
+- New help texts (#195873).
* Fri Jul 28 2006 - locilka@suse.cz
- Optimized PunycodeToUnicode translations using DocodeDomainNames
function from DnsServerPunycode module (speeding up).
++++++ yast2-dns-server-2.13.15.tar.bz2 -> yast2-dns-server-2.13.16.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/VERSION new/yast2-dns-server-2.13.16/VERSION
--- old/yast2-dns-server-2.13.15/VERSION 2006-07-28 12:23:40.000000000 +0200
+++ new/yast2-dns-server-2.13.16/VERSION 2006-08-04 16:13:01.000000000 +0200
@@ -1 +1 @@
-2.13.15
+2.13.16
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/autodocs-ycp.ami new/yast2-dns-server-2.13.16/autodocs-ycp.ami
--- old/yast2-dns-server-2.13.15/autodocs-ycp.ami 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-dns-server-2.13.16/autodocs-ycp.ami 2006-08-04 16:19:29.000000000 +0200
@@ -0,0 +1,18 @@
+# -*- makefile -*- Automake include file
+# $Id: autodocs-ycp.ami 23438 2005-05-17 16:31:21Z mvidner $
+
+# Builds source documentation for YCP sources
+# Uses ycpdoc
+# PARAMETERS:
+# AUTODOCS_YCP: Files that the ycp autodocs is built from
+# Optional - the default is $(srcdir)/../../src/*.ycp
+
+htmldir = $(docdir)/autodocs
+
+html_DATA = index.html $(wildcard *.html)
+CLEANFILES = $(html_DATA)
+
+AUTODOCS_YCP ?= $(srcdir)/../../src/*.ycp
+index.html: $(AUTODOCS_YCP)
+ ${YCPDOC} -d. $^
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/configure new/yast2-dns-server-2.13.16/configure
--- old/yast2-dns-server-2.13.15/configure 2006-07-28 12:34:10.000000000 +0200
+++ new/yast2-dns-server-2.13.16/configure 2006-08-04 16:19:32.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-dns-server 2.13.15.
+# Generated by GNU Autoconf 2.59 for yast2-dns-server 2.13.16.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-dns-server'
PACKAGE_TARNAME='yast2-dns-server'
-PACKAGE_VERSION='2.13.15'
-PACKAGE_STRING='yast2-dns-server 2.13.15'
+PACKAGE_VERSION='2.13.16'
+PACKAGE_STRING='yast2-dns-server 2.13.16'
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-dns-server 2.13.15 to adapt to many kinds of systems.
+\`configure' configures yast2-dns-server 2.13.16 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-dns-server 2.13.15:";;
+ short | recursive ) echo "Configuration of yast2-dns-server 2.13.16:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-dns-server configure 2.13.15
+yast2-dns-server configure 2.13.16
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-dns-server $as_me 2.13.15, which was
+It was created by yast2-dns-server $as_me 2.13.16, 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-dns-server'
- VERSION='2.13.15'
+ VERSION='2.13.16'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.13.15"
+VERSION="2.13.16"
RPMNAME="yast2-dns-server"
MAINTAINER="Lukas Ocilka "
@@ -2693,7 +2693,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-dns-server $as_me 2.13.15, which was
+This file was extended by yast2-dns-server $as_me 2.13.16, 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-dns-server config.status 2.13.15
+yast2-dns-server config.status 2.13.16
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-dns-server-2.13.15/configure.in new/yast2-dns-server-2.13.16/configure.in
--- old/yast2-dns-server-2.13.15/configure.in 2006-07-28 12:34:05.000000000 +0200
+++ new/yast2-dns-server-2.13.16/configure.in 2006-08-04 16:19:29.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-dns-server, 2.13.15, http://bugs.opensuse.org/, yast2-dns-server)
+AC_INIT(yast2-dns-server, 2.13.16, http://bugs.opensuse.org/, yast2-dns-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.15"
+VERSION="2.13.16"
RPMNAME="yast2-dns-server"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/doc/autodocs/Makefile.am new/yast2-dns-server-2.13.16/doc/autodocs/Makefile.am
--- old/yast2-dns-server-2.13.15/doc/autodocs/Makefile.am 2006-06-26 09:07:32.000000000 +0200
+++ new/yast2-dns-server-2.13.16/doc/autodocs/Makefile.am 2006-08-04 16:10:32.000000000 +0200
@@ -1,12 +1,5 @@
#
-# Makefile.am for devtools/devtools/skeletons/config/doc/autodocs
+# Makefile.am for pam/doc/autodocs
#
-htmldir = $(docdir)/autodocs
-
-index.html: $(srcdir)/../../src/*.ycp
- $(ybindir)/ycpdoc -d. $(srcdir)/../../src/*.ycp
-
-html_DATA = index.html $(wildcard *.html)
-
-CLEANFILES = $(html_DATA)
+include $(top_srcdir)/autodocs-ycp.ami
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/doc/autodocs/Makefile.in new/yast2-dns-server-2.13.16/doc/autodocs/Makefile.in
--- old/yast2-dns-server-2.13.15/doc/autodocs/Makefile.in 2006-07-28 12:34:11.000000000 +0200
+++ new/yast2-dns-server-2.13.16/doc/autodocs/Makefile.in 2006-08-04 16:19:33.000000000 +0200
@@ -15,9 +15,18 @@
@SET_MAKE@
#
-# Makefile.am for devtools/devtools/skeletons/config/doc/autodocs
+# Makefile.am for pam/doc/autodocs
#
+# -*- makefile -*- Automake include file
+# $Id: autodocs-ycp.ami 23438 2005-05-17 16:31:21Z mvidner $
+
+# Builds source documentation for YCP sources
+# Uses ycpdoc
+# PARAMETERS:
+# AUTODOCS_YCP: Files that the ycp autodocs is built from
+# Optional - the default is $(srcdir)/../../src/*.ycp
+
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
@@ -41,8 +50,9 @@
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(top_srcdir)/autodocs-ycp.ami
subdir = doc/autodocs
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -171,7 +181,7 @@
all: all-am
.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/autodocs-ycp.ami $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -226,6 +236,7 @@
distdir: $(DISTFILES)
+ $(mkdir_p) $(distdir)/../..
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
@@ -340,8 +351,9 @@
uninstall-am uninstall-htmlDATA uninstall-info-am
-index.html: $(srcdir)/../../src/*.ycp
- $(ybindir)/ycpdoc -d. $(srcdir)/../../src/*.ycp
+AUTODOCS_YCP ?= $(srcdir)/../../src/*.ycp
+index.html: $(AUTODOCS_YCP)
+ ${YCPDOC} -d. $^
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/src/DnsServer.pm new/yast2-dns-server-2.13.16/src/DnsServer.pm
--- old/yast2-dns-server-2.13.15/src/DnsServer.pm 2006-07-24 14:24:05.000000000 +0200
+++ new/yast2-dns-server-2.13.16/src/DnsServer.pm 2006-08-04 16:04:28.000000000 +0200
@@ -38,7 +38,6 @@
use DnsZones;
use DnsTsigKeys;
-use lib "/usr/share/YaST2/modules/";
use LdapServerAccess;
use DnsData qw(@tsig_keys $start_service $chroot @allowed_interfaces
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/src/DnsServerAPI.pm new/yast2-dns-server-2.13.16/src/DnsServerAPI.pm
--- old/yast2-dns-server-2.13.15/src/DnsServerAPI.pm 2006-07-25 08:38:29.000000000 +0200
+++ new/yast2-dns-server-2.13.16/src/DnsServerAPI.pm 2006-08-04 16:10:09.000000000 +0200
@@ -52,6 +52,7 @@
use YaST::YCP qw( sformat y2milestone y2error y2warning );
YaST::YCP::Import ("DnsServer");
+YaST::YCP::Import ("PackageSystem");
YaST::YCP::Import ("Service");
YaST::YCP::Import ("Progress");
# for reporting errors
@@ -2425,7 +2426,7 @@
EXAMPLE:
- my @forwarders = ('192.168.32.1','192.168.32.2');
+ my @forwarders = SetZoneForwarders('192.168.32.1','192.168.32.2');
my $zone = 'example.org';
my $success = SetZoneForwarders($zone, \@masterservers);
@@ -2456,4 +2457,36 @@
return 1;
}
+=item *
+C<$boolean = ServiceIsConfigurableExternally();>
+
+Checks whether the needed DNS Server package is installed
+and whether the server is enabled, or at least, running.
+
+EXAMPLE:
+
+ my $configurable = IsServiceConfigurableExternally()
+
+=cut
+
+BEGIN{$TYPEINFO{IsServiceConfigurableExternally} = ["function", "boolean"]};
+sub IsServiceConfigurableExternally {
+ my $class = shift;
+
+ my $service_enabled = Service->Enabled ("named");
+ my $service_status = Service->Status ("named");
+ my $service_installed = PackageSystem->Installed ("bind");
+
+ y2milestone (
+ "Enabled: ".$service_enabled.", ".
+ "Status: ".$service_status.", ".
+ "Installed: ".$service_installed
+ );
+
+ return 0 if ($service_installed != 1);
+ return 0 if ($service_enabled != 1 && $service_status != 0);
+
+ return 1;
+}
+
1;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.13.15/src/helps.ycp new/yast2-dns-server-2.13.16/src/helps.ycp
--- old/yast2-dns-server-2.13.15/src/helps.ycp 2006-07-28 12:24:05.000000000 +0200
+++ new/yast2-dns-server-2.13.16/src/helps.ycp 2006-08-03 11:07:01.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Jiri Srain ,
* Lukas Ocilka
*
- * $Id: helps.ycp 32043 2006-07-28 10:25:33Z locilka $
+ * $Id: helps.ycp 32131 2006-08-03 09:08:34Z locilka $
*/
{
@@ -292,8 +292,9 @@
<tt>.in-addr.arpa</tt> as its <b>Zone Name</b> (for example, zone name
<tt>0.168.192.in-addr.arpa</tt> for network <tt>192.168.0.0/24</tt>), select
the <b>Zone Type</b>, and click <b>Add</b>.</p>
-<p>To remove a configured zone, select it and click <b>Delete Zone</b>.
-To edit a zone, select it and click <b>Edit Zone</b>.</p>
+<p>To modify settings for a zone, such as zone transport and name and
+mail servers, select it then click <b>Edit Zone</b>.
+To remove a configured zone, select it and click <b>Delete Zone</b>.</p>
"),
"zone_editor_basics" :
@@ -377,7 +378,7 @@
click <b>Add</b>.</p>") +
/* Zone Editor - Help for tab - Records 2/7 or 2/5 */
-_("<p>To change an existing record, select it, modify requested entries,
+_("<p>To change an existing record, select it, modify the desired entries,
and click <b>Change</b>. To delete a record, select it and click
<b>Delete</b>.</p>") +
@@ -483,7 +484,7 @@
// forward zone help text 2/2
_("<p>If there are no forwarders defined, all DNS queries
for the respective zone are denied, because there is no DNS
-server to which should be that query forwarded.</p>"),
+server to which that query should be forwarded.</p>"),
];
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...