GNU bug report logs - #29491
Geomyidae (Gopher server)

Previous Next

Package: guix-patches;

Reported by: ng0 <ng0 <at> n0.is>

Date: Tue, 28 Nov 2017 18:56:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ng0 <ng0 <at> n0.is>
Subject: bug#29491: closed (Re: [bug#29491] Geomyidae (Gopher server))
Date: Fri, 01 Dec 2017 10:15:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#29491: Geomyidae (Gopher server)

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 29491 <at> debbugs.gnu.org.

-- 
29491: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29491
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> n0.is>
Cc: 29491-done <at> debbugs.gnu.org
Subject: Re: [bug#29491] Geomyidae (Gopher server)
Date: Fri, 01 Dec 2017 11:14:06 +0100
[Message part 3 (text/plain, inline)]
Heya,

ng0 <ng0 <at> n0.is> skribis:

> From 8094126c54f37a95dd344869491e334c8e4c2c37 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0 <at> no-reply.pragmatique.xyz>
> Date: Tue, 9 May 2017 18:52:31 +0000
> Subject: [PATCH 1/2] gnu: Add geomyidae.
>
> * gnu/packages/web.scm (geomyidae): New variable.

Excellent.  :-)

Applied with these changes:

[Message part 4 (text/x-patch, inline)]
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6f2f6b25d..eb0436cb3 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6131,21 +6131,20 @@ in Perl but is not nearly as capable as @code{HTML::Tidy}.")
      `(#:make-flags (list "CC=gcc"
                           (string-append "PREFIX="
                                          (assoc-ref %outputs "out")))
-       #:tests? #f ;No tests
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))))
+       #:tests? #f                                ;no tests
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure))))
     (home-page "http://git.r-36.net/geomyidae")
-    (synopsis "Small gopher server")
+    (synopsis "Small Gopher server")
     (description
-     "Geomyidae is a gopherd for GNU/Linux and BSD.
-Its features include:
+     "Geomyidae is a server for distributed hypertext protocol Gopher.  Its
+features include:
 
 @enumerate
-@item gopher menus (see index.gph for an example)
-@item dir listings (if no index.gph was found)
-@item cgi support (.cgi files are executed)
-@item search support in CGI files
-@item logging (-l option) and loglevels (-v option)
+@item Gopher menus (see @file{index.gph} for an example);
+@item directory listings (if no @file{index.gph} was found);
+@item CGI support (@file{.cgi} files are executed);
+@item search support in CGI files;
+@item logging with multiple log levels.
 @end enumerate\n")
-    (license l:x11)))
+    (license l:expat)))
[Message part 5 (text/plain, inline)]
Thanks!

Ludo’.
[Message part 6 (message/rfc822, inline)]
From: ng0 <ng0 <at> n0.is>
To: guix-patches <at> gnu.org
Subject: Geomyidae (Gopher server)
Date: Tue, 28 Nov 2017 18:54:51 +0000
[Message part 7 (text/plain, inline)]
So basically it works. I've just been undusting the patch
before it becomes bitrot.
To be useful in automation I'll finish my service at some
point, but the point of this small application is that
it can be run from the commandline without requiring
lots of tricky options.
It must be run as root. Example test that follows geomyidae(8):

user <at> abyayala ~ mkdir /tmp/gopherd ; cp ~/Downloads/geomyidae-0.29/index.gph /tmp/gopherd/
user <at> abyayala /gnu/store/j8q61m2wfqg2akl4y0lqacmyds9i7vc7-geomyidae-0.29/bin$ ./geomyidae -d -b /tmp/gopherd -p 70
getlistenfd4: Permission denied
user <at> abyayala /gnu/store/j8q61m2wfqg2akl4y0lqacmyds9i7vc7-geomyidae-0.29/bin$ sudo ./geomyidae -d -b /tmp/gopherd -p 70

# now point lynx (or another browser) to the server, in other words: lynx gopher://localhost
# output in the console where the server was started:

[Tue Nov 28 18:48:24 UTC 2017|::ffff:127.0.0.1:34650]  (serving)
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is
[0001-gnu-Add-geomyidae.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.