ports/134406: [patch] [maintainer] improve net-mgmt/docsis on x86_64

James E. Flemer jflemer at alum.rpi.edu
Sun May 10 04:50:03 UTC 2009


>Number:         134406
>Category:       ports
>Synopsis:       [patch] [maintainer] improve net-mgmt/docsis on x86_64
>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:   Sun May 10 04:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     James E. Flemer
>Release:        7.1-STABLE
>Organization:
>Environment:
FreeBSD cage.local 7.1-STABLE FreeBSD 7.1-STABLE #1: Thu Jan  8 20:10:28 PST 2009     root at cage.speednaked.com:/mnt/space/usr/obj.i386/mnt/space/usr/src/sys/CAGE7-SMP  i386
>Description:
Patch attached to fix MD5 checksum code on docsis port for x86_64 (and probably other 64-bit platforms).  Note, this introduces a new file (net-mgmt/docsis/files/patch-md5.h), and bumps the port revision.  Will submit patch upstream too, but project has been silent since 2006.

Reported By: Matej Serc <matej at matnet.net>

>How-To-Repeat:
Compare produced CmMic and CmtsMic values between 32-bit and 64-bit platforms.
>Fix:
Patch attached.

Patch attached with submission follows:

? net-mgmt/docsis/files/patch-md5.h
? net-mgmt/docsis/files/x-patch-sf-net-id-2779880
Index: net-mgmt/docsis/Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/docsis/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- net-mgmt/docsis/Makefile	27 Mar 2008 10:58:26 -0000	1.14
+++ net-mgmt/docsis/Makefile	10 May 2009 04:38:27 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	docsis
 PORTVERSION=	0.9.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
--- /dev/null	2009-05-09 21:33:00.000000000 -0700
+++ net-mgmt/docsis/files/patch-md5.h	2009-05-07 19:42:28.000000000 -0700
@@ -0,0 +1,22 @@
+# $FreeBSD$
+--- src/md5.h.orig	2004-03-17 07:09:31.000000000 -0800
++++ src/md5.h	2009-05-07 19:41:20.000000000 -0700
+@@ -22,14 +22,16 @@
+ documentation and/or software.
+  */
+ 
++#include <stdint.h>
++
+ /* POINTER defines a generic pointer type */
+ typedef unsigned char *POINTER;
+ 
+ /* UINT2 defines a two byte word */
+-typedef unsigned short int UINT2;
++typedef uint16_t UINT2;
+ 
+ /* UINT4 defines a four byte word */
+-typedef unsigned long int UINT4;
++typedef uint32_t UINT4;
+ 
+ /* MD5 context. */
+ typedef struct {


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



More information about the freebsd-ports-bugs mailing list