--- php-http-request-1.4.4.orig/debian/copyright +++ php-http-request-1.4.4/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by Jose Carlos Medeiros on +Tue, 5 Jul 2005 11:19:39 -0300. It is now maintained by Thijs Kinkhorst + and the Debian PHP Maintainers +. + +It was downloaded from + http://pear.php.net/package/HTTP_Request/ + +Upstream Authors: + Richard Heyes + +License: + Copyright (c) 2002-2003, Richard Heyes + 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. + . The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + 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. + +The Debian packaging if php-http-request is licenced under the same terms +as php-http-request itself. --- php-http-request-1.4.4.orig/debian/compat +++ php-http-request-1.4.4/debian/compat @@ -0,0 +1 @@ +5 --- php-http-request-1.4.4.orig/debian/control +++ php-http-request-1.4.4/debian/control @@ -0,0 +1,19 @@ +Source: php-http-request +Section: php +Priority: optional +Maintainer: Debian PHP Maintainers +Uploaders: Thijs Kinkhorst , Thomas Goirand +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: php-pear +Standards-Version: 3.8.4 +Homepage: http://pear.php.net/package/HTTP_Request/ +Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-http-request/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-http-request/trunk + +Package: php-http-request +Architecture: all +Depends: php-net-url, php-net-socket, ${misc:Depends} +Pre-Depends: php-pear (>= 5.3) +Description: provides an easy way to perform HTTP requests + Supports GET/POST/HEAD/TRACE/PUT/DELETE, Basic authentication, + Proxy, Proxy Authentication, SSL, file uploads etc. --- php-http-request-1.4.4.orig/debian/rules +++ php-http-request-1.4.4/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PEAR ?= /usr/bin/pear +pear_pkg = $(shell ls |grep HTTP_Request) +package = php-http-request + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + +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_clean -k + dh_installdirs + + # Add here commands to install the package into debian/package. + 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/.registry/.channel.doc.php.net + 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)/usr/share/php/docs; + rm -rf debian/$(package)/usr/share/php/tests; + rm -rf debian/$(package)/tmp + + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples $(pear_pkg)/docs/example.php $(pear_pkg)/docs/download-progress.php + chmod -x debian/$(package)/usr/share/doc/$(package)/examples/* + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- php-http-request-1.4.4.orig/debian/changelog +++ php-http-request-1.4.4/debian/changelog @@ -0,0 +1,93 @@ +php-http-request (1.4.4-3) unstable; urgency=low + + * Added myself as uploader. + * Sets a Pre-Depends: php-pear (>= 5.3) and removes Depends: php-pear + to allow upgrades from Squeeze, as discussed with RT (Closes: #605866). + + -- Thomas Goirand Sat, 04 Dec 2010 16:13:01 +0800 + +php-http-request (1.4.4-2) unstable; urgency=low + + * Change section to php. + * Fix bashism in debian/rules (Closes: #581456). + + -- Thijs Kinkhorst Sun, 16 May 2010 13:33:27 +0200 + +php-http-request (1.4.4-1) unstable; urgency=low + + * New upstream release. + * Checked for Debian policy 3.8.4. + + -- Thijs Kinkhorst Sun, 09 May 2010 15:07:14 +0200 + +php-http-request (1.4.3-1) unstable; urgency=low + + * New upstream release. + * Import into pkg-php maintenance group. + * Checked for policy 3.8.0, no changes. + + -- Thijs Kinkhorst Thu, 11 Sep 2008 15:52:17 +0200 + +php-http-request (1.4.2-1) unstable; urgency=low + + * New upstream release. + + -- Thijs Kinkhorst Mon, 29 Oct 2007 22:59:02 +0100 + +php-http-request (1.4.1-1) unstable; urgency=low + + * New upstream release. + * Update watch file. + + -- Thijs Kinkhorst Fri, 01 Jun 2007 13:00:07 +0200 + +php-http-request (1.4.0-1) unstable; urgency=low + + * New upstream release. + * Switch to debhelper compatibility level 5. + + -- Thijs Kinkhorst Tue, 10 Apr 2007 11:43:32 +0200 + +php-http-request (1.3.0-3) unstable; urgency=low + + * Adopt package (Closes: #383009). + * Checked for policy version 3.7.2, no changes necessary. + * Put debhelper version in debian/compat. + * Do not suggest php{4,5}-cli, as there's no specific usefulness + on the commandline of this package. + * Move debhelper to Build-Depends from Build-Depends-Indep. + + -- Thijs Kinkhorst Sat, 19 Aug 2006 12:49:37 +0200 + +php-http-request (1.3.0-2) unstable; urgency=low + + * Remove .channels, .depdblock and .depdb directories that is already + installed by php-pear. + * Build-Depends on debhelper >=5, removed compat file and put DH_COMPAT in + rules file. + + -- Jose Carlos Medeiros Wed, 15 Mar 2006 17:23:09 -0300 + +php-http-request (1.3.0-1) unstable; urgency=low + + * New upstream release. + * Added php-net-socket as dependence. + + -- Jose Carlos Medeiros Mon, 14 Nov 2005 17:58:35 -0200 + +php-http-request (1.2.4-1) unstable; urgency=low + + * New upstream release. + * Added debian/watch file. + * Updated package to Standards-Version: 3.6.2. + * Updated "Build-Depends-Indep:" and "Depends:" to call php-pear instead + php4-pear. + * Updated "Suggests:" to call php4-cli or php5-cli. + + -- Jose Carlos Medeiros Mon, 17 Oct 2005 18:54:49 -0200 + +php-http-request (1.2.0-1) unstable; urgency=low + + * Initial Release. (closes: #317013) + + -- Jose Carlos Medeiros Tue, 5 Jul 2005 11:19:39 -0300 --- php-http-request-1.4.4.orig/debian/watch +++ php-http-request-1.4.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pear.php.net/package/HTTP_Request/download http://download.pear.php.net/package/HTTP_Request-([\d.]+)\.tgz