--- libdigest-whirlpool-perl-1.09.orig/Whirlpool.xs +++ libdigest-whirlpool-perl-1.09/Whirlpool.xs @@ -15,7 +15,6 @@ new(SV * class) CODE: Digest__Whirlpool self; - SV * self_ref; const char * pkg; /* Figure out what class we're supposed to bless into, handle @@ -34,7 +33,6 @@ containing its memory location */ Newz(0, self, 1, struct whirlpool); NESSIEinit(&self->state); - self_ref = newRV_noinc((SV *) self); RETVAL = newSV(0); /* This gets mortalized automagically */ sv_setref_pv(RETVAL, pkg, (void*)self); --- libdigest-whirlpool-perl-1.09.orig/debian/changelog +++ libdigest-whirlpool-perl-1.09/debian/changelog @@ -0,0 +1,39 @@ +libdigest-whirlpool-perl (1.09-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "Removal of obsolete debhelper compat 5 and 6 in bookworm": + Bump to 7 in debian/{compat,control}. + (Closes: #965635) + + -- gregor herrmann Sun, 26 Dec 2021 16:47:12 +0100 + +libdigest-whirlpool-perl (1.09-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "missing required debian/rules targets build-arch and/or build- + indep": add targets to debian/rules. + (Closes: #998961) + + -- gregor herrmann Tue, 14 Dec 2021 18:59:32 +0100 + +libdigest-whirlpool-perl (1.09-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "libdigest-whirlpool-perl FTBFS on s390x: test failure": + cherry-pick 66405ec from upstream git: + https://github.com/avar/digest-whirlpool/commit/66405ec9ca44492a38a82c2d7fa98c291d46eef1 + (Closes: #869357) + + -- gregor herrmann Mon, 31 Jul 2017 16:32:36 -0400 + +libdigest-whirlpool-perl (1.09-1) unstable; urgency=low + + * New upstream release. Closes: #626628. + + -- James Bromberger Thu, 24 Nov 2011 13:25:23 +0000 + +libdigest-whirlpool-perl (1.0.6-1) unstable; urgency=low + + * Initial Release. Closes: #527748. + + -- James Bromberger Fri, 08 May 2009 20:54:46 +0100 --- libdigest-whirlpool-perl-1.09.orig/debian/compat +++ libdigest-whirlpool-perl-1.09/debian/compat @@ -0,0 +1 @@ +7 --- libdigest-whirlpool-perl-1.09.orig/debian/control +++ libdigest-whirlpool-perl-1.09/debian/control @@ -0,0 +1,15 @@ +Source: libdigest-whirlpool-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), perl (>= 5.6.10-12), libdigest-perl +Maintainer: James Bromberger +Standards-Version: 3.9.2 +Homepage: http://search.cpan.org/dist/ + +Package: libdigest-whirlpool-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: A 512-bit, collision-resistant, one-way hash function + Provides an interface to the WHIRLPOOL hash algorithm. This module + subclasses Digest::base and can be used either directly or through + the Digest meta-module. Using the latter is recommended. --- libdigest-whirlpool-perl-1.09.orig/debian/copyright +++ libdigest-whirlpool-perl-1.09/debian/copyright @@ -0,0 +1,18 @@ +This is the debian package for the Digest::Whirlpool module. +It was created by James Bromberger using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/ + +License: GPL-1+ | Artistic + This library is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + +Copyright: 2003 Julius C. Duque and 2007 Æar ArnfjöBjarmason + +The Debian packaging is (C) 2009, James Bromberger and +is licensed under the same terms as the software itself (see above). + +Perl is distributed under your choice of the GNU General Public License or the +Artistic License. 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'. --- libdigest-whirlpool-perl-1.09.orig/debian/rules +++ libdigest-whirlpool-perl-1.09/debian/rules @@ -0,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 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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimisation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + $(MAKE) test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + # Add commands to install the package into $(TMP) + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/share/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/share/perl5 + touch $@ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do here for an architecture-dependent package + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs Changes + dh_shlibdeps + dh_strip + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install --- libdigest-whirlpool-perl-1.09.orig/debian/watch +++ libdigest-whirlpool-perl-1.09/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +ftp://ftp.perl.org/pub/CPAN/modules/by-module/Digest/Digest-Whirlpool-\d+\.\d+\.(tar.gz|tgz|zip)