commit yast2-runlevel for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-runlevel for openSUSE:Factory checked in at Fri Jan 7 12:25:49 CET 2011. -------- --- yast2-runlevel/yast2-runlevel.changes 2010-02-10 17:19:59.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-runlevel/yast2-runlevel.changes 2011-01-05 14:05:46.000000000 +0100 @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Wed Jan 5 13:58:24 CET 2011 - locilka@suse.cz + +- Fixed services proposal (BNC #572736) +- 2.20.1 + +------------------------------------------------------------------- +Tue Mar 9 12:53:14 CET 2010 - locilka@suse.cz + +- Skipping starting boot.* scripts in services_proposal, they still + have to be enabled though (BNC #583773). + calling whatdependson for head-i586 Old: ---- yast2-runlevel-2.19.0.tar.bz2 New: ---- yast2-runlevel-2.20.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-runlevel.spec ++++++ --- /var/tmp/diff_new_pack.IYslWH/_old 2011-01-07 12:21:59.000000000 +0100 +++ /var/tmp/diff_new_pack.IYslWH/_new 2011-01-07 12:21:59.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package yast2-runlevel (Version 2.19.0) +# spec file for package yast2-runlevel (Version 2.20.1) # -# Copyright (c) 2010 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,15 +19,19 @@ Name: yast2-runlevel -Version: 2.19.0 +Version: 2.20.1 Release: 1 + BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-runlevel-2.19.0.tar.bz2 +Source0: yast2-runlevel-2.20.1.tar.bz2 + Prefix: /usr + Group: System/YaST License: GPLv2+ BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite Requires: yast2 + Provides: yast2-config-runlevel Obsoletes: yast2-config-runlevel Provides: yast2-trans-runlevel @@ -40,14 +44,16 @@ boot. %prep -%setup -n yast2-runlevel-2.19.0 +%setup -n yast2-runlevel-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} # V=1: verbose build in case we used AM_SILENT_RULES(yes) ++++++ yast2-runlevel-2.19.0.tar.bz2 -> yast2-runlevel-2.20.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-runlevel-2.19.0/configure new/yast2-runlevel-2.20.1/configure --- old/yast2-runlevel-2.19.0/configure 2010-02-08 14:56:23.000000000 +0100 +++ new/yast2-runlevel-2.20.1/configure 2011-01-05 14:03:03.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for yast2-runlevel 2.18.0. +# Generated by GNU Autoconf 2.63 for yast2-runlevel 2.20.1. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -596,8 +596,8 @@ # Identity of this package. PACKAGE_NAME='yast2-runlevel' PACKAGE_TARNAME='yast2-runlevel' -PACKAGE_VERSION='2.18.0' -PACKAGE_STRING='yast2-runlevel 2.18.0' +PACKAGE_VERSION='2.20.1' +PACKAGE_STRING='yast2-runlevel 2.20.1' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' ac_unique_file="RPMNAME" @@ -1276,7 +1276,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-runlevel 2.18.0 to adapt to many kinds of systems. +\`configure' configures yast2-runlevel 2.20.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1347,7 +1347,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-runlevel 2.18.0:";; + short | recursive ) echo "Configuration of yast2-runlevel 2.20.1:";; esac cat <<\_ACEOF @@ -1427,7 +1427,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-runlevel configure 2.18.0 +yast2-runlevel configure 2.20.1 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1441,7 +1441,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-runlevel $as_me 2.18.0, which was +It was created by yast2-runlevel $as_me 2.20.1, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2421,7 +2421,7 @@ # Define the identity of the package. PACKAGE='yast2-runlevel' - VERSION='2.18.0' + VERSION='2.20.1' cat >>confdefs.h <<_ACEOF @@ -2543,7 +2543,7 @@ -VERSION="2.18.0" +VERSION="2.20.1" RPMNAME="yast2-runlevel" MAINTAINER="Lukas Ocilka <locilka@suse.cz>" @@ -3578,7 +3578,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-runlevel $as_me 2.18.0, which was +This file was extended by yast2-runlevel $as_me 2.20.1, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3628,7 +3628,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -yast2-runlevel config.status 2.18.0 +yast2-runlevel config.status 2.20.1 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-runlevel-2.19.0/configure.in new/yast2-runlevel-2.20.1/configure.in --- old/yast2-runlevel-2.19.0/configure.in 2010-02-08 14:56:21.000000000 +0100 +++ new/yast2-runlevel-2.20.1/configure.in 2011-01-05 14:03:01.000000000 +0100 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-runlevel, 2.18.0, http://bugs.opensuse.org/, yast2-runlevel) +AC_INIT(yast2-runlevel, 2.20.1, http://bugs.opensuse.org/, yast2-runlevel) 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.0" +VERSION="2.20.1" RPMNAME="yast2-runlevel" MAINTAINER="Lukas Ocilka <locilka@suse.cz>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-runlevel-2.19.0/src/services_proposal.ycp new/yast2-runlevel-2.20.1/src/services_proposal.ycp --- old/yast2-runlevel-2.19.0/src/services_proposal.ycp 2009-12-09 13:39:20.000000000 +0100 +++ new/yast2-runlevel-2.20.1/src/services_proposal.ycp 2011-01-05 13:57:53.000000000 +0100 @@ -183,7 +183,7 @@ ); } else { message = sformat ( - _("Service <i>%1</i> will be <b>disabled</b> and ports in firewall will be open <a href=\"%2\">(enable)</a>"), + _("Service <i>%1</i> will be <b>disabled</b> and ports in firewall will be closed <a href=\"%2\">(enable)</a>"), one_service["label"]:"", sformat("toggle_service_%1", counter) ); @@ -296,20 +296,27 @@ services = (list <string>) union (all_needed_services, services); foreach (string service, services, { + // Check and enable service + if (Service::Enabled (service) != true && Service::Enable (service) != true) { + y2error ("Unable to enable service %1", service); + Report::Error (sformat(_("Cannot enable service %1"), service)); + ret = false; + } + + // All boot.* scripts are skipped + // See BNC #583773 + if (regexpmatch (service, "^boot\..*")) { + y2warning ("Skipping service %1", service); + return; + } + + // Check and start service if (Service::Status (service) == -1) { y2error ("Service name %1 is unknown", service); Report::Error (sformat (_("Unable to start and enable service %1. Service is not installed."), service)); ret = false; } else { - // Check and enable service - if (Service::Enabled (service) != true && Service::Enable (service) != true) { - y2error ("Unable to enable service %1", service); - Report::Error (sformat(_("Cannot enable service %1"), service)); - ret = false; - } - - // Check and start service if (Service::RunInitScriptWithTimeOut (service, "status") != 0 && Service::RunInitScriptWithTimeOut (service, "start") != 0) { y2error ("Unable to start service %1", service); Report::Error (sformat(_("Cannot start service %1"), service)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-runlevel-2.19.0/VERSION new/yast2-runlevel-2.20.1/VERSION --- old/yast2-runlevel-2.19.0/VERSION 2010-02-10 17:16:56.000000000 +0100 +++ new/yast2-runlevel-2.20.1/VERSION 2011-01-05 14:00:54.000000000 +0100 @@ -1 +1 @@ -2.19.0 +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
participants (1)
-
root@hilbert.suse.de