<snip it all />
Here is a patch to add the PECL SPPLUS extension to the manual. Thanks
to Hannes for helping me get this patch ready - hopefully I haven't
missed anything.
I was not able to test on my machine here at work, but I'll try and
get a good configure.php and test run tonight - if anyone else could
test it out in the meantime and let me know if there are any problems.
Attached and at http://diff.pastebin.com/m62815035
--
-Brett Bieber
http:saltybeagle.com aim:ianswerq
Index: manual.xml.in
===================================================================
RCS file: /repository/phpdoc/manual.xml.in,v
retrieving revision 1.230
diff -u -r1.230 manual.xml.in
--- manual.xml.in 27 Dec 2007 03:14:48 -0000 1.230
+++ manual.xml.in 2 Jan 2008 22:52:42 -0000
@@ -257,6 +257,7 @@
&reference.cybermut.book;
&reference.pfpro.book;
&reference.mcve.book;
+ &reference.spplus.book;
</set>
<set xml:id="refs.mathcrypto.math">
Index: entities/global.ent
===================================================================
RCS file: /repository/phpdoc/entities/global.ent,v
retrieving revision 1.310
diff -u -r1.310 global.ent
--- entities/global.ent 26 Dec 2007 15:35:42 -0000 1.310
+++ entities/global.ent 2 Jan 2008 22:52:42 -0000
@@ -373,14 +373,15 @@
<!ENTITY url.sesam.de
"http://manuals.fujitsu-siemens.com/servers/bs2_man/man_de/sesam.htm">
<!ENTITY url.sesam.en
"http://manuals.fujitsu-siemens.com/servers/bs2_man/man_us/sesam.htm">
<!ENTITY url.session-fixation
"http://www.acros.si/papers/session_fixation.pdf">
+<!ENTITY url.sleepycat "http://www.sleepycat.com/">
<!ENTITY url.smart.questions
"http://www.catb.org/~esr/faqs/smart-questions.html">
+<!ENTITY url.socket.faq "http://www.developerweb.net/sock-faq/">
+<!ENTITY url.solid "http://www.solidtech.com/">
+<!ENTITY url.spplus "http://www.spplus.net/">
<!ENTITY url.sqlite "http://sqlite.org/">
<!ENTITY url.sqlite.interface.c "http://sqlite.org/c_interface.html">
-<!ENTITY url.socket.faq "http://www.developerweb.net/sock-faq/">
<!ENTITY url.st-threads "http://sourceforge.net/projects/state-threads/">
<!ENTITY url.stuffit "http://www.stuffit.com/">
-<!ENTITY url.sleepycat "http://www.sleepycat.com/">
-<!ENTITY url.solid "http://www.solidtech.com/">
<!ENTITY url.strftime.win32
"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp">
<!ENTITY url.strnatcmp "http://sourcefrog.net/projects/natsort/">
<!ENTITY url.sun.freeware "http://www.sunfreeware.com/">
Index: en/reference/spplus/reference.xml
===================================================================
RCS file: en/reference/spplus/reference.xml
diff -N en/reference/spplus/reference.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/reference.xml 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.1 $ -->
+<!-- Purpose: creditcard -->
+<!-- Membership: pecl -->
+
+<reference xml:id="ref.spplus" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>SPPLUS Payment System functions</title>
+ <titleabbrev>SPPLUS</titleabbrev>
+
+&reference.spplus.entities.functions;
+
+</reference>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
Index: en/reference/spplus/functions/calcul-hmac.xml
===================================================================
RCS file: en/reference/spplus/functions/calcul-hmac.xml
diff -N en/reference/spplus/functions/calcul-hmac.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/functions/calcul-hmac.xml 1 Jan 1970 00:00:00
-0000
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+<refentry xml:id="function.calcul-hmac" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>calcul_hmac</refname>
+ <refpurpose>Obtain a hmac key (needs 8 arguments)</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>calcul_hmac</methodname>
+ <methodparam><type>string</type><parameter>clent</parameter></methodparam>
+
<methodparam><type>string</type><parameter>siretcode</parameter></methodparam>
+ <methodparam><type>string</type><parameter>price</parameter></methodparam>
+
<methodparam><type>string</type><parameter>reference</parameter></methodparam>
+
<methodparam><type>string</type><parameter>validity</parameter></methodparam>
+
<methodparam><type>string</type><parameter>taxation</parameter></methodparam>
+ <methodparam><type>string</type><parameter>devise</parameter></methodparam>
+
<methodparam><type>string</type><parameter>language</parameter></methodparam>
+ </methodsynopsis>
+ &warn.undocumented.func;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ &warn.experimental.func;
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Index: en/reference/spplus/book.xml
===================================================================
RCS file: en/reference/spplus/book.xml
diff -N en/reference/spplus/book.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/book.xml 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.1 $ -->
+<!-- Purpose: creditcard -->
+<!-- Membership: pecl -->
+
+<book xml:id="book.spplus" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>SPPLUS Payment System functions</title>
+ <titleabbrev>SPPLUS</titleabbrev>
+
+ <!-- {{{ preface -->
+ <preface xml:id="intro.spplus">
+ &reftitle.intro;
+ <para>
+ This extension gives you the possibility to use the
+ <link xlink:href="&url.spplus;">SPPLUS Payment System</link>
+ of the Caisse d'Epargne (a French Bank).
+ </para>
+ ¬e.no-windows.extension;
+ <para>
+ Refer to the README files in kit_php's source distribution for
+ configuration details.
+ </para>
+ </preface>
+ <!-- }}} -->
+
+ &reference.spplus.setup;
+ &reference.spplus.constants;
+ &reference.spplus.reference;
+
+</book>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
Index: en/reference/spplus/constants.xml
===================================================================
RCS file: en/reference/spplus/constants.xml
diff -N en/reference/spplus/constants.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/constants.xml 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.1 $ -->
+
+<appendix xml:id="spplus.constants" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.constants;
+ &no.constants;
+</appendix>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
Index: en/reference/spplus/functions/nthmac.xml
===================================================================
RCS file: en/reference/spplus/functions/nthmac.xml
diff -N en/reference/spplus/functions/nthmac.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/functions/nthmac.xml 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+<refentry xml:id="function.nthmac" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>nthmac</refname>
+ <refpurpose>Obtain a nthmac key (needs 2 arguments)</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>nthmac</methodname>
+ <methodparam><type>string</type><parameter>clent</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ </methodsynopsis>
+ &warn.undocumented.func;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ &warn.experimental.func;
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Index: en/reference/spplus/setup.xml
===================================================================
RCS file: en/reference/spplus/setup.xml
diff -N en/reference/spplus/setup.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/setup.xml 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.1 $ -->
+
+<chapter xml:id="spplus.setup" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.setup;
+
+ <!-- {{{ Requirements -->
+ <section xml:id="spplus.requirements">
+ &reftitle.required;
+ <note>
+ <simpara>
+ You need at least PHP 4.1.0 and SPPLUS v.3
+ </simpara>
+ </note>
+ <note>
+ <simpara>
+ You will need to get the new kit_php for spplus. Feel free to contact
+ the maintainer if you can't get it.
+ </simpara>
+ </note>
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Installation -->
+ <section xml:id="spplus.installation" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.install;
+ <para>
+ short installation note:
+ <itemizedlist>
+ <listitem>
+ <simpara>You need at least PHP 4.3.0 for the compression to work</simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ To install on PHP 4.3.0 and later at the Unix command prompt type
+ <command>pear install pecl/spplus</command>
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Configuration -->
+ <section xml:id="extname.configuration">
+ &reftitle.runtime;
+ &no.config;
+ </section>
+ <!-- or &reference.extname.entities.ini; -->
+ <!-- }}} -->
+
+ <!-- {{{ Resources -->
+ <section xml:id="extname.resources">
+ &reftitle.resources;
+ &no.resource;
+ </section>
+ <!-- }}} -->
+
+</chapter>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
Index: en/reference/spplus/functions/calculhmac.xml
===================================================================
RCS file: en/reference/spplus/functions/calculhmac.xml
diff -N en/reference/spplus/functions/calculhmac.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/functions/calculhmac.xml 1 Jan 1970 00:00:00
-0000
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+<refentry xml:id="function.calculhmac" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>calculhmac</refname>
+ <refpurpose>Obtain a hmac key (needs 2 arguments)</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>calculhmac</methodname>
+ <methodparam><type>string</type><parameter>clent</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ </methodsynopsis>
+ &warn.undocumented.func;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ &warn.experimental.func;
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Index: en/reference/spplus/functions/signeurlpaiement.xml
===================================================================
RCS file: en/reference/spplus/functions/signeurlpaiement.xml
diff -N en/reference/spplus/functions/signeurlpaiement.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ en/reference/spplus/functions/signeurlpaiement.xml 1 Jan 1970 00:00:00
-0000
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+<refentry xml:id="function.signeurlpaiement"
xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>signeurlpaiement</refname>
+ <refpurpose>Obtain the payment url (needs 2 arguments)</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>nthmac</methodname>
+ <methodparam><type>string</type><parameter>clent</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ </methodsynopsis>
+ &warn.undocumented.func;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ &warn.experimental.func;
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->