As there is limit for messages on this mailing list, I'm separating
e-mail in two pieces: patches and translation.
Hello!
I made few small fixes on svn/trunk of OpenVAS:
openvas-libraries-compile-fix.diff: it's fix in function of two times
declaring the same variable (char *oldid)
openvas-server-openvas-adduser-fix.diff: I added missing stuff to script
because it will not work without it (I see that release version as well
as SVN version have same problem). So users might have problem adding
user(s).
aggregated.diff: it's aggregated diff (including those two fixes in one
patch, so you can apply it easier)
Hope it helps!
Kost
Index: openvas-server/openvas-adduser.in
===================================================================
--- openvas-server/openvas-adduser.in (revision 1082)
+++ openvas-server/openvas-adduser.in (working copy)
@@ -41,6 +41,9 @@
umask 066
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
+
# add the openvas installation path
[EMAIL PROTECTED]@:@bindir@:$PATH ; export PATH
Index: openvas-libraries/libopenvas/plugutils.c
===================================================================
--- openvas-libraries/libopenvas/plugutils.c (revision 1082)
+++ openvas-libraries/libopenvas/plugutils.c (working copy)
@@ -230,7 +230,6 @@
struct arglist * desc;
int id;
{
- char *oldid;
arg_add_value(desc, "ID", ARG_INT, sizeof(int), (void*)id);
/* If a script_id has been set then set a matching script_oid */
char *oldid = arg_get_value(desc, "OID");
Index: openvas-libraries/libopenvas/plugutils.c
===================================================================
--- openvas-libraries/libopenvas/plugutils.c (revision 1082)
+++ openvas-libraries/libopenvas/plugutils.c (working copy)
@@ -230,7 +230,6 @@
struct arglist * desc;
int id;
{
- char *oldid;
arg_add_value(desc, "ID", ARG_INT, sizeof(int), (void*)id);
/* If a script_id has been set then set a matching script_oid */
char *oldid = arg_get_value(desc, "OID");
Index: openvas-adduser.in
===================================================================
--- openvas-adduser.in (revision 1082)
+++ openvas-adduser.in (working copy)
@@ -41,6 +41,9 @@
umask 066
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
+
# add the openvas installation path
[EMAIL PROTECTED]@:@bindir@:$PATH ; export PATH
_______________________________________________
Openvas-devel mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel