From 333535b06eca9a80b1caffe93e243c3815b63f8e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 6 Jan 2020 09:54:51 +0000 Subject: replace bogomips.org with yhbt.net The expiration for bogomips.org is coming up and I'm not keen on paying or supporting extortionists. Not wanting to be beholden to ICANN or any powerful organizations, .onion sites are available to Tor users: http://raindrops.ou63pmih66umazou.onion/ http://ou63pmih66umazou.onion/raindrops.git/ http://ou63pmih66umazou.onion/raindrops-public/ (the demo is not yet available via .onion, yet, could be a bit) --- .olddoc.yml | 13 ++++++------- GNUmakefile | 2 +- README | 11 ++++++----- examples/watcher_demo.ru | 2 +- ext/raindrops/linux_inet_diag.c | 2 +- lib/raindrops.rb | 2 +- lib/raindrops/middleware.rb | 4 ++-- lib/raindrops/watcher.rb | 14 +++++++------- raindrops.gemspec | 4 ++-- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.olddoc.yml b/.olddoc.yml index 9792974..584b99b 100644 --- a/.olddoc.yml +++ b/.olddoc.yml @@ -1,14 +1,13 @@ --- -cgit_url: https://bogomips.org/raindrops.git -git_url: git://bogomips.org/raindrops.git -rdoc_url: https://bogomips.org/raindrops/ -public_email: raindrops-public@bogomips.org +cgit_url: https://yhbt.net/raindrops.git/ +rdoc_url: https://yhbt.net/raindrops/ +public_email: raindrops-public@yhbt.net ml_url: -- https://bogomips.org/raindrops-public/ +- https://yhbt.net/raindrops-public/ - http://ou63pmih66umazou.onion/raindrops-public nntp_url: - 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 +- git clone https://yhbt.net/raindrops.git +- torsocks git clone http://ou63pmih66umazou.onion/raindrops.git diff --git a/GNUmakefile b/GNUmakefile index 9f833be..f89c3c2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ all:: -RSYNC_DEST := bogomips.org:/srv/bogomips/raindrops +RSYNC_DEST := yhbt.net:/srv/yhbt/raindrops rfpackage := raindrops include pkg.mk diff --git a/README b/README index 723d125..d8e9636 100644 --- a/README +++ b/README @@ -59,20 +59,20 @@ If you use RubyGems: See Raindrops::Middleware and Raindrops::LastDataRecv documentation for use Rack servers. The entire library is fully-documented and we are responsive on the publically archived mailing list -(mailto:raindrops-public@bogomips.org) if +(mailto:raindrops-public@yhbt.net) if you have any questions or comments. == Development You can get the latest source via git from the following locations: - git://bogomips.org/raindrops.git + git://yhbt.net/raindrops.git git://repo.or.cz/raindrops.git (mirror) You may browse the code from the web and download the latest snapshot tarballs here: -* https://bogomips.org/raindrops.git +* https://yhbt.net/raindrops.git * http://repo.or.cz/w/raindrops.git (gitweb) Inline patches (from "git format-patch") to the mailing list are @@ -90,11 +90,12 @@ raindrops is licensed under the LGPL-2.1+ All feedback (bug reports, user/development discussion, patches, pull requests) go to the publically archived mailing list: -mailto:raindrops-public@bogomips.org +mailto:raindrops-public@yhbt.net Mailing list archives are available over HTTPS and NNTP: -* https://bogomips.org/raindrops-public/ +* https://yhbt.net/raindrops-public/ +* http://ou63pmih66umazou.onion/raindrops-public/ * nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops Since archives are public, scrub sensitive information and diff --git a/examples/watcher_demo.ru b/examples/watcher_demo.ru index 7adba8e..91f4cca 100644 --- a/examples/watcher_demo.ru +++ b/examples/watcher_demo.ru @@ -1,5 +1,5 @@ # This is a snippet of the config that powers -# https://raindrops-demo.bogomips.org/ +# https://yhbt.net/raindrops-demo/ # 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_inet_diag.c b/ext/raindrops/linux_inet_diag.c index 615c931..60c80f1 100644 --- a/ext/raindrops/linux_inet_diag.c +++ b/ext/raindrops/linux_inet_diag.c @@ -205,7 +205,7 @@ static void bug_warn_nogvl(const char *fmt, ...) va_end(ap); fprintf(stderr, "Please report how you produced this at "\ - "raindrops-public@bogomips.org\n"); + "raindrops-public@yhbt.net\n"); fflush(stderr); } diff --git a/lib/raindrops.rb b/lib/raindrops.rb index d3913a8..ba273eb 100644 --- a/lib/raindrops.rb +++ b/lib/raindrops.rb @@ -12,7 +12,7 @@ # Unlike many classes in this package, the core Raindrops class is # intended to be portable to all reasonably modern *nix systems # supporting mmap(). Please let us know if you have portability -# issues, patches or pull requests at mailto:raindrops-public@bogomips.org +# issues, patches or pull requests at mailto:raindrops-public@yhbt.net class Raindrops # Used to represent the number of +active+ and +queued+ sockets for diff --git a/lib/raindrops/middleware.rb b/lib/raindrops/middleware.rb index ea7f08a..d5e3927 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 -# https://raindrops-demo.bogomips.org/_raindrops +# https://yhbt.net/raindrops-demo/_raindrops # -# Also check out the Watcher demo at https://raindrops-demo.bogomips.org/ +# Also check out the Watcher demo at https://yhbt.net/raindrops-demo/ # # 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 b0615f7..ac5b895 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -35,28 +35,28 @@ require "aggregate" # Returns a plain text summary + histogram with X-* HTTP headers for # active connections. # -# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt +# e.g.: curl https://yhbt.net/raindrops-demo/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 https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html +# e.g.: curl https://yhbt.net/raindrops-demo/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 https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt +# e.g.: curl https://yhbt.net/raindrops-demo/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 https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html +# e.g.: curl https://yhbt.net/raindrops-demo/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 https://raindrops-demo.bogomips.org/ +# There is a server running this app at https://yhbt.net/raindrops-demo/ # The Raindrops::Middleware demo is also accessible at -# https://raindrops-demo.bogomips.org/_raindrops +# https://yhbt.net/raindrops-demo/_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 = "https://bogomips.org/raindrops/Raindrops/Watcher.html" + DOC_URL = "https://yhbt.net/raindrops/Raindrops/Watcher.html" Peak = Struct.new(:first, :last) def initialize(opts = {}) diff --git a/raindrops.gemspec b/raindrops.gemspec index 80ee957..1de56a0 100644 --- a/raindrops.gemspec +++ b/raindrops.gemspec @@ -8,13 +8,13 @@ Gem::Specification.new do |s| s.version = (ENV["VERSION"] ||= '0.18.0').dup s.authors = ["raindrops hackers"] s.description = File.read('README').split("\n\n")[1] - s.email = %q{raindrops-public@bogomips.org} + s.email = %q{raindrops-public@yhbt.net} s.extensions = %w(ext/raindrops/extconf.rb) s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f| File.exist?(f) end s.files = manifest - s.homepage = 'https://bogomips.org/raindrops/' + s.homepage = 'https://yhbt.net/raindrops/' s.summary = 'real-time stats for preforking Rack servers' s.required_ruby_version = '>= 1.9.3' s.test_files = test_files -- cgit v1.2.3-24-ge0c7