Omar Polo
be97b57fc8
don't set d_reclen
...
It's not actually used and doesn't seem to be available on DragonflyBSD
(at least) judging from the patching in dports:
f66bf875f7
2022-07-07 08:54:26 +00:00
Omar Polo
2573332d7f
don't hardcode urls; use TREE 'macro'
2022-07-07 08:54:26 +00:00
Anna “CyberTailor”
07fbbf0610
include contrib/ in dist
2022-07-07 10:38:49 +02:00
Omar Polo
3bba4fc55f
remove the OpenBSD' rc file
...
now that gmid is packaged on OpenBSD the rc file is maintained in the
ports tree.
2022-07-04 19:22:08 +00:00
Omar Polo
f759119d2f
bump version
2022-07-04 19:18:39 +00:00
Omar Polo
f3f4543119
don't hardcode version numbers
2022-07-04 19:18:30 +00:00
Omar Polo
b48eb0db52
add missing manpage for gg
2022-07-04 15:04:46 +00:00
Omar Polo
1f6de7491c
changes for 1.8.4
2022-07-04 14:51:39 +00:00
Omar Polo
1670b5f3ae
mention the codeberg mirror too
2022-07-04 14:48:18 +00:00
Omar Polo
c6fb44edd8
remove mentions of the precompiled binaries
2022-07-04 14:48:10 +00:00
Omar Polo
d45d5306e3
fix test_auto_index
2022-07-04 14:33:45 +00:00
Omar Polo
0d823f229d
sync
2022-07-04 14:31:20 +00:00
Omar Polo
543f4a66fe
add a trailing / for dirs in the directory index.
2022-07-04 14:31:17 +00:00
Omar Polo
5734723f92
typo
2022-07-04 14:09:52 +00:00
Omar Polo
870063d344
include Makefile.depend too
2022-07-04 13:53:51 +00:00
Omar Polo
7fc52d5104
add an example configure.local based on mandoc-portable' one
2022-07-04 13:44:53 +00:00
Omar Polo
96e3c01314
refactor the makefile / configure
...
steal more (good) stuff from mandoc-portable :)
2022-07-04 13:44:38 +00:00
Omar Polo
225686d7fd
fix getprogname shim
...
HAVE_PROGRAM_INVOCATION_SHORT_NAME is always defined; look at wether
it's zero or not.
2022-07-04 13:43:27 +00:00
Omar Polo
a3ebbccb8e
the install target ought to depend on gg too
2022-07-04 09:52:44 +00:00
Omar Polo
a555e0d67b
copyright years
2022-07-04 09:48:39 +00:00
Omar Polo
cb2b85512c
add proper copyrights
...
was a mistake on my part and a leftover from the first iterations.
Initially I only stole a few bits, that's why the comment but not the
copyright, but then i threwed out and restarted using oconfigure.
Then the configure script has its own independent changes, but need to
give attribution nevertheless.
2022-07-04 09:43:51 +00:00
Omar Polo
617ae38546
add some more regress for the encodings
2022-07-04 09:36:55 +00:00
Omar Polo
475205fa0f
check for the expected page in test_auto_index
...
not just the number of lines, check the full page!
2022-07-04 09:36:31 +00:00
Omar Polo
ddd3c5529f
sync
2022-07-04 09:32:02 +00:00
Omar Polo
f2f8eb35c8
encode file names in the directory index
...
Spotted the hard way by cage
2022-07-04 09:31:36 +00:00
Omar Polo
3bd4a6dea0
log when it fails to open a file because of permissions
2022-07-04 08:25:15 +00:00
Omar Polo
df40c96931
changelog
2022-07-04 08:15:45 +00:00
Omar Polo
5e41063f1b
bugfix: allow @ and : in paths
...
gmid would disallow the '@' and ':' characters in paths (unless
percent-encoded.) Issue reported by freezr.
2022-07-04 08:15:39 +00:00
Omar Polo
df9b379081
remove mentions of GPG, I stopped signing with it for a while already
2022-05-02 18:48:40 +00:00
Omar Polo
db48d276a7
tweaks
2022-05-02 17:48:55 +00:00
Omar Polo
7b27af8388
log when the certificate was successfully generated
2022-04-12 17:40:58 +00:00
Omar Polo
2962200607
there are no aarch64 binaries currently
2022-04-08 16:40:18 +00:00
Omar Polo
48589d9de9
move the preview to github (temporarly)
2022-04-08 16:40:18 +00:00
Omar Polo
60d8851fec
typos
2022-04-08 16:40:18 +00:00
Omar Polo
bc70003f93
wording
2022-04-08 16:40:18 +00:00
Omar Polo
8addd12c1a
don't need to re-exec ./configure && make
2022-04-08 16:36:25 +00:00
Omar Polo
b6c093c99a
bundle a copy of /usr/share/misc/mime.types
2022-04-08 15:50:53 +00:00
Omar Polo
5c4e8e97bd
wording
2022-04-08 15:45:46 +00:00
Omar Polo
93cab6dc78
document the implicit mapping for text/gemini
...
and remove the explicit mapping from the documentation and test files.
2022-04-08 15:36:59 +00:00
Omar Polo
6d362b3556
revise changelog
2022-04-08 15:26:16 +00:00
Omar Polo
8fb0df4d79
hardcode the mapping text/gemini -> .gmi/.gemini
...
It's still possible to override this automatic mapping by just adding
an entry like
application/octet-stream gemini gmi
in the `types' block.
2022-04-08 15:25:50 +00:00
Omar Polo
99a95569a4
sync
2022-04-08 15:14:21 +00:00
Omar Polo
18bd83915e
sort the MIME mappings and do a binary search to match
2022-04-08 15:14:09 +00:00
Omar Polo
ca44613693
tweaks
2022-04-08 14:19:58 +00:00
Omar Polo
5eb842cd1f
rework the 'running gmid as a daemon' example a bit
2022-04-08 14:08:33 +00:00
Omar Polo
5f03bf170f
document the `types' behavior
2022-04-08 14:01:26 +00:00
Omar Polo
16c391a063
add an entry for text/gemini in the `types' example
...
if using `types' the internal listing is not used, so show how to add
the entries for text/gemini when using /usr/share/misc/mime.types.
2022-04-08 13:59:20 +00:00
Omar Polo
fde8750859
fix test_include_mime after `types' change
2022-04-08 13:52:48 +00:00
Omar Polo
54203115cd
don't load the built-in list when using `types'
2022-04-08 13:52:35 +00:00
Omar Polo
9b64995359
wrong email...
2022-04-08 13:45:33 +00:00