--- php-services-json-1.0.2.orig/debian/control
+++ php-services-json-1.0.2/debian/control
@@ -0,0 +1,30 @@
+Source: php-services-json
+Section: web
+Priority: optional
+Maintainer: Thomas Goirand <zigo@debian.org>
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: php-pear
+Vcs-Browser: http://svn.php.net/pear/packages/Services_JSON
+Homepage: http://pear.php.net/package/Services_JSON/
+Standards-Version: 3.8.4
+
+Package: php-services-json
+Architecture: all
+Depends: ${misc:Depends}, php-pear
+Description: PHP implementaion of json_encode/decode
+ JSON (JavaScript Object Notation, http://json.org) is a lightweight
+ data-interchange format. It is easy for humans to read and write. It is easy
+ for machines to parse and generate. It is based on a subset of the JavaScript
+ Programming Language, Standard ECMA-262 3rd Edition - December 1999. This
+ feature can also be found in Python. JSON is a text format that is completely
+ language independent but uses conventions that are familiar to programmers of
+ the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Tcl,
+ and many others. These properties make JSON an ideal data-interchange
+ language.
+ .
+ This package provides a simple encoder and decoder for JSON notation. It is
+ intended for use with client-side Javascript applications that make use of
+ HTTPRequest to perform server communication functions - data can be encoded
+ into JSON notation for use in a client-side javascript, or decoded from
+ incoming Javascript requests. JSON format is native to Javascript, and can be
+ directly eval()'ed with no further parsing overhead.
--- php-services-json-1.0.2.orig/debian/copyright
+++ php-services-json-1.0.2/debian/copyright
@@ -0,0 +1,55 @@
+This package was debianized by Thomas Goirand <thomas@goirand.fr> on
+Sun, 11 Oct 2009 14:04:38 +0800
+
+It was downloaded at:
+ http://pear.php.net/package/Services_JSON/download
+
+Files: debian/*
+Copyright: (c) 2009, Thomas Goirand <zigo@debian.org>
+License: LGPL
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
+ USA
+
+On Debian systems, the complete text of the GNU Lesser General Public
+License (LGPL) may be found in /usr/share/common-licenses/LGPL.
+
+Files: *
+Copyright: (c) 2009, Alan Knowles <alan@akbkhome.com>
+ (c) 2009, Michal Migurski <mike-pear@teczno.com>
+License: BSD
+
+ 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
+ HOLDER 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.
--- php-services-json-1.0.2.orig/debian/compat
+++ php-services-json-1.0.2/debian/compat
@@ -0,0 +1 @@
+7
--- php-services-json-1.0.2.orig/debian/rules
+++ php-services-json-1.0.2/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls | grep Services_JSON)
+package = php-services-json
+
+build:
+
+clean:
+ dh_testdir
+ dh_testroot
+ if [ -f $(pear_pkg)/package.xml ]; then \
+ rm $(pear_pkg)/package.xml; \
+ fi
+ dh_clean build-stamp configure-stamp
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ cp package.xml $(pear_pkg)/package.xml;
+ $(PEAR) install -f -n -R debian/$(package) $(pear_pkg)/package.xml
+
+ rm -f debian/$(package)/usr/share/php/.filemap;
+ rm -f debian/$(package)/usr/share/php/.lock;
+ rm -rf debian/$(package)/usr/share/php/.channels;
+ rm -rf debian/$(package)/usr/share/php/.depdblock;
+ rm -rf debian/$(package)/usr/share/php/.depdb;
+ rm -rf debian/$(package)/usr/share/php/docs;
+ rm -rf debian/$(package)/usr/share/php/tests;
+ rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
+ rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
+ rm -rf debian/$(package)/tmp;
+
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installchangelogs
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: install
+
+binary: binary-indep
+.PHONY: build clean binary-indep install
--- php-services-json-1.0.2.orig/debian/watch
+++ php-services-json-1.0.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pear.php.net/package/Net_Ping/download http://download.pear.php.net/package/Net_Ping-(.*).tgz
--- php-services-json-1.0.2.orig/debian/changelog
+++ php-services-json-1.0.2/debian/changelog
@@ -0,0 +1,6 @@
+php-services-json (1.0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #561873)
+ * Updated debian/copyright as per advice from ftp-masters.
+
+ -- Thomas Goirand <zigo@debian.org> Thu, 08 Jul 2010 23:03:18 +0800
--- php-services-json-1.0.2.orig/debian/source/format
+++ php-services-json-1.0.2/debian/source/format
@@ -0,0 +1 @@
+1.0