diff -pruN 1.0.2-2/debian/changelog 1.0.2-3/debian/changelog
--- 1.0.2-2/debian/changelog	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/changelog	2022-08-05 16:07:50.000000000 +0000
@@ -1,3 +1,53 @@
+libmath-tamuanova-perl (1.0.2-3) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Nathan Handler ]
+  * Email change: Nathan Handler -> nhandler@debian.org
+
+  [ Salvatore Bonaccorso ]
+  * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
+  * Change search.cpan.org based URIs to metacpan.org based URIs
+
+  [ gregor herrmann ]
+  * Strip trailing slash from metacpan URLs.
+
+  [ Salvatore Bonaccorso ]
+  * Update Vcs-Browser URL to cgit web frontend
+  * debian/control: Use HTTPS transport protocol for Vcs-Git URI
+
+  [ gregor herrmann ]
+  * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
+  * Remove Nathan Handler from Uploaders. Thanks for your work!
+
+  [ Salvatore Bonaccorso ]
+  * Update Vcs-* headers for switch to salsa.debian.org
+
+  [ Clément Hermann ]
+  * Use system build dependencies instead of embedded modules in inc/
+
+  [ gregor herrmann ]
+  * debian/control: update Build-Depends for cross builds.
+  * debian/watch: use uscan version 4.
+
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Bump debhelper from old 12 to 13.
+    + debian/rules: Drop --fail-missing argument to dh_missing,
+      which is now the default.
+
+  [ gregor herrmann ]
+  * Declare compliance with Debian Policy 4.6.1.
+  * Set Rules-Requires-Root: no.
+  * Enable all hardening flags.
+  * Annotate test-only build dependencies with <!nocheck>.
+  * debian/rules: build with -Wl,--no-as-needed because libgsl is
+    underlinked. (Closes: #680289)
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 05 Aug 2022 18:07:50 +0200
+
 libmath-tamuanova-perl (1.0.2-2) unstable; urgency=low
 
   * Team upload
@@ -49,4 +99,3 @@ libtamuanova-perl (0.2.1-1) unstable; ur
   * Initial Release.
 
  -- Vincent Danjean <Vincent.Danjean@ens-lyon.org>  Mon,  6 Mar 2006 00:29:08 +0100
-
diff -pruN 1.0.2-2/debian/compat 1.0.2-3/debian/compat
--- 1.0.2-2/debian/compat	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/compat	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-9
diff -pruN 1.0.2-2/debian/control 1.0.2-3/debian/control
--- 1.0.2-2/debian/control	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/control	2022-08-05 16:07:50.000000000 +0000
@@ -1,22 +1,27 @@
 Source: libmath-tamuanova-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Vincent Danjean <vdanjean@debian.org>
 Section: perl
+Testsuite: autopkgtest-pkg-perl
 Priority: optional
-Build-Depends: debhelper (>= 9.20120312),
- libblas-dev,
- libtamuanova-dev,
- libtest-deep-perl,
- perl
-Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
-Uploaders: Vincent Danjean <vdanjean@debian.org>,
- Nathan Handler <nhandler@ubuntu.com>
-Standards-Version: 3.9.3
-Vcs-Git: git://git.debian.org/pkg-perl/packages/libmath-tamuanova-perl.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmath-tamuanova-perl.git
-Homepage: http://search.cpan.org/dist/Math-TamuAnova/
+Build-Depends: debhelper-compat (= 13),
+               libblas-dev,
+               libdevel-checklib-perl,
+               libtamuanova-dev,
+               libtest-deep-perl <!nocheck>,
+               perl-xs-dev,
+               perl:native
+Standards-Version: 4.6.1
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmath-tamuanova-perl
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmath-tamuanova-perl.git
+Homepage: https://metacpan.org/release/Math-TamuAnova
+Rules-Requires-Root: no
 
 Package: libmath-tamuanova-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends},
+         ${perl:Depends},
+         ${shlibs:Depends}
 Description: Perl extension for the tamuanova library
  Math::TamuAnova allows you to use the tamu-anova library from perl programs.
  .
diff -pruN 1.0.2-2/debian/copyright 1.0.2-3/debian/copyright
--- 1.0.2-2/debian/copyright	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/copyright	2022-08-05 16:07:50.000000000 +0000
@@ -1,7 +1,7 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name:  Math-TamuAnova
 Upstream-Contact: Vincent Danjean <vdanjean.ml@free.fr>
-Source: http://search.cpan.org/dist/Math-TamuAnova/
+Source: https://metacpan.org/release/Math-TamuAnova
 
 Files: *
 Copyright: © 2006-2012 Vincent Danjean <vdanjean.ml@free.fr>
@@ -9,7 +9,7 @@ License: Artistic or GPL-1+
 
 Files: debian/*
 Copyright: © 2006-2012 Vincent Danjean <vdanjean.ml@free.fr>
- © 2012 Nathan Handler <nhandler@ubuntu.com>
+ © 2012 Nathan Handler <nhandler@debian.org>
 License: Artistic or GPL-1+
 
 License: Artistic
diff -pruN 1.0.2-2/debian/patches/auto-gitignore 1.0.2-3/debian/patches/auto-gitignore
--- 1.0.2-2/debian/patches/auto-gitignore	1970-01-01 00:00:00.000000000 +0000
+++ 1.0.2-3/debian/patches/auto-gitignore	2022-08-05 16:07:50.000000000 +0000
@@ -0,0 +1,18 @@
+Subject: Update .gitignore from Debian packaging branch
+
+The Debian packaging git branch contains these updates to the upstream
+.gitignore file(s).  This patch is autogenerated, to provide these
+updates to users of the official Debian archive view of the package.
+
+[dgit (9.16) update-gitignore]
+---
+diff --git a/.gitignore b/.gitignore
+new file mode 100644
+index 0000000..ab6a3eb
+--- /dev/null
++++ b/.gitignore
+@@ -0,0 +1,4 @@
++/.pc/.quilt_patches
++/.pc/.quilt_series
++/.pc/.version
++
diff -pruN 1.0.2-2/debian/patches/series 1.0.2-3/debian/patches/series
--- 1.0.2-2/debian/patches/series	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/patches/series	2022-08-05 16:07:50.000000000 +0000
@@ -1 +1,2 @@
 fix-checklib-fail.patch
+auto-gitignore
diff -pruN 1.0.2-2/debian/rules 1.0.2-3/debian/rules
--- 1.0.2-2/debian/rules	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/rules	2022-08-05 16:07:50.000000000 +0000
@@ -1,8 +1,20 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# #680289
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed
+
 %:
 	dh $@
 
-override_dh_install:
-	dh_install --fail-missing
+# we want to use the system version of included modules, so
+# we move the inc away and move it back afterwards
+override_dh_auto_clean:
+	dh_auto_clean
+	[ ! -d $(CURDIR)/inc.save ] || mv $(CURDIR)/inc.save $(CURDIR)/inc
+
+override_dh_auto_configure:
+	[ ! -d $(CURDIR)/inc ] || mv $(CURDIR)/inc $(CURDIR)/inc.save
+	dh_auto_configure
diff -pruN 1.0.2-2/debian/watch 1.0.2-3/debian/watch
--- 1.0.2-2/debian/watch	2012-08-08 13:26:21.000000000 +0000
+++ 1.0.2-3/debian/watch	2022-08-05 16:07:50.000000000 +0000
@@ -1,2 +1,2 @@
-version=3
-http://search.cpan.org/dist/Math-TamuAnova/   .*/Math-TamuAnova-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+version=4
+https://metacpan.org/release/Math-TamuAnova   .*/Math-TamuAnova-v?@ANY_VERSION@@ARCHIVE_EXT@$
