Subject: Various Linter corrections

From: ng0 <[email-masked]>
Date: Sat, 23 Dec 2017 20:52:01 +0000

This bug starts a series of patches to:
 - fix complains external linters found
 - fix complains our linter found
These fixes include: addressing permanent redirects,
404s -> new files, domains, URLs, etc.

4 Patches for the start, more to follow.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is
From 9a3f25a2e3df5d7fbfa06ed598216385e85212a5 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Wed, 13 Dec 2017 16:57:17 +0000
Subject: [PATCH 1/4] gnu: xz: Adjust the home page.

Its http URL permanently redirects to the https one,
throwing off some basic external linters.

* gnu/packages/compression.scm (xz)[home-page]: Adjust home page.
---
 gnu/packages/compression.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index be9c6344b..c87eff3b1 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016 David Craven <[email-masked]>
 ;;; Copyright © 2016 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2016 Marius Bakke <[email-masked]>
-;;; Copyright © 2017 ng0 <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <[email-masked]>
 ;;; Copyright © 2017 Theodoros Foradis <[email-masked]>
 ;;; Copyright © 2017 Stefan Reichör <[email-masked]>
@@ -371,7 +371,7 @@ compression algorithm is currently LZMA2, which is used inside the .xz
 container format.  With typical files, XZ Utils create 30 % smaller output
 than gzip and 15 % smaller output than bzip2.")
    (license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
-   (home-page "http://tukaani.org/xz/")))
+   (home-page "https://tukaani.org/xz/")))
 
 (define-public lzo
   (package
-- 
2.15.1

From 339135e4b3ffbc011ed30d0876542f1da9f4248b Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Wed, 13 Dec 2017 17:01:00 +0000
Subject: [PATCH 2/4] gnu: xdelta: Change to new home page.

The previous used http://xdelta.com is linking to a parked/squatted domain.

* gnu/packages/compression.scm (xdelta)[home-page]: Use http://xdelta.org as
new home page.
---
 gnu/packages/compression.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c87eff3b1..c242a5a4e 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -985,7 +985,7 @@ respectively, based on the reference implementation from Google.")
            (lambda _ (chdir "xdelta3")))
          (add-after 'enter-build-directory 'autoconf
            (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
-    (home-page "http://xdelta.com")
+    (home-page "http://xdelta.org")
     (synopsis "Delta encoder for binary files")
     (description "xdelta encodes only the differences between two binary files
 using the VCDIFF algorithm and patch file format described in RFC 3284.  It can
-- 
2.15.1

From 954527da93c03ebb93da7c439c22c0974a60e956 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Wed, 13 Dec 2017 22:03:40 +0000
Subject: [PATCH 3/4] gnu: java-xz: Adjust home page.

* gnu/packages/java.scm (java-xz)[home-page]: Adjust home-page. The http part of it
is a permanent redirect to https.
---
 gnu/packages/java.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0be488dec..8dd635605 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2157,7 +2157,7 @@ is implemented.")
           (lambda _ (chdir "..") #t)))))
    (native-inputs
     `(("unzip" ,unzip)))
-   (home-page "http://tukaani.org/xz/java.html")
+   (home-page "https://tukaani.org/xz/java.html")
    (synopsis "Implementation of XZ data compression in pure Java")
    (description "This library aims to be a complete implementation of XZ data
 compression in pure Java.  Single-threaded streamed compression and
-- 
2.15.1

From 6a9320f991ca122823972e9fb84f4ddf952fedec Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Wed, 13 Dec 2017 22:05:37 +0000
Subject: [PATCH 4/4] gnu: ruby: Use new home page.

The certificate for ruby-lang.org is only valid for lists.ruby-lang.org,
the home page has moved to www.ruby-lang.org with its own certificate.

* gnu/packages/ruby.scm (ruby)[home-page]: Use 'www.ruby-lang.org'.
---
 gnu/packages/ruby.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c66c0a414..968a05999 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014, 2015 David Thompson <[email-masked]>
 ;;; Copyright © 2015 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2015, 2016, 2017 Ben Woodcroft <[email-masked]>
-;;; Copyright © 2017 ng0 <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;; Copyright © 2017 Marius Bakke <[email-masked]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
 ;;;
@@ -101,7 +101,7 @@
     (synopsis "Programming language interpreter")
     (description "Ruby is a dynamic object-oriented programming language with
 a focus on simplicity and productivity.")
-    (home-page "https://ruby-lang.org")
+    (home-page "https://www.ruby-lang.org")
     (license license:ruby)))
 
 (define-public ruby-2.4.3
-- 
2.15.1