Hello community, here is the log from the commit of package yast2-firewall for openSUSE:Factory checked in at 2013-07-01 16:01:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-firewall (Old) and /work/SRC/openSUSE:Factory/.yast2-firewall.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-firewall" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-firewall/yast2-firewall.changes 2013-06-05 13:25:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-firewall.new/yast2-firewall.changes 2013-07-01 16:01:31.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jun 28 10:28:33 UTC 2013 - [email protected] + +- added Start / Stop commands into CLI +- 2.24.1 + +------------------------------------------------------------------- Old: ---- yast2-firewall-2.24.0.tar.bz2 New: ---- yast2-firewall-2.24.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-firewall.spec ++++++ --- /var/tmp/diff_new_pack.5oUdr1/_old 2013-07-01 16:01:32.000000000 +0200 +++ /var/tmp/diff_new_pack.5oUdr1/_new 2013-07-01 16:01:32.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-firewall -Version: 2.24.0 +Version: 2.24.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-firewall-2.24.0.tar.bz2 -> yast2-firewall-2.24.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firewall-2.24.0/VERSION new/yast2-firewall-2.24.1/VERSION --- old/yast2-firewall-2.24.0/VERSION 2013-05-07 11:26:31.000000000 +0200 +++ new/yast2-firewall-2.24.1/VERSION 2013-06-28 14:07:07.000000000 +0200 @@ -1 +1 @@ -2.24.0 +2.24.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firewall-2.24.0/configure new/yast2-firewall-2.24.1/configure --- old/yast2-firewall-2.24.0/configure 2013-05-28 14:09:58.000000000 +0200 +++ new/yast2-firewall-2.24.1/configure 2013-06-28 16:07:07.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2-firewall 2.24.0. +# Generated by GNU Autoconf 2.69 for yast2-firewall 2.24.1. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='yast2-firewall' PACKAGE_TARNAME='yast2-firewall' -PACKAGE_VERSION='2.24.0' -PACKAGE_STRING='yast2-firewall 2.24.0' +PACKAGE_VERSION='2.24.1' +PACKAGE_STRING='yast2-firewall 2.24.1' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1247,7 +1247,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-firewall 2.24.0 to adapt to many kinds of systems. +\`configure' configures yast2-firewall 2.24.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1318,7 +1318,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-firewall 2.24.0:";; + short | recursive ) echo "Configuration of yast2-firewall 2.24.1:";; esac cat <<\_ACEOF @@ -1398,7 +1398,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-firewall configure 2.24.0 +yast2-firewall configure 2.24.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1415,7 +1415,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-firewall $as_me 2.24.0, which was +It was created by yast2-firewall $as_me 2.24.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2354,7 +2354,7 @@ # Define the identity of the package. PACKAGE='yast2-firewall' - VERSION='2.24.0' + VERSION='2.24.1' cat >>confdefs.h <<_ACEOF @@ -2477,7 +2477,7 @@ -VERSION="2.24.0" +VERSION="2.24.1" RPMNAME="yast2-firewall" MAINTAINER="YaST2 Maintainers <[email protected]>" @@ -3403,7 +3403,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-firewall $as_me 2.24.0, which was +This file was extended by yast2-firewall $as_me 2.24.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3456,7 +3456,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-firewall config.status 2.24.0 +yast2-firewall config.status 2.24.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firewall-2.24.0/configure.in new/yast2-firewall-2.24.1/configure.in --- old/yast2-firewall-2.24.0/configure.in 2013-05-28 14:09:55.000000000 +0200 +++ new/yast2-firewall-2.24.1/configure.in 2013-06-28 16:07:02.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.in for yast2-firewall dnl -dnl -- This file is generated by y2autoconf 2.24.0 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.24.1 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-firewall, 2.24.0, http://bugs.opensuse.org/, yast2-firewall) +AC_INIT(yast2-firewall, 2.24.1, http://bugs.opensuse.org/, yast2-firewall) 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.24.0" +VERSION="2.24.1" RPMNAME="yast2-firewall" MAINTAINER="YaST2 Maintainers <[email protected]>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firewall-2.24.0/src/SuSEFirewallCMDLine.ycp new/yast2-firewall-2.24.1/src/SuSEFirewallCMDLine.ycp --- old/yast2-firewall-2.24.0/src/SuSEFirewallCMDLine.ycp 2013-01-22 11:19:16.000000000 +0100 +++ new/yast2-firewall-2.24.1/src/SuSEFirewallCMDLine.ycp 2013-06-28 14:07:07.000000000 +0200 @@ -1006,6 +1006,30 @@ } } + /** + * Overall firewall manual enabling handler + * + * @param map options ignored (no special options) + * @return boolean whether write call is needed + */ + boolean FWCMDEnable( map options) + { + SuSEFirewall::SetStartService(true); + return SuSEFirewall::StartServices(); + } + + /** + * Overall firewall manual disabling handler + * + * @param map options ignored (no special options) + * @return boolean whether write call is needed + */ + boolean FWCMDDisable( map options) + { + SuSEFirewall::SetStartService(false); + return SuSEFirewall::StartServices(); + } + map cmdline = $[ "id" : "firewall", // TRANSLATORS: CommandLine help @@ -1088,6 +1112,22 @@ "summary zone=EXT", ], ], + "enable" : $[ + "handler" : FWCMDEnable, + // TRANSLATORS: CommandLine help + "help" : _("Enables firewall"), + "example" : [ + "enable", + ], + ], + "disable" : $[ + "handler" : FWCMDDisable, + // TRANSLATORS: CommandLine help + "help" : _("Disables firewall"), + "example" : [ + "disable", + ], + ], ], "options" : $[ "show" : $[ @@ -1264,6 +1304,10 @@ "summary" : [ "zone" ], + "enable" : [ + ], + "disable" : [ + ], ], ]; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
