aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-web.postinst
Commit message (Collapse)AuthorAgeFiles
* Abort maintainer scripts on failureDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | The `set -e` flag has been enabled in the maintainer scripts. This fixes the Lintian warnings: * boca-autojudge: maintainer-script-ignores-errors [postinst] * boca-submission-tools: maintainer-script-ignores-errors [postinst] * boca-web: maintainer-script-ignores-errors [postinst] The packages boca-common and boca-db were altered to set the flag as early as possible in their maintainer scripts.
* Fix chown usage in maintainer scriptsDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | The maintainer scripts used by boca-common and boca-web used points to separate the user from its group, which is discouraged. The point has been replaced with a colon as recommended by chown's manpage. This fixes the Lintian warnings: * boca-common: maintainer-script-calls-chown-improperly "chown www-data.www-data" [postinst:51] * boca-web: maintainer-script-calls-chown-improperly "chown -R www-data.www-data" [postinst:5]
* d/boca-web.postinst does not enable SSLBruno Ribas2020-11-051
| | | | | | | Although is important to user SSL connections with BOCA we will not enable default sites because it needs more configuration to make it work properly Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* d/boca-web.postinst: Update PHP versionBruno Ribas2020-11-051
| | | | | | This is important to comply with the new Ubuntu 20.04LTS Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* d/boca-web.posinst: Resets stored password in debconfBruno Cesar Ribas2018-08-231
| | | | | | This is a security measure to avoid DB password in multiple files Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* d/boca-web.postinst: Remove line regarding safeexecBruno Cesar Ribas2018-08-221
| | | | | | safeexec is now part of boca-autojudge package Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* d/boca-web.postinst: Add commands to enable php-fpmBruno Cesar Ribas2018-08-221
| | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* Creating multiple packages for bocaBruno Cesar Ribas2018-08-221
Until now we had only one package for boca that contains all files. This approach is not correct since we may have multiple machines for some specific part of boca, eg, database and autojudge. This commit starts this new approach by updating Makefile, d/rules, d/*conffiles d/*postinst Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>