diff -Nru gmp-ecm-7.0.4+ds/debian/changelog gmp-ecm-7.0.4+ds/debian/changelog --- gmp-ecm-7.0.4+ds/debian/changelog 2018-10-28 00:31:09.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/changelog 2021-10-14 13:33:37.000000000 +0000 @@ -1,3 +1,29 @@ +gmp-ecm (7.0.4+ds-6) unstable; urgency=medium + + * Debianization: + - d/control: + - Homepage field, update; + - debhelper, migrate to version 13 (discar d/compat); + - Rules-Requires-Root, introduce and set to no; + - Standards-Version, bump to version 4.6.0 (no change); + - d/rules: + - override_dh_missing target, provide; + - d/copyright: + - Upstream-Contact field, refresh; + - Source field, update; + - copyright year tuples, update; + - d/patches: + - d/p/upstream-fix-manpage-acute_accent.patch, introduce; + - d/p/upstream-national_encoding.patch, introduce; + - d/p/debianization-examples.patch, provide Forwarded field; + - d/libecm1.lintian-overrides: + - exit-in-shared-library tag, rename from shlib-calls-exit; + - d/tests: + - d/t/{build-examples,make-longcheck}, now use AUTOPKGTEST_TMP; + - d/watch, migration to gitlab.inria.fr. + + -- Jerome Benoit Thu, 14 Oct 2021 13:33:37 +0000 + gmp-ecm (7.0.4+ds-5) unstable; urgency=medium * Serious Bug fix release (Closes: #905191), correct typo in extension; diff -Nru gmp-ecm-7.0.4+ds/debian/compat gmp-ecm-7.0.4+ds/debian/compat --- gmp-ecm-7.0.4+ds/debian/compat 2018-03-09 09:24:02.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru gmp-ecm-7.0.4+ds/debian/control gmp-ecm-7.0.4+ds/debian/control --- gmp-ecm-7.0.4+ds/debian/control 2018-10-22 12:50:02.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/control 2021-10-14 13:23:47.000000000 +0000 @@ -3,12 +3,13 @@ Priority: optional Maintainer: Debian Science Maintainers Uploaders: Jerome Benoit +Rules-Requires-Root: no Build-Depends: - debhelper (>= 11), + debhelper-compat (= 13), gnulib, m4, libtool, libgmp-dev (>= 2:6.1) -Standards-Version: 4.2.1 -Homepage: https://ecm.gforge.inria.fr/ +Standards-Version: 4.6.0 +Homepage: https://gitlab.inria.fr/zimmerma/ecm Vcs-Git: https://salsa.debian.org/science-team/gmp-ecm.git Vcs-Browser: https://salsa.debian.org/science-team/gmp-ecm diff -Nru gmp-ecm-7.0.4+ds/debian/copyright gmp-ecm-7.0.4+ds/debian/copyright --- gmp-ecm-7.0.4+ds/debian/copyright 2018-03-09 09:22:48.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/copyright 2021-10-14 13:26:22.000000000 +0000 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gmp-ecm -Upstream-Contact: Paul Zimmermann -Source: http://gforge.inria.fr/projects/ecm/ +Upstream-Contact: Paul Zimmermann +Source: https://gitlab.inria.fr/zimmerma/ecm Comment: The upstream source tarball is repacked to drop off some substantial weight and to allow clean git-buildpackage builds by mainly cleaning @@ -41,7 +41,7 @@ Files: * Copyright: - Copyright (C) 2001-2018 the GMP-ECM Project Team + Copyright (C) 2001-2021 the GMP-ECM Project Team Paul Zimmermann Cyril Bouvier David Cleaver @@ -157,7 +157,7 @@ Files: debian/* Copyright: - 2015-2018 Jerome Benoit + 2015-2021 Jerome Benoit 2003-2014 Laurent Fousse License: GPL-3+ Comment: diff -Nru gmp-ecm-7.0.4+ds/debian/libecm1.lintian-overrides gmp-ecm-7.0.4+ds/debian/libecm1.lintian-overrides --- gmp-ecm-7.0.4+ds/debian/libecm1.lintian-overrides 2016-03-19 21:14:19.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/libecm1.lintian-overrides 2021-10-12 15:59:29.000000000 +0000 @@ -5,7 +5,7 @@ # Out of memory events are also managed with exit(3): this looks as a # clumsy emergency exit policy rather than a design issue that may be # revisited only to please lintian(1). -libecm1: shlib-calls-exit +libecm1: exit-in-shared-library # A public interface is clearly defined in the library header ecm.h # (see README.lib), but unfortunately no ABI is clearly defined. diff -Nru gmp-ecm-7.0.4+ds/debian/patches/debianization-examples.patch gmp-ecm-7.0.4+ds/debian/patches/debianization-examples.patch --- gmp-ecm-7.0.4+ds/debian/patches/debianization-examples.patch 2016-03-19 20:52:16.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/patches/debianization-examples.patch 2021-10-12 15:58:41.000000000 +0000 @@ -1,6 +1,7 @@ Description: debianization -- examples System preprocessing directive #include for examples. Origin: debian +Forwarded: not-needed Author: Jerome Benoit Last-Update: 2015-05-31 diff -Nru gmp-ecm-7.0.4+ds/debian/patches/series gmp-ecm-7.0.4+ds/debian/patches/series --- gmp-ecm-7.0.4+ds/debian/patches/series 2016-06-28 11:14:58.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/patches/series 2021-10-14 12:04:17.000000000 +0000 @@ -1,2 +1,4 @@ #upstream-libtoolization-version_script.patch +upstream-fix-manpage-acute_accent.patch +upstream-national_encoding.patch debianization-examples.patch diff -Nru gmp-ecm-7.0.4+ds/debian/patches/upstream-fix-manpage-acute_accent.patch gmp-ecm-7.0.4+ds/debian/patches/upstream-fix-manpage-acute_accent.patch --- gmp-ecm-7.0.4+ds/debian/patches/upstream-fix-manpage-acute_accent.patch 1970-01-01 00:00:00.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/patches/upstream-fix-manpage-acute_accent.patch 2021-10-14 13:23:05.000000000 +0000 @@ -0,0 +1,61 @@ +Description: upstream fix: manpage: technical typos + Fix acute-accent typos in ecm manpage as reported by lintian, see + + for furhter information. +Origin: vendor, Debian +Forwarded: by-email +Author: Jerome Benoit +Last-Update: 2021-10-14 + +--- a/ecm.1 ++++ b/ecm.1 +@@ -158,8 +158,8 @@ + \fB\-power \fR\fB\fIn\fR\fR + .RS 4 + [ECM, P\-1] Use x^\fIn\fR +-for Brent\-Suyama\'s extension (\fB\-power 1\fR +-disables Brent\-Suyama\'s extension)\&. The default polynomial is chosen depending on the method and B2\&. For P\-1 and P+1, disables the fast stage 2\&. For P\-1, ++for Brent\-Suyama's extension (\fB\-power 1\fR ++disables Brent\-Suyama's extension)\&. The default polynomial is chosen depending on the method and B2\&. For P\-1 and P+1, disables the fast stage 2\&. For P\-1, + \fIn\fR + must be even\&. + .RE +@@ -167,7 +167,7 @@ + \fB\-dickson \fR\fB\fIn\fR\fR + .RS 4 + [ECM, P\-1] Use degree\-\fIn\fR +-Dickson\'s polynomial for Brent\-Suyama\'s extension\&. For P\-1 and P+1, disables the fast stage 2\&. Like for ++Dickson's polynomial for Brent\-Suyama's extension\&. For P\-1 and P+1, disables the fast stage 2\&. Like for + \fB\-power\fR, + \fIn\fR + must be even for P\-1\&. +@@ -212,17 +212,17 @@ + .PP + \fB\-mpzmod\fR + .RS 4 +-Use GMP\'s mpz_mod function (sub\-quadratic for large inputs, but induces some overhead for small ones)\&. ++Use GMP's mpz_mod function (sub\-quadratic for large inputs, but induces some overhead for small ones)\&. + .RE + .PP + \fB\-modmuln\fR + .RS 4 +-Use Montgomery\'s multiplication (quadratic version)\&. Usually best method for small input\&. ++Use Montgomery's multiplication (quadratic version)\&. Usually best method for small input\&. + .RE + .PP + \fB\-redc\fR + .RS 4 +-Use Montgomery\'s multiplication (sub\-quadratic version)\&. Theoretically optimal for large input\&. ++Use Montgomery's multiplication (sub\-quadratic version)\&. Theoretically optimal for large input\&. + .RE + .PP + \fB\-nobase2\fR +@@ -241,7 +241,7 @@ + .RE + .SH "FILE I/O" + .PP +-The following options enable one to perform step 1 and step 2 separately, either on different machines, at different times, or using different software (in particular, George Woltman\'s Prime95/mprime program can produce step 1 output suitable for resuming with GMP\-ECM)\&. It can also be useful to split step 2 into several runs, using the ++The following options enable one to perform step 1 and step 2 separately, either on different machines, at different times, or using different software (in particular, George Woltman's Prime95/mprime program can produce step 1 output suitable for resuming with GMP\-ECM)\&. It can also be useful to split step 2 into several runs, using the + \fIB2min\-B2max\fR + option\&. + .PP diff -Nru gmp-ecm-7.0.4+ds/debian/patches/upstream-national_encoding.patch gmp-ecm-7.0.4+ds/debian/patches/upstream-national_encoding.patch --- gmp-ecm-7.0.4+ds/debian/patches/upstream-national_encoding.patch 1970-01-01 00:00:00.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/patches/upstream-national_encoding.patch 2021-10-14 13:22:44.000000000 +0000 @@ -0,0 +1,29 @@ +Description: upstream fix: migration from national to UTF-8 encoding + Fix national-encoding typos in AUTHORS as reported by lintian, see + + for furhter information. +Origin: vendor, Debian +Forwarded: by-email +Author: Jerome Benoit +Last-Update: 2021-10-14 + +--- a/AUTHORS ++++ b/AUTHORS +@@ -22,7 +22,7 @@ + Francois Morain + contributed the Stage 1 code for Weierstrass form + Dave Newman +- contributed the Kronecker-Schönhage multiplication code, ++ contributed the Kronecker-Schönhage multiplication code, + and the NTT code. + Jason S. Papadopoulos contributed optimizations + to the NTT code. +@@ -30,7 +30,7 @@ + author of the first version of the program. + + Several people also helped by suggesting improvements, or testing +-beta-versions: Allan Steel, Karim Belabas, Torbjörn Granlund, ++beta-versions: Allan Steel, Karim Belabas, Torbjörn Granlund, + Japke Rosink, Bruce Dodson. + + If you want to contribute to GMP-ECM, you are welcome; the development diff -Nru gmp-ecm-7.0.4+ds/debian/rules gmp-ecm-7.0.4+ds/debian/rules --- gmp-ecm-7.0.4+ds/debian/rules 2018-08-03 05:40:46.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/rules 2021-10-12 16:21:32.000000000 +0000 @@ -30,3 +30,6 @@ override_dh_compress-indep: dh_compress -Xexamples + +override_dh_missing: + dh_missing -X.la diff -Nru gmp-ecm-7.0.4+ds/debian/tests/build-examples gmp-ecm-7.0.4+ds/debian/tests/build-examples --- gmp-ecm-7.0.4+ds/debian/tests/build-examples 2016-06-01 22:28:18.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/tests/build-examples 2021-10-12 15:55:35.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # autopkgtest check: build program examples set -ue -cd $ADTTMP +cd $AUTOPKGTEST_TMP cp -prd /usr/share/doc/libecm1-dev/examples . cd examples diff -Nru gmp-ecm-7.0.4+ds/debian/tests/make-longcheck gmp-ecm-7.0.4+ds/debian/tests/make-longcheck --- gmp-ecm-7.0.4+ds/debian/tests/make-longcheck 2016-06-28 15:02:24.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/tests/make-longcheck 2021-10-12 15:56:57.000000000 +0000 @@ -12,7 +12,7 @@ set -ue -cat << EOF > $ADTTMP/Makefile +cat << EOF > $AUTOPKGTEST_TMP/Makefile abs_top_pkgdir = $PWD @@ -48,6 +48,6 @@ LLAVG=$(( $NJOBS * 175 )) LLAVG=$(( $LLAVG / 100 )) -make -C $ADTTMP -k -j $NJOBS -l $LLAVG longcheck +make -C $AUTOPKGTEST_TMP -k -j $NJOBS -l $LLAVG longcheck exit 0 diff -Nru gmp-ecm-7.0.4+ds/debian/watch gmp-ecm-7.0.4+ds/debian/watch --- gmp-ecm-7.0.4+ds/debian/watch 2018-03-09 09:30:28.000000000 +0000 +++ gmp-ecm-7.0.4+ds/debian/watch 2021-10-14 11:40:05.000000000 +0000 @@ -1,4 +1,3 @@ version=4 opts=repack,compression=xz,dversionmangle=s/\+ds//,repacksuffix=+ds,uversionmangle=s/-(rc\d*)$/~$1/ \ -https://gforge.inria.fr/frs/?group_id=135 \ - (?:|.*/)ecm(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|tar\.bz2|tar\.gz) +https://gitlab.inria.fr/zimmerma/ecm/-/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.bz2