[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Various link fixes and updates. (Closes: #878521)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit f34b8d07f9daff9b33ede8d1576b5b77e84ae709
Author: Ville Skyttä <ville.skytta@iki.fi>
Date:   Sat Oct 14 14:24:50 2017 +0300

    Various link fixes and updates.  (Closes: #878521)
---
 checks/fields.desc                          |  4 ++--
 checks/files.desc                           |  2 +-
 checks/menu-format.desc                     | 12 ++++++------
 checks/menu-format.pm                       |  6 +++---
 debian/changelog                            |  4 ++++
 doc/lintian.xml                             |  6 +++---
 mail-templates/license-problem-non-free-RFC |  2 +-
 7 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/checks/fields.desc b/checks/fields.desc
index 43f10f0..2ada4c0 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -133,7 +133,7 @@ Info: This package is architecture all and hence requires a Multi-Arch
  An Architecture: all package to satisfy the dependencies of a
  foreign-architecture package, it must be marked Multi-Arch: foreign
  or Multi-Arch: allowed.
-Ref: https://wiki.ubuntu.com/MultiarchSpec#Dependencies_involving_Architecture:_all_packages/
+Ref: https://wiki.ubuntu.com/MultiarchSpec#Dependencies_involving_Architecture:_all_packages
 
 Tag: aspell-package-not-arch-all
 Severity: normal
@@ -1190,7 +1190,7 @@ Info: The package build-depends on a versioned development package of
  .
  Should the package have a legitimate reason for using the versioned development
  package, please add an override.
-Ref: http://download.oracle.com/docs/cd/E17076_02/html/upgrading/upgrade_process.html
+Ref: http://docs.oracle.com/cd/E17076_02/html/upgrading/upgrade_process.html
 
 Tag: transitional-package-should-be-oldlibs-optional
 Severity: normal
diff --git a/checks/files.desc b/checks/files.desc
index 4ba0d7d..7609af0 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -1430,7 +1430,7 @@ Info: This package contains a file in a path reserved solely for
 Tag: package-contains-cmake-private-file
 Severity: important
 Certainty: certain
-Ref: https://wiki.debian.org/CMake, http://www.cmake.org/cmake/help/v3.2/manual/cmake-packages.7.html#config-file-packages
+Ref: https://wiki.debian.org/CMake, https://cmake.org/cmake/help/v3.10/manual/cmake-packages.7.html#config-file-packages
 Info: This package contains a file in a path reserved solely for
  <tt>CMake</tt>. This normally means you are shipping a <tt>Find</tt>
  module. Libraries should not ship Find modules at all but Config files
diff --git a/checks/menu-format.desc b/checks/menu-format.desc
index 2657433..d910689 100644
--- a/checks/menu-format.desc
+++ b/checks/menu-format.desc
@@ -315,7 +315,7 @@ Info: The categories for this desktop entry do not contain any Main
  .
  The desktop-file-validate tool in the desktop-file-utils package is
  useful for checking the syntax of desktop entries.
-Ref: https://specifications.freedesktop.org/menu-spec/1.0/apa.html
+Ref: https://specifications.freedesktop.org/menu-spec/1.1/apa.html
 
 Tag: desktop-entry-lacks-icon-entry
 Severity: wishlist
@@ -329,8 +329,8 @@ Info: This .desktop file does not contain an "Icon" entry.
  .
  The desktop-file-validate tool in the desktop-file-utils package is
  useful for checking the syntax of desktop entries.
-Ref: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html,
- https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html,
+Ref: https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html,
+ https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-0.13.html,
  #854132
 
 Tag: desktop-entry-lacks-keywords-entry
@@ -346,7 +346,7 @@ Info: This .desktop file does either not contain a "Keywords" entry or it does
  .
  The desktop-file-validate tool in the desktop-file-utils package is
  useful for checking the syntax of desktop entries.
-Ref: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html,
+Ref: https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html,
  #693918, https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords
 
 Tag: desktop-entry-uses-reserved-category
@@ -360,7 +360,7 @@ Info: This desktop entry includes a Reserved Category, one which has a
  .
  The desktop-file-validate tool in the desktop-file-utils package is
  useful for checking the syntax of desktop entries.
-Ref: https://specifications.freedesktop.org/menu-spec/1.0/apa.html
+Ref: https://specifications.freedesktop.org/menu-spec/1.1/apa.html
 
 Tag: desktop-entry-invalid-category
 Severity: normal
@@ -373,7 +373,7 @@ Info: This desktop entry lists a category that is not one of the
  .
  The desktop-file-validate tool in the desktop-file-utils package is
  useful for checking the syntax of desktop entries.
-Ref: https://specifications.freedesktop.org/menu-spec/1.0/apa.html
+Ref: https://specifications.freedesktop.org/menu-spec/1.1/apa.html
 
 Tag: desktop-command-not-in-package
 Severity: normal
diff --git a/checks/menu-format.pm b/checks/menu-format.pm
index 00b2654..28a96ac 100644
--- a/checks/menu-format.pm
+++ b/checks/menu-format.pm
@@ -80,7 +80,7 @@ my $MENU_SECTIONS
   = Lintian::Data->new('menu-format/menu-sections',qr|/|, \&_menu_sections);
 
 # Authoritative source of desktop keys:
-# https://specifications.freedesktop.org/desktop-entry-spec/1.0/
+# https://specifications.freedesktop.org/desktop-entry-spec/1.1/
 #
 # This is a list of all keys that should be in every desktop entry.
 my @req_desktop_keys = qw(Type Name);
@@ -96,7 +96,7 @@ my $DEPRECATED_DESKTOP_KEYS
 my $KDE_DESKTOP_KEYS = Lintian::Data->new('menu-format/kde-desktop-keys');
 
 # Known types of desktop entries.
-# https://specifications.freedesktop.org/desktop-entry-spec/1.0/ar01s05.html
+# https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html
 my %known_desktop_types = map { $_ => 1 } qw(
   Application
   Link
@@ -104,7 +104,7 @@ my %known_desktop_types = map { $_ => 1 } qw(
 );
 
 # Authoritative source of desktop categories:
-# https://specifications.freedesktop.org/menu-spec/1.0/apa.html
+# https://specifications.freedesktop.org/menu-spec/1.1/apa.html
 
 # This is a list of all Main Categories for .desktop files.  Application is
 # added as an exception; it's not listed in the standard, but it's widely used
diff --git a/debian/changelog b/debian/changelog
index fbe2524..c663e9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,10 @@ lintian (2.5.56) UNRELEASED; urgency=medium
       correction as it is "acceptable beyond serious criticism".
       (Closes: #878457)
 
+  * doc/lintian.xml, checks/{fields,files,menu-format}.desc, etc.:
+    + [CL] Apply patch from Ville Skyttä <ville.skytta@iki.fi> to update
+      a large number of errors in links.  (Closes: #878521)
+
   * private/refresh-manual-refs:
     + [CL] Apply patch from Ville Skyttä <ville.skytta@iki.fi> to update
       the Debconf reference mapping. Many thanks!  (Closes: #878449)
diff --git a/doc/lintian.xml b/doc/lintian.xml
index 6391123..f4a3ff9 100644
--- a/doc/lintian.xml
+++ b/doc/lintian.xml
@@ -663,7 +663,7 @@ foo source: another-tag without any comments
         <para>
           The architecture list has the same syntax as the
           architecture list in the "Build-Depends" field of a source
-          package. This is described in detail in the <ulink url="https://www.debian.org/doc/debian-policy/ch-relationships.html#s-depsyntax";>
+          package. This is described in detail in the <ulink url="https://www.debian.org/doc/debian-policy/#s-controlsyntax";>
           Debian Policy Manual §7.1</ulink>.  Examples:
         </para>
         <screen>
@@ -767,7 +767,7 @@ foo [!any-i386] binary: some-tag-not-for-i386 optional-extra
         <para>
           Profiles are written in the same syntax as Debian
           control files as described in the
-          <ulink url="https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-controlsyntax";>
+          <ulink url="https://www.debian.org/doc/debian-policy/#s-controlsyntax";>
           Debian Policy Manual §5.1</ulink>.  Profiles allow
           comments as described in the Policy Manual.
         </para>
@@ -1282,7 +1282,7 @@ Overridable: no
         <para>
           The check description file is written in the same syntax as
           Debian control files as described in the
-          <ulink url="https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-controlsyntax";>
+          <ulink url="https://www.debian.org/doc/debian-policy/#s-controlsyntax";>
           Debian Policy Manual §5.1</ulink>.  Check description files
           allow comments as described in the Policy Manual.
         </para>
diff --git a/mail-templates/license-problem-non-free-RFC b/mail-templates/license-problem-non-free-RFC
index 1049a7b..528028d 100644
--- a/mail-templates/license-problem-non-free-RFC
+++ b/mail-templates/license-problem-non-free-RFC
@@ -26,7 +26,7 @@ DFSG-free, see:
 
 The severity is serious, because this violates the Debian policy:
 
- * https://www.debian.org/doc/debian-policy/ch-archive.html#s-dfsg
+ * https://www.debian.org/doc/debian-policy/#s-dfsg
 
 There are (at least) three ways to fix this problem.  In order of
 preference:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: