From owner-freebsd-ports@FreeBSD.ORG Wed Aug 3 11:37:26 2005 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 78D9216A41F for ; Wed, 3 Aug 2005 11:37:26 +0000 (GMT) (envelope-from kiwi@oav.net) Received: from mail.oav.net (mail.oav.net [193.218.105.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017E743D45 for ; Wed, 3 Aug 2005 11:37:25 +0000 (GMT) (envelope-from kiwi@oav.net) Received: from localhost (mail.oav.net [193.218.105.18]) by mail01.oav.net (Postfix) with ESMTP id DF3C54501D for ; Wed, 3 Aug 2005 13:37:24 +0200 (CEST) (envelope-from kiwi@oav.net) Received: from mail02.oav.net ([193.218.105.18]) by localhost (mail02.oav.net [172.31.1.2]) (amavisd-new, port 10024) with LMTP id 24044-03 for ; Wed, 3 Aug 2005 11:37:13 +0000 (UTC) Received: from webmail.openvisp.net (mail.oav.net [193.218.105.18]) by mail02.oav.net (Postfix) with ESMTP id 1FF994AC0C for ; Wed, 3 Aug 2005 11:37:13 +0000 (UTC) (envelope-from kiwi@oav.net) Received: from 212.155.220.106 (SquirrelMail authenticated user kiwi@oav.net) by webmail.openvisp.net with HTTP; Wed, 3 Aug 2005 13:37:13 +0200 (CEST) Message-ID: <44860.212.155.220.106.1123069033.squirrel@webmail.openvisp.net> Date: Wed, 3 Aug 2005 13:37:13 +0200 (CEST) From: "Xavier Beaudouin" To: freebsd-ports@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail01.oav.net X-Spam-Status: No, hits=0.269 tagged_above=-999 required=6.3 tests=[AWL=0.055, FORGED_RCVD_HELO=0.05, RM_KNOWN_WEBMAIL=-1.5, SARE_HTML_INV_TAGA=1.666, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Level: Subject: Troubles with PATCHFILES with port that have several children 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: Wed, 03 Aug 2005 11:37:26 -0000 Hi ! I need an advice on modify a port that have several children. Eg PHP. I want to add hardened-php patch, but I have a problem when I try to work on child ports. The problem is that I need to patch the whole tree before WRKSRC value. The patch have to patch -p1 in work/php-4.4.0 (will be the same for php 5.x), and inside a module the WRKSRC is work/php-4.4.0/ext/ So my : # Hardened PHP patches PATCH_SITES= http://www.hardened-php.net/ PATCHFILES= hardening-patch-4.4.0-0.3.2.patch.gz PATCH_DIST_STRIP= -p1 in Makefile will never work... To be syntetic the I have to do for modules : - untar tarball - patch with hardened php patch on work/php-4.4.0 - then change WRKSRC to work/php-4.4.0/ext/ How can I do such work ? Thanks, /Xavier