From: ng0 <ng0@n0.is>
To: 29491@debbugs.gnu.org
Subject: [bug#29491] Geomyidae (Gopher server)
Date: Tue, 28 Nov 2017 18:54:51 +0000 [thread overview]
Message-ID: <20171128185451.e6o6looumoxnljj3@abyayala> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]
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@abyayala ~ mkdir /tmp/gopherd ; cp ~/Downloads/geomyidae-0.29/index.gph /tmp/gopherd/
user@abyayala /gnu/store/j8q61m2wfqg2akl4y0lqacmyds9i7vc7-geomyidae-0.29/bin$ ./geomyidae -d -b /tmp/gopherd -p 70
getlistenfd4: Permission denied
user@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
[-- Attachment #1.2: 0001-gnu-Add-geomyidae.patch --]
[-- Type: text/plain, Size: 2004 bytes --]
From 8094126c54f37a95dd344869491e334c8e4c2c37 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@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.
---
gnu/packages/web.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 33689042a..fdb2fcae1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6130,3 +6130,39 @@ based on this library, allowing Perl programmers to easily validate HTML.")
object. It's meant as a replacement for @code{HTML::Lint}, which is written
in Perl but is not nearly as capable as @code{HTML::Tidy}.")
(license l:artistic2.0)))
+
+(define-public geomyidae
+ (package
+ (name "geomyidae")
+ (version "0.29")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
+ "geomyidae-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "0qxgxp6psfrgfqhndyq2z54nb1qrmvvljddnxdwp207jbz366bja"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list "CC=gcc"
+ (string-append "PREFIX="
+ (assoc-ref %outputs "out")))
+ #:tests? #f ;No tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "http://git.r-36.net/geomyidae")
+ (synopsis "Small gopher server")
+ (description
+ "Geomyidae is a gopherd for GNU/Linux and BSD.
+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)
+@end enumerate\n")
+ (license l:x11)))
--
2.15.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2017-11-28 18:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-28 18:54 ng0 [this message]
2017-12-01 10:14 ` bug#29491: Geomyidae (Gopher server) Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171128185451.e6o6looumoxnljj3@abyayala \
--to=ng0@n0.is \
--cc=29491@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.