debian/0000775000000000000000000000000012301064771007171 5ustar debian/copyright0000664000000000000000000000703512231170376011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mysqlnd_ms Source: http://pecl.php.net/package/mysqlnd_ms Files: * Copyright: 1997-2013 The PHP Group License: PHP-3.01 Files: debian/* Copyright: 2013 Ondřej Surý License: PHP-3.01 License: PHP-3.01 -------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2006 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 group@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 group@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 license from time to time. Each version will be given a distinguishing version number. Once covered code has been published under a particular version of the license, you may always continue to use it under the terms of that version. You may also choose to use such covered code under the terms of any subsequent version of the license published by the PHP Group. No one other than the PHP Group has the right to modify the terms applicable to covered code created under this License. . 6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes PHP software, freely available from ". . THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED 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 PHP DEVELOPMENT TEAM OR ITS 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. . -------------------------------------------------------------------- . This software consists of voluntary contributions made by many individuals on behalf of the PHP Group. . The PHP Group can be contacted via Email at group@php.net. . For more information on the PHP Group and the PHP project, please see . . PHP includes the Zend Engine, freely available at . debian/rules0000775000000000000000000000057112231170376010255 0ustar #!/usr/bin/make -f # template debian/rules provided by dh-make-php. # GNU copyright 2005 by Uwe Steinmann. # modified for php-apc by Pietro Ferrari # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --buildsystem=phppear --with phppear --with php5 override_dh_auto_install: INSTALL_ROOT=$(CURDIR)/debian/tmp dh_auto_install override_dh_auto_test: : debian/source/0000775000000000000000000000000012231170376010472 5ustar debian/source/format0000664000000000000000000000001412231170376011700 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000014612231170376010224 0ustar version=3 http://pecl.php.net/package/mysqlnd_ms \ /get/mysqlnd_ms-([\d\.p?]*).tgz debian uupdate debian/php5-mysqlnd-ms.php50000664000000000000000000000006612231170376012750 0ustar mod */modules/mysqlnd_ms.so mod debian/mysqlnd_ms.ini debian/php5-mysqlnd-ms.dirs0000664000000000000000000000001512231170376013027 0ustar usr/lib/php5 debian/changelog0000664000000000000000000000133212301064771011042 0ustar php-mysqlnd-ms (1.5.2-3build1) trusty; urgency=medium * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit arches). -- Robie Basak Wed, 19 Feb 2014 08:23:21 +0000 php-mysqlnd-ms (1.5.2-3) unstable; urgency=low * Move the package under PHP PECL team umbrella -- Ondřej Surý Mon, 21 Oct 2013 11:16:42 +0200 php-mysqlnd-ms (1.5.2-2) unstable; urgency=low * Drop ${phppear:Debian-Depends} until it allows other SAPIs -- Ondřej Surý Mon, 21 Oct 2013 09:00:09 +0200 php-mysqlnd-ms (1.5.2-1) unstable; urgency=low * Initial Release (Closes: #718952). -- Ondřej Surý Wed, 07 Aug 2013 10:53:13 +0200 debian/mysqlnd_ms.ini0000664000000000000000000000003012231170376012052 0ustar extension=mysqlnd_ms.so debian/control0000664000000000000000000000232612231170376010600 0ustar Source: php-mysqlnd-ms Section: php Priority: optional Maintainer: Debian PHP PECL Maintainers Uploaders: Ondřej Surý Build-Depends: debhelper (>= 5), php5-dev (>= 5.5), php5-json (>= 1.3.1+dfsg-2~), dh-php5, pkg-php-tools Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-php/php-mysqlnd-ms.git Vcs-Browser: http://anonscm.debian.org/?p=pkg-php/php-mysqlnd-ms.git Homepage: http://pecl.php.net/package/mysqlnd_ms Package: php5-mysqlnd-ms Architecture: any Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends}, php5-mysqlnd Recommends: ${phppear:Debian-Recommends} Breaks: ${phppear:Debian-Breaks} Description: MySQL replication and load balancing module for PHP The mysqlnd_ms replication and load balancing plugin can be used with PHP MySQL extensions (ext/mysql, ext/mysqli, ext/pdo_mysql) if they are compiled to use mysqlnd. The plugin inspects queries and does read-write splitting. Read-only queries are sent to MySQL replication slave servers while all other queries are redirected to the MySQL replication master server. Very few, if any, application changes are required, depending on the usage scenario. debian/pecl0000664000000000000000000000002612231170376010036 0ustar modules/mysqlnd_ms.so debian/patches/0000775000000000000000000000000012231170376010621 5ustar debian/patches/0002_help_pkg-php-tools_with_required_php_version.patch0000664000000000000000000000040212231170376023362 0ustar --- php-mysqlnd-ms.orig/package.xml +++ php-mysqlnd-ms/package.xml @@ -586,7 +586,7 @@ Fix hardcoded version number - 5.3.6-dev + 5.3.6 1.4.0 debian/patches/series0000664000000000000000000000012712231170376012036 0ustar 0001_fix-format-security.patch 0002_help_pkg-php-tools_with_required_php_version.patch debian/patches/0001_fix-format-security.patch0000664000000000000000000000131312231170376016221 0ustar --- php-mysqlnd-ms.orig/mysqlnd_ms-1.5.2/mysqlnd_ms_config_json.c +++ php-mysqlnd-ms/mysqlnd_ms-1.5.2/mysqlnd_ms_config_json.c @@ -248,7 +248,7 @@ mysqlnd_ms_config_json_load_configuratio mnd_sprintf(&(MYSQLND_MS_G(config_startup_error)), 0, MYSQLND_MS_ERROR_PREFIX " Failed to open server list config file [%s]", json_file_name); /* The only one to bark in RINIT as otherwise no specific warning/error appears */ - php_error_docref(NULL TSRMLS_CC, E_WARNING, MYSQLND_MS_G(config_startup_error)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", MYSQLND_MS_G(config_startup_error)); break; } str_data_len = php_stream_copy_to_mem(stream, &str_data, PHP_STREAM_COPY_ALL, 0); debian/compat0000664000000000000000000000000112231170376010367 0ustar 9