Date: Mon, 15 Oct 2007 21:01:59 -0200 From: "Giancarlo Rubio" <gianrubio@gmail.com> To: freebsd-ports@freebsd.org Subject: Change timezone on php Message-ID: <d8e57f270710151601m28f77f71s4f2c407e0d891f3c@mail.gmail.com> In-Reply-To: <d8e57f270710151601s782e637dt736400efb4f2dd71@mail.gmail.com> References: <d8e57f270710151601s782e637dt736400efb4f2dd71@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mnag@FreeBSD.org> 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 <bsd.port.mk> 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 <mnag@FreeBSD.org> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d8e57f270710151601m28f77f71s4f2c407e0d891f3c>