From owner-freebsd-ports@FreeBSD.ORG Wed Nov 8 14:24:48 2006 Return-Path: X-Original-To: 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 DDC4616A403 for ; Wed, 8 Nov 2006 14:24:48 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DE4343D5C for ; Wed, 8 Nov 2006 14:24:48 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 08 Nov 2006 09:24:47 -0500 id 00056410.4551E8AF.0000FCE4 Received: from Internal Mail-Server by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 8 Nov 2006 09:24:16 -0500 Date: Wed, 8 Nov 2006 09:24:46 -0500 From: Bill Moran To: ports@freebsd.org Message-Id: <20061108092446.32d21eb8.wmoran@collaborativefusion.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Could use some help fixing the pecl-crack port (broken since php 5.2?) 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, 08 Nov 2006 14:24:48 -0000 I'm listed as the maintainer for security/pecl-crack It was recently brought to my attention that make package fails on this port, apparently since PHP was upgraded to 5.2: # make package ===> Building package for pecl-crack-0.4.1 Creating package /usr/ports/security/pecl-crack/pecl-crack-0.4.1.tbz Registering depends: php5-5.2.0 apache-2.2.3 libxml2-2.6.26 libiconv-1.9.2_2 perl-5.8.8 expat-2.0.0_1 pkg-config-0.21. Creating bzip'd tar ball in '/usr/ports/security/pecl-crack/pecl-crack-0.4.1.tbz' tar: lib/php/20050922/crack.so: Cannot stat: No such file or directory pkg_create: make_dist: tar command failed with code 256 *** Error code 1 Stop in /usr/ports/security/pecl-crack. Now, crack.so is in /usr/local/lib/php/20060613/crack.so, so it would appear as if my pkg-plist needs updated. No worries ... except I'm a little unclear on the build magic behind PHP. I'm guessing that 20060613 is some sort of API date? If so, is it Ok to be hard- coding this in to the pkg-plist? It seems as if this is handled by bsd.php.mk: .if ${PHP_VER} == 4 PHP_EXT_DIR= 20020429 .else PHP_EXT_DIR= 20060613 .endif Which means hardcoding the path into the pkg-plist will break the port for PHP 4. Despite the fact that I don't think many folks are using PHP 4, I'd rather not do this. Looking through some other pecl ports, none of them seem to have a pkg-plist. If I remove the pkg-plist from the port, make package works. I guess there's some sort of magic that allows this to work in the absence of a packing list ... are packing lists even required any more? Does the porters handbook need updated? Are eggs good for you or bad for you? -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.