ports/95453: print/fdpf: USE_DOS2UNIX=yes binary file corruption

Dmitry Marakasov amdmi3 at mail.ru
Fri Apr 7 01:50:14 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list