about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2020-02-22 00:11:17 +0000
committerEric Wong <normalperson@yhbt.net>2020-02-22 00:11:17 +0000
commit11e85cc82641de1cc9e6df2e886409bc8567f958 (patch)
treeef8ef92b2433848635e07f3f09db6a3771f6cb2e
parentc5fab448d4260594a876a2d29339156e45bfd379 (diff)
downloadmahoro-11e85cc82641de1cc9e6df2e886409bc8567f958.tar.gz
update URLs to YHBT.net
bogomips.org is going away as I can't afford it.
librelist has also been dead for years, now, so setup
a public-inbox in its place.
-rw-r--r--GNUmakefile2
-rw-r--r--README11
-rw-r--r--ext/mahoro/mahoro.c10
-rw-r--r--mahoro.gemspec10
4 files changed, 13 insertions, 20 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9fb82f5..8769ce5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -58,6 +58,6 @@ package: $(gem) $(tgz)
 RSYNC = rsync
 publish_doc: all
         $(RSYNC) --delete --exclude .gitignore -av \
-                www/ dcvr:/srv/bogomips/mahoro/
+                www/ yhbt.net:/srv/yhbt/mahoro/
 
 .PHONY: publish_doc package
diff --git a/README b/README
index 6f8abc3..36ac831 100644
--- a/README
+++ b/README
@@ -5,12 +5,9 @@ This can be used in place of calling the file(1) command in Ruby scripts.
 Shu-yu Guo is the original author but all maintenance is handled by
 Eric Wong nowadays.
 
-documentation: http://bogomips.org/mahoro/API
-source: git clone git://bogomips.org/mahoro.git
-cgit web viewer: http://bogomips.org/mahoro.git/
-mailing list: mahoro@librelist.org (plain-text only, please)
+documentation: https://yhbt.net/mahoro/API
+source: git clone https://yhbt.net/mahoro.git
+cgit web viewer: https://yhbt.net/mahoro.git/
+public inbox: mahoro@public-inbox.org (plain-text only, please)
 maintainer: Eric Wong <normalperson@yhbt.net>
 libmagic: https://en.wikipedia.org/wiki/Libmagic
-
-Feel free to contact Eric Wong privately via plain-text email if you're not
-comfortable with the public mailing list.
diff --git a/ext/mahoro/mahoro.c b/ext/mahoro/mahoro.c
index 01d1cf8..b687e21 100644
--- a/ext/mahoro/mahoro.c
+++ b/ext/mahoro/mahoro.c
@@ -391,17 +391,15 @@ void Init_mahoro(void)
          * https://en.wikipedia.org/wiki/Libmagic
          *
          * Source code is available via git:
-         *        git clone git://bogomips.org/mahoro.git
+         *        git clone https://yhbt.net/mahoro.git
          *
          * And viewable with a web browser via cgit:
-         *        http://bogomips.org/mahoro.git
+         *        https://yhbt.net/mahoro.git
          *
          * Eric Wong is the current maintainer of Mahoro.
          * Plain-text comments, questions, bug reports, patches and
-         * pull requests are all highly welcome on the public mailing list:
-         * mahoro@librelist.org
-         *
-         * You may contact Eric privately at normalperson@yhbt.net
+         * pull requests are all highly welcome on the public inbox:
+         * mahoro@public-inbox.org
          *
          * Please generate patches using the "git format-patch" command.
          * Use of "git send-email" to send a patch is recommended.
diff --git a/mahoro.gemspec b/mahoro.gemspec
index 67335c6..9c53052 100644
--- a/mahoro.gemspec
+++ b/mahoro.gemspec
@@ -1,9 +1,7 @@
-ENV["VERSION"] or abort "VERSION= must be specified"
-
 Gem::Specification.new do |s|
   s.name = %q{mahoro}
-  s.version = ENV["VERSION"].dup
-  s.homepage = "http://bogomips.org/mahoro/README"
+  s.version = (ENV['VERSION'] || '0.4').dup
+  s.homepage = "https://yhbt.net/mahoro/README"
   s.authors = [ "Shu-yu Guo", "Eric Wong" ]
   s.description = %{
 An interface to libmagic to determine file types using "magic" numbers.
@@ -11,8 +9,8 @@ This can be used in place of calling the file(1) command in Ruby scripts.
 Shu-yu Guo is the original author but all maintenance is handled by
 Eric Wong nowadays.
 
-source: http://bogomips.org/mahoro.git/
-documentation: http://bogomips.org/mahoro/
+source: https://yhbt.net/mahoro.git/
+documentation: https://yhbt.net/mahoro/
   }.strip
   s.email = %q{normalperson@yhbt.net}
   s.files = `git ls-files`.split(/\n/)