Lintian Fixes - rhino

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/rhino lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2017-01-20 10:04:41 +0000
+++ b/debian/changelog	2020-06-11 11:18:41 +0000
@@ -1,3 +1,17 @@
+rhino (1.7.7.1-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update renamed lintian tag names in lintian overrides.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 11 Jun 2020 11:13:07 -0000
+
 rhino (1.7.7.1-1) unstable; urgency=medium
 
   * Team upload.
@@ -217,7 +231,7 @@
 
 rhino (1.7R2~pre-2) experimental; urgency=low
 
-  * Really include the debugger. Closes: #474046. 
+  * Really include the debugger. Closes: #474046.
 
  -- Michael Koch <konqueror@gmx.de>  Sat, 05 Apr 2008 15:03:43 +0200
 
@@ -321,7 +335,7 @@
 rhino (1.5.R5-5) unstable; urgency=low
 
   * Removed explicit usage of jikes build compiler property
-    for kaffe jikes -> ecj transition  
+    for kaffe jikes -> ecj transition
 
  -- Wolfgang Baer <WBaer@gmx.de>  Fri,  6 Jan 2006 18:54:28 +0100
 
@@ -338,7 +352,7 @@
  -- Wolfgang Baer <WBaer@gmx.de>  Sat, 24 Sep 2005 23:31:36 +0200
 
 rhino (1.5.R5-3) unstable; urgency=low
-  
+
   * Added java2-runtime to runtime choices
   * Removed build.xml workaround patch which is no longer
     needed with the current kaffe in sarge/unstable
@@ -346,7 +360,7 @@
  -- Wolfgang Baer <WBaer@gmx.de>  Wed, 13 Apr 2005 19:30:40 +0200
 
 rhino (1.5.R5-2) unstable; urgency=low
-  
+
   * Closes: #283651: alternative without a manpage
   * upload to main: uses kaffe,jikes to build
   * provide JavaScript compiler as rhino-jsc with manpage
@@ -364,7 +378,7 @@
 
 rhino (1.5.R2-2) unstable; urgency=low
 
-  * Add alternative for /usr/bin/js. The patch is provided by Brian 
+  * Add alternative for /usr/bin/js. The patch is provided by Brian
     Bassett. (Closes:#122669)
 
  -- Takashi Okamoto <tora@debian.org>  Sat,  8 Dec 2001 10:45:06 +0900

=== removed file 'debian/compat'
--- a/debian/compat	2017-01-19 13:23:59 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-10

=== modified file 'debian/control'
--- a/debian/control	2017-01-19 15:47:22 +0000
+++ b/debian/control	2020-06-11 11:18:02 +0000
@@ -6,14 +6,14 @@
            Damien Raude-Morvan <drazzib@debian.org>,
            Jakub Adam <jakub.adam@ktknet.cz>
 Build-Depends: ant,
-               debhelper (>= 10),
+               debhelper-compat (= 12),
                default-jdk,
                javahelper,
                maven-repo-helper
 Standards-Version: 3.9.8
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/rhino.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/rhino.git
-Homepage: http://www.mozilla.org/rhino/
+Vcs-Git: https://salsa.debian.org/java-team/rhino.git
+Vcs-Browser: https://salsa.debian.org/java-team/rhino
+Homepage: https://www.mozilla.org/rhino/
 
 Package: rhino
 Architecture: all

=== modified file 'debian/copyright'
--- a/debian/copyright	2017-01-19 16:44:40 +0000
+++ b/debian/copyright	2020-06-11 11:14:03 +0000
@@ -1,4 +1,4 @@
-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: Rhino
 Source: https://github.com/mozilla/rhino
 Files-Excluded: gradlew*

=== modified file 'debian/rules'
--- a/debian/rules	2017-01-19 16:43:41 +0000
+++ b/debian/rules	2020-06-11 11:18:41 +0000
@@ -21,6 +21,3 @@
 
 	mv $(BUILDDIR)/javadoc $(BUILDDIR)/api
 	dh_install -plibrhino-java-doc $(BUILDDIR)/api /usr/share/doc/rhino/
-
-get-orig-source:
-	uscan --force-download

=== modified file 'debian/source/lintian-overrides'
--- a/debian/source/lintian-overrides	2017-01-19 16:41:46 +0000
+++ b/debian/source/lintian-overrides	2020-06-11 11:16:42 +0000
@@ -1,4 +1,4 @@
 # The tests contain non obfuscated JS files with really long lines
 rhino source: source-contains-prebuilt-javascript-object testsrc/*
 rhino source: source-is-missing testsrc/*
-rhino source: insane-line-length-in-source-file testsrc/*
+rhino source: very-long-line-length-in-source-file testsrc/*

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/Control.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/Counter.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/CounterTest.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/DynamicScopes.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/E4X/e4x_example.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/File.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/Foo.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/Matrix.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/NervousText.html
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/NervousText.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/PrimitiveWrapFactory.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/RunScript.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/RunScript2.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/RunScript3.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/RunScript4.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/Shell.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/SwingApplication.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/checkParam.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/enum.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/jsdoc.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/liveConnect.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java/examples/unique.js

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/Control.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/Counter.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/CounterTest.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/DynamicScopes.java.gz
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/E4X/e4x_example.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/File.java.gz
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/Foo.java.gz
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/Matrix.java.gz
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/NervousText.html
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/NervousText.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/PrimitiveWrapFactory.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/RunScript.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/RunScript2.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/RunScript3.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/RunScript4.java
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/Shell.java.gz
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/SwingApplication.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/checkParam.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/enum.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/jsdoc.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/liveConnect.js
-rw-r--r--  root/root   /usr/share/doc/librhino-java-doc/examples/unique.js

Control files of package librhino-java: lines which differ (wdiff format)

  • Homepage: http://www.mozilla.org/rhino/ https://www.mozilla.org/rhino/

Control files of package librhino-java-doc: lines which differ (wdiff format)

  • Homepage: http://www.mozilla.org/rhino/ https://www.mozilla.org/rhino/

Control files of package rhino: lines which differ (wdiff format)

  • Homepage: http://www.mozilla.org/rhino/ https://www.mozilla.org/rhino/

Run locally

Try this locally (using the lintian-brush package):

debcheckout rhino
cd rhino
lintian-brush --exclude=upstream-metadata-file

More details

Full run details