d2399a
From c940aab7895fa4cb109e7790ae14080090b04959 Mon Sep 17 00:00:00 2001
d2399a
From: Remi Collet <remi@php.net>
d2399a
Date: Tue, 2 Jul 2013 10:42:47 +0200
d2399a
Subject: [PATCH] Fixed Bug #65143 Missing php-cgi man page
d2399a
d2399a
Currently php-cgi man page is a simple redirect to
d2399a
php (CLI) man page.
d2399a
d2399a
Could be splited / improved in the future.
d2399a
---
d2399a
 sapi/cgi/Makefile.frag | 3 +++
d2399a
 sapi/cgi/config9.m4    | 2 ++
d2399a
 sapi/cgi/php-cgi.1.in  | 1 +
d2399a
 sapi/cli/php.1.in      | 2 ++
d2399a
 4 files changed, 8 insertions(+)
d2399a
 create mode 100644 sapi/cgi/php-cgi.1.in
d2399a
d2399a
diff --git a/sapi/cgi/Makefile.frag b/sapi/cgi/Makefile.frag
d2399a
index 505119e..d54dd40 100644
d2399a
--- a/sapi/cgi/Makefile.frag
d2399a
+++ b/sapi/cgi/Makefile.frag
d2399a
@@ -6,4 +6,7 @@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_BINARY_OBJS) $(PHP_CGI_OBJS)
d2399a
 install-cgi: $(SAPI_CGI_PATH)
d2399a
 	@echo "Installing PHP CGI binary:        $(INSTALL_ROOT)$(bindir)/"
d2399a
 	@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php-cgi$(program_suffix)$(EXEEXT)
d2399a
+	@echo "Installing PHP CGI man page:      $(INSTALL_ROOT)$(mandir)/man1/"
d2399a
+	@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
d2399a
+	@$(INSTALL_DATA) sapi/cgi/php-cgi.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php-cgi$(program_suffix).1
d2399a
 
d2399a
diff --git a/sapi/cgi/config9.m4 b/sapi/cgi/config9.m4
d2399a
index 67251ae..49e61c8 100644
d2399a
--- a/sapi/cgi/config9.m4
d2399a
+++ b/sapi/cgi/config9.m4
d2399a
@@ -71,6 +71,8 @@ if test "$PHP_CGI" != "no"; then
d2399a
     dnl Expose to Makefile
d2399a
     PHP_SUBST(SAPI_CGI_PATH)
d2399a
     PHP_SUBST(BUILD_CGI)
d2399a
+
d2399a
+    PHP_OUTPUT(sapi/cgi/php-cgi.1)
d2399a
 else
d2399a
   AC_MSG_RESULT(yes)
d2399a
 fi
d2399a
diff --git a/sapi/cgi/php-cgi.1.in b/sapi/cgi/php-cgi.1.in
d2399a
new file mode 100644
d2399a
index 0000000..340e6c5
d2399a
--- /dev/null
d2399a
+++ b/sapi/cgi/php-cgi.1.in
d2399a
@@ -0,0 +1 @@
d2399a
+.so man1/php.1
d2399a
diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in
d2399a
index 0e9d07a..6f0266d 100644
d2399a
--- a/sapi/cli/php.1.in
d2399a
+++ b/sapi/cli/php.1.in
d2399a
@@ -1,6 +1,8 @@
d2399a
 .TH PHP 1 "2013" "The PHP Group" "Scripting Language"
d2399a
 .SH NAME
d2399a
 php \- PHP Command Line Interface 'CLI'
d2399a
+.P
d2399a
+php-cgi \- PHP Command Gateway Interface 'CGI'
d2399a
 .SH SYNOPSIS
d2399a
 .B php
d2399a
 [options] [
d2399a
-- 
d2399a
1.7.11.5
d2399a
d2399a
From f4ce5e7fb65ce215ea5fd182a90aaa4d634f6023 Mon Sep 17 00:00:00 2001
d2399a
From: Remi Collet <remi@php.net>
d2399a
Date: Tue, 2 Jul 2013 10:46:50 +0200
d2399a
Subject: [PATCH] Fixed Bug #65142 Missing phar man page
d2399a
d2399a
Simple man page from phar help output.
d2399a
---
d2399a
 NEWS                    |   3 +
d2399a
 ext/phar/Makefile.frag  |   4 +
d2399a
 ext/phar/config.m4      |   2 +
d2399a
 ext/phar/phar.1.in      | 523 ++++++++++++++++++++++++++++++++++++++++++++++++
d2399a
 ext/phar/phar.phar.1.in |   1 +
d2399a
 5 files changed, 533 insertions(+)
d2399a
 create mode 100644 ext/phar/phar.1.in
d2399a
 create mode 100644 ext/phar/phar.phar.1.in
d2399a
d2399a
diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag
d2399a
index b1c820f..ed6de9f 100644
d2399a
--- a/ext/phar/Makefile.frag
d2399a
+++ b/ext/phar/Makefile.frag
d2399a
@@ -40,3 +40,7 @@ install-pharcmd: pharcmd
d2399a
 	$(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)
d2399a
 	-@rm -f $(INSTALL_ROOT)$(bindir)/phar
d2399a
 	$(LN_S) -f $(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar
d2399a
+	@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
d2399a
+	@$(INSTALL_DATA) $(builddir)/phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.1
d2399a
+	@$(INSTALL_DATA) $(builddir)/phar.phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.phar.1
d2399a
+
d2399a
diff --git a/ext/phar/config.m4 b/ext/phar/config.m4
d2399a
index 2ac7f3d..d424060 100644
d2399a
--- a/ext/phar/config.m4
d2399a
+++ b/ext/phar/config.m4
d2399a
@@ -27,4 +27,6 @@ if test "$PHP_PHAR" != "no"; then
d2399a
   PHP_ADD_EXTENSION_DEP(phar, hash, true)
d2399a
   PHP_ADD_EXTENSION_DEP(phar, spl, true)
d2399a
   PHP_ADD_MAKEFILE_FRAGMENT
d2399a
+
d2399a
+  PHP_OUTPUT(ext/phar/phar.1 ext/phar/phar.phar.1)
d2399a
 fi
d2399a
diff --git a/ext/phar/phar.1.in b/ext/phar/phar.1.in
d2399a
new file mode 100644
d2399a
index 0000000..259a2ba
d2399a
--- /dev/null
d2399a
+++ b/ext/phar/phar.1.in
d2399a
@@ -0,0 +1,523 @@
d2399a
+.TH PHAR 1 "2013" "The PHP Group" "User Commands"
d2399a
+.SH NAME
d2399a
+phar, phar.phar \- PHAR (PHP archive) command line tool
d2399a
+.SH SYNOPSIS
d2399a
+.B phar
d2399a
+<command> [options] ...
d2399a
+.LP
d2399a
+.SH DESCRIPTION
d2399a
+The \fBPHAR\fP file format provides a way to put entire PHP applications into a single
d2399a
+file called a "phar" (PHP Archive) for easy distribution and installation.
d2399a
+.P
d2399a
+With the \fBphar\fP command you can create, update or extract PHP archives.
d2399a
+.P
d2399a
+Commands: 
d2399a
+add compress delete extract help help-list info list meta-del
d2399a
+meta-get meta-set pack sign stub-get stub-set tree version
d2399a
+
d2399a
+.SH add command
d2399a
+Add entries to a PHAR package.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B ...
d2399a
+Any number of input files and directories. If -i is in
d2399a
+use then ONLY files and matching the given regular
d2399a
+expression are being packed. If -x is given then files
d2399a
+matching that regular expression are NOT being packed.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-a \fIalias\fP
d2399a
+Provide an \fIalias\fP name for the phar file.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-c \fIalgo\fP
d2399a
+Compression algorithm (see 
d2399a
+.SM
d2399a
+.B COMPRESSION
d2399a
+)
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-i \fIregex\fP
d2399a
+Specifies a regular expression for input files.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-l \fIlevel\fP
d2399a
+Number of preceding subdirectories to strip from file entries
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-x \fIregex\fP
d2399a
+Regular expression for input files to exclude.
d2399a
+
d2399a
+.SH compress command
d2399a
+Compress or uncompress all files or a selected entry.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-c \fIalgo\fP
d2399a
+Compression algorithm (see 
d2399a
+.SM
d2399a
+.B COMPRESSION
d2399a
+)
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -e \fIentry\fP
d2399a
+Name of \fIentry\fP to work on (must include PHAR internal
d2399a
+directory name if any).
d2399a
+
d2399a
+.SH delete command
d2399a
+Delete entry from a PHAR archive
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-e \fIentry\fP
d2399a
+Name of \fIentry\fP to work on (must include PHAR internal
d2399a
+directory name if any).
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+
d2399a
+.SH extract command
d2399a
+Extract a PHAR package to a directory.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -i \fIregex\fP
d2399a
+Specifies a regular expression for input files.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -x \fIregex\fP
d2399a
+Regular expression for input files to exclude.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B ...
d2399a
+Directory to extract to (defaults to '.').
d2399a
+
d2399a
+
d2399a
+.SH help command
d2399a
+This help or help for a selected command.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B ...
d2399a
+Optional command to retrieve help for.
d2399a
+
d2399a
+.SH help-list command
d2399a
+Lists available commands.
d2399a
+
d2399a
+.SH info command
d2399a
+Get information about a PHAR package.
d2399a
+.P
d2399a
+By using -k it is possible to return a single value.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -k \fIindex\fP
d2399a
+Subscription \fIindex\fP to work on.
d2399a
+
d2399a
+.SH list command
d2399a
+List contents of a PHAR archive.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -i \fIregex\fP
d2399a
+Specifies a regular expression for input files.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -x \fIregex\fP
d2399a
+Regular expression for input files to exclude.
d2399a
+
d2399a
+
d2399a
+.SH meta-del command
d2399a
+Delete meta information of a PHAR entry or a PHAR package.
d2399a
+.P
d2399a
+If -k is given then the metadata is expected to be an array and the
d2399a
+given index is being deleted.
d2399a
+.P
d2399a
+If something was deleted the return value is 0 otherwise it is 1.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -e \fIentry\fP
d2399a
+Name of \fIentry\fP to work on (must include PHAR internal
d2399a
+directory name if any).
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -k \fIindex\fP
d2399a
+Subscription \fIindex\fP to work on.
d2399a
+
d2399a
+.SH meta-get command
d2399a
+Get meta information of a PHAR entry or a PHAR package in serialized from. If
d2399a
+no output file is specified for meta data then stdout is being used.
d2399a
+You can also specify a particular index using -k. In that case the
d2399a
+metadata is expected to be an array and the value of the given index
d2399a
+is returned using echo rather than using serialize. If that index does
d2399a
+not exist or no meta data is present then the return value is 1.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -e \fIentry\fP
d2399a
+Name of \fIentry\fP to work on (must include PHAR internal
d2399a
+directory name if any).
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -k \fIindex\fP
d2399a
+Subscription \fIindex\fP to work on.
d2399a
+
d2399a
+.SH meta-set command
d2399a
+Set meta data of a PHAR entry or a PHAR package using serialized input. If no
d2399a
+input file is specified for meta data then stdin is being used. You can
d2399a
+also specify a particular index using -k. In that case the metadata is
d2399a
+expected to be an array and the value of the given index is being set.
d2399a
+If the metadata is not present or empty a new array will be created.
d2399a
+If the metadata is present and a flat value then the return value is
d2399a
+1. Also using -k the input is been taken directly rather then being
d2399a
+serialized.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -m \fImeta\fP
d2399a
+Meta data to store with entry (serialized php data).
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -e \fIentry\fP
d2399a
+Name of \fIentry\fP to work on (must include PHAR internal
d2399a
+directory name if any).
d2399a
+.TP
d2399a
+.PD
d2399a
+.B -k \fIindex\fP
d2399a
+Subscription \fIindex\fP to work on.
d2399a
+
d2399a
+.SH pack command
d2399a
+Pack files into a PHAR archive.
d2399a
+.P
d2399a
+When using -s <stub>, then the stub file is being excluded from the
d2399a
+list of input files/dirs.To create an archive that contains PEAR class
d2399a
+PHP_Archive then point -p argument to PHP/Archive.php.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B ...
d2399a
+Any number of input files and directories. If -i is in
d2399a
+use then ONLY files and matching the given regular
d2399a
+expression are being packed. If -x is given then files
d2399a
+matching that regular expression are NOT being packed.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-a \fIalias\fP
d2399a
+Provide an \fIalias\fP name for the phar file.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-b \fIbang\fP
d2399a
+Hash-bang line to start the archive (e.g. #!/usr/bin/php).
d2399a
+The hash mark itself '#!' and the newline character are optional.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-c \fIalgo\fP
d2399a
+Compression algorithm (see 
d2399a
+.SM
d2399a
+.B COMPRESSION
d2399a
+)
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-h \fIhash\fP
d2399a
+Selects the \fIhash\fP algorithm (see 
d2399a
+.SM
d2399a
+.B HASH
d2399a
+)
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-i \fIregex\fP
d2399a
+Specifies a regular expression for input files.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-l \fIlevel\fP
d2399a
+Number of preceding subdirectories to strip from file entries
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-p \fIloader\fP
d2399a
+Location of PHP_Archive class file (pear list-files
d2399a
+PHP_Archive).You can use '0' or '1' to locate it
d2399a
+automatically using the mentioned pear command. When
d2399a
+using '0' the command does not error out when the class
d2399a
+file cannot be located. This switch also adds some code
d2399a
+around the stub so that class PHP_Archive gets
d2399a
+registered as phar:// stream wrapper if necessary. And
d2399a
+finally this switch will add the file phar.inc from
d2399a
+this package and load it to ensure class Phar is
d2399a
+present.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-s \fIstub\fP
d2399a
+Select the \fIstub\fP file.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-x \fIregex\fP
d2399a
+Regular expression for input files to exclude.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-y \fIkey\fP
d2399a
+Private \fIkey\fP for OpenSSL signing.
d2399a
+
d2399a
+.SH sign command
d2399a
+Set signature hash algorithm.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-h \fIhash\fP
d2399a
+Selects the \fIhash\fP algorithm (see 
d2399a
+.SM
d2399a
+.B HASH
d2399a
+)
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-y \fIkey\fP
d2399a
+Private \fIkey\fP for OpenSSL signing.
d2399a
+
d2399a
+.SH stub-get command
d2399a
+Get the stub of a PHAR file. If no output file is specified as stub then stdout
d2399a
+is being used.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-s \fIstub\fP
d2399a
+Select the \fIstub\fP file.
d2399a
+
d2399a
+.SH stub-set command
d2399a
+Set the stub of a PHAR file. If no input file is specified as stub then stdin
d2399a
+is being used.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-b \fIbang\fP
d2399a
+Hash-bang line to start the archive (e.g. #!/usr/bin/php).
d2399a
+The hash mark itself '#!' and the newline character are optional.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-p \fIloader\fP
d2399a
+Location of PHP_Archive class file (pear list-files
d2399a
+PHP_Archive).You can use '0' or '1' to locate it
d2399a
+automatically using the mentioned pear command. When
d2399a
+using '0' the command does not error out when the class
d2399a
+file cannot be located. This switch also adds some code
d2399a
+around the stub so that class PHP_Archive gets
d2399a
+registered as phar:// stream wrapper if necessary. And
d2399a
+finally this switch will add the file phar.inc from
d2399a
+this package and load it to ensure class Phar is
d2399a
+present.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-s \fIstub\fP
d2399a
+Select the \fIstub\fP file.
d2399a
+
d2399a
+
d2399a
+.SH tree command
d2399a
+Get a directory tree for a PHAR archive.
d2399a
+.P
d2399a
+Required arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B -f \fIfile\fP
d2399a
+Specifies the phar \fIfile\fP to work on.
d2399a
+.P
d2399a
+Optional arguments:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B \-i \fIregex\fP
d2399a
+Specifies a regular expression for input files.
d2399a
+.TP
d2399a
+.PD
d2399a
+.B \-x \fIregex\fP
d2399a
+Regular expression for input files to exclude.
d2399a
+
d2399a
+.SH version command
d2399a
+Get information about the PHAR environment and the tool version.
d2399a
+
d2399a
+
d2399a
+.SH COMPRESSION
d2399a
+Algorithms:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.B 0
d2399a
+No compression
d2399a
+.TP
d2399a
+.PD
d2399a
+.B none
d2399a
+No compression
d2399a
+.TP
d2399a
+.PD
d2399a
+.B auto
d2399a
+Automatically select compression algorithm
d2399a
+.TP
d2399a
+.PD
d2399a
+.B gz
d2399a
+GZip compression
d2399a
+.TP
d2399a
+.PD
d2399a
+.B gzip
d2399a
+GZip compression
d2399a
+.TP
d2399a
+.PD
d2399a
+.B bz2
d2399a
+BZip2 compression
d2399a
+.TP
d2399a
+.PD
d2399a
+.B bzip2
d2399a
+BZip2 compression
d2399a
+
d2399a
+.SH HASH
d2399a
+Algorithms:
d2399a
+.TP 15
d2399a
+.PD
d2399a
+.TP
d2399a
+.PD
d2399a
+.B md5
d2399a
+MD5
d2399a
+.TP
d2399a
+.PD
d2399a
+.B sha1
d2399a
+SHA1
d2399a
+.TP
d2399a
+.PD
d2399a
+.B sha256
d2399a
+SHA256
d2399a
+.TP
d2399a
+.PD
d2399a
+.B sha512
d2399a
+SHA512
d2399a
+.TP
d2399a
+.PD
d2399a
+.B openssl
d2399a
+OpenSSL
d2399a
+
d2399a
+.SH SEE ALSO
d2399a
+For a more or less complete description of PHAR look here:
d2399a
+.PD 0
d2399a
+.P
d2399a
+.B http://php.net/phar
d2399a
+.PD 1
d2399a
+.P
d2399a
+.SH BUGS
d2399a
+You can view the list of known bugs or report any new bug you
d2399a
+found at:
d2399a
+.PD 0
d2399a
+.P
d2399a
+.B http://bugs.php.net
d2399a
+.PD 1
d2399a
+.SH AUTHORS
d2399a
+The PHP Group: Thies C. Arntzen, Stig Bakken, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski.
d2399a
+.P
d2399a
+Work for the PHP archive was done by Gregory Beaver, Marcus Boerger.
d2399a
+.P
d2399a
+A List of active developers can be found here:
d2399a
+.PD 0
d2399a
+.P
d2399a
+.B http://www.php.net/credits.php
d2399a
+.PD 1
d2399a
+.P
d2399a
+And last but not least PHP was developed with the help of a huge amount of 
d2399a
+contributors all around the world.
d2399a
+.SH VERSION INFORMATION
d2399a
+This manpage describes \fBphar\fP, version @PHP_VERSION@.
d2399a
+.SH COPYRIGHT
d2399a
+Copyright \(co 1997\-2013 The PHP Group
d2399a
+.LP
d2399a
+This source file is subject to version 3.01 of the PHP license,
d2399a
+that is bundled with this package in the file LICENSE, and is
d2399a
+available through the world-wide-web at the following url:
d2399a
+.PD 0
d2399a
+.P
d2399a
+.B http://www.php.net/license/3_01.txt
d2399a
+.PD 1
d2399a
+.P
d2399a
+If you did not receive a copy of the PHP license and are unable to
d2399a
+obtain it through the world-wide-web, please send a note to
d2399a
+.B license@php.net
d2399a
+so we can mail you a copy immediately.
d2399a
diff --git a/ext/phar/phar.phar.1.in b/ext/phar/phar.phar.1.in
d2399a
new file mode 100644
d2399a
index 0000000..b5eecbf
d2399a
--- /dev/null
d2399a
+++ b/ext/phar/phar.phar.1.in
d2399a
@@ -0,0 +1 @@
d2399a
+.so man1/phar.1
d2399a
-- 
d2399a
1.7.11.5
d2399a
d2399a
From 67817a199ca4c8bcff163cb005287c0087db6bf3 Mon Sep 17 00:00:00 2001
d2399a
From: Remi Collet <remi@php.net>
d2399a
Date: Tue, 2 Jul 2013 12:19:09 +0200
d2399a
Subject: [PATCH] fix typo in php man page
d2399a
d2399a
---
d2399a
 sapi/cli/php.1.in | 2 +-
d2399a
 1 file changed, 1 insertion(+), 1 deletion(-)
d2399a
d2399a
diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in
d2399a
index 6f0266d..749baa8 100644
d2399a
--- a/sapi/cli/php.1.in
d2399a
+++ b/sapi/cli/php.1.in
d2399a
@@ -2,7 +2,7 @@
d2399a
 .SH NAME
d2399a
 php \- PHP Command Line Interface 'CLI'
d2399a
 .P
d2399a
-php-cgi \- PHP Command Gateway Interface 'CGI'
d2399a
+php-cgi \- PHP Common Gateway Interface 'CGI' command
d2399a
 .SH SYNOPSIS
d2399a
 .B php
d2399a
 [options] [
d2399a
-- 
d2399a
1.7.11.5
d2399a