r6978 - in /trunk/libdigest-md5-file-perl/debian: ./ changelog compat control copyright rules watch

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Aug 20 07:38:25 UTC 2007


Author: dmn
Date: Mon Aug 20 07:38:25 2007
New Revision: 6978

URL: http://svn.debian.org/wsvn/?sc=1&rev=6978
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libdigest-md5-file-perl/debian/
    trunk/libdigest-md5-file-perl/debian/changelog
    trunk/libdigest-md5-file-perl/debian/compat
    trunk/libdigest-md5-file-perl/debian/control
    trunk/libdigest-md5-file-perl/debian/copyright
    trunk/libdigest-md5-file-perl/debian/rules   (with props)
    trunk/libdigest-md5-file-perl/debian/watch

Added: trunk/libdigest-md5-file-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/changelog?rev=6978&op=file
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/changelog (added)
+++ trunk/libdigest-md5-file-perl/debian/changelog Mon Aug 20 07:38:25 2007
@@ -1,0 +1,5 @@
+libdigest-md5-file-perl (0.05-1) unstable; urgency=low
+
+  * Initial Release (Closes: #438834 -- ITP)
+
+ -- Damyan Ivanov <dmn at debian.org>  Mon, 20 Aug 2007 10:24:19 +0300

Added: trunk/libdigest-md5-file-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/compat?rev=6978&op=file
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/compat (added)
+++ trunk/libdigest-md5-file-perl/debian/compat Mon Aug 20 07:38:25 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/libdigest-md5-file-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/control?rev=6978&op=file
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/control (added)
+++ trunk/libdigest-md5-file-perl/debian/control Mon Aug 20 07:38:25 2007
@@ -1,0 +1,29 @@
+Source: libdigest-md5-file-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.8.8-7), libwww-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Damyan Ivanov <dmn at debian.org>
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdigest-md5-file-perl/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-md5-file-perl/
+
+Package: libdigest-md5-file-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libwww-perl
+Description:  Perl extension for getting MD5 sums for files and urls
+ Digest::MD5::File adds functionality for easy calculation of MD5 checksums of
+ entire files, directories or URLs to the standard Digest::MD5 module.
+ .
+ Example usage:
+ .
+ use Digest::MD5::File;
+ my $md5 = Digest::MD5->new;
+ $md5->addpath('/path/to/file.txt');
+ $md5->addpath(\@files);
+ $md5->adddir('/home/tmbg/');
+ $md5->addurl('http://www.tmbg.com/tour.html');
+ my $digest = file_md5_hex($file);
+ my $dir_hashref = dir_md5_hex($dir);
+ my $digest = url_md5_hex($url);

Added: trunk/libdigest-md5-file-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/copyright?rev=6978&op=file
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/copyright (added)
+++ trunk/libdigest-md5-file-perl/debian/copyright Mon Aug 20 07:38:25 2007
@@ -1,0 +1,30 @@
+This is the debian package for the Digest-MD5-File module.
+It was created by Damyan Ivanov <dmn at debian.org> using dh-make-perl.
+
+It was downloaded from http://www.cpan.org/authors/id/D/DM/DMUEY/
+
+The upstream author is: Daniel Muey <dmuey at cpan.org>
+
+Copyright (C) 2005 Daniel Muey
+
+License:
+  This library is free software; you can redistribute it and/or modify
+  it under the same terms as Perl itself.
+
+Perl license:
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of either:
+
+    a) the GNU General Public License as published by the Free Software
+       Foundation; either version 1, or (at your option) any later
+       version, or
+
+    b) the "Artistic License" which comes with Perl.
+
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL' and
+    the Artistic Licence in `/usr/share/common-licenses/Artistic'.
+
+
+The Debian packaging is (C) 2007, Damyan Ivanov <dmn at debian.org> and
+is licensed under the same terms as the software itself (see above).

Added: trunk/libdigest-md5-file-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/rules?rev=6978&op=file
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/rules (added)
+++ trunk/libdigest-md5-file-perl/debian/rules Mon Aug 20 07:38:25 2007
@@ -1,0 +1,78 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libdigest-md5-file-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libdigest-md5-file-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/watch?rev=6978&op=file
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/watch (added)
+++ trunk/libdigest-md5-file-perl/debian/watch Mon Aug 20 07:38:25 2007
@@ -1,0 +1,3 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+http://www.cpan.org/modules/by-module/Digest/Digest-MD5-File-([\.\d]+)\.(?:tar\.gz|tar|tgz)




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