Blob
- Date:
- Message:
- tag 1.8.2 -- "Lightbulb Sun" bugfix release gmid 1.8.2 "Lightbulb Sun" bugfix release ========================================= Released March 26, 2022. signify(1) pubkeys for this release: RWTy3UJQzpxBUAymBwb2EGLLm0b3H/1n8hzhaC9HYFYzNuTavGt9QSwC Bug Fixes ~~~~~~~~~ * fix a CGI timing issue: if a connection handled by a CGI scripts is interrupted with the right timing it causes the server process to exit with "fatal in client_by_id: invalid id X". New Features ~~~~~~~~~~~~ * add a new block `type { ... }' to define mime types mapping. Improvements ~~~~~~~~~~~~ * use shell built-in `command' instead of which(1), prodded by cage and Allen Sobot. * configure script: allow to set MANDIR from cmdline (Allen Sobot) * add systemd-sysusers sample file in contrib/ (Nakaya) * [linux/seccomp] allow fstatat64(2), llseek(2) and sigreturn(2), needed by glibc on armv7. (Tobias Berger) * [linux/seccomp] tightens rules by allowing openat(2) only with the O_RDONLY flag.
- Actions:
- History | Blame | Raw File
1 MANPAGES = ../gmid.1 \2 ../gg.14 PAGES = index.gmi \5 changelog.gmi \6 contrib.gmi \7 quickstart.gmi9 TITLE_index.gmi = home10 TITLE_changelog.gmi = changelog11 TITLE_contrib.gmi = contrib12 TITLE_quickstart.gmi = quickstart14 REPOLOGY_BANNER = https://repology.org/badge/vertical-allrepos/gmid.svg15 REPOLOGY_URL = https://repology.org/project/gmid/versions17 SUBST = ./subst GITHUB=https://github.com/omar-polo/gmid \18 VERS=1.8.2 \19 CURV=1.8 \20 NEXTV=1.9 \21 TREE=https://git.omarpolo.com/gmid/tree23 SUBST_GEM = ${SUBST} MANEXT=txt EXT=gmi REPOLOGY=${REPOLOGY_URL}24 SUBST_WWW = ${SUBST} MANEXT=html EXT=html REPOLOGY=${REPOLOGY_BANNER}26 .PHONY: all dirs manpages serve-www serve-gemini upload clean titles28 all: dirs manpages pages29 cp style.css www/30 cp vim-screenshot.png www/31 cp vim-screenshot.png gemini/33 dirs:34 mkdir -p gemini www36 manpages:37 .for m in ${MANPAGES}38 ./mdoc2html.sh $m www/${m:T}.html39 man -O width=65 -Tutf8 -l $m | col -b > gemini/${m:T}.txt40 .endfor42 pages:43 .for p in ${PAGES}44 ${MAKE} titles-gem | ./menu.pl $p gemini > gemini/$p45 ${SUBST_GEM} $p >> gemini/$p47 ${SUBST_WWW} TITLE=${TITLE_${p}:Q} header.html > www/${p:.gmi=.html}48 ${MAKE} titles-www | ./menu.pl "${p:.gmi=.html}" html >> www/${p:.gmi=.html}49 ${SUBST_WWW} $p | ./gem2html >> www/${p:.gmi=.html}50 cat footer.html >> www/${p:.gmi=.html}51 .endfor53 serve-www:54 python3 -m http.server --directory www 888856 serve-gemini:57 gmid -p 1966 ./gemini59 upload:60 openrsync --rsync-path=openrsync --del -a www/ antartica:/var/www/gmid.omarpolo.com61 openrsync --rsync-path=openrsync --del -a gemini/ antartica:/var/gemini/gmid.omarpolo.com63 titles-gem:64 .for p in ${PAGES}65 @printf "%s %s\n" "${p}" ${TITLE_${p}:Q}66 .endfor68 titles-www:69 .for p in ${PAGES}70 @printf "%s %s\n" "${p:.gmi=.html}" ${TITLE_${p}:Q}71 .endfor