mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-12-04 14:46:37 -05:00
commit
e2dc5d9337
5
.gitignore
vendored
5
.gitignore
vendored
@ -5,10 +5,11 @@ src/*.o
|
||||
src/files.h
|
||||
src/filetypes.h
|
||||
src/functions.h
|
||||
src/bin2c
|
||||
src/gophernicus
|
||||
|
||||
README
|
||||
README.options
|
||||
bin2c
|
||||
gophernicus
|
||||
|
||||
#
|
||||
# Test leftovers
|
||||
|
@ -9,7 +9,7 @@ git:
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
@ -69,7 +69,7 @@ Additional type characters supported by Gophernicus:
|
||||
|
||||
Examples of valid resource lines:
|
||||
|
||||
1subdir
|
||||
1subdir
|
||||
1Relative internal link subdir
|
||||
1Absolute internal link /subdir
|
||||
1External link / gopher.floodgap.com 70
|
||||
@ -106,4 +106,3 @@ Execute script and parse output as subgophermap:
|
||||
|
||||
Here we stop processing the gophermap and include the regular menu:
|
||||
*
|
||||
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -58,7 +58,7 @@ binary-arch: build install
|
||||
dh_installdocs
|
||||
# dh_install
|
||||
# dh_installmenu
|
||||
dh_installdebconf
|
||||
dh_installdebconf
|
||||
dh_installlogrotate
|
||||
dh_installlogcheck
|
||||
# dh_installemacsen
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Gophernicus
|
||||
* Gophernicus
|
||||
*
|
||||
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
|
||||
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
|
||||
@ -397,7 +397,7 @@ void gopher_file(state *st)
|
||||
|
||||
if (strcmp(c, st->map_file) == MATCH)
|
||||
die(st, ERR_ACCESS, "Refusing to serve out a gophermap file");
|
||||
if (strcmp(c, st->tag_file) == MATCH)
|
||||
if (strcmp(c, st->tag_file) == MATCH)
|
||||
die(st, ERR_ACCESS, "Refusing to serve out a gophertag file");
|
||||
|
||||
/* Check for & run CGI and query scripts */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Gophernicus
|
||||
* Gophernicus
|
||||
*
|
||||
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
|
||||
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
|
||||
@ -214,7 +214,7 @@ size_t strlcat(char *dst, const char *src, size_t siz);
|
||||
#define DEFAULT_TAG "gophertag"
|
||||
#define DEFAULT_CGI "/cgi-bin/"
|
||||
#define DEFAULT_USERDIR "public_gopher"
|
||||
#define DEFAULT_WIDTH 67
|
||||
#define DEFAULT_WIDTH 67
|
||||
#define DEFAULT_CHARSET UTF_8
|
||||
#define MIN_WIDTH 33
|
||||
#define MAX_WIDTH 200
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Gophernicus
|
||||
* Gophernicus
|
||||
*
|
||||
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
|
||||
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Gophernicus
|
||||
* Gophernicus
|
||||
*
|
||||
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
|
||||
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
|
||||
|
Loading…
Reference in New Issue
Block a user