7 Commits

Author SHA1 Message Date
Przemyslaw Pawelczyk
da4e96aace Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):

    addgroup -S -g ... GROUP
    adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
2016-04-25 06:56:47 +00:00
Przemyslaw Pawelczyk
a60b9f07de Improve consistency of scripts using adduser/addgroup.
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.
2016-04-25 06:55:43 +00:00
Przemyslaw Pawelczyk
a593d306c9 Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:

    Linux user,,,
2016-04-25 06:54:18 +00:00
Przemyslaw Pawelczyk
694ace841f Reorder options passed to addgroup in scripts: make -S first.
It's only for consistency and to ease spotting lack of it.
2016-04-25 06:51:49 +00:00
Shiz
15c146fc2a testing/thttpd: create group
The pre-install script assumed the thttpd group already exists,
but it doesn't and thus adduser -G thttpd will fail, leading to a cascading
failure in the pre-install script.
2015-10-20 08:16:57 +00:00
Francesco Colista
7180e3fee7 testing/thttpd: upgrade to 2.26. Now it belongs to www-data, remove setuid from makeweb 2015-07-27 08:27:44 +00:00
z3bra
5b11fa3aaf testing/thttpd: new aport 2014-10-22 17:35:04 +02:00