ports/58775: Maintainer update: security/doscan to version 0.2.1

Janos Mohacsi mohacsi at niif.hu
Fri Oct 31 15:10:07 UTC 2003


>Number:         58775
>Category:       ports
>Synopsis:       Maintainer update: security/doscan to version 0.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 31 07:10:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD csoki.ki.iif.hu 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Fri Sep 26 15:10:00 CEST 2003 root at csoki.ki.iif.hu:/usr/obj/usr/src/sys/CSOKI i386

>Description:
Maintainer update to security/doscan to version 0.2.1.
original package changes:
- Adds a MS03-043 vulnerability scanner, a Windows version scanner, and lots of infrastructure. 
- uses the epoll interface where available ( not for FreeBSD).

>How-To-Repeat:
	Apply this diff.
>Fix:

diff -ruN doscan.bak/Makefile doscan/Makefile
--- doscan.bak/Makefile	Thu Sep 25 13:20:15 2003
+++ doscan/Makefile	Fri Oct 31 15:25:13 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	doscan
-PORTVERSION=	0.1.6
+PORTVERSION=	0.2.1
 CATEGORIES=	security net
 MASTER_SITES=	http://static.enyo.de/fw/releases/doscan/
 
diff -ruN doscan.bak/distinfo doscan/distinfo
--- doscan.bak/distinfo	Thu Sep 25 13:20:15 2003
+++ doscan/distinfo	Fri Oct 31 15:25:50 2003
@@ -1 +1 @@
-MD5 (doscan-0.1.6.tar.gz) = e915c705c69e76d30f65333ea39625b1
+MD5 (doscan-0.2.1.tar.gz) = 9d0516d9f5d8d1a51c7ef86a0b90d0ee
diff -ruN doscan.bak/files/patch-src::results.cc doscan/files/patch-src::results.cc
--- doscan.bak/files/patch-src::results.cc	Thu Jan  1 01:00:00 1970
+++ doscan/files/patch-src::results.cc	Fri Oct 31 15:41:32 2003
@@ -0,0 +1,11 @@
+--- src/results.cc.bak	Fri Oct 31 15:33:45 2003
++++ src/results.cc	Fri Oct 31 15:34:15 2003
+@@ -386,7 +386,7 @@
+   struct hostent *he;
+ 
+   in.s_addr = htonl (result->host);
+-  he = gethostbyaddr (&in, sizeof (in), AF_INET);
++  he = gethostbyaddr ((const char *)&in, sizeof (in), AF_INET);
+ 
+   if (he) {
+     printf ("%s", he->h_name);
diff -ruN doscan.bak/files/patch-src::subnets.c doscan/files/patch-src::subnets.c
--- doscan.bak/files/patch-src::subnets.c	Thu Sep 25 13:20:15 2003
+++ doscan/files/patch-src::subnets.c	Thu Jan  1 01:00:00 1970
@@ -1,10 +0,0 @@
---- src/subnets.c.orig	Wed Sep 24 13:28:27 2003
-+++ src/subnets.c	Wed Sep 24 13:29:59 2003
-@@ -37,7 +37,6 @@
- 
- #include <stdio.h>
- #include <stdlib.h>
--#include <malloc.h>
- 
- static ipv4_prefix_t *subnets = 0;
- /* list of subnets, terminated by the 0/0 prefix */
diff -ruN doscan.bak/files/patch-src::subnets.cc doscan/files/patch-src::subnets.cc
--- doscan.bak/files/patch-src::subnets.cc	Thu Jan  1 01:00:00 1970
+++ doscan/files/patch-src::subnets.cc	Fri Oct 31 15:42:06 2003
@@ -0,0 +1,10 @@
+--- src/subnets.cc.bak	Fri Oct 31 15:34:45 2003
++++ src/subnets.cc	Fri Oct 31 15:34:57 2003
+@@ -37,7 +37,6 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ 
+ static ipv4_prefix_t *subnets = 0;
+ /* list of subnets, terminated by the 0/0 prefix */

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list