From owner-freebsd-ports@FreeBSD.ORG Fri Apr 7 01:41:32 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D5B216A402 for ; Fri, 7 Apr 2006 01:41:32 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E7243D45 for ; Fri, 7 Apr 2006 01:41:31 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=2530 helo=nexii.panopticon) by mx2.mail.ru with esmtp id 1FRfyc-000Ifm-00 for freebsd-ports@FreeBSD.org; Fri, 07 Apr 2006 05:41:30 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id 906F911415 for ; Fri, 7 Apr 2006 05:46:20 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id D241A647; Fri, 7 Apr 2006 05:42:03 +0400 (MSD) Date: Fri, 7 Apr 2006 05:42:03 +0400 From: Dmitry Marakasov To: freebsd-ports@FreeBSD.org Message-ID: <20060407014203.GB15573@hades.panopticon> Mail-Followup-To: freebsd-ports@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: USE_DOS2UNIX=yes and binary file corruption X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 01:41:32 -0000 I've just encountered this problem in my own port, and after fixing it I decided to do some research to be sure nobody made the same mistake as I did. The result are following: - 10 ports use DOS2UNIX=yes - 6 of them have binary files corrupted games/cleanq3 games/kiki net/hawknl net/hawknl-devel print/fpdf x11-toolkits/v - 2 of these 6 install these corrupted files print/fpdf games/kiki For the last two ports (one of which is mine) I've sent PR's. Other ports don't install corrupted files, but I think there's still problem - if one wants to get a file from a package (or look through documentation/samples, which are not always installed) - it's likely he'll run into currupt file, and such behaviour of ports collection surely is not expected. So either USE_DOS2UNIX should be used with care, or ports/92688 should be fully merged - that seem a good solution. -- Best regards, Dmitry mailto:amdmi3@mail.ru