[Openvas-commits] r3423 - in trunk/openvas-client: . src/gui src/util

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 19 12:19:38 CEST 2009


Author: felix
Date: 2009-05-19 12:19:38 +0200 (Tue, 19 May 2009)
New Revision: 3423

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/src/gui/ssh_keys_dialog.c
   trunk/openvas-client/src/util/openvas_lsc_target_prep.c
   trunk/openvas-client/src/util/openvas_lsc_user_deb.c
Log:
Respect the changed signature of filename functions.
Changed location of installer/packages from .openvas/lsc-credentials to
.openvas/lsc-mngt.

* src/gui/ssh_keys_dialog.c (ssh_keys_dialog_prompt_new),
src/util/openvas_lsc_user_deb.c (openvas_lsc_user_deb): Respect new
signature of filename functions.

* src/util/openvas_lsc_target_prep.c (openvas_lsc_target_prep_filename):
Changed location of installer/packages from .openvas/lsc-credentials to
.openvas/lsc-mngt.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-05-19 10:08:31 UTC (rev 3422)
+++ trunk/openvas-client/ChangeLog	2009-05-19 10:19:38 UTC (rev 3423)
@@ -1,5 +1,17 @@
 2009-05-19  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
+	Respect the changed signature of filename functions.
+
+	* src/gui/ssh_keys_dialog.c (ssh_keys_dialog_prompt_new),
+	src/util/openvas_lsc_user_deb.c (openvas_lsc_user_deb): Respect new
+	signature of filename functions.
+	
+	* src/util/openvas_lsc_target_prep.c (openvas_lsc_target_prep_filename):
+	Changed location of installer/packages from .openvas/lsc-credentials to
+	.openvas/lsc-mngt.
+
+2009-05-19  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
 	Execute alien as fakeroot, use extracted module to fetch file names for
 	'credential installer/packages'.
 

Modified: trunk/openvas-client/src/gui/ssh_keys_dialog.c
===================================================================
--- trunk/openvas-client/src/gui/ssh_keys_dialog.c	2009-05-19 10:08:31 UTC (rev 3422)
+++ trunk/openvas-client/src/gui/ssh_keys_dialog.c	2009-05-19 10:19:38 UTC (rev 3423)
@@ -249,20 +249,20 @@
       // Attempt to create rpm, deb and exe
       if (openvas_ssh_rpm_generator_found() == TRUE)
         {
-          gchar* filename = openvas_ssh_rpm_filename (loginfo);
+          gchar* filename = openvas_ssh_rpm_filename (loginfo->name);
           // Check return value
           openvas_ssh_rpm_create (loginfo, filename);
           g_free (filename);
         }
       if (openvas_lsc_user_makensis_found() == TRUE)
         {
-          gchar* filename = openvas_lsc_user_makensis_filename (loginfo);
+          gchar* filename = openvas_lsc_user_makensis_filename (loginfo->name);
           openvas_lsc_user_makensis (loginfo, filename);
           g_free (filename);
         }
       if (openvas_lsc_user_deb_alien_found() == TRUE)
         {
-          gchar* filename = openvas_lsc_user_deb_filename (loginfo);
+          gchar* filename = openvas_lsc_user_deb_filename (loginfo->name);
           openvas_lsc_user_deb (loginfo, filename);
           g_free (filename);
         }

Modified: trunk/openvas-client/src/util/openvas_lsc_target_prep.c
===================================================================
--- trunk/openvas-client/src/util/openvas_lsc_target_prep.c	2009-05-19 10:08:31 UTC (rev 3422)
+++ trunk/openvas-client/src/util/openvas_lsc_target_prep.c	2009-05-19 10:19:38 UTC (rev 3423)
@@ -101,7 +101,7 @@
   filename = g_strdup_printf ("openvas_lsc_target_preparation_%s.%s", accountname, extension);
   g_strcanon (filename, LEGAL_FILENAME_CHARS, '_');
 
-  dir = g_build_filename (prefs_get_nessushome(), ".openvas", "lsc-credentials", NULL);
+  dir = g_build_filename (prefs_get_nessushome(), ".openvas", "lsc-mngt", NULL);
   if (file_utils_ensure_dir (dir) == FALSE)
     {
       g_free (dir);

Modified: trunk/openvas-client/src/util/openvas_lsc_user_deb.c
===================================================================
--- trunk/openvas-client/src/util/openvas_lsc_user_deb.c	2009-05-19 10:08:31 UTC (rev 3422)
+++ trunk/openvas-client/src/util/openvas_lsc_user_deb.c	2009-05-19 10:19:38 UTC (rev 3423)
@@ -164,7 +164,7 @@
 {
   gboolean success   = FALSE;
   gchar* debfilename = g_strdup_printf ("openvas-lsc-target-%s_0.5-2_all.deb", loginfo->username);
-  gchar* rpmfile = openvas_ssh_rpm_filename (loginfo);
+  gchar* rpmfile = openvas_ssh_rpm_filename (loginfo->name);
 
   openvas_lsc_user_deb_alien_found ();
 



More information about the Openvas-commits mailing list