Author: lslezak
Date: Wed Jul 30 09:18:00 2008
New Revision: 49500
URL: http://svn.opensuse.org/viewcvs/yast?rev=49500&view=rev
Log:
- fixed service name in the firewallconfiguration, install the
needed packages before reading service files (bnc#403377)
- added firewall config in the FTP server configuration dialog
- 2.17.0
Modified:
trunk/instserver/VERSION
trunk/instserver/package/yast2-instserver.changes
trunk/instserver/src/Instserver.ycp
trunk/instserver/src/dialogs.ycp
Modified: trunk/instserver/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/instserver/VERSION?rev=49500&r1=49499&r2=49500&view=diff
==============================================================================
--- trunk/instserver/VERSION (original)
+++ trunk/instserver/VERSION Wed Jul 30 09:18:00 2008
@@ -1 +1 @@
-2.16.5
+2.17.0
Modified: trunk/instserver/package/yast2-instserver.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/instserver/package/yast2-instserver.changes?rev=49500&r1=49499&r2=49500&view=diff
==============================================================================
--- trunk/instserver/package/yast2-instserver.changes (original)
+++ trunk/instserver/package/yast2-instserver.changes Wed Jul 30 09:18:00 2008
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Wed Jul 30 09:13:55 CEST 2008 - lslezak@suse.cz
+
+- fixed service name in the firewallconfiguration, install the
+ needed packages before reading service files (bnc#403377)
+- added firewall config in the FTP server configuration dialog
+- 2.17.0
+
+-------------------------------------------------------------------
Fri May 16 16:40:22 CEST 2008 - jsrain@suse.cz
- added categories Settings and System into desktop file
Modified: trunk/instserver/src/Instserver.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/instserver/src/Instserver.ycp?rev=49500&r1=49499&r2=49500&view=diff
==============================================================================
--- trunk/instserver/src/Instserver.ycp (original)
+++ trunk/instserver/src/Instserver.ycp Wed Jul 30 09:18:00 2008
@@ -246,20 +246,18 @@
return ret;
}
-/**
- * Setup FTP server
- * @param string inst server root
- * @param string ftp server root
- * @return boolean
- */
-global boolean SetupFTP(string dir, string ftproot, string ftpalias) {
-
+global boolean InstallFTPPackages()
+{
string help = _("The FTP installation server requires an FTP server package. The vsftpd package
will now be installed.
");
if ( !Package::InstalledAll( [ "xinetd", "vsftpd", "openslp-server", "yast2-inetd" ] ) ) {
y2milestone("some packages are not installed");
}
+ else
+ {
+ return true;
+ }
if ( !Package::InstallAll( [ "xinetd", "vsftpd" , "openslp-server", "yast2-inetd"])) {
Report::Error( Message::CannotContinueWithoutPackagesInstalled() );
@@ -267,6 +265,22 @@
return false;
}
+ return true;
+}
+
+/**
+ * Setup FTP server
+ * @param string inst server root
+ * @param string ftp server root
+ * @return boolean
+ */
+global boolean SetupFTP(string dir, string ftproot, string ftpalias) {
+
+ if (!InstallFTPPackages())
+ {
+ return false;
+ }
+
// create repository directory if it doesn't exist
SCR::Execute(.target.bash, sformat("[ -d %1 ] || /bin/mkdir %1", dir));
@@ -360,15 +374,8 @@
}
}
-
-/**
- * Setup HTTP server
- * @param string inst server root
- * @param string alias
- * @return boolean
- */
-global boolean SetupHTTP(string dir, string alias) {
-
+global boolean InstallHTTPPackages()
+{
string help = _("The HTTP installation server requires an HTTP server package. The apache2 package
will now be installed.");
if ( !Package::InstalledAll( [ "apache2" , "openslp-server" ] ) ) {
@@ -382,6 +389,22 @@
}
}
+ return true;
+}
+
+/**
+ * Setup HTTP server
+ * @param string inst server root
+ * @param string alias
+ * @return boolean
+ */
+global boolean SetupHTTP(string dir, string alias) {
+
+ if (!InstallHTTPPackages())
+ {
+ return false;
+ }
+
if ((integer)SCR::Read(.target.size, "/etc/apache2/conf.d/inst_server.conf.in") > 0 )
{
string conf = (string)SCR::Read(.target.string, "/etc/apache2/conf.d/inst_server.conf.in");
Modified: trunk/instserver/src/dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/instserver/src/dialogs.ycp?rev=49500&r1=49499&r2=49500&view=diff
==============================================================================
--- trunk/instserver/src/dialogs.ycp (original)
+++ trunk/instserver/src/dialogs.ycp Wed Jul 30 09:18:00 2008
@@ -1306,7 +1306,7 @@
// firewall widget using CWM
map