about summary refs log tree commit homepage
path: root/Rakefile
diff options
authorEric Wong <e@80x24.org>2016-12-27 07:12:14 +0000
committerEric Wong <e@80x24.org>2016-12-27 07:16:43 +0000
commit9152a00d3a706d93d7ed9705ce2529bd3d1f3772 (patch)
tree0756d816034c26f7a8f128c703369831c7e34186 /Rakefile
parentf491bccd26ae670a45477804e8f63693898e0ab3 (diff)
http -> https, and relocate homepage to https://80x24.org/dtas/
HTTPS allows some level of security(*) and we've actually
supported it on 80x24.org for many months, now.  So, point new
readers to it.

Moving away from hostname-based homepages will allow us to save
on subjectAltName space (and bandwith) when negotiating an HTTPS
connection.  We'll also have an .onion mirror for Tor users,
soon, too; in case we can't afford to pay ICANN in the future.

(assuming TLS libraries don't have any more Heartblead-level
 bugs in them, CAs aren't compromised, MITM HTTPS stripping
 proxies don't get in your way, and your certificate bundle isn't
Diffstat (limited to 'Rakefile')
1 files changed, 5 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index c710c7a..3194599 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,5 @@
 # Copyright (C) 2013-2016 all contributors <dtas-all@nongnu.org>.
-# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
+# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 # frozen_string_literal: true
 require 'tempfile'
 include Rake::DSL
@@ -42,7 +42,7 @@ task "NEWS" do
   fp.puts "Unreleased" unless fp.size > 0
   fp.puts "# COPYRIGHT"
   fp.puts "Copyright (C) 2013-2015 all contributors <dtas-all@nongnu.org>"
-  fp.puts "License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>"
+  fp.puts "License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>"
   assert_equal fp.read, File.read("NEWS") rescue nil
   fp.chmod 0644
@@ -52,8 +52,8 @@ end
 desc 'prints news as an Atom feed'
 task 'NEWS.atom' do
   require 'builder' # gem install builder
-  url_base = 'http://dtas.80x24.org/'
-  cgit_url = 'http://80x24.org/dtas.git/'
+  url_base = 'https://80x24.org/dtas/'
+  cgit_url = 'https://80x24.org/dtas.git/'
   new_tags = tags[0,10]
   x = Builder::XmlMarkup.new
   x.instruct! :xml, encoding: 'UTF-8', version: '1.0'
@@ -98,7 +98,7 @@ task rsync_docs: %w(NEWS NEWS.atom) do
   files = []
   # git-set-file-times is distributed with rsync,
-  # Also available at: http://yhbt.net/git-set-file-times
+  # Also available at: https://yhbt.net/git-set-file-times
   # on Debian systems: /usr/share/doc/rsync/scripts/git-set-file-times.gz
   sh("git", "set-file-times", "Documentation", "examples", *top)
   make = ENV['MAKE'] || 'make'