Author: jan
Date: 2007-08-02 22:51:32 +0200 (Thu, 02 Aug 2007)
New Revision: 358
Modified:
trunk/openvas-libraries/CHANGES
trunk/openvas-libraries/ChangeLog
trunk/openvas-libraries/Makefile
trunk/openvas-libraries/VERSION
trunk/openvas-libraries/libopenvas/getopt.c
trunk/openvas-libraries/libopenvas/getopt1.c
trunk/openvas-libraries/libopenvas/harglists.c
trunk/openvas-libraries/libopenvas/hlst.c
trunk/openvas-libraries/libopenvas_hg/hg_dns_axfr.c
Log:
* VERSION: bumped to 0.9.1.SVN
* CHANGES: updated.
* libopenvas_hg/hg_dns_axfr.c: Removed CYGWIN
part which was nit implemented anyway (just a stub).
* libopenvas/getopt1.c, libopenvas/getopt.c,
libopenvas/harglists.c, libopenvas/hlst.c: Removed
handling of _WIN32.
* Makefile: Removed target win32.
Modified: trunk/openvas-libraries/CHANGES
===================================================================
--- trunk/openvas-libraries/CHANGES 2007-08-02 20:05:18 UTC (rev 357)
+++ trunk/openvas-libraries/CHANGES 2007-08-02 20:51:32 UTC (rev 358)
@@ -1,5 +1,16 @@
-openvas-libraries 0.9.0 (27.07.2007)
+openvas-libraries 0.9.1 (2007-08-XX)
+Further cleanups release.
+
+Changes since 0.9.0:
+
+* Renamed libhosts_gatherer to libopenvas_hg to
+ resolved the last remaining filename conflict
+ with nessus-libraries.
+* Internal package improvements.
+
+openvas-libraries 0.9.0 (2007-07-27)
+
The first initial release of openvas-libraries
after the fork from Nessus 2.2.x.
Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog 2007-08-02 20:05:18 UTC (rev 357)
+++ trunk/openvas-libraries/ChangeLog 2007-08-02 20:51:32 UTC (rev 358)
@@ -1,5 +1,20 @@
2007-08-02 Jan-Oliver Wagner <[EMAIL PROTECTED]>
+ * VERSION: bumped to 0.9.1.SVN
+
+ * CHANGES: updated.
+
+ * libopenvas_hg/hg_dns_axfr.c: Removed CYGWIN
+ part which was nit implemented anyway (just a stub).
+
+ * libopenvas/getopt1.c, libopenvas/getopt.c,
+ libopenvas/harglists.c, libopenvas/hlst.c: Removed
+ handling of _WIN32.
+
+ * Makefile: Removed target win32.
+
+2007-08-02 Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
* libhosts_gatherer, libopenvas_hg: renamed
libhosts_gatherer to libopenvas_hg.
Modified: trunk/openvas-libraries/Makefile
===================================================================
--- trunk/openvas-libraries/Makefile 2007-08-02 20:05:18 UTC (rev 357)
+++ trunk/openvas-libraries/Makefile 2007-08-02 20:51:32 UTC (rev 358)
@@ -45,17 +45,6 @@
$(SHELL) configure $(CONFIGURE_ARGS)
touch $@
-win32:
- -cd libopenvas_hg && ${MAKE} distclean
- @echo
- @echo ' --------------------------------------------------------------'
- @echo ' The header files necessary and some docs have been generated,'
- @echo ' now. Go ahead and move the nessus lib to a windows box where'
- @echo ' it can be compiled using nmake (all Micro$$oft stuff.)'
- @echo ' --------------------------------------------------------------'
- @echo
-
-
install : all
test -d ${prefix} || ${INSTALL_DIR} -m 755 ${prefix}
test -d ${includedir}/openvas || ${INSTALL_DIR} -m 755
${includedir}/openvas
Modified: trunk/openvas-libraries/VERSION
===================================================================
--- trunk/openvas-libraries/VERSION 2007-08-02 20:05:18 UTC (rev 357)
+++ trunk/openvas-libraries/VERSION 2007-08-02 20:51:32 UTC (rev 358)
@@ -1 +1 @@
-0.9.0
+0.9.1.SVN
Modified: trunk/openvas-libraries/libopenvas/getopt.c
===================================================================
--- trunk/openvas-libraries/libopenvas/getopt.c 2007-08-02 20:05:18 UTC (rev
357)
+++ trunk/openvas-libraries/libopenvas/getopt.c 2007-08-02 20:51:32 UTC (rev
358)
@@ -710,22 +710,7 @@
}
}
-/************************************/
-#ifdef _WIN32 /* not used by Nessus */
-/************************************/
-int
-getopt (argc, argv, optstring)
- int argc;
- char *const *argv;
- const char *optstring;
-{
- return _getopt_internal (argc, argv, optstring,
- (const struct option *) 0,
- (int *) 0,
- 0);
-}
/******************************************/
-#endif /* not used by Nessus */
#if 0 /* annihilate #endif */
#endif /* _LIBC or not __GNU_LIBRARY__. */
/******************************************/
Modified: trunk/openvas-libraries/libopenvas/getopt1.c
===================================================================
--- trunk/openvas-libraries/libopenvas/getopt1.c 2007-08-02 20:05:18 UTC
(rev 357)
+++ trunk/openvas-libraries/libopenvas/getopt1.c 2007-08-02 20:51:32 UTC
(rev 358)
@@ -25,10 +25,6 @@
#include <includes.h>
-#ifdef _WIN32
-#include "config.w32"
-#endif
-
/***********************/
#ifndef HAVE_GETOPT_LONG
/***********************/
Modified: trunk/openvas-libraries/libopenvas/harglists.c
===================================================================
--- trunk/openvas-libraries/libopenvas/harglists.c 2007-08-02 20:05:18 UTC
(rev 357)
+++ trunk/openvas-libraries/libopenvas/harglists.c 2007-08-02 20:51:32 UTC
(rev 358)
@@ -285,9 +285,6 @@
fputs (s, stderr);
fprintf (stderr, f, u, v);
fputs (t, stderr);
-# ifdef _WIN32
- fputc ('\r', stderr);
-# endif
fputc ('\n', stderr);
}
@@ -1161,9 +1158,6 @@
if (*R != 0) {
fprintf (stderr, "{0x%lx} = ", (long)*R);
do_harg_dump (*R, 0);
-# ifdef _WIN32
- fputc ('\r', stderr);
-# endif
fputc ('\n', stderr);
}
# endif
Modified: trunk/openvas-libraries/libopenvas/hlst.c
===================================================================
--- trunk/openvas-libraries/libopenvas/hlst.c 2007-08-02 20:05:18 UTC (rev
357)
+++ trunk/openvas-libraries/libopenvas/hlst.c 2007-08-02 20:51:32 UTC (rev
358)
@@ -243,17 +243,8 @@
estimated_size_hint /= 100 ;
/* find appropriate list size, will stop at the last entry */
-# ifdef _WIN32
- for (;;) {
- const hash_defs *hd1 = hd+1 ;
- if (hd1->mod == 0 || hd1->mod > estimated_size_hint)
- break ;
- ++ hd ;
- }
-# else
while (hd [1].mod != 0 && hd [1].mod <= estimated_size_hint)
++ hd ;
-# endif
h = XMALLOC (sizeof (hlst) + (hd->mod - 1) * sizeof (void*));
h->z = *hd ;
@@ -293,17 +284,8 @@
if (estimated_size_hint != h->z.mod) {
/* find appropriate list size, will stop at the last entry */
-# ifdef _WIN32
- for (;;) {
- const hash_defs *hd1 = hd+1 ;
- if (hd1->mod == 0 || hd1->mod > estimated_size_hint)
- break ;
- ++ hd ;
- }
-# else
while (hd [1].mod != 0 && hd [1].mod <= estimated_size_hint)
++ hd ;
-# endif
}
}
Modified: trunk/openvas-libraries/libopenvas_hg/hg_dns_axfr.c
===================================================================
--- trunk/openvas-libraries/libopenvas_hg/hg_dns_axfr.c 2007-08-02 20:05:18 UTC
(rev 357)
+++ trunk/openvas-libraries/libopenvas_hg/hg_dns_axfr.c 2007-08-02 20:51:32 UTC
(rev 358)
@@ -19,7 +19,6 @@
*/
#include <includes.h>
-#ifndef _CYGWIN_
#include "hosts_gatherer.h"
#include "hg_filter.h"
#include "hg_utils.h"
@@ -381,15 +380,3 @@
hg_dns_axfr_query(globals, domain, ns, &answer, &limit);
hg_hosts_cleanup(ns);
}
-
-#else /* XXXXXXXXXXXXXXXXXXXXXXXXX TO IMPLEMENT */
-/*
- * Our "main" function regarding DNS AXFR
- */
-void
- hg_dns_axfr_add_hosts(globals, domain)
- struct hg_globals * globals;
- char * domain;
-{
-}
-#endif
_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits