From mohacsi@norfolk.ki.iif.hu  Tue Nov  4 02:26:22 2003
Return-Path: <mohacsi@norfolk.ki.iif.hu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 13C7D16A4CE; Tue,  4 Nov 2003 02:26:22 -0800 (PST)
Received: from norfolk.ki.iif.hu (norfolk.ki.iif.hu [193.6.222.32])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 0337C43FBD; Tue,  4 Nov 2003 02:26:21 -0800 (PST)
	(envelope-from mohacsi@norfolk.ki.iif.hu)
Received: (from mohacsi@localhost)
	by norfolk.ki.iif.hu (8.12.10/8.12.10) id hA49QPjO015575;
	Tue, 4 Nov 2003 10:26:25 +0100 (CET)
	(envelope-from mohacsi)
Message-Id: <200311040926.hA49QPjO015575@norfolk.ki.iif.hu>
Date: Tue, 4 Nov 2003 10:26:25 +0100 (CET)
From: Janos Mohacsi <mohacsi@niif.hu>
Reply-To: Janos Mohacsi <janos.mohacsi@bsd.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Kirill Ponomarew <krion@freebsd.org>
Subject: Maintainer update to security/doscan to version 0.2.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58916
>Category:       ports
>Synopsis:       Maintainer update to security/doscan to version 0.2.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 04 02:30:21 PST 2003
>Closed-Date:    Tue Nov 04 02:35:49 PST 2003
>Last-Modified:  Tue Nov 04 02:35:49 PST 2003
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Wed Sep 24 06:43:56 CEST 2003 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386

>Description:
	Maintainer update to security/doscan to version 0.2.3
	original package changes: 
        - supports reading targets from a file. 
	- compiles on Solaris. 
	port changes:
	- tested on 4.x-stable and updated to use GCC version 3.3 (probably 3.2 		is enough
        

	This fixes problem problem reported in feedback in PR/58775.
	Use this one instead of maintainer update of PR/58775.

>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	Tue Nov  4 09:03:30 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	doscan
-PORTVERSION=	0.1.6
+PORTVERSION=	0.2.3
 CATEGORIES=	security net
 MASTER_SITES=	http://static.enyo.de/fw/releases/doscan/
 
@@ -17,6 +17,7 @@
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+USE_GCC=	3.3
 DOC_FILES=	README
 MAN1=		doscan.1
 
diff -ruN doscan.bak/distinfo doscan/distinfo
--- doscan.bak/distinfo	Thu Sep 25 13:20:15 2003
+++ doscan/distinfo	Tue Nov  4 09:05:42 2003
@@ -1 +1 @@
-MD5 (doscan-0.1.6.tar.gz) = e915c705c69e76d30f65333ea39625b1
+MD5 (doscan-0.2.3.tar.gz) = 7774a590a3f96bc14a28230d50f3aa35
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	Tue Nov  4 09:29:42 2003
@@ -0,0 +1,11 @@
+--- src/results.cc.orig	Fri Oct 31 13:41:03 2003
++++ src/results.cc	Tue Nov  4 09:29:05 2003
+@@ -392,7 +392,7 @@
+ #ifdef GETHOSTBYADDR_ACCEPTS_CHAR
+   he = gethostbyaddr (reinterpret_cast<char*>(&in), sizeof (in), AF_INET);
+ #else
+-#error Type of first argument to gethostbyaddr() is not known.
++  he = gethostbyaddr ((const char*)(&in), sizeof (in), AF_INET);
+ #endif
+ #endif
+ 
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 */

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Tue Nov 4 02:35:43 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58916 
>Unformatted:
