Commit f32ac38c2f
allows to use pwgen to generate the initial password at the first
installation. However it won't work when apg isn't installed because:
* the postinst script has errexit option set ("set -e")
* at the first installation of ss-libev, apg or pwgen will be called to
generate the initial password in config.json
* when apg isn't installed, "pathfind apg" would return 1
* and the postinst script will immediately exit due to "set -e"
This commit temporarily turn off the errexit option for pathfind()
Commit f32ac38c2f
allows to use pwgen to generate the initial password at the first
installation. However it won't work when apg isn't installed because:
* the postinst script has errexit option set ("set -e")
* at the first installation of ss-libev, apg or pwgen will be called to
generate the initial password in config.json
* when apg isn't installed, "pathfind apg" would return 1
* and the postinst script will immediately exit due to "set -e"
This commit temporarily turn off the errexit option for pathfind()
Changes:
- Add license of manpages to copyright
- Change way to handle config file (config.json)
- Add lintian-overrides
- Rename/Update docs and install file
A few itmes deserve to be mentioned:
- use apg to generate random password when install.
- generated password won't get updated when upgrading / reinstall.
- add more to description to make lintian happy.
- generated Makefile.am don't need to be listed in debian/copyright.
- the way of installing systemd service is changed. Thanks to advice
from Boyuan.
- multi-arch can be archived without specific setting in debian/rules
- add debian/watch file