Following rules have been applied:
- script starts with shebang !#/bin/sh followed by blank line,
- script ends with exit 0 prepended by blank line,
- only stderr of adduser, addgroup or passwd is redirected to /dev/null,
- getent passwd/group instances has been removed,
- manual checking of file and group existence has been removed,
- `|| true` instances has been removed.
Comments and line wrapping have been preserved.
Same init / pre / post scripts as with bitcoin:
daemon runs in /var/lib/namecoin as namecoin:namecoin
APKBUILD tidied up:
source format corrected for github
patches fixed to -p1
qt() fixed
GUI builds as qt4 (there is no qt5 gui for namecoin yet)
locale patch revised to include the fix for qt - revision proposed
upstream.
python-dev is not available on 32 bit MUSL so the build will fail
there for both namecoin & bitcoin.