php-text-password (1.1.1-1) debian-dir only changes

Summary

 debian/changelog     |    5 ++
 debian/compat        |    1 
 debian/control       |   17 ++++++++
 debian/copyright     |  108 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules         |   52 ++++++++++++++++++++++++
 debian/source/format |    1 
 debian/watch         |    2 
 7 files changed, 186 insertions(+)

    
download this patch

Patch contents

--- php-text-password-1.1.1.orig/debian/control
+++ php-text-password-1.1.1/debian/control
@@ -0,0 +1,17 @@
+Source: php-text-password
+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/MIME_Type
+Homepage: http://pear.php.net/package/MIME_Type/
+Standards-Version: 3.8.4
+
+Package: php-text-password
+Architecture: all
+Depends: ${misc:Depends}, php-pear
+Description: a PEAR module for creating passwords with PHP
+ Text_Password allows one to create pronounceable and unpronounceable
+ passwords. The full functional range is explained in the manual at
+ http://pear.php.net/manual/.
--- php-text-password-1.1.1.orig/debian/copyright
+++ php-text-password-1.1.1/debian/copyright
@@ -0,0 +1,108 @@
+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/Text_Password/download
+
+Files: debian/*
+Copyright: (c) 2009, Thomas Goirand <thomas@goirand.fr>
+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) 2003-2005, 2008, Martin Jansen <mj@php.net>
+	(c) 2003-2005, 2008, Olivier Vanhoucke <olivier.vanhoucke@gmail.com>
+License: PHP 3.0
+
+	Copyright (C) 1997-2003 The PHP Group
+
+  This source file is subject to version 3.01 of the PHP license,
+  that is bundled with this package in the file LICENSE, and is
+  available at through the world-wide-web at
+  http://www.php.net/license/3_01.txt.
+
+--------------------------------------------------------------------
+                  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
+     <http://www.php.net/software/>".
+
+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 <http://www.php.net>.
+
+PHP includes the Zend Engine, freely available at
+<http://www.zend.com>.
--- php-text-password-1.1.1.orig/debian/compat
+++ php-text-password-1.1.1/debian/compat
@@ -0,0 +1 @@
+7
--- php-text-password-1.1.1.orig/debian/rules
+++ php-text-password-1.1.1/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls | grep Text_Password)
+package = php-text-password
+
+build:
+
+clean:
+	dh_testdir
+	dh_testroot
+	if [ -f $(pear_pkg)/package.xml ]; then \
+		rm $(pear_pkg)/package.xml; \
+	fi
+	dh_clean
+
+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-text-password-1.1.1.orig/debian/watch
+++ php-text-password-1.1.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pear.php.net/package/Text_Password/download http://download.pear.php.net/package/Text_Password-(.*).tgz
--- php-text-password-1.1.1.orig/debian/changelog
+++ php-text-password-1.1.1/debian/changelog
@@ -0,0 +1,5 @@
+php-text-password (1.1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #562751)
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 05 Jul 2010 16:14:24 +0800
--- php-text-password-1.1.1.orig/debian/source/format
+++ php-text-password-1.1.1/debian/source/format
@@ -0,0 +1 @@
+1.0