--- php-net-checkip-1.2.0.orig/debian/watch +++ php-net-checkip-1.2.0/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://pear.php.net/package/Net_CheckIP/ /get/Net_CheckIP-([\d.]+)\.tgz --- php-net-checkip-1.2.0.orig/debian/changelog +++ php-net-checkip-1.2.0/debian/changelog @@ -0,0 +1,34 @@ +php-net-checkip (1.2.0-3) 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. + * Changed depends on php-pear to (>= 4.4.0) version. + + -- Jose Carlos Medeiros Wed, 15 Mar 2006 17:45:32 -0300 + +php-net-checkip (1.2.0-2) unstable; urgency=low + + * Changed php-pear Build-Depends. (closes: #354353) + + -- Jose Carlos Medeiros Fri, 3 Mar 2006 15:29:18 -0300 + +php-net-checkip (1.2.0-1) unstable; urgency=low + + * New upstream release. + * Moved package from non-free to main as upstream changed to free license. + (closes: #332614) + * Put full license in debian/copyright. (closes: #337898) + * Updated to Standards-Version: 3.6.2 + * Updated dependencies from php4-pear to php-pear. + * Added php5-cli as optional suggests to php4-cli. + + -- Jose Carlos Medeiros Mon, 6 Feb 2006 15:53:43 -0200 + +php-net-checkip (1.1-1) unstable; urgency=low + + * Initial Release. (closes: #329661) + + -- Jose Carlos Medeiros Thu, 22 Sep 2005 11:13:58 -0300 + --- php-net-checkip-1.2.0.orig/debian/copyright +++ php-net-checkip-1.2.0/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Jose Carlos Medeiros on +Thu, 22 Sep 2005 11:13:58 -0300 + +It was downloaded from + http://pear.php.net/package/Net_CheckIP/ + +Upstream Author: + Martin Jansen + +License: + Copyright (c) 2002-2006 Martin Jansen + . + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + --- php-net-checkip-1.2.0.orig/debian/control +++ php-net-checkip-1.2.0/debian/control @@ -0,0 +1,16 @@ +Source: php-net-checkip +Section: web +Priority: optional +Maintainer: Jose Carlos Medeiros +Uploaders: Ola Lundqvist +Build-Depends-Indep: debhelper (>= 5), php-pear +Standards-Version: 3.6.2 + +Package: php-net-checkip +Architecture: all +Depends: php-pear (>= 4.4.0) +Suggests: php4-cli | php5-cli +Description: check the syntax of IPv4 addresses + This package validates IPv4 addresses. + . + Homepage: http://pear.php.net/package/Net_CheckIP/ --- php-net-checkip-1.2.0.orig/debian/rules +++ php-net-checkip-1.2.0/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_COMPAT=5 + +PEAR ?= /usr/bin/pear +pear_pkg = $(shell ls |grep Net_CheckIP) +package = php-net-checkip + +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 -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; + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + 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