Bug 162165 - [update] lang/php52 update for new timezone set in timezonedb.h
Summary: [update] lang/php52 update for new timezone set in timezonedb.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 09:50 UTC by Svyatoslav Lempert
Modified: 2011-11-01 16:00 UTC (History)
0 users

See Also:


Attachments
file.diff (2.28 KB, patch)
2011-10-30 09:50 UTC, Svyatoslav Lempert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svyatoslav Lempert 2011-10-30 09:50:08 UTC
- Patch for new timezone set in timezonedb.h (actually especially for Russia and other countries have abolished the transition to winter time) from upstream PHP svn trunk
- One patchfile http://code.google.com/p/php52-backports/ from security branch instead of multiple files
- Bump portrevision to 4

Fix: Apply patch to lang/php52 and rebuild and reinstall port

Patch attached with submission follows:
How-To-Repeat: Run this code

bsd8# cat time.php
<?php
date_default_timezone_set('Europe/Moscow');
echo date("r");
?>

without new timezonedb.h

bsd8# php time.php
Sun, 30 Oct 2011 12:41:35 +0300

It's wrong. But PHP used "own" timzone file and do not check system localtime

Run code again with fixed zoneinfo in PHP compiled with new timezonedb.h

bsd8# ./php time.php
Sun, 30 Oct 2011 13:41:40 +0400
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-30 09:50:16 UTC
Maintainer of lang/php52,

Please note that PR ports/162165 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162165

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-30 09:50:18 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 admin 2011-10-30 11:24:23 UTC
please, commit this
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2011-11-01 15:31:01 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-11-01 15:58:56 UTC
miwi        2011-11-01 15:58:47 UTC

  FreeBSD ports repository

  Modified files:
    lang/php52           Makefile distinfo 
  Log:
  - Update to lastest security patchset: 20111030
  - Move removal date to 2012-03-01
  - Bump PORTREVISION
  
  PR:             162165
  Submitted by:   Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.23      +3 -8      ports/lang/php52/Makefile
  1.10      +2 -12     ports/lang/php52/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"