Package: src:coreutils
Version: 9.4-2
Tags: patch
Dear coreutils maintainers,
the package does not contain the d/upstream/metadata file with
information about the upstream project. Also a few URLs (in d/control
and d/watch) are outdated.
Please find attached three patches that fix these issues.
Regards,
--
Gioele Barabucci
From 02a7cc3f4861536eac3aa4462fd14a24927b39da Mon Sep 17 00:00:00 2001
From: Gioele Barabucci <gio...@svario.it>
Date: Wed, 29 Nov 2023 15:11:25 +0100
Subject: [PATCH 1/3] d/watch: Use HTTPS instead of FTP
---
debian/watch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/watch b/debian/watch
index 004a5420..b5b44921 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=4
-opts=pgpsigurlmangle=s/$/.sig/ ftp://ftp.gnu.org/gnu/coreutils/coreutils-([\d+\.]+)\.tar\.(?:gz|bz2|lzma|xz)
+opts=pgpsigurlmangle=s/$/.sig/ https://ftp.gnu.org/gnu/coreutils/coreutils-([\d+\.]+)\.tar\.(?:gz|bz2|lzma|xz)
--
2.42.0
From b0ba27efe5bea93915b17b65ef6a7143efd2a812 Mon Sep 17 00:00:00 2001
From: Gioele Barabucci <gio...@svario.it>
Date: Wed, 29 Nov 2023 15:31:06 +0100
Subject: [PATCH 2/3] d/control: Use HTTPS in homepage URL
Fixes: lintian: homepage-field-uses-insecure-uri
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index d4f4a69a..bb3ff5f1 100644
--- a/debian/control
+++ b/debian/control
@@ -24,4 +24,4 @@ Description: GNU core utilities
rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac
tail tee test timeout touch tr true truncate tsort tty uname unexpand
uniq unlink users vdir wc who whoami yes
-Homepage: http://gnu.org/software/coreutils
+Homepage: https://gnu.org/software/coreutils
--
2.42.0
From 0129171d932544b5f77f9ee1fab959853b507c59 Mon Sep 17 00:00:00 2001
From: Gioele Barabucci <gio...@svario.it>
Date: Wed, 29 Nov 2023 14:48:29 +0100
Subject: [PATCH 3/3] d/u/metadata: Add metadata about upstream project
---
debian/upstream/metadata | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 debian/upstream/metadata
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 00000000..98e38e0d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://bugs.gnu.org/coreutils
+Documentation: https://www.gnu.org/software/coreutils/manual/
+Repository: https://git.savannah.gnu.org/git/coreutils.git
+Repository-Browse: https://git.savannah.gnu.org/gitweb/?p=coreutils.git
--
2.42.0