Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-11-07 Thread Pierre Joye
On Oct 28, 2014 8:12 AM, Derick Rethans der...@php.net wrote:
extensions...

 License issues are never simple.

In this case it is.

Add a LICENSE file with the two licenses in it. You can edit the pkg online
to mention them. I am not sure if the package.xml supports two licenses I'm
one field but that's a little issue.

Cheers,
Pierre


Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-28 Thread David Marín Carreño

El 27/10/2014 a las 23:12, Derick Rethans escribió:

But that's not true. We can't claim the PHP License on data that's not
ours. If you manage to get a clarfication from IANA on what the license
is, and what is required in software that bundles it (and perhaps write
the LICENSE file)... then I suppose we can add it.


That's true. So after researching about the actual license of the Olson 
database, I have ended up in the RFC-6557[1].

Regarding to licenses, we have the following applicable quotes:
6. Maintenance and Distribution of Reference Code

Currently, the maintainer of the TZ database also maintains reference code, 
most of which is public domain. The reference implementation shall be 
distributed along with an associated cryptographic signature verifiable by a 
public key. Several files from this software are currently distributed under 
license. Where they exist, licenses SHALL NOT be changed.

7. Database Ownership

The TZ database itself is not an IETF Contribution or an IETF document. Rather 
it is a pre-existing and regularly updated work that is in the public domain, 
and is intended to remain in the public domain. Therefore, BCPs 78 [RFC5378] 
and 79 [RFC3979] do not apply to the TZ Database or contributions that 
individuals make to it. Should any claims be made and substantiated against the 
TZ Database, the organization that is providing the IANA Considerations defined 
in this RFC, under the memorandum of understanding with the IETF, currently 
ICANN, may act in accordance with all competent court orders. No ownership 
claims will be made by ICANN or the IETF Trust on the database or the code. Any 
person making a contribution to the database or code waives all rights to 
future claims in that contribution or in the TZ Database.
This is ratified in the README file of the tzdata and tzcode distributions, 
where we can read:
Unless otherwise specified, all files in the tz code and data are in
the public domain, so clarified as of 2009-05-17 by Arthur David Olson.
The few exceptions are code derived from BSD, which uses the BSD license.
Thereafter, I propose the attached LICENSE file for the timezonedb module, 
expressing these two different license policies.

Hopefully this file will be OK to be included in the repository.

[1] http://tools.ietf.org/html/rfc6557

Best regards,
--
David Marín Carreño
Ingeniero en Informática
SICE - Dirección Técnica
Dpto. de Software Interurbano
Tfno: +34 91 623 23 36
Móvil: +34 650 460 569
E-mail: dma...@sice.commailto:dma...@sice.com



Este mensaje y cualquier fichero anexo está dirigido exclusivamente a los 
destinatarios especificados. La información contenida puede ser confidencial 
y/o estar legalmente protegida y no necesariamente refleja la opinión de esta 
compañía. Si usted recibe este mensaje por error, por favor comuníqueselo 
inmediatamente al remitente y elimínelo.

This message and any attached files are intended solely for the addressee/s 
identified herein. It may contain confidential and/or legally privileged 
information and may not necessarily represent the opinion of this Company. If 
you receive this message in error, please immediately notify the sender and 
delete it.
_
This extension includes code and data from the Time Zone Database 
(http://www.iana.org/time-zones). These code and data are placed 
in public domain.

This extension also includes code under The PHP License 3.01, 
hereby reproduced: 

 
  The PHP License, version 3.01
Copyright (c) 1999 - 2014 The PHP Group. All rights reserved.
 

Redistribution and use in source and binary forms, with or without
modification, is permitted provided that the following conditions
are met:

  1. Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 
  2. Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer in
 the documentation and/or other materials provided with the
 distribution.
 
  3. The name PHP must not be used to endorse or promote products
 derived from this software without prior written permission. For
 written permission, please contact gr...@php.net.
  
  4. Products derived from this software may not be called PHP, nor
 may PHP appear in their name, without prior written permission
 from gr...@php.net.  You may indicate that your software works in
 conjunction with PHP by saying Foo for PHP instead of calling
 it PHP Foo or phpfoo
 
  5. The PHP Group may publish revised and/or new versions of the

Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-27 Thread David Marín Carreño

Hi all, again.

Excuse me if I'm being insistent, but please, someone add that LICENSE file to 
the repository for the Windows binaries to be generated.
According to the two files in the source code, the license should be the PHP 
license.

Thanks a lot.

El 09/10/2014 a las 19:52, Pierre Joye escribió:

Derick,

On Thu, Oct 9, 2014 at 1:05 PM, Derick Rethans 
der...@php.netmailto:der...@php.net wrote:


On Thu, 9 Oct 2014, David Marín Carreño wrote:



I don't want to be annoying nor demanding, but after a month, I have
to come back with the problem of not existance of compiled timezonedb
PECL extension for Windows.

According to the list thread, the only problem is that there is no
LICENSE file in the extension, and thus the automatic compiler for
Windows doesn't even try to compile it.



There is no license for the data in this extension, so no LICENSE file
can be created. It's some silly requirement by the people that build
these binaries.



We can't distribute binaries without license. Simple, easy. You have
code and the data is under a given term. Public domain or the likes
are terms of use. Add it to this file and that's it.





--
David Marín Carreño
Ingeniero en Informática
SICE - Dirección Técnica
Dpto. de Software Interurbano
Tfno: +34 91 623 23 36
Móvil: +34 650 460 569
E-mail: dma...@sice.commailto:dma...@sice.com



Este mensaje y cualquier fichero anexo está dirigido exclusivamente a los 
destinatarios especificados. La información contenida puede ser confidencial 
y/o estar legalmente protegida y no necesariamente refleja la opinión de esta 
compañía. Si usted recibe este mensaje por error, por favor comuníqueselo 
inmediatamente al remitente y elimínelo.

This message and any attached files are intended solely for the addressee/s 
identified herein. It may contain confidential and/or legally privileged 
information and may not necessarily represent the opinion of this Company. If 
you receive this message in error, please immediately notify the sender and 
delete it.
_


Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-27 Thread Pierre Joye
hi,

On Mon, Oct 27, 2014 at 2:50 PM, David Marín Carreño dma...@sice.com wrote:
 Hi all, again.

 Excuse me if I'm being insistent, but please, someone add that LICENSE file
 to the repository for the Windows binaries to be generated.
 According to the two files in the source code, the license should be the PHP
 license.

As far as I remember Derick was not keen to do it. So convince him and
you are in.

Cheers,
Pierre

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-09 Thread David Marín Carreño

Hi again.

I don't want to be annoying nor demanding, but after a month, I have to
come back with the problem of not existance of compiled timezonedb PECL
extension for Windows.

According to the list thread, the only problem is that there is no
LICENSE file in the extension, and thus the automatic compiler for
Windows doesn't even try to compile it.

I'd like to fix this problem so we can define in our project
documentation a protocol for whenever the government decides to change
the daylight saving policy...
Should I submit a patch?

Thanks again.

El 10/09/2014 a las #4, Pierre Joye escribió:

Adding Derick as he maintains this ext.

On Wed, Sep 10, 2014 at 9:42 AM, David Marín Carreño dma...@sice.com wrote:

On 09/09/2014, Pierre Joye wrote:

ah nice, so one could update older versions easily. Up to Derick to
fix what has to be fixed than. pecl.php.net will provide dlls
automatically then.


So could I expect that timezonedb extension will be available for
Windows soon? Should I contact anyone for doing this?

I'm saying this because, at my firm, we need to take a design decision
for one of our projects, and it depends on this question: the country
where the project is going to be installed keeps on changing its
daylight-saving time start and end dates every year, and if we are not
able to update the timezone database without upgrading the whole WAMP
stack we will have to change the way of managing this...

Thanks again

--
*David Marín Carreño*
Ingeniero en Informática
*SICE* - Dirección Técnica

Dpto. de Software Interurbano
Tfno: +34 91 623 23 36
Móvil: +34 650 460 569
E-mail: dma...@sice.com mailto:dma...@sice.com



Este mensaje y cualquier fichero anexo está dirigido exclusivamente a los
destinatarios especificados. La información contenida puede ser confidencial
y/o estar legalmente protegida y no necesariamente refleja la opinión de
esta compañía. Si usted recibe este mensaje por error, por favor
comuníqueselo inmediatamente al remitente y elimínelo.

This message and any attached files are intended solely for the addressee/s
identified herein. It may contain confidential and/or legally privileged
information and may not necessarily represent the opinion of this Company.
If you receive this message in error, please immediately notify the sender
and delete it.
_






--
*David Marín Carreño*
Ingeniero en Informática
*SICE* - Dirección Técnica
Dpto. de Software Interurbano
Tfno: +34 91 623 23 36
Móvil: +34 650 460 569
E-mail: dma...@sice.com mailto:dma...@sice.com



Este mensaje y cualquier fichero anexo está dirigido exclusivamente a los 
destinatarios especificados. La información contenida puede ser confidencial 
y/o estar legalmente protegida y no necesariamente refleja la opinión de esta 
compañía. Si usted recibe este mensaje por error, por favor comuníqueselo 
inmediatamente al remitente y elimínelo.

This message and any attached files are intended solely for the addressee/s 
identified herein. It may contain confidential and/or legally privileged 
information and may not necessarily represent the opinion of this Company. If 
you receive this message in error, please immediately notify the sender and 
delete it.
_

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-09 Thread Derick Rethans
On Thu, 9 Oct 2014, David Marín Carreño wrote:

 I don't want to be annoying nor demanding, but after a month, I have 
 to come back with the problem of not existance of compiled timezonedb 
 PECL extension for Windows.
 
 According to the list thread, the only problem is that there is no 
 LICENSE file in the extension, and thus the automatic compiler for 
 Windows doesn't even try to compile it.

There is no license for the data in this extension, so no LICENSE file 
can be created. It's some silly requirement by the people that build 
these binaries.

cheers,
Derick
-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-09 Thread David Marín Carreño

On 09/10/2014, Derick Rethans wrote:

On Thu, 9 Oct 2014, David Marín Carreño wrote:


I don't want to be annoying nor demanding, but after a month, I have
to come back with the problem of not existance of compiled timezonedb
PECL extension for Windows.

According to the list thread, the only problem is that there is no
LICENSE file in the extension, and thus the automatic compiler for
Windows doesn't even try to compile it.

There is no license for the data in this extension, so no LICENSE file
can be created. It's some silly requirement by the people that build
these binaries.

cheers,
Derick

As you say, the timezonedb data is under public domain.

But according to the files in the extension, currently timezonedb.c and
php_timezonedb.h under the PHP License version 3.0.

So perhaps the valid LICENSE file could be one having the PHP License 3.0.
Or perhaps a LICENSE file saying This extension is under public
domain, if it is really this way.

Thank you again
--
*David Marín Carreño*
Ingeniero en Informática
*SICE* - Dirección Técnica
Dpto. de Software Interurbano
Tfno: +34 91 623 23 36
Móvil: +34 650 460 569
E-mail: dma...@sice.com mailto:dma...@sice.com



Este mensaje y cualquier fichero anexo está dirigido exclusivamente a los 
destinatarios especificados. La información contenida puede ser confidencial 
y/o estar legalmente protegida y no necesariamente refleja la opinión de esta 
compañía. Si usted recibe este mensaje por error, por favor comuníqueselo 
inmediatamente al remitente y elimínelo.

This message and any attached files are intended solely for the addressee/s 
identified herein. It may contain confidential and/or legally privileged 
information and may not necessarily represent the opinion of this Company. If 
you receive this message in error, please immediately notify the sender and 
delete it.
_

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-10-09 Thread Pierre Joye
Derick,

On Thu, Oct 9, 2014 at 1:05 PM, Derick Rethans der...@php.net wrote:
 On Thu, 9 Oct 2014, David Marín Carreño wrote:

 I don't want to be annoying nor demanding, but after a month, I have
 to come back with the problem of not existance of compiled timezonedb
 PECL extension for Windows.

 According to the list thread, the only problem is that there is no
 LICENSE file in the extension, and thus the automatic compiler for
 Windows doesn't even try to compile it.

 There is no license for the data in this extension, so no LICENSE file
 can be created. It's some silly requirement by the people that build
 these binaries.

We can't distribute binaries without license. Simple, easy. You have
code and the data is under a given term. Public domain or the likes
are terms of use. Add it to this file and that's it.


-- 
Pierre

@pierrejoye | http://www.libgd.org

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-09-09 Thread Pierre Joye
Hi,

We never tried but makes also little sense as you would not be able to use
it with any binaries we provide. This db being bundled and statically
linked.

Out of curiosity, why do you need it?

Cheers,
Pierre
On Sep 9, 2014 12:44 PM, David Marín Carreño dma...@sice.com wrote:

 Hi all

 I'm trying to find a compiled version of timezonedb extension for Windows,
 but I cannot find it. I'm not able to get a build system with the required
 Visual C.

 Is there any possibility that timezonedb PECL extension could be compiled
 for Windows in the official servers?

 Thanks a lot for your support.
 --
 David Marín Carreño
 Ingeniero en Informática
 SICE - Dirección Técnica
 Dpto. de Software Interurbano
 Tfno: +34 91 623 23 36
 Móvil: +34 650 460 569
 E-mail: dma...@sice.commailto:dma...@sice.com


 
 Este mensaje y cualquier fichero anexo está dirigido exclusivamente a los
 destinatarios especificados. La información contenida puede ser
 confidencial y/o estar legalmente protegida y no necesariamente refleja la
 opinión de esta compañía. Si usted recibe este mensaje por error, por favor
 comuníqueselo inmediatamente al remitente y elimínelo.

 This message and any attached files are intended solely for the
 addressee/s identified herein. It may contain confidential and/or legally
 privileged information and may not necessarily represent the opinion of
 this Company. If you receive this message in error, please immediately
 notify the sender and delete it.
 
 
 
 _



Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-09-09 Thread Jan Ehrhardt
Pierre Joye in php.pecl.dev (Tue, 9 Sep 2014 13:55:19 +0200):
We never tried but makes also little sense as you would not be able to use
it with any binaries we provide. This db being bundled and statically
linked.

Timezonedb is a PECL extension. Quote from
http://pecl.php.net/package/timezonedb

This extension is a drop-in replacement for the builtin timezone
database that comes with PHP. You should only install this extension in
case you need to get a later version of the timezone database than the
one that ships with PHP.

It is perfectly possible to compile the extension for Windows. There is
one in my builds at http://www.apachelounge.com/viewtopic.php?t=6123

If you say makes little sense, do you mean that the 'replacement' does
not work on Windows?

If the quote is true for Windows, there is no reason why it should not
be compiled officially and put at
http://windows.php.net/downloads/pecl/releases/

Jan

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-09-09 Thread Jan Ehrhardt
Jan Ehrhardt in php.pecl.dev (Tue, 09 Sep 2014 14:21:22 +0200):
If you say makes little sense, do you mean that the 'replacement' does
not work on Windows?

The replacement works. PHP 5.6 with the extension installed tells

Olson Timezone Database Version   2014.7 
Timezone Database   external

And without:

Olson Timezone Database Version   2014.6 
Timezone Database   internal

Jan

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PECL-DEV] timezonedb extension compiled for Windows

2014-09-09 Thread Pierre Joye
On Tue, Sep 9, 2014 at 2:30 PM, Jan Ehrhardt php...@ehrhardt.nl wrote:
 Jan Ehrhardt in php.pecl.dev (Tue, 09 Sep 2014 14:21:22 +0200):
If you say makes little sense, do you mean that the 'replacement' does
not work on Windows?

 The replacement works. PHP 5.6 with the extension installed tells

 Olson Timezone Database Version   2014.7
 Timezone Database   external

 And without:

 Olson Timezone Database Version   2014.6
 Timezone Database   internal

ah nice, so one could update older versions easily. Up to Derick to
fix what has to be fixed than. pecl.php.net will provide dlls
automatically then.

-- 
Pierre

@pierrejoye | http://www.libgd.org

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php