From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJl37-00080U-Bo for guix-patches@gnu.org; Tue, 28 Nov 2017 13:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJl34-0006Zf-Lk for guix-patches@gnu.org; Tue, 28 Nov 2017 13:56:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJl34-0006Za-Gi for guix-patches@gnu.org; Tue, 28 Nov 2017 13:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJl34-0008FR-8U for guix-patches@gnu.org; Tue, 28 Nov 2017 13:56:02 -0500 Subject: [bug#29491] Geomyidae (Gopher server) Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJl2E-0007WZ-2F for guix-patches@gnu.org; Tue, 28 Nov 2017 13:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJl2B-0006BM-Ca for guix-patches@gnu.org; Tue, 28 Nov 2017 13:55:10 -0500 Received: from aibo.runbox.com ([91.220.196.211]:43794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJl2B-0006A8-3I for guix-patches@gnu.org; Tue, 28 Nov 2017 13:55:07 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eJl28-0005AF-LW for guix-patches@gnu.org; Tue, 28 Nov 2017 19:55:04 +0100 Received: from dslb-092-073-184-243.092.073.pools.vodafone-ip.de ([92.73.184.243] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eJl1y-0002fx-Pl for guix-patches@gnu.org; Tue, 28 Nov 2017 19:54:54 +0100 Date: Tue, 28 Nov 2017 18:54:51 +0000 From: ng0 Message-ID: <20171128185451.e6o6looumoxnljj3@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xispbpjfy2dsti4i" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29491@debbugs.gnu.org --xispbpjfy2dsti4i Content-Type: multipart/mixed; boundary="i53cb5hw7buli3dy" Content-Disposition: inline --i53cb5hw7buli3dy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.gp= h /tmp/gopherd/ user@abyayala /gnu/store/j8q61m2wfqg2akl4y0lqacmyds9i7vc7-geomyidae-0.29/bi= n$ ./geomyidae -d -b /tmp/gopherd -p 70 getlistenfd4: Permission denied user@abyayala /gnu/store/j8q61m2wfqg2akl4y0lqacmyds9i7vc7-geomyidae-0.29/bi= n$ sudo ./geomyidae -d -b /tmp/gopherd -p 70 # now point lynx (or another browser) to the server, in other words: lynx g= opher://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) --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is --i53cb5hw7buli3dy Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-geomyidae.patch" Content-Transfer-Encoding: quoted-printable =46rom 8094126c54f37a95dd344869491e334c8e4c2c37 Mon Sep 17 00:00:00 2001 =46rom: ng0 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 writt= en 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=3Dgcc" + (string-append "PREFIX=3D" + (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))) --=20 2.15.0 --i53cb5hw7buli3dy-- --xispbpjfy2dsti4i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlodsPsACgkQ4i+bv+40 hYgHwA/+I/pNMPz5UIyWt2vfA4L+09G50sHh9B0x/a1rKEGuebY/4W7rdNUer5NE NJbRCoVyPV+uHgQy0YrtYNItHJu0TFIOzq+RMAzeQu1fjwLs4h5D0GHdbwz7lyM8 hFcJr8xucpHjjR4bRdt465dXos2JWc8OSoaHccQIrlFoILP99ZgzfKuEYGrDe40T M6TqnwVs3h3DaTn8xaxwcbXfvFjVUG/SjUzyzLd21fMqjfIJnhLDOVatLAJem6Ek n7XCCoV38ArC4M5owsMtH0hWv9F1ct6p5+NsBa/nLTMb1YHQQPHDHZfGYR7USpER RA3k4m4FXHvdsmSZOQVqkzcqfajvfR9+v5VuVHfRfXNXS7ItZFmnHIBTLDad4Stt K9drL4MjG7/y9gJFPbSGQ4Jt8MfQzNdk8d6k4Db0nmt+RvYn0TAsAdL1klraGQlI LeR3S+f5rPGnP08O7IMtH3blSpxwFoz0kVL6FRfofLYnIoD5UoJN+fGr2GvBkDmW O2/DAJW46+K891idKBFUy8tpPUnH/8SCK1Frmc05wEFSA877e83a8m/caiqKVqm/ qcLEOj/UePHqLTqg/gF0/ELLBKWD0F7EZA51zzJ3BJ7mBRUvgZieWi44RYtgFvje 1ItfaNYnWHJZKG0tWN4lILF5S0Hc1Ln42RaN1iXFvPCRKdR+bog= =OXRH -----END PGP SIGNATURE----- --xispbpjfy2dsti4i--