[Openvas-commits] r1380 - trunk/openvas-plugins

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 19 11:40:34 CEST 2008


Author: chandra
Date: 2008-09-19 11:40:34 +0200 (Fri, 19 Sep 2008)
New Revision: 1380

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/template.nasl
Log:
Updated template.nasl

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2008-09-19 09:25:17 UTC (rev 1379)
+++ trunk/openvas-plugins/ChangeLog	2008-09-19 09:40:34 UTC (rev 1380)
@@ -1,3 +1,7 @@
+2008-09-19 Chandrashekhar B <bchandra at secpod.com>
+	* template.nasl: Updated to include script_version() and 
+	  script_require_ports()
+
 2008-09-19  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
 	* template.nasl: Replaced by a entirely new version.

Modified: trunk/openvas-plugins/template.nasl
===================================================================
--- trunk/openvas-plugins/template.nasl	2008-09-19 09:25:17 UTC (rev 1379)
+++ trunk/openvas-plugins/template.nasl	2008-09-19 09:40:34 UTC (rev 1380)
@@ -31,6 +31,7 @@
 {
  script_id(FIXME);
  script_oid(FIXME);
+ script_version("$Revision$");
  script_cve_id(FIXME);
  script_bugtraq_id(FIXME);
 
@@ -48,7 +49,8 @@
  script_copyright(english:"Copyright (C) 2008 FIXME");
  family["english"] = "FIXME";
  script_family(english:family["english"]);
- script_dependencies("FIXME.nasl");
+ script_dependencies("FIXME.nasl"); #FIXME: Optional, depends on script requirements
+ script_require_ports("SERVICE", PORT); #FIXME: Optional, depends on script requirements
 
  exit(0);
 }



More information about the Openvas-commits mailing list