[Openvas-commits] r5690 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 23 21:11:13 CEST 2009
Author: jan
Date: 2009-10-23 21:11:12 +0200 (Fri, 23 Oct 2009)
New Revision: 5690
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/omp.c
Log:
* src/omp.c (latex_header, latex_footer, print_report_latex):
Generalized LaTeX-based PDF Report (not "OpenVAS"-specific).
Also added table of contents.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2009-10-23 19:06:40 UTC (rev 5689)
+++ trunk/openvas-manager/ChangeLog 2009-10-23 19:11:12 UTC (rev 5690)
@@ -1,3 +1,9 @@
+2009-10-23 Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
+ * src/omp.c (latex_header, latex_footer, print_report_latex):
+ Generalized LaTeX-based PDF Report (not "OpenVAS"-specific).
+ Also added table of contents.
+
2009-10-23 Matthew Mundell <matthew.mundell at intevation.de>
* src/tests/omp_get_preferences_2.c: Correct test number.
Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c 2009-10-23 19:06:40 UTC (rev 5689)
+++ trunk/openvas-manager/src/omp.c 2009-10-23 19:11:12 UTC (rev 5690)
@@ -2212,7 +2212,7 @@
"\\setlength{\\parskip}{\\smallskipamount}\n"
"\\setlength{\\parindent}{0pt}\n"
"\n"
- "\\title{OpenVAS Scan Report}\n"
+ "\\title{Scan Report}\n"
"\\pagestyle{headings}\n"
"\\pagenumbering{arabic}\n"
"\n"
@@ -2231,7 +2231,7 @@
"\\medskip\n"
"\\rule{\\textwidth}{0.1pt}\n"
"\n"
- "This file was generated by \\href{http://www.openvas.org/}{OpenVAS}, the free security scanner.\n"
+ "This file was automactically generated.\n"
"\\end{center}\n"
"\n"
"\\end{document}\n";
@@ -2268,7 +2268,7 @@
end_time = scan_end_time (report);
fprintf (out,
"\\begin{abstract}\n"
- "This document reports on the results of an OpenVAS security scan.\n"
+ "This document reports on the results of an automatic security scan.\n"
"The scan started at %s and ended at %s. The\n"
"report first summarises the results found. Then, for each host,\n"
"the report describes every issue found. Please consider the\n"
@@ -2279,6 +2279,9 @@
free (start_time);
free (end_time);
+ fputs("\\tableofcontents\n", out);
+ fputs("\\newpage\n", out);
+
/* Print the list of hosts. */
fprintf (out,
@@ -2447,12 +2450,11 @@
"\\rowcolor%s%s\\\\\n"
"\\hline\n"
"%s\\\\\n"
- "OpenVAS ID: \\href{http://www.openvas.org/?oid=\"%s\"}{%s}\\\\\n"
+ "OID of test routine: %s\\\\\n"
"\\hline\n",
latex_severity_colour (severity),
latex_severity_heading (severity),
descr,
- result_iterator_nvt (&results),
result_iterator_nvt (&results));
g_free (descr);
More information about the Openvas-commits
mailing list