Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Apr 2006 05:41:29 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95453: print/fdpf: USE_DOS2UNIX=yes binary file corruption
Message-ID:  <20060407014129.681E7665@hades.panopticon>
Resent-Message-ID: <200604070150.k371oEHx066993@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95453
>Category:       ports
>Synopsis:       print/fdpf: USE_DOS2UNIX=yes binary file corruption
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 07 01:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Fri Jan 27 12:07:19 MSK 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Some binary files installed by this port get currupted by USE_DOS2UNIX=yes during `make patch'.

>How-To-Repeat:
% cd /usr/ports/graphics/fpdf153
% make extract
% mv work work.orig
% make extract
% make patch-dos2unix
% diff -rq work.orig work | grep differ | awk '{print $2}' | xargs -n1 file | grep -v text
work.orig/fpdf153/tutoriel/calligra.afm: ASCII font metrics
work.orig/fpdf153/tutoriel/calligra.ttf: TrueType font data
work.orig/fpdf153/tutoriel/calligra.z: data
work.orig/fpdf153/tutoriel/logo.png: PNG image data, 104 x 71, 8-bit colormap, non-interlaced
work.orig/fpdf153/tutoriel/logo_pb.png: PNG image data, 102 x 46, 8-bit colormap, non-interlaced

>Fix:
Provide specific files in USE_DOS2UNIX instead of 'yes' or make portmgr people merge ports/92688.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060407014129.681E7665>