Date: Mon, 23 Feb 2004 16:41:43 +0100 (CET) From: Janos Mohacsi <mohacsi@norfolk.ki.iif.hu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kris@obsecurity.org Subject: ports/63269: Maintainer update: security/doscan to version 0.2.6 Message-ID: <200402231541.i1NFfg23004634@norfolk.ki.iif.hu> Resent-Message-ID: <200402231540.i1NFeD3G000512@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63269 >Category: ports >Synopsis: Maintainer update: security/doscan to version 0.2.6 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 23 07:40:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 5.2-CURRENT i386 >Organization: NIIF >Environment: System: FreeBSD norfolk.ki.iif.hu 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Mon Feb 9 12:12:13 CET 2004 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386 >Description: Maintainer update: security/doscan to version 0.2.6 Original package changes: - ASN.1 parser vulnerability from Microsoft Security Bulletin MS04-007 Port changes: - fixes FreeBSD 4.x compilation problem >How-To-Repeat: Apply this diff. >Fix: diff -ruN doscan.old/Makefile doscan/Makefile --- doscan.old/Makefile Mon Feb 23 10:22:34 2004 +++ doscan/Makefile Mon Feb 23 15:59:30 2004 @@ -6,8 +6,7 @@ # PORTNAME= doscan -PORTVERSION= 0.2.5 -PORTREVISION= 1 +PORTVERSION= 0.2.6 CATEGORIES= security net MASTER_SITES= http://static.enyo.de/fw/releases/doscan/ @@ -25,7 +24,7 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 -BROKEN= "Does not compile" +EXTRA_PATCHES= ${PATCHDIR}/freebsd4.diff .endif post-install: diff -ruN doscan.old/distinfo doscan/distinfo --- doscan.old/distinfo Wed Jan 7 13:38:41 2004 +++ doscan/distinfo Mon Feb 23 15:57:26 2004 @@ -1 +1,2 @@ -MD5 (doscan-0.2.5.tar.gz) = 57fcb9d260c8cea003ed484b3fe7bd70 +MD5 (doscan-0.2.6.tar.gz) = 3391cc5a8e84b9f6b89e2219b8eae477 +SIZE (doscan-0.2.6.tar.gz) = 224734 diff -ruN doscan.old/files/freebsd4.diff doscan/files/freebsd4.diff --- doscan.old/files/freebsd4.diff Thu Jan 1 01:00:00 1970 +++ doscan/files/freebsd4.diff Mon Feb 23 16:00:06 2004 @@ -0,0 +1,11 @@ +--- src/results.cc.orig Mon Feb 23 15:15:59 2004 ++++ src/results.cc Mon Feb 23 15:30:54 2004 +@@ -427,7 +427,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 + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402231541.i1NFfg23004634>