[Openvas-commits] r415 - in trunk/openvas-libnasl: . nasl

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 8 16:39:00 CEST 2007


Author: bh
Date: 2007-10-08 16:39:00 +0200 (Mon, 08 Oct 2007)
New Revision: 415

Added:
   trunk/openvas-libnasl/nasl/strutils.h
Removed:
   trunk/openvas-libnasl/nasl/strutils.h.in
Modified:
   trunk/openvas-libnasl/ChangeLog
   trunk/openvas-libnasl/configure
   trunk/openvas-libnasl/configure.in
Log:
* nasl/strutils.h.in, nasl/strutils.h: Renamed strutils.h.in to
strutils.h.  There's no need to generate the latter from the
former, because the former doesn't contain any variable
substition rules

* configure.in: Do not generate nasl/strutils.h

* configure: Update from configure.in


Modified: trunk/openvas-libnasl/ChangeLog
===================================================================
--- trunk/openvas-libnasl/ChangeLog	2007-10-08 14:03:44 UTC (rev 414)
+++ trunk/openvas-libnasl/ChangeLog	2007-10-08 14:39:00 UTC (rev 415)
@@ -1,5 +1,16 @@
 2007-10-08  Bernhard Herzog  <bh at intevation.de>
 
+	* nasl/strutils.h.in, nasl/strutils.h: Renamed strutils.h.in to
+	strutils.h.  There's no need to generate the latter from the
+	former, because the former doesn't contain any variable
+	substition rules
+
+	* configure.in: Do not generate nasl/strutils.h
+
+	* configure: Update from configure.in
+
+2007-10-08  Bernhard Herzog  <bh at intevation.de>
+
 	* nasl/nasl_grammar.y (nasllex): Make nasllex static and add a
 	declaration for it.
 

Modified: trunk/openvas-libnasl/configure
===================================================================
--- trunk/openvas-libnasl/configure	2007-10-08 14:03:44 UTC (rev 414)
+++ trunk/openvas-libnasl/configure	2007-10-08 14:39:00 UTC (rev 415)
@@ -1921,7 +1921,7 @@
 PATH=${prefix}/bin:$PATH; export PATH
 
 
-ac_config_headers="$ac_config_headers include/config.h nasl/strutils.h"
+ac_config_headers="$ac_config_headers include/config.h"
 
 
 ac_ext=c
@@ -15325,7 +15325,6 @@
 do
   case $ac_config_target in
     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
-    "nasl/strutils.h") CONFIG_HEADERS="$CONFIG_HEADERS nasl/strutils.h" ;;
     "nasl.tmpl") CONFIG_FILES="$CONFIG_FILES nasl.tmpl" ;;
     "openvas-libnasl-config") CONFIG_FILES="$CONFIG_FILES openvas-libnasl-config" ;;
 

Modified: trunk/openvas-libnasl/configure.in
===================================================================
--- trunk/openvas-libnasl/configure.in	2007-10-08 14:03:44 UTC (rev 414)
+++ trunk/openvas-libnasl/configure.in	2007-10-08 14:39:00 UTC (rev 415)
@@ -67,7 +67,7 @@
 
 
 dnl Set up the main lines of the config script
-AC_CONFIG_HEADER(include/config.h nasl/strutils.h)
+AC_CONFIG_HEADER(include/config.h)
 AC_PREFIX_DEFAULT("/usr/local")
 AC_LANG_C
 

Copied: trunk/openvas-libnasl/nasl/strutils.h (from rev 414, trunk/openvas-libnasl/nasl/strutils.h.in)

Deleted: trunk/openvas-libnasl/nasl/strutils.h.in
===================================================================
--- trunk/openvas-libnasl/nasl/strutils.h.in	2007-10-08 14:03:44 UTC (rev 414)
+++ trunk/openvas-libnasl/nasl/strutils.h.in	2007-10-08 14:39:00 UTC (rev 415)
@@ -1,35 +0,0 @@
-/* Nessus Attack Scripting Language 
- *
- * Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * In addition, as a special exception, Renaud Deraison and Michel Arboi
- * give permission to link the code of this program with any
- * version of the OpenSSL library which is distributed under a
- * license identical to that listed in the included COPYING.OpenSSL
- * file, and distribute linked combinations including the two.
- * You must obey the GNU General Public License in all respects
- * for all of the code used other than OpenSSL.  If you modify
- * this file, you may extend this exception to your version of the
- * file, but you are not obligated to do so.  If you do not wish to
- * do so, delete this exception statement from your version.
- *
- */
-#ifndef NASL2_STRUTILS_H__
-#define NASL2_STRUTILS_H__
-char* nasl_strndup(char*, int);
-int str_match(const char *, const char *, int);
-void * nasl_memmem(const void *, size_t, const void *, size_t);
-#endif



More information about the Openvas-commits mailing list