From 6ae9e297d1e749e07cf3f59e217ac45e5618ff6c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Jun 2013 13:57:37 +0200 Subject: php-bartlett-PHP-CompatInfo: 2.17.0 --- 0012-curl-reference-for-php-5.5-more.patch | 3 +- php-bartlett-PHP-CompatInfo.spec | 19 ++-- phpci.1 | 149 ----------------------------- phpcompatinfo.1 | 149 +++++++++++++++++++++++++++++ 4 files changed, 160 insertions(+), 160 deletions(-) delete mode 100644 phpci.1 create mode 100644 phpcompatinfo.1 diff --git a/0012-curl-reference-for-php-5.5-more.patch b/0012-curl-reference-for-php-5.5-more.patch index 0d5eec1..faa4be2 100644 --- a/0012-curl-reference-for-php-5.5-more.patch +++ b/0012-curl-reference-for-php-5.5-more.patch @@ -36,11 +36,10 @@ index c12dc0f..e59bda4 100644 'CURL_RTSPREQ_ANNOUNCE' => array('5.5.0-dev', ''), 'CURL_RTSPREQ_DESCRIBE' => array('5.5.0-dev', ''), 'CURL_RTSPREQ_GET_PARAMETER' => array('5.5.0-dev', ''), -@@ -166,7 +171,7 @@ +@@ -166,6 +171,7 @@ 'CURL_VERSION_KERBEROS4' => array('4.0.2', ''), 'CURL_VERSION_LIBZ' => array('4.0.2', ''), 'CURL_VERSION_SSL' => array('4.0.2', ''), -- 'CURL_WRAPPERS_ENABLED' => array('5.4.15', ''), + 'CURL_WRITEFUNC_PAUSE' => array('5.5.0-dev', ''), 'CURLAUTH_ANY' => array('4.0.2', ''), diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 3b0d509..f261640 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -7,7 +7,7 @@ Name: php-bartlett-PHP-CompatInfo -Version: 2.16.0 +Version: 2.17.0 Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run @@ -16,7 +16,7 @@ Group: Development/Libraries License: BSD and MIT URL: http://php5.laurent-laville.org/compatinfo/ Source0: http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz -Source1: https://raw.github.com/llaville/php-compat-info/master/misc/phpci.1 +Source1: https://raw.github.com/llaville/php-compat-info/master/misc/phpcompatinfo.1 # Update configuration for best experience # Reference = ALL known extension (instead of installed ones) @@ -80,7 +80,7 @@ Requires: php-pear(pear.phpunit.de/PHP_Timer) >= 1.0.0 # Optional and not yet availalble php-pear(Net_Growl) >= 2.2.2 Provides: php-pear(%{channel}/%{pear_name}) = %{version}%{?prever} -Provides: phpci = %{version}%{?prever} +Provides: phpcompatinfo = %{version}%{?prever} %description @@ -155,15 +155,12 @@ rm -rf %{buildroot}%{pear_metadir}/.??* mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} -# Fix wrong-script-end-of-line-encoding -sed -i -e 's/\r//' %{buildroot}%{_bindir}/phpci - # Create default package configuration install -pm 644 phpcompatinfo.xml %{buildroot}%{pear_cfgdir}/%{pear_name}/ # Install the man page mkdir -p %{buildroot}%{_mandir}/man1 -install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpci.1 +install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpcompatinfo.1 %check @@ -214,11 +211,15 @@ fi %{pear_phpdir}/Bartlett/PHP/Compat* %{pear_testdir}/%{pear_name} %{pear_datadir}/%{pear_name} -%{_bindir}/phpci -%{_mandir}/man1/phpci.* +%{_bindir}/phpcompatinfo +%{_mandir}/man1/phpcompatinfo.* %changelog +* Fri Jun 07 2013 Remi Collet - 2.17.0-1 +- Update to 2.17.0 +- phpci command renamed to phpcompatinfo + * Fri May 10 2013 Remi Collet - 2.16.0-1 - Update to 2.16.0 diff --git a/phpci.1 b/phpci.1 deleted file mode 100644 index 38664fc..0000000 --- a/phpci.1 +++ /dev/null @@ -1,149 +0,0 @@ -'\" t -.\" Title: phpci -.\" Author: [see the "AUTHORS" section] -.\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 03/19/2013 -.\" Manual: \ \& -.\" Source: \ \& -.\" Language: English -.\" -.TH "PHPCI" "1" "03/19/2013" "\ \&" "\ \&" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -phpci \- parse any data source to find out the minimum version and extensions required for it to run -.SH "SYNOPSIS" -.sp -\fBphpci\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fIOPTS\fR] [\fIDATASOURCE\fR] -.SH "DESCRIPTION" -.sp -The phpci(1) command parse any \fIDATASOURCE\fR to find out the minimum PHP version and extensions required\&. -.SH "OPTIONS" -.PP -\fB\-\-configuration\fR=\fIXMLFILE\fR -.RS 4 -Read configuration options from -\fIXMLFILE\fR\&. All command line options will overrides those that are defined in this xml file\&. -.RE -.PP -\fB\-\-no\-configuration\fR -.RS 4 -Ignore default configuration files: -\fIphpcompatinfo\&.xml\fR, -\fIphpcompatinfo\&.xml\&.dist\fR\&. -.RE -.PP -\fB\-d, \-\-ini\-set\fR=\fIINI_SET\fR -.RS 4 -Sets a php\&.ini directive value\&. This option may be specified more than once\&. -.RE -.PP -\fB\-v, \-\-verbose\fR -.RS 4 -Verbosely print processing information and warning messages\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -[\fITOPIC\fR] \-h, \-\-help*:: Print help TOPIC\&. -\fItopic\fR\fB\-\-help\fR -will print help content about a topic, -\fB\-\-help\fR -summarizes phpci syntax\&. -.RE -.RE -.PP -\fB\-\-version\fR -.RS 4 -Print program version number\&. -.RE -.SH "PRINT COMMAND" -.sp -The phpci(1) \fIPRINT\fR command is used to find out minimum php version to run data source code provided\&. Syntax: -.sp -.if n \{\ -.RS 4 -.\} -.nf -phpci print [OPTION] DATA_SOURCE -.fi -.if n \{\ -.RE -.\} -.sp -Where: -.PP -\fBOPTION\fR -.RS 4 -phpci(1) -\fB\-\-report\fR -option specifying the type of result to print on stdout\&. See -\fB\-\-help\-report\fR -option for valid choices\&. -.RE -.PP -\fBDATA_SOURCE\fR -.RS 4 -The source path to scan\&. -.RE -.sp -The commands perform as follows: -.PP -\fBprint\fR -.RS 4 -Print report on stdout or into a file if -\fB\-\-report\-file\fR -option is in effect\&. -.RE -.SH "EXIT STATUS" -.PP -\fB0\fR -.RS 4 -Success -.RE -.PP -\fB1\fR -.RS 4 -Failure (syntax or usage error; configuration error; unexpected error)\&. -.RE -.SH "BUGS" -.sp -Report any issue at https://github\&.com/llaville/php\-compat\-info/issues -.SH "AUTHORS" -.sp -PHP_CompatInfo was originally written by Davey Shafik in 2004\&. -.sp -Remi Collet, contributor of many extensions reference and unit tests, joined the project since version 2\&.0\&.0RC2 -.sp -This CLI version was introduced and written by Laurent Laville\&. -.SH "SEE ALSO" -.sp -Main web site: http://php5\&.laurent\-laville\&.org/compatinfo/ -.SH "COPYRIGHT" -.sp -Copyright (C) 2010\-2013 Laurent Laville\&. -.SH "LICENSE" -.sp -Free use of this software is granted under the terms of the BSD 3\-clause license\&. diff --git a/phpcompatinfo.1 b/phpcompatinfo.1 new file mode 100644 index 0000000..0a0f32b --- /dev/null +++ b/phpcompatinfo.1 @@ -0,0 +1,149 @@ +'\" t +.\" Title: phpcompatinfo +.\" Author: [see the "AUTHORS" section] +.\" Generator: DocBook XSL Stylesheets v1.78.1 +.\" Date: 05/28/2013 +.\" Manual: \ \& +.\" Source: \ \& +.\" Language: English +.\" +.TH "PHPCOMPATINFO" "1" "05/28/2013" "\ \&" "\ \&" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +phpcompatinfo \- parse any data source to find out the minimum version and extensions required for it to run +.SH "SYNOPSIS" +.sp +\fBphpcompatinfo\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fIOPTS\fR] [\fIDATASOURCE\fR] +.SH "DESCRIPTION" +.sp +The phpcompatinfo(1) command parse any \fIDATASOURCE\fR to find out the minimum PHP version and extensions required\&. +.SH "OPTIONS" +.PP +\fB\-\-configuration\fR=\fIXMLFILE\fR +.RS 4 +Read configuration options from +\fIXMLFILE\fR\&. All command line options will overrides those that are defined in this xml file\&. +.RE +.PP +\fB\-\-no\-configuration\fR +.RS 4 +Ignore default configuration files: +\fIphpcompatinfo\&.xml\fR, +\fIphpcompatinfo\&.xml\&.dist\fR\&. +.RE +.PP +\fB\-d, \-\-ini\-set\fR=\fIINI_SET\fR +.RS 4 +Sets a php\&.ini directive value\&. This option may be specified more than once\&. +.RE +.PP +\fB\-v, \-\-verbose\fR +.RS 4 +Verbosely print processing information and warning messages\&. +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +[\fITOPIC\fR] \-h, \-\-help*:: Print help TOPIC\&. +\fItopic\fR\fB\-\-help\fR +will print help content about a topic, +\fB\-\-help\fR +summarizes phpcompatinfo syntax\&. +.RE +.RE +.PP +\fB\-\-version\fR +.RS 4 +Print program version number\&. +.RE +.SH "PRINT COMMAND" +.sp +The phpcompatinfo(1) \fIPRINT\fR command is used to find out minimum php version to run data source code provided\&. Syntax: +.sp +.if n \{\ +.RS 4 +.\} +.nf +phpcompatinfo print [OPTION] DATA_SOURCE +.fi +.if n \{\ +.RE +.\} +.sp +Where: +.PP +\fBOPTION\fR +.RS 4 +phpcompatinfo(1) +\fB\-\-report\fR +option specifying the type of result to print on stdout\&. See +\fB\-\-help\-report\fR +option for valid choices\&. +.RE +.PP +\fBDATA_SOURCE\fR +.RS 4 +The source path to scan\&. +.RE +.sp +The commands perform as follows: +.PP +\fBprint\fR +.RS 4 +Print report on stdout or into a file if +\fB\-\-report\-file\fR +option is in effect\&. +.RE +.SH "EXIT STATUS" +.PP +\fB0\fR +.RS 4 +Success +.RE +.PP +\fB1\fR +.RS 4 +Failure (syntax or usage error; configuration error; unexpected error)\&. +.RE +.SH "BUGS" +.sp +Report any issue at https://github\&.com/llaville/php\-compat\-info/issues +.SH "AUTHORS" +.sp +PHP_CompatInfo was originally written by Davey Shafik in 2004\&. +.sp +Remi Collet, contributor of many extensions reference and unit tests, joined the project since version 2\&.0\&.0RC2 +.sp +This CLI version was introduced and written by Laurent Laville\&. +.SH "SEE ALSO" +.sp +Main web site: http://php5\&.laurent\-laville\&.org/compatinfo/ +.SH "COPYRIGHT" +.sp +Copyright (C) 2010\-2013 Laurent Laville\&. +.SH "LICENSE" +.sp +Free use of this software is granted under the terms of the BSD 3\-clause license\&. -- cgit