r35070 - in /trunk/libdbix-password-perl/debian: changelog clean compat control copyright install rules

roam-guest at users.alioth.debian.org roam-guest at users.alioth.debian.org
Sat May 9 11:01:13 UTC 2009


Author: roam-guest
Date: Sat May  9 11:01:03 2009
New Revision: 35070

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35070
Log:
dh-make-perl --refresh:
- debhelper 7, minimize the rules file
- convert the copyright file to the machine-readable format

Added:
    trunk/libdbix-password-perl/debian/clean
    trunk/libdbix-password-perl/debian/install
Modified:
    trunk/libdbix-password-perl/debian/changelog
    trunk/libdbix-password-perl/debian/compat
    trunk/libdbix-password-perl/debian/control
    trunk/libdbix-password-perl/debian/copyright
    trunk/libdbix-password-perl/debian/rules

Modified: trunk/libdbix-password-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/changelog?rev=35070&op=diff
==============================================================================
--- trunk/libdbix-password-perl/debian/changelog (original)
+++ trunk/libdbix-password-perl/debian/changelog Sat May  9 11:01:03 2009
@@ -7,6 +7,10 @@
   * Remove the empty prerm, postrm, and preinst scripts.
   * Remove the postinst script - its only purpose was to output a warning
     on upgrades from versions that are not even in oldstable.
+  * Bump the debhelper compatibility level to 7:
+    - add misc:Depends to the binary package
+    - minimize the rules file, adding debian/clean and debian/install
+  * Convert the copyright file to the machine-readable format.
 
  -- Peter Pentchev <roam at ringlet.net>  Sat, 09 May 2009 12:54:32 +0300
 

Added: trunk/libdbix-password-perl/debian/clean
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/clean?rev=35070&op=file
==============================================================================
--- trunk/libdbix-password-perl/debian/clean (added)
+++ trunk/libdbix-password-perl/debian/clean Sat May  9 11:01:03 2009
@@ -1,0 +1,2 @@
+.cache
+test.pl

Modified: trunk/libdbix-password-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/compat?rev=35070&op=diff
==============================================================================
--- trunk/libdbix-password-perl/debian/compat (original)
+++ trunk/libdbix-password-perl/debian/compat Sat May  9 11:01:03 2009
@@ -1,1 +1,1 @@
-4
+7

Modified: trunk/libdbix-password-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/control?rev=35070&op=diff
==============================================================================
--- trunk/libdbix-password-perl/debian/control (original)
+++ trunk/libdbix-password-perl/debian/control Sat May  9 11:01:03 2009
@@ -3,13 +3,13 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Peter Pentchev <roam at ringlet.net>
-Build-Depends: debhelper (>= 3), quilt
+Build-Depends: debhelper (>= 7.0.50), quilt
 Build-Depends-Indep: perl (>= 5.8.2-2)
 Standards-Version: 3.7.2
 
 Package: libdbix-password-perl
 Architecture: all
-Depends: ${perl:Depends}, libdbi-perl
+Depends: ${misc:Depends}, ${perl:Depends}, libdbi-perl
 Description: Perl module for creating a global password file for DB passwords
  Don't you hate keeping track of database passwords and such
  throughout your scripts? How about the problem of changing those

Modified: trunk/libdbix-password-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/copyright?rev=35070&op=diff
==============================================================================
--- trunk/libdbix-password-perl/debian/copyright (original)
+++ trunk/libdbix-password-perl/debian/copyright Sat May  9 11:01:03 2009
@@ -1,48 +1,65 @@
-This package was debianized by Eric Van Buggenhaut <eric at andago.com> on
-Wed, 27 Feb 2002 13:07:31 +0100.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Brian Aker <brian at tangent.org>
+Upstream-Source: http://search.cpan.org/dist/DBIx-Password/
+Upstream-Name: DBIx-Password
 
-It was downloaded from http://software.tangent.org/download
+Files: *
+Copyright: 1999-2000, Brian Aker, brian at tangent.org
+License: other
+ Copyright (c) 1999-2000 Brian Aker.  All rights reserved.
+ .
+ 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, 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 of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ .
+ 4. The name "DBIx::Password" must not be used to
+    endorse or promote products derived from this software without
+    prior written permission. For written permission, please contact
+    brian at tangent.org.
+ .
+ 5. Products derived from this software may not be called "DBIx::Password".
+ .
+ THIS SOFTWARE IS PROVIDED BY BRIAN AKER ``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 BRIAN AKER 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.
 
-Upstream Author: Brian Aker <brian at tangent.org>
+Files: debian/*
+Copyright: 2001, Jesus M. Gonzalez-Barahona <jgb at computer.org>
+ 2002, 2003, 2004, 2006, Eric Van Buggenhaut <ericvb at debian.org>
+ 2009, Peter Pentchev <roam at ringlet.net>
+License: Artistic | GPL-1+
 
-Copyright:
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
 
-/* ====================================================================
- * Copyright (c) 1999-2000 Brian Aker.  All rights reserved.
- *
- * 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, 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 of the author may not be used to endorse or promote products
- *    derived from this software without specific prior written permission.
- *
- * 4. The name "DBIx::Password" must not be used to
- *    endorse or promote products derived from this software without
- *    prior written permission. For written permission, please contact
- *    brian at tangent.org.
- *
- * 5. Products derived from this software may not be called "DBIx::Password".
- *
- * THIS SOFTWARE IS PROVIDED BY BRIAN AKER ``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 BRIAN AKER 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.
- * ====================================================================
- */
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libdbix-password-perl/debian/install
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/install?rev=35070&op=file
==============================================================================
--- trunk/libdbix-password-perl/debian/install (added)
+++ trunk/libdbix-password-perl/debian/install Sat May  9 11:01:03 2009
@@ -1,0 +1,1 @@
+debian/dbix-password.conf etc

Modified: trunk/libdbix-password-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-password-perl/debian/rules?rev=35070&op=diff
==============================================================================
--- trunk/libdbix-password-perl/debian/rules (original)
+++ trunk/libdbix-password-perl/debian/rules Sat May  9 11:01:03 2009
@@ -1,60 +1,17 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
 include /usr/share/quilt/quilt.make
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-tmp=$(shell pwd)/debian/libdbix-password-perl
+override_dh_auto_configure: $(QUILT_STAMPFN)
+	dh_auto_configure
 
-ifndef PERL
-PERL=/usr/bin/perl
-endif
+# Do not try to run the test script - it actually attempts to connect
+# to databases!
+override_dh_auto_test:
 
-build: build-stamp
-build-stamp:	${QUILT_STAMPFN}
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor MAN3EXT=3perl
-	$(MAKE) OPTIMIZE="-02 -g -Wall"
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	rm -f .cache
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	rm -rf Makefile test.pl
-	dh_clean
+override_dh_auto_clean:
+	dh_auto_clean
 	$(MAKE) -f debian/rules unpatch
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install PREFIX=$(tmp)/usr
-	install -m 664 debian/dbix-password.conf $(tmp)/etc/
-
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-independent files here.
-binary-indep: build install
-
-# Build architecture-dependent files here.
-binary-arch:
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install




More information about the Pkg-perl-cvs-commits mailing list