tags 625875 + patch
tags 625875 + pending
thanks

Dear maintainer,

I've prepared an NMU for gnupod-tools (versioned as 0.99.8-2.1) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should delay it longer.

Regards.
Salvatore
diff -u gnupod-tools-0.99.8/debian/rules gnupod-tools-0.99.8/debian/rules
--- gnupod-tools-0.99.8/debian/rules
+++ gnupod-tools-0.99.8/debian/rules
@@ -16,6 +16,7 @@
 	test -d $(SRCDIR)
 	sh $(CURDIR)/debian/maintenance/01patch_rename.sh $(SRCDIR) $(VERSION)
 	sh $(CURDIR)/debian/maintenance/02install_incdir.sh $(SRCDIR) $(VERSION)
+	sh $(CURDIR)/debian/maintenance/03_use-Digest-SHA.sh $(SRCDIR)
 
 $(SRCDIR)/config.status:	$(SRCDIR)/configure
 	dh_testdir
diff -u gnupod-tools-0.99.8/debian/changelog gnupod-tools-0.99.8/debian/changelog
--- gnupod-tools-0.99.8/debian/changelog
+++ gnupod-tools-0.99.8/debian/changelog
@@ -1,3 +1,13 @@
+gnupod-tools (0.99.8-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Drop (Build-)Depends(-Indep) on libdigest-sha1-perl and add
+    debian/maintenance/03_use-Digest-SHA.sh to substitute the use of
+    Digest::SHA1 with Digest::SHA when tar.gz with original sources are
+    unpacked (Closes: #625875).
+
+ -- Salvatore Bonaccorso <[email protected]>  Wed, 31 Aug 2011 14:30:40 +0200
+
 gnupod-tools (0.99.8-2) unstable; urgency=low
 
   * Drop /etc/perl/GNUpod directory.
diff -u gnupod-tools-0.99.8/debian/control gnupod-tools-0.99.8/debian/control
--- gnupod-tools-0.99.8/debian/control
+++ gnupod-tools-0.99.8/debian/control
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: Raphael Bossek <[email protected]>
 Build-Depends: debhelper (>> 5.0.0)
-Build-Depends-Indep: perl, libxml-parser-perl, libxml-simple-perl, libunicode-string-perl, libfile-ncopy-perl, libmp3-info-perl, libogg-vorbis-header-pureperl-perl, libaudio-flac-header-perl, docbook-to-man, libdigest-sha1-perl, libtimedate-perl
+Build-Depends-Indep: perl, libxml-parser-perl, libxml-simple-perl, libunicode-string-perl, libfile-ncopy-perl, libmp3-info-perl, libogg-vorbis-header-pureperl-perl, libaudio-flac-header-perl, docbook-to-man, libtimedate-perl
 Standards-Version: 3.8.2
 
 Package: gnupod-tools
 Architecture: all 
-Depends: ${perl:Depends}, ${misc:Depends}, libxml-parser-perl, libunicode-string-perl, libxml-simple-perl, libmp3-info-perl, libogg-vorbis-header-pureperl-perl, libaudio-flac-header-perl, libdigest-sha1-perl, libtimedate-perl
+Depends: ${perl:Depends}, ${misc:Depends}, libxml-parser-perl, libunicode-string-perl, libxml-simple-perl, libmp3-info-perl, libogg-vorbis-header-pureperl-perl, libaudio-flac-header-perl, libtimedate-perl
 Recommends: gtkpod
 Suggests: timidity, lame, flac, faac, vorbis-tools
 Homepage: http://www.gnu.org/software/gnupod
only in patch2:
unchanged:
--- gnupod-tools-0.99.8.orig/debian/maintenance/03_use-Digest-SHA.sh
+++ gnupod-tools-0.99.8/debian/maintenance/03_use-Digest-SHA.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+dir="$1"
+list="configure configure.ac src/ext/Hash58.pm"
+
+for file in $list; do
+	if [ ! -e $dir/$file ]; then
+		echo "E: File $dir/$file does not exist!"
+		exit 1
+	fi
+	echo "I: Patching File $dir/$file."
+	perl -pi -e 's{Digest::SHA1}{Digest::SHA}g;' $dir/$file
+done

Attachment: signature.asc
Description: Digital signature

Reply via email to