about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-29 22:35:46 +0000
committerEric Wong <e@80x24.org>2016-07-29 22:35:46 +0000
commitd4b0198a877e65d04783c771ef55762730f3984f (patch)
treecb7cb4e547c9377a315234e2fafa188b132fd064
parent7e7c4f7b7ee4e42b1a7f9a6cbd0be7f56e6f0710 (diff)
downloadraindrops-d4b0198a877e65d04783c771ef55762730f3984f.tar.gz
While raindrops.bogomips.org exists, having extra subjectAltName
entries is bloating the certificate.  This will make it easier
to mirror the homepage on Tor hidden services.
-rw-r--r--.olddoc.yml14
-rw-r--r--GNUmakefile2
-rw-r--r--LICENSE6
-rw-r--r--README16
-rw-r--r--examples/watcher_demo.ru2
-rw-r--r--ext/raindrops/linux_tcp_info.c2
-rw-r--r--lib/raindrops/aggregate.rb2
-rw-r--r--lib/raindrops/middleware.rb4
-rw-r--r--lib/raindrops/watcher.rb16
9 files changed, 32 insertions, 32 deletions
diff --git a/.olddoc.yml b/.olddoc.yml
index 7fe7995..319d30b 100644
--- a/.olddoc.yml
+++ b/.olddoc.yml
@@ -1,9 +1,15 @@
 ---
-cgit_url: http://bogomips.org/raindrops.git
+cgit_url: https://bogomips.org/raindrops.git
 git_url: git://bogomips.org/raindrops.git
-rdoc_url: http://raindrops.bogomips.org/
+rdoc_url: https://bogomips.org/raindrops/
 public_email: raindrops-public@bogomips.org
 private_email: raindrops@bogomips.org
-ml_url: http://bogomips.org/raindrops-public/
+ml_url:
+- https://bogomips.org/raindrops-public/
+- http://ou63pmih66umazou.onion/raindrops-public
 nntp_url:
-  - nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
+- nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
+- nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops
+source_code:
+- git clone git://bogomips.org/raindrops.git
+- git clone https://bogomips.org/raindrops.git
diff --git a/GNUmakefile b/GNUmakefile
index 6af8bb7..9f833be 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,4 @@
 all::
-RSYNC_DEST := bogomips.org:/srv/raindrops
+RSYNC_DEST := bogomips.org:/srv/bogomips/raindrops
 rfpackage := raindrops
 include pkg.mk
diff --git a/LICENSE b/LICENSE
index a3dbff6..dd76ffc 100644
--- a/LICENSE
+++ b/LICENSE
@@ -3,8 +3,8 @@ revision control for names and email addresses of all of them.
 
 You can redistribute it and/or modify it under the terms of the GNU
 Lesser General Public License (LGPL) as published by the Free Software
-Foundation, version {2.1}[http://www.gnu.org/licenses/lgpl-2.1.txt] or
-later.  Currently version {3}[http://www.gnu.org/licenses/lgpl-3.0.txt],
+Foundation, version {2.1}[https://www.gnu.org/licenses/lgpl-2.1.txt] or
+later.  Currently version {3}[https://www.gnu.org/licenses/lgpl-3.0.txt],
 is preferred (see link:COPYING).
 
 raindrops is distributed in the hope that it will be useful, but WITHOUT
@@ -13,4 +13,4 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 License for more details.
 
 You should have received a copy of the GNU Lesser General Public License
-along with the raindrops; if not, see <http://www.gnu.org/licenses/>
+along with the raindrops; if not, see <https://www.gnu.org/licenses/>
diff --git a/README b/README
index ab2a253..3379870 100644
--- a/README
+++ b/README
@@ -40,7 +40,7 @@ and "tcp_diag" kernel modules are loaded as they do not autoload correctly
 We recommend GCC 4+ (or compatible) to support the __sync builtins
 (__sync_{add,sub}_and_fetch()):
 
-http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html
+https://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html
 
 For non-GCC 4+ users, we also support compilation with the libatomic_ops
 package starting with Raindrops 0.4.0:
@@ -54,12 +54,6 @@ If you use RubyGems:
 
     gem install raindrops
 
-Otherwise grab the latest tarball from:
-
-http://raindrops.bogomips.org/files/
-
-Unpack it, and run "ruby setup.rb"
-
 == Usage
 
 See Raindrops::Middleware and Raindrops::LastDataRecv documentation for
@@ -77,7 +71,7 @@ You can get the latest source via git from the following locations:
 You may browse the code from the web and download the latest snapshot
 tarballs here:
 
-* http://bogomips.org/raindrops.git
+* https://bogomips.org/raindrops.git
 * http://repo.or.cz/w/raindrops.git (gitweb)
 
 Inline patches (from "git format-patch") to the mailing list are
@@ -96,7 +90,7 @@ raindrops is licensed under the LGPL-2.1+
 All feedback (bug reports, user/development discussion, patches, pull
 requests) go to the mailing list: mailto:raindrops-public@bogomips.org
 
-Mailing list archives are available over HTTP and NNTP:
+Mailing list archives are available over HTTPS and NNTP:
 
-http://bogomips.org/raindrops-public/
-nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
+* https://bogomips.org/raindrops-public/
+* nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
diff --git a/examples/watcher_demo.ru b/examples/watcher_demo.ru
index 1173461..7adba8e 100644
--- a/examples/watcher_demo.ru
+++ b/examples/watcher_demo.ru
@@ -1,5 +1,5 @@
 # This is a snippet of the config that powers
-# http://raindrops-demo.bogomips.org/
+# https://raindrops-demo.bogomips.org/
 # This may be used with the packaged zbatery.conf.rb
 #
 # zbatery -c zbatery.conf.ru watcher_demo.ru -E none
diff --git a/ext/raindrops/linux_tcp_info.c b/ext/raindrops/linux_tcp_info.c
index 5e25d4d..8a06f88 100644
--- a/ext/raindrops/linux_tcp_info.c
+++ b/ext/raindrops/linux_tcp_info.c
@@ -126,7 +126,7 @@ void Init_raindrops_linux_tcp_info(void)
          * - rcv_space
          * - total_retrans
          *
-         * http://kernel.org/doc/man-pages/online/pages/man7/tcp.7.html
+         * https://kernel.org/doc/man-pages/online/pages/man7/tcp.7.html
          */
         cTCP_Info = rb_define_class_under(cRaindrops, "TCP_Info", rb_cObject);
         rb_define_alloc_func(cTCP_Info, alloc);
diff --git a/lib/raindrops/aggregate.rb b/lib/raindrops/aggregate.rb
index 998d514..4fb731f 100644
--- a/lib/raindrops/aggregate.rb
+++ b/lib/raindrops/aggregate.rb
@@ -1,6 +1,6 @@
 # -*- encoding: binary -*-
 #
-# raindrops may use the {aggregate}[http://github.com/josephruscio/aggregate]
+# raindrops may use the {aggregate}[https://github.com/josephruscio/aggregate]
 # RubyGem to aggregate statistics from TCP_Info lookups.
 module Raindrops::Aggregate
   autoload :PMQ, "raindrops/aggregate/pmq"
diff --git a/lib/raindrops/middleware.rb b/lib/raindrops/middleware.rb
index da2fb9d..ea7f08a 100644
--- a/lib/raindrops/middleware.rb
+++ b/lib/raindrops/middleware.rb
@@ -62,9 +62,9 @@ require 'raindrops'
 # = Demo Server
 #
 # There is a server running this middleware (and Watcher) at
-#  http://raindrops-demo.bogomips.org/_raindrops
+#  https://raindrops-demo.bogomips.org/_raindrops
 #
-# Also check out the Watcher demo at http://raindrops-demo.bogomips.org/
+# Also check out the Watcher demo at https://raindrops-demo.bogomips.org/
 #
 # The demo server is only limited to 30 users, so be sure not to abuse it
 # by using the /tail/ endpoint too much.
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index f0abd1d..b0615f7 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -8,7 +8,7 @@ require "aggregate"
 # Raindrops::Watcher is a stand-alone Rack application for watching
 # any number of TCP and UNIX listeners (all of them by default).
 #
-# It depends on the {Aggregate RubyGem}[http://rubygems.org/gems/aggregate]
+# It depends on the {Aggregate RubyGem}[https://rubygems.org/gems/aggregate]
 #
 # In your Rack config.ru:
 #
@@ -35,28 +35,28 @@ require "aggregate"
 # Returns a plain text summary + histogram with X-* HTTP headers for
 # active connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt
+# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt
 #
 # === GET /active/$LISTENER.html
 #
 # Returns an HTML summary + histogram with X-* HTTP headers for
 # active connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html
+# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html
 #
 # === GET /queued/$LISTENER.txt
 #
 # Returns a plain text summary + histogram with X-* HTTP headers for
 # queued connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt
+# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt
 #
 # === GET /queued/$LISTENER.html
 #
 # Returns an HTML summary + histogram with X-* HTTP headers for
 # queued connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html
+# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html
 #
 # === POST /reset/$LISTENER
 #
@@ -95,9 +95,9 @@ require "aggregate"
 #
 # = Demo Server
 #
-# There is a server running this app at http://raindrops-demo.bogomips.org/
+# There is a server running this app at https://raindrops-demo.bogomips.org/
 # The Raindrops::Middleware demo is also accessible at
-# http://raindrops-demo.bogomips.org/_raindrops
+# https://raindrops-demo.bogomips.org/_raindrops
 #
 # The demo server is only limited to 30 users, so be sure not to abuse it
 # by using the /tail/ endpoint too much.
@@ -106,7 +106,7 @@ class Raindrops::Watcher
   attr_reader :snapshot
   include Rack::Utils
   include Raindrops::Linux
-  DOC_URL = "http://raindrops.bogomips.org/Raindrops/Watcher.html"
+  DOC_URL = "https://bogomips.org/raindrops/Raindrops/Watcher.html"
   Peak = Struct.new(:first, :last)
 
   def initialize(opts = {})