From owner-freebsd-questions@FreeBSD.ORG Thu Nov 22 21:06:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36A1016A46E for ; Thu, 22 Nov 2007 21:06:58 +0000 (UTC) (envelope-from bob@tania.servebbs.org) Received: from l2mail1.panix.com (l2mail1.panix.com [166.84.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id 07EE213C4CE for ; Thu, 22 Nov 2007 21:06:57 +0000 (UTC) (envelope-from bob@tania.servebbs.org) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by l2mail1.panix.com (Postfix) with ESMTP id 103D55C824 for ; Wed, 21 Nov 2007 17:20:44 -0500 (EST) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail2.panix.com (Postfix) with ESMTP id A83B734812 for ; Wed, 21 Nov 2007 17:20:13 -0500 (EST) Received: from tania.servebbs.org (pool-141-157-246-57.ny325.east.verizon.net [141.157.246.57]) by mailspool3.panix.com (Postfix) with ESMTP id 858F51698D for ; Wed, 21 Nov 2007 17:20:12 -0500 (EST) Received: from tania.servebbs.org (localhost [127.0.0.1]) by tania.servebbs.org (8.14.1/8.13.6) with ESMTP id lALMJttB058496 for ; Wed, 21 Nov 2007 17:20:01 -0500 (EST) (envelope-from bob@tania.servebbs.org) Date: Wed, 21 Nov 2007 22:19:55 +0000 From: Bob To: freebsd-questions@freebsd.org Message-ID: <20071121221955.10f80f09@tania.servebbs.org> Organization: Tamara B X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd6.1) X-Face: +\{75whsIB]=i--WqkV^U>!y`<~%(FUd, DQs, &e1yLt==9%It?7#?n>%Splqb, lDIEu%WsB7o+6k2n`6Q5Fl, vJei{$-.KlHPHu/.~VuE=C[}lQmL}>V1t\yTn2iTwCfM`% Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUAAADStIz13rPc3NyyIiLNhT++vr6gUi0vT0////9wgJAAAAAtM3GkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAGbSURBVDjLdZSxbsJADIY9EB0r6oDY+w4VI9JJdyOVQPQJUsEU1KtsMTGcelY7MzB2oRVPgMTL1ZcAzSXhhiT40y//9tkAXI+C7qOK6l0043T5wAZw4fqRSpQJPR1irJdKJOoNs8h6VKRADgXegqNtHcz0g0PriI3mFEx2k/0symwDjHaj/WMEzEkOHA/HAgxbDomrZ/ZvAiw3BEDseVyCVKAsEy9nEaQCJ0XwMj7qgmwKDjV9PjUBzKaOHDsTvdaLyLJ3Z5iqIuoAp4t+WXOaO4MFImAQ4BOzag4v8hOt5YZZCkTegKRPM8QcyltQ7BsdLy+WELV2tgWkMi++TBtwCWxoTpuLoNXaKEF22nQAAB/70QWIuRvwPeDoHjD3gO60C9A30RUX7YWqsm/bIFSkJekf1xsZz4So4SY25OOHeKvq5JDnPPhGRHGF0gK8LJvK85Ww17JZp1DaqDysB5TnRy6zn88hGrmt22H1y1VcJDCXu76tfxWWU8jlANh/C8hfEj7JMjsNPZ4mc4RYQOZaQ3+d2blB7P4jKsN/PWbN6+ltcTcAAAAASUVORK5CYII= X-Terminate: George W. Bush Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (tania.servebbs.org [0.0.0.0]); Wed, 21 Nov 2007 17:20:01 -0500 (EST) X-Spam-Status: No, score=0.0 required=7.0 tests=none autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tania.servebbs.org Subject: Personalised patches in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bob@tania.servebbs.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 21:06:58 -0000 Hi folks: What is the approved method of applying personalised patches to ports sources? A current example, which was no problem under Linux, is giving me a bit of a hassle under FreeBSD> I use pdftotext extensively to translate pdf files to ascii text. Sometimes, a publicly posted PDF file has it's security option turned on, making pdftotext refuse to translate the file into text. It's a simple hack on the source code to skip security checking, and under Linux I just patch the sources to not check for same. How can I incorporate my patch into the portupgrade system, so that an upgrade of Xpdf will apply my patch? If I download the bzip file, apply the patch, re-bzip the sources, and then try to force an upgrade, the checksum fails (as expected). How does one do thes properly? Bob