[Pkg-php-commits] r1427 - in pear: . php-validate php-validate/debian

Mark Hershberger mah-guest at alioth.debian.org
Fri Jun 18 15:11:06 UTC 2010


Author: mah-guest
Date: 2010-06-18 15:10:35 +0000 (Fri, 18 Jun 2010)
New Revision: 1427

Added:
   pear/php-validate/
   pear/php-validate/debian/
   pear/php-validate/debian/changelog
   pear/php-validate/debian/compat
   pear/php-validate/debian/control
   pear/php-validate/debian/copyright
   pear/php-validate/debian/dirs
   pear/php-validate/debian/rules
   pear/php-validate/debian/watch
Log:
initial import from ubuntu-ngo by dholbach

Added: pear/php-validate/debian/changelog
===================================================================
--- pear/php-validate/debian/changelog	                        (rev 0)
+++ pear/php-validate/debian/changelog	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1,5 @@
+php-validate (0.8.2-0ubuntu1) karmic; urgency=low
+
+  * Initial release.
+
+ -- Daniel Holbach <daniel.holbach at ubuntu.com>  Fri, 03 Jul 2009 11:05:04 +0200

Added: pear/php-validate/debian/compat
===================================================================
--- pear/php-validate/debian/compat	                        (rev 0)
+++ pear/php-validate/debian/compat	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1 @@
+5

Added: pear/php-validate/debian/control
===================================================================
--- pear/php-validate/debian/control	                        (rev 0)
+++ pear/php-validate/debian/control	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1,22 @@
+Source: php-validate
+Section: web
+Priority: optional
+Maintainer: Daniel Holbach <daniel.holbach at ubuntu.com>
+Build-Depends: debhelper (>= 5.0)
+Build-Depends-Indep: php-pear
+Homepage: http://pear.php.net/package/Validate
+Standards-Version: 3.8.2
+
+Package: php-validate
+Architecture: all
+Depends: php-pear
+Suggests: php-date
+Description: PHP PEAR module for various kinds of data
+ Package to validate various datas. It includes :
+  - numbers (min/max, decimal or not)
+  - email (syntax, domain check, rfc822)
+  - string (predifined type alpha upper and/or lowercase, numeric,...)
+  - date (min, max, rfc822 compliant)
+  - uri (RFC2396)
+  - possibility valid multiple data with a single method call (::multiple)
+  - numbers (min/max, decimal or not)

Added: pear/php-validate/debian/copyright
===================================================================
--- pear/php-validate/debian/copyright	                        (rev 0)
+++ pear/php-validate/debian/copyright	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1,41 @@
+This package was debianized by Daniel Holbach <daniel.holbach at ubuntu.com>
+on Fri, 03 Jul 2009 11:05:04 +0200.
+
+It was downloaded from http://pear.php.net/package/Validate
+
+Upstream Authors:
+	Pierre-Alain Joye <pajoye at php.net>
+	Tomas V.V.Cox  <cox at idecnet.com>	
+	Amir Saied
+
+Copyright:
+	Copyright (c) 1997-2006 Pierre-Alain Joye,Tomas V.V.Cox, Amir Saied
+
+
+Redistribution and use in source and binary forms, with or without modification
+, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, th
+   is 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 of the author may not be used to endorse or promote products derived
+   from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WA
+RRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABIL
+ITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR C
+ONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOW
+EVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILI
+TY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE U
+SE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+On Debian systems, this licence can be found here:
+/usr/share/common-licenses/BSD
+

Added: pear/php-validate/debian/dirs
===================================================================
--- pear/php-validate/debian/dirs	                        (rev 0)
+++ pear/php-validate/debian/dirs	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1 @@
+usr/share/php/

Added: pear/php-validate/debian/rules
===================================================================
--- pear/php-validate/debian/rules	                        (rev 0)
+++ pear/php-validate/debian/rules	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+
+DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
+
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls |grep Validate)
+package = php-validate
+
+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.pecl.php.net;
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.doc.php.net;
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
+	rm -rf debian/$(package)/tmp
+
+	# remove duplicated files, these files are in /usr/share/doc/package
+	rm -rf debian/$(package)/usr/share/php/docs;
+	rm -rf debian/$(package)/usr/share/php/tests;
+
+# 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
+	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


Property changes on: pear/php-validate/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: pear/php-validate/debian/watch
===================================================================
--- pear/php-validate/debian/watch	                        (rev 0)
+++ pear/php-validate/debian/watch	2010-06-18 15:10:35 UTC (rev 1427)
@@ -0,0 +1,2 @@
+version=3
+http://pear.php.net/package/Validate http://download.pear.php.net/package/Validate-([\d.RC]+).tgz




More information about the Pkg-php-commits mailing list