Hello community,
here is the log from the commit of package yast2-firewall
checked in at Wed Jul 16 01:20:38 CEST 2008.
--------
--- yast2-firewall/yast2-firewall.changes 2008-07-08 16:17:44.000000000 +0200
+++ yast2-firewall/yast2-firewall.changes 2008-07-15 19:10:19.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Jul 15 18:37:56 CEST 2008 - locilka@suse.cz
+
+- SuSEFirewallUI and SuSEFirewallCMDLine YCP modules marked as
+ internal.
+- Added SuSEFirewallCMDLine documentation.
+- Using [Cancel] instead of [Abort].
+- 2.17.1
+
+-------------------------------------------------------------------
Old:
----
yast2-firewall-2.17.0.tar.bz2
New:
----
yast2-firewall-2.17.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-firewall.spec ++++++
--- /var/tmp/diff_new_pack.CT8992/_old 2008-07-16 01:19:31.000000000 +0200
+++ /var/tmp/diff_new_pack.CT8992/_new 2008-07-16 01:19:31.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-firewall (Version 2.17.0)
+# spec file for package yast2-firewall (Version 2.17.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-firewall
-Version: 2.17.0
+Version: 2.17.1
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-firewall-2.17.0.tar.bz2
+Source0: yast2-firewall-2.17.1.tar.bz2
Prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-testsuite
BuildRequires: yast2 >= 2.16.47
@@ -42,7 +42,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-firewall-2.17.0
+%setup -n yast2-firewall-2.17.1
%build
%{prefix}/bin/y2tool y2autoconf
@@ -74,7 +74,14 @@
%{prefix}/share/applications/YaST2/firewall.desktop
/usr/share/YaST2/schema/autoyast/rnc/firewall.rnc
%doc %{prefix}/share/doc/packages/yast2-firewall
+
%changelog
+* Tue Jul 15 2008 locilka@suse.cz
+- SuSEFirewallUI and SuSEFirewallCMDLine YCP modules marked as
+ internal.
+- Added SuSEFirewallCMDLine documentation.
+- Using [Cancel] instead of [Abort].
+- 2.17.1
* Tue Jul 08 2008 locilka@suse.cz
- Explicitely enabling functionality that offers to install
firewall packages if missing (bnc #388773).
++++++ yast2-firewall-2.17.0.tar.bz2 -> yast2-firewall-2.17.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-firewall-2.17.0/src/complex.ycp new/yast2-firewall-2.17.1/src/complex.ycp
--- old/yast2-firewall-2.17.0/src/complex.ycp 2007-05-18 10:44:16.000000000 +0200
+++ new/yast2-firewall-2.17.1/src/complex.ycp 2008-07-15 18:39:21.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Complex dialogs definitions
* Authors: Michal Svec
*
- * $Id: complex.ycp 36581 2007-02-28 14:33:32Z locilka $
+ * $Id: complex.ycp 49128 2008-07-15 16:39:03Z locilka $
*/
{
@@ -56,6 +56,7 @@
// hidding finished progress
Wizard::SetContentsButtons ("", `Empty(), "", "", "");
+ Wizard::SetAbortButton (`abort, Label::CancelButton());
/* FIXME: handle possible read errors */
return ret ? `next : `abort;
@@ -74,6 +75,7 @@
// hidding finished progress
Wizard::SetContentsButtons ("", `Empty(), "", "", "");
+ Wizard::SetAbortButton (`abort, Label::CancelButton());
}
/**
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-firewall-2.17.0/src/dialogs.ycp new/yast2-firewall-2.17.1/src/dialogs.ycp
--- old/yast2-firewall-2.17.0/src/dialogs.ycp 2008-04-14 12:02:40.000000000 +0200
+++ new/yast2-firewall-2.17.1/src/dialogs.ycp 2008-07-15 18:39:21.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Configuration dialogs and workflow
* Authors: Lukas Ocilka
*
- * $Id: dialogs.ycp 46538 2008-04-14 10:00:58Z locilka $
+ * $Id: dialogs.ycp 49128 2008-07-15 16:39:03Z locilka $
*
* Configuration dialogs and workflow.
* Both Expert and Simple.
@@ -271,7 +271,7 @@
"screens" : tabs,
"widget_descr" : widgets_handling,
"back_button" : Label::BackButton(),
- "abort_button" : Label::AbortButton(),
+ "abort_button" : Label::CancelButton(),
// if 'normal' or 'installation', [Next] button, else [OK]
"next_button" : (Mode::normal() ?
Label::NextButton () : Label::OKButton ()
@@ -289,6 +289,7 @@
Label::BackButton (),
(Mode::normal() ? Label::FinishButton() : Label::OKButton ())
);
+ Wizard::SetAbortButton (`abort, Label::CancelButton());
SetFirewallIcon();
UI::ChangeWidget(`id(`back), `Enabled, true);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-firewall-2.17.0/src/SuSEFirewallCMDLine.ycp new/yast2-firewall-2.17.1/src/SuSEFirewallCMDLine.ycp
--- old/yast2-firewall-2.17.0/src/SuSEFirewallCMDLine.ycp 2007-05-18 10:44:16.000000000 +0200
+++ new/yast2-firewall-2.17.1/src/SuSEFirewallCMDLine.ycp 2008-07-15 19:10:32.000000000 +0200
@@ -5,8 +5,9 @@
* Package: Firewall configuration
* Summary: Command Line for YaST2 Firewall (Only for Firewall)
* Authors: Lukas Ocilka
+ * Internal
*
- * $Id: SuSEFirewallCMDLine.ycp 33291 2006-10-09 15:15:59Z locilka $
+ * $Id: SuSEFirewallCMDLine.ycp 49130 2008-07-15 17:10:31Z locilka $
*/
{
@@ -25,6 +26,12 @@
include "firewall/summary.ycp";
include "firewall/generalfunctions.ycp";
+ /**
+ * Returns list of strings made from the comma-separated string got as param.
+ *
+ * @param any comma_separated_string
+ * @return list <string> items
+ */
list <string> CommaSeparatedList(any comma_separated_string) {
return splitstring((string) comma_separated_string, ",");
}
@@ -59,6 +66,9 @@
}
}
+ /**
+ * Function prints table of known firewall zones
+ */
void ListFirewallZones () {
CommandLine::Print("");
// TRANSLATORS: CommandLine header
@@ -83,6 +93,11 @@
CommandLine::Print("");
}
+ /**
+ * Calls ListFirewallZones
+ *
+ * @return boolean always false
+ */
boolean FWCMDZones (map options) {
// listing known zones
if (options["list"]:nil != nil) {
@@ -93,6 +108,12 @@
return false;
}
+ /**
+ * Prints firewall summary for zones
+ *
+ * @param map options
+ * @return boolean always false
+ */
boolean FWCMDSummary (map options) {
// printing summary
@@ -117,6 +138,11 @@
return false;
}
+ /**
+ * Sets startup details
+ *
+ * @return boolean always true
+ */
boolean FWCMDStartup (map options) {
if (options["atboot"]:nil!=nil && options["manual"]:nil!=nil) {
// TRANSLATORS: CommandLine error message
@@ -157,6 +183,12 @@
return true;
}
+ /**
+ * Sets network interface assignment
+ *
+ * @param map options
+ * @return boolean whether write call is needed
+ */
boolean FWCMDInterfaces (map options) {
list <string> unassigned_interfaces = [];
map > interfaces = $[];
@@ -258,6 +290,12 @@
return true;
}
+ /**
+ * Sets logging details
+ *
+ * @param map options
+ * @return boolean whether write is needed
+ */
boolean FWCMDLogging (map options) {
map logging_meaning = $[
// TRANSLATORS: CommandLine table item
@@ -378,6 +416,12 @@
}
}
+ /**
+ * Sets broadcast
+ *
+ * @param map options
+ * @return boolean if write is needed
+ */
boolean FWCMDBroadcast (map options) {
if (options["show"]:nil!=nil) {
// all zones if no zone is defined
@@ -467,6 +511,9 @@
return false;
}
+ /**
+ * Prints all known firewall services
+ */
void FWCMDServicesList() {
CommandLine::Print("");
// TRANSLATORS: CommandLine header
@@ -487,6 +534,12 @@
CommandLine::Print("");
}
+ /**
+ * Prints currently allowed services
+ *
+ * @param list <string> for_zones
+ * @param boolean detailed
+ */
void FWCMDServicesShow (list <string> for_zones, boolean detailed) {
map known_services = SuSEFirewallServices::GetSupportedServices();
boolean protect_from_INT = SuSEFirewall::GetProtectFromInternalZone();
@@ -622,6 +675,13 @@
CommandLine::Print("");
}
+ /**
+ * Adds/removes services to/from zone.
+ *
+ * @param string action ("add" or "remove")
+ * @param string zone
+ * @param list <string> services
+ */
void FWCMDServicesDefinedServicesManagement(string action, string zone, list <string> services) {
foreach (string service, services, {
if (!SuSEFirewallServices::IsKnownService(service)) {
@@ -639,6 +699,15 @@
SuSEFirewall::SetServicesForZones(services, [zone], false);
}
}
+
+ /**
+ * Adds/removes ports to/from zone.
+ *
+ * @param string action ("add" or "remove")
+ * @param string zone
+ * @param list <string> ports_or_protocols
+ * @param string type
+ */
void FWCMDServicesAdditionalPortsManagement(string action, string zone, list <string> ports_or_protocols, string type) {
map types = $[
"tcpport" : "TCP",
@@ -663,6 +732,12 @@
}
}
+ /**
+ * Sets protect-from value
+ *
+ * @param string zone (only "INT" is supported)
+ * @param string protect "yes" or "no"
+ */
void FWCMDServicesProtect(string zone, string protect) {
protect = tolower(protect);
if (!contains(["yes","no"], protect)) {
@@ -679,6 +754,12 @@
SuSEFirewall::SetProtectFromInternalZone(protect=="yes");
}
+ /**
+ * Overall handler function for services
+ *
+ * @param map options
+ * @return boolean whether write call is needed
+ */
boolean FWCMDServices (map options) {
// listing all known defined services
if (options["list"]:nil!=nil) {
@@ -743,6 +824,11 @@
}
}
+ /**
+ * Prints the table of the current redirect-to-masquerade rules
+ *
+ * @param map options
+ */
void FWCMDMasqRedirectShow (map options) {
CommandLine::Print("");
// TRANSLATORS: CommandLine header
@@ -793,6 +879,12 @@
CommandLine::Print("");
}
+ /**
+ * Overall handler for redirect to masqueraded network
+ *
+ * @param map options
+ * @return boolean whether write call is needed
+ */
boolean FWCMDMasqRedirect (map options) {
if (options["show"]:nil!=nil) {
FWCMDMasqRedirectShow(options);
@@ -863,6 +955,12 @@
}
}
+ /**
+ * Overall masquerade-related handler
+ *
+ * @param map options
+ * @return boolean whether write call is needed
+ */
boolean FWCMDMasquerade (map options) {
if (options["show"]:nil!=nil) {
CommandLine::Print("");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-firewall-2.17.0/src/SuSEFirewallUI.ycp new/yast2-firewall-2.17.1/src/SuSEFirewallUI.ycp
--- old/yast2-firewall-2.17.0/src/SuSEFirewallUI.ycp 2007-05-18 10:44:16.000000000 +0200
+++ new/yast2-firewall-2.17.1/src/SuSEFirewallUI.ycp 2008-07-15 18:37:22.000000000 +0200
@@ -5,8 +5,9 @@
* Package: Firewall configuration
* Summary: UI for Firewall (Only for Firewall)
* Authors: Lukas Ocilka
+ * Internal
*
- * $Id: $
+ * $Id:$
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-firewall-2.17.0/src/wizards.ycp new/yast2-firewall-2.17.1/src/wizards.ycp
--- old/yast2-firewall-2.17.0/src/wizards.ycp 2007-05-18 10:44:16.000000000 +0200
+++ new/yast2-firewall-2.17.1/src/wizards.ycp 2008-07-15 18:39:21.000000000 +0200
@@ -6,12 +6,13 @@
* Summary: Wizards definition
* Authors: Lukas Ocilka
*
- * $Id: wizards.ycp 36416 2007-02-22 16:35:23Z locilka $
+ * $Id: wizards.ycp 49128 2008-07-15 16:39:03Z locilka $
*/
{
import "Wizard";
import "Sequencer";
+ import "Label";
include "firewall/complex.ycp";
include "firewall/dialogs.ycp";
@@ -72,6 +73,7 @@
];
Wizard::CreateDialog();
+ Wizard::SetAbortButton (`abort, Label::CancelButton());
SetFirewallIcon();
any ret = Sequencer::Run(aliases, sequence);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-firewall-2.17.0/VERSION new/yast2-firewall-2.17.1/VERSION
--- old/yast2-firewall-2.17.0/VERSION 2008-07-08 11:33:30.000000000 +0200
+++ new/yast2-firewall-2.17.1/VERSION 2008-07-15 18:40:22.000000000 +0200
@@ -1 +1 @@
-2.17.0
+2.17.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org