From owner-cvs-all@FreeBSD.ORG Tue Sep 7 06:34:16 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0022D16A4CE; Tue, 7 Sep 2004 06:34:15 +0000 (GMT) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE09E43D2F; Tue, 7 Sep 2004 06:34:15 +0000 (GMT) (envelope-from mat@FreeBSD.org) X-Original-To: j.koopmann@seceidos.de X-Original-To: mb@imp.ch X-Original-To: ports-committers@FreeBSD.org X-Original-To: mbr@FreeBSD.org X-Original-To: cvs-ports@FreeBSD.org X-Original-To: cvs-all@FreeBSD.org X-Original-To: janos.mohacsi@bsd.hu Received: from [192.168.1.51] (l15v-8-120.d2.club-internet.fr [62.34.135.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plouf.absolight.net (Postfix) with ESMTP id D9E93408B; Tue, 7 Sep 2004 08:34:10 +0200 (CEST) Date: Tue, 07 Sep 2004 08:34:05 +0200 From: Mathieu Arnold To: Martin Blapp , Martin Blapp Message-ID: <491CF2BD65579DF866B556D6@[192.168.1.51]> In-Reply-To: <20040904005533.N6407@cvs.imp.ch> References: <200409032241.i83MfNIT057401@repoman.freebsd.org> <20040904005533.N6407@cvs.imp.ch> X-Mailer: Mulberry/3.1.6 (Win32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========ED546C31A9BB7341CB98==========" X-Spam-Checker-Version: SpamAssassin 2.64-abso_2004012301 (2004-01-11) on plouf.absolight.net by root@absolight.fr X-Virus-Scanned: by amavisd-new at plouf.absolight.net X-Spam-Status: No, hits=-0.851 tagged_above=-10 required=5 tests=AWL, BAYES_00, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS, RCVD_IN_SORBS_DUL, SUBJ_HAS_UNIQ_ID, TDE_WS_HS_KOMBINATION, TW_QP X-Spam-Level: cc: j.koopmann@seceidos.de cc: cvs-ports@FreeBSD.org cc: janos.mohacsi@bsd.hu cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/mail/p5-MIME-Tools/files patch-Decoder-qpdecode-pdf X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 06:34:16 -0000 --==========ED546C31A9BB7341CB98========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +-Le 04/09/2004 00:57 +0200, Martin Blapp a dit : | | Hi, | |> Log: |> Add fix/workaround for corrupted PDF files attached as |> quoted-printable encoded MIME attachments by some popular |> email-client versions on windows. |> |> Revision Changes Path |> 1.1 +41 -0 |> ports/mail/p5-MIME-Tools/files/patch-Decoder-qpdecode-pdf (new) |> | | The bad hacks in mailscanner and anomy-sanitizer should be removed since | they break PDFs generated on UNIX. Both ports do the same: They convert | all /n to /r/n which does break a lot of files. This patch also breaks decoding for everything that is not a bad pdf file. Could you unbreak it and commit this : --- files/patch-Decoder-qpdecode-pdf Tue Sep 7 08:32:39 2004 +++ files/patch-Decoder-qpdecode-pdf~ Tue Sep 7 08:32:25 2004 @@ -34,7 +34,7 @@ + $output =~ s/=([\da-fA-F]{2})/pack("C", hex($1))/ge; + $out->print($output); + } else { -+ $out->print(decode_qp($_)); ++ $out->print(decode_qp($output)); + } } 1; Or please, portmgr, could I commit this myself ? -- Mathieu Arnold --==========ED546C31A9BB7341CB98========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iQEVAwUBQT1WYVvROjYJ63c1AQItsgf/ba2F14A3MU/ETY2Fc+MrnKJ0Bp1K3mlz maGBNVufPH2AKU1QBWfCM7I7eiv2w3qkbqfUtC1D9XO3KcIhkrmWCpUMhiIOx0Xm WeACKkCa9UXR7yW/aFD+GiebhbQs/2FyPY/OhudsdWtoyQGIE5pYB3wyfWhlQPCm 14wzX2AmMP6MDlzIj79pzWsxHvGqv8yS0h1dztk39zp/fvx2OE/BrMFjZnyCpsCl uOivMrS/o1lFKEYxXlCzLhpVpG4zOj3lkBdmEhZjrQKt7AzdjPNqQDZLQTwY+uXN wT0pPU/1a3WRu3M5wzrTD/ZxsEGoERZUlYGWVOTxeykRwMS2Fo2t2g== =akqO -----END PGP SIGNATURE----- --==========ED546C31A9BB7341CB98==========--