summary refs log tree commit diff
Commit message (Collapse)AuthorAge
...
* Fix chkmail loop break conditionJune McEnroe2021-10-02
| | | | | padvance_magic() returns -1 when there are no more paths left, not zero.
* Check sizes of mailboxes, not timesJune McEnroe2021-10-02
| | | | | | This fixes "you have mail" showing right after checking and deleting mail, resulting in a modified but empty mailbox. Also somehow fixes "you have mail" always showing 3(!) times.
* Replace filter shell scripts with C programJune McEnroe2021-10-02
| | | | | Eliminates the need for a shell inside the chroot, along with cat, mktemp and rm. It's likely a bit faster too.
* Add htagml -m to rename main tagJune McEnroe2021-10-01
|
* Remove igpJune McEnroe2021-10-01
| | | | I'm not serving gopher anymore.
* Change default WEBROOTs to /var/wwwJune McEnroe2021-10-01
|
* Remove planJune McEnroe2021-10-01
| | | | | I haven't updated it in ages and I don't want to run (unmodified) finger on OpenBSD since it likes to tell everyone your login IP??
* Build and copy static binaries to /var/wwwJune McEnroe2021-09-30
| | | | Ideally these wouldn't require sh, cat, rm, mktemp.
* Silence owner-info errorJune McEnroe2021-09-30
| | | | | cgit runs in a chroot. It is normal that it cannot look up user info in /etc/passwd.
* pledge(2) mtagsJune McEnroe2021-09-30
|
* pledge(2) htagmlJune McEnroe2021-09-30
|
* pledge(2) hilexJune McEnroe2021-09-30
|
* Remove link to gopherJune McEnroe2021-09-29
| | | | | Migrating things over, I don't think it's worth continuing to serve text over gopher.
* Invert doas/sudo aliasJune McEnroe2021-09-27
| | | | Gotten a lot more used to running doas!
* Add pyro to ssh configJune McEnroe2021-09-26
|
* Update dash autoconf/automake filesJune McEnroe2021-09-27
| | | | No idea why it made me do this...
* Add boot commands for serial consoleJune McEnroe2021-09-26
|
* Publish "Installing OpenBSD on Linode"June McEnroe2021-09-26
|
* Use tiny UTF-8-aware col -b replacementJune McEnroe2021-09-26
| | | | | | OpenBSD col(1) doesn't understand UTF-8 and will delete all of it. Stupid, especially when mandoc(1) tells you to use it to remove man formatting. I shouldn't have to write something so trivial.
* Install up to cgi-binJune McEnroe2021-09-25
|
* Clean up up (ugh) somewhat againJune McEnroe2021-09-25
|
* Update root path in up.shJune McEnroe2021-09-25
|
* Disable HashKnownHostsJune McEnroe2021-09-25
| | | | All this really does is make fixing problems more difficult.
* Add scout to ssh configJune McEnroe2021-09-25
|
* Sandbox up on both FreeBSD and OpenBSDJune McEnroe2021-09-25
| | | | | | This is a bit messy. pledge(2) calls based on [1]. [1]: https://kristaps.bsd.lv/kcgi/tutorial6.html
* Set SO_REUSEADDR in quickJune McEnroe2021-09-25
|
* Revert "Add cat alias using less"June McEnroe2021-09-25
| | | | | | | This reverts commit a64c3653d5df5e823fcdd07a540e240283816683. Yeah this really doesn't work on OpenBSD. I kind of got into the habit of explicitly running less anyway.
* Pledge downgradeJune McEnroe2021-09-24
|
* Set original socket CLOEXECJune McEnroe2021-09-24
|
* Consume request headers using MSG_PEEKJune McEnroe2021-09-24
| | | | | | Use MSG_PEEK to determine where the request headers end and consume only up to there, leaving the CGI process to read any request body directly from the socket.
* Set only HTTP_HOSTJune McEnroe2021-09-24
| | | | | | And only because kcgi expects it. This is what I wrote originally, because every HTTP_ variable should be unset between each request, but this doesn't track them.
* Scroll by single lines in xtermJune McEnroe2021-09-23
|
* Hide htop "function bar"June McEnroe2021-09-23
| | | | Useless thing...
* Allow FocusEvents in xtermJune McEnroe2021-09-23
| | | | | | | Oops! This whole time I thought OpenBSD xterm for some reason didn't support focus events. It turns out allowMouseOps: false disables them by default. Replace the disallowedMouseOps list with everything but.
* Use NI_NUMERICSERVJune McEnroe2021-09-23
|
* Make up build away from FreeBSDJune McEnroe2021-09-23
|
* Add quickJune McEnroe2021-09-23
|
* Add The HobbitJune McEnroe2021-09-23
| | | | | Surprisingly good for something written by a man like a hundred years ago!
* Remove PSF fontsJune McEnroe2021-09-22
| | | | They were fun to make but I never actually used them.
* Remove Linux-specific utilitiesJune McEnroe2021-09-22
| | | | I haven't used these in ages.
* Call sandbox in CGI modeJune McEnroe2021-09-22
| | | | Otherwise upload won't actually work.
* Support HTTP PUT in upJune McEnroe2021-09-22
| | | | | | | | For use by Palaver[1]. Unfortunately, at least in the current App Store version of Palaver, this doesn't work correctly with basic auth. [1]: https://palaverapp.com/guides/commands/set.html#ui-image_service
* Remove default faviconJune McEnroe2021-09-22
| | | | I hate these things and also this one sucks.
* Use Z_FILTERED strategyJune McEnroe2021-09-21
|
* Recalculate various lengths only as neededJune McEnroe2021-09-21
| | | | | | This actually speeds things up quite a bit, saving roughly a second on a big PNG screenshot. Almost all the remaining time is spent in deflate.
* Rewrite pngo, add explicit optionsJune McEnroe2021-09-21
| | | | Interesting to see how my code habits have changed.
* Fix /* **/ comment matchingJune McEnroe2021-09-16
|
* Remove typer, add downgrade to READMEJune McEnroe2021-09-15
|
* Set bot mode on downgradeJune McEnroe2021-09-15
|
* Enter capsicum in downgradeJune McEnroe2021-09-15
|