From 69f8c8b7bb63415fa9105e71e04a7534b24ff42f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sat, 2 Feb 2013 13:25:20 +0100 Subject: [PATCH] maintenance --- .gitignore | 23 +++++++++++++++++++++ LICENSE | 22 ++++++++++++++++++++ package.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ php_raphf.c | 26 ++++++++--------------- php_raphf.h | 4 +--- 5 files changed, 114 insertions(+), 20 deletions(-) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 package.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..20c5e8b --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ + +# / +*~ +/*.tgz +/.deps +/*.lo +/*.la +/config.[^m]* +/configure* +/lib* +/ac*.m4 +/ltmain.sh +/install-sh +/Make* +/mk* +/missing +/.libs +/build +/include +/modules +/autom4te* +/.dep.inc +run-tests.php diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c26019a --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2013, Michael Wallner . +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * 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. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..e26ac7e --- /dev/null +++ b/package.xml @@ -0,0 +1,59 @@ + + + raphf + pecl.php.net + Resource and persistent handles factory + A reusable split-off of pecl_http's persistent handle and resource factory API. + + Michael Wallner + mike + mike@php.net + yes + + 2013-02-02 + + 1.0.0 + 1.0.0 + + + stable + stable + + BSD, revised + + + + + + + + + + + + + + 5.4 + + + 1.4.0 + + + + raphf + + + + + diff --git a/php_raphf.c b/php_raphf.c index 5affe39..ba3dd54 100644 --- a/php_raphf.c +++ b/php_raphf.c @@ -1,23 +1,15 @@ /* - +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.01 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.php.net/license/3_01.txt | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Author: | - +----------------------------------------------------------------------+ + +--------------------------------------------------------------------+ + | PECL :: raphf | + +--------------------------------------------------------------------+ + | Redistribution and use in source and binary forms, with or without | + | modification, are permitted provided that the conditions mentioned | + | in the accompanying LICENSE file are met. | + +--------------------------------------------------------------------+ + | Copyright (c) 2013, Michael Wallner | + +--------------------------------------------------------------------+ */ -/* $Id$ */ - #ifdef HAVE_CONFIG_H # include "config.h" #endif diff --git a/php_raphf.h b/php_raphf.h index b75c737..f998f79 100644 --- a/php_raphf.h +++ b/php_raphf.h @@ -10,15 +10,13 @@ +--------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_RAPHF_H #define PHP_RAPHF_H extern zend_module_entry raphf_module_entry; #define phpext_raphf_ptr &raphf_module_entry -#define PHP_RAPHF_VERSION "1.0.0dev" +#define PHP_RAPHF_VERSION "1.0.0" #ifdef PHP_WIN32 # define PHP_RAPHF_API __declspec(dllexport) -- 2.30.2