84ed1c5f61
via pkgsrc-wip The patches are adapated from FreeBSD's pygopherd "port". This is an all-new, modern Gopher server. It can serve documents with Gopher+, standard Gopher (RFC1436), and HTTP -- all on the same port. Pygopherd features a modular extension system as well as loadable scripts and much more. It contains full support for UMN gopherd systems -- including .Links, .names, .cap, searches, etc. Pygopherd also supports Bucktooth features such as gophermap files and executables. In addition to all this, there are Pygopherd's own extra features. All features are fully customizable and can be enabled or disabled by editing etc/pygopherd/pygopherd.conf.
13 lines
613 B
Text
13 lines
613 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2003/09/30 17:27:30 recht Exp $
|
|
|
|
--- conf/pygopherd.conf.orig 2003-08-23 23:31:03.000000000 +0200
|
|
+++ conf/pygopherd.conf 2003-08-28 20:40:35.000000000 +0200
|
|
@@ -119,7 +119,7 @@
|
|
# specify multiple files here -- just separate them with a colon.
|
|
# ALL of them that are found will be read.
|
|
|
|
-mimetypes = ./conf/mime.types:/etc/pygopherd/mime.types:/etc/mime.types
|
|
+mimetypes = ./conf/mime.types:%%PREFIX%%/etc/pygopherd/mime.types:/etc/mime.types
|
|
|
|
# Encodings. You can use the default with the following syntax. The
|
|
# mimetypex.encodings_map is {'.Z': 'compress', '.gz': 'gzip'}.
|