util.signal: Add support for signalfd(2) on Linux
signalfd allows handling signal events using the same method as sockets,
via file descriptors. Thus all signal dispatch can go through the same
main event loop as everything else, removing need for thread-scary
signal handling where execution would just jump to the signal handler
regardless of the state of Lua, and needing to keep track of Lua
states/threads.
#!/bin/sh -eu
wget -N https://xmpp.org/extensions/xeplist.xml
xml2 <xeplist.xml |
2csv xep-infos/xep number version |
grep -v ^xxxx,|
sort -g > xepinfos.csv
xml2 < doc/doap.xml |
2csv -d ' ' xmpp:SupportedXep @rdf:resource xmpp:version |
sed -r 's/https?:\/\/xmpp\.org\/extensions\/xep-0*([1-9][0-9]*)\.html/\1/' |
while read -r xep ver ; do
grep "^$xep," xepinfos.csv | awk -F, "\$2 != \"$ver\" { print (\"XEP-\"\$1\" updated to \"\$2\" from $ver\") }"
done