From owner-freebsd-ports@FreeBSD.ORG Mon Oct 15 23:02:01 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6063116A41A for ; Mon, 15 Oct 2007 23:02:01 +0000 (UTC) (envelope-from gianrubio@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id B41C713C447 for ; Mon, 15 Oct 2007 23:02:00 +0000 (UTC) (envelope-from gianrubio@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1405242nfb for ; Mon, 15 Oct 2007 16:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=N/uNNk/rlmO7wxMz0pilKgjCo2+UizAuP9h/lp2T464=; b=dK3n7zjBAPpnpdqXCjHqavoPvkCzFxA3GzO8Xf9fa+KhpCBK/pmHSX7pC0gMivYjp4Q6xJNz2QiHji7MfbWWtnmNn2ir7q7xEUyElNnJtgmQ5C2l/arKC2R1IcAUNPcIB4NG2ZurdGzxxKBu2q6HaoOyyRb+u0YkChYgHUHq5NQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aDT4luxWgBYIm90btvYcalMt1hhWDkQYUjZGjrO/4K3htFZd7eeRENb6ugYCSqJqIB+54HKQInDoHyg6dMqOGNiJSg5xwQVcy7OP8h9TQbxdFX3tUkuRyi62U/OO2FHFRBShQyjOa5tpM01UxtOiEJHoStsw0v6YioZTsS/vKOI= Received: by 10.86.65.11 with SMTP id n11mr5380926fga.1192489319290; Mon, 15 Oct 2007 16:01:59 -0700 (PDT) Received: by 10.86.36.20 with HTTP; Mon, 15 Oct 2007 16:01:59 -0700 (PDT) Message-ID: Date: Mon, 15 Oct 2007 21:01:59 -0200 From: "Giancarlo Rubio" To: freebsd-ports@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Change timezone on php 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: Mon, 15 Oct 2007 23:02:01 -0000 Timezone was changed to summer time in Brazil but the php timezonedb (port pecl-timezonedb) was not changed. I have patched this ports to run correctly. -su-2.05b# shar `find pecl-timezonedb/ -print` echo c - pecl-timezonedb/ mkdir -p pecl-timezonedb/ > /dev/null 2>&1 echo x - pecl-timezonedb/Makefile sed 's/^X//' >pecl-timezonedb/Makefile << 'END-of-pecl-timezonedb/Makefile' X# Ports collection makefile for: pecl-timezonedb X# Date created: 20 Oct 2006 X# Whom: Marcus Alves Grando X# X# $FreeBSD: ports/misc/pecl-timezonedb/Makefile,v 1.4 2007/04/21 00:41:43 mnag Exp $ X# X XPORTNAME= timezonedb XDISTVERSION= 2007.8 XCATEGORIES= misc XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= mnag@FreeBSD.org XCOMMENT= Timezone Database to be used with PHP's date and time functions X XUSE_PHP= yes XUSE_PHPEXT= yes XPHP_MODNAME= timezonedb XIGNORE_WITH_PHP=4 X XCONFIGURE_ARGS= --enable-timezonedb X X.include END-of-pecl-timezonedb/Makefile echo x - pecl-timezonedb/distinfo sed 's/^X//' >pecl-timezonedb/distinfo << 'END-of-pecl-timezonedb/distinfo' XMD5 (PECL/timezonedb-2007.8.tgz) = 4d4efe289a0547a164873a7d15b86424 XSHA256 (PECL/timezonedb-2007.8.tgz) = 99f3b3bfb0155ebe9f08e8f5107cbe194c3f6d60ee1ac4c40422386187fe3e2a XSIZE (PECL/timezonedb-2007.8.tgz) = 177801 END-of-pecl-timezonedb/distinfo echo x - pecl-timezonedb/pkg-descr sed 's/^X//' >pecl-timezonedb/pkg-descr << 'END-of-pecl-timezonedb/pkg-descr' XThis extension is a drop-in replacement for the builtin timezone database that Xcomes with PHP. You should only install this extension in case you need to get Xa later version of the timezone database then the one that ships with PHP. X XWWW: http://pecl.php.net/package/timezonedb END-of-pecl-timezonedb/pkg-descr echo x - pecl-timezonedb/patch-Makefile sed 's/^X//' >pecl-timezonedb/patch-Makefile << 'END-of-pecl-timezonedb/patch-Makefile' X--- Makefile.orig Mon Oct 15 20:47:03 2007 X+++ Makefile Mon Oct 15 20:39:28 2007 X@@ -6,7 +6,7 @@ X # X X PORTNAME= timezonedb X-DISTVERSION= 2007.5 X+DISTVERSION= 2007.8 X CATEGORIES= misc X MASTER_SITES= http://pecl.php.net/get/ X PKGNAMEPREFIX= pecl- END-of-pecl-timezonedb/patch-Makefile echo x - pecl-timezonedb/Makefile.orig sed 's/^X//' >pecl-timezonedb/Makefile.orig << 'END-of-pecl-timezonedb/Makefile.orig' X# Ports collection makefile for: pecl-timezonedb X# Date created: 20 Oct 2006 X# Whom: Marcus Alves Grando X# X# $FreeBSD: ports/misc/pecl-timezonedb/Makefile,v 1.4 2007/04/21 00:41:43 mnag Exp $ X# X XPORTNAME= timezonedb XDISTVERSION= 2007.5 XCATEGORIES= misc XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= mnag@FreeBSD.org XCOMMENT= Timezone Database to be used with PHP's date and time functions X XUSE_PHP= yes XUSE_PHPEXT= yes XPHP_MODNAME= timezonedb XIGNORE_WITH_PHP=4 X XCONFIGURE_ARGS= --enable-timezonedb X X.include END-of-pecl-timezonedb/Makefile.orig echo x - pecl-timezonedb/distinfo.orig sed 's/^X//' >pecl-timezonedb/distinfo.orig << 'END-of-pecl-timezonedb/distinfo.orig' XMD5 (PECL/timezonedb-2007.5.tgz) = 8c73725678581ba81f56b83afaa56282 XSHA256 (PECL/timezonedb-2007.5.tgz) = dd6fa6ca2193cb36dd84bcefe56b48f0d37ef25d480b45d13557d6a8c612cd9b XSIZE (PECL/timezonedb-2007.5.tgz) = 177842 END-of-pecl-timezonedb/distinfo.orig exit -- Giancarlo Rubio