ports/58916: Maintainer update to security/doscan to version 0.2.3
Janos Mohacsi
mohacsi at niif.hu
Tue Nov 4 10:30:23 UTC 2003
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 04 02:30:21 PST 2003
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list