aboutsummaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAgeFiles
* Release 1.5.15-1 for Ubuntu Jammy (22.04 LTS)Davi Antônio da Silva Santos2023-03-041
| | | | | | | Update changelog with all the changes made since its last update on commit 64e2fe62. The package was also migrated to Ubuntu Jammy, also known as 22.04 LTS.
* Conflict with mod_php instead of disabling itDavi Antônio da Silva Santos2023-03-042
| | | | | | | The boca-web package will not try to disable Apache's php8.1 module (mod_php for PHP 8.1) anymore. It will conflict with the package that provides the offending module for the distribution's current PHP version, libapache2-mod-php.
* Remove Apache HTTPD commands from MakefileDavi Antônio da Silva Santos2023-03-041
| | | | | | | The package Makefile contained Apache HTTPD commands, and some of them were repeated in the boca-web post installation maintainer script. The commands were removed from the Makefile, as this requires having a valid apache2 installation as a build dependency.
* Migrate dependencies and maintainer scripts to PHP 8.1Davi Antônio da Silva Santos2023-03-042
| | | | | | | | The dependencies on PHP packages have been explicitly set to use PHP version 8.1. The boca-web post installation maintainer script has been updated with extra descriptions and a the required steps to migrate from PHP 7.4.
* Enable debhelper automatic generation of shell codeDavi Antônio da Silva Santos2023-03-045
| | | | | | | | | | | | | | | | | | The maintainer scripts have been modified with the addition of `#DEBHELPER#`. This enables dh_installdeb to automatically generate shell code on maintainer scripts. The following Lintian warnings have been addressed: * boca source: maintainer-script-lacks-debhelper-token [debian/boca-autojudge.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-common.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-db.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-submission-tools.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-web.postinst]
* Abort maintainer scripts on failureDavi Antônio da Silva Santos2023-03-045
| | | | | | | | | | | 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-042
| | | | | | | | | | | | 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]
* Fix packages' short and long descriptionsDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | The packages' long and short descriptions have been rewritten to address the following errors, warnings and information found by Lintian: * boca-autojudge: description-is-pkg-name BOCA - AutoJudge * boca: description-starts-with-package-name * boca: empty-binary-package * boca: synopsis-is-a-sentence "BOCA is a software created to control a contest with the ACM ICPC rules.".
* Drop unversioned dependencies on essential packageDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | Debian Policy Manual section 3 states that a package is strongly advised against depending on essential packages without except when explicitly declaring a version constraint. Essential packages are defined as "the minimal set of functionality that must be available and usable on the system at all times" according to the Debian Policy Manual section 3.8. Given the reasons mentioned above, the dependencies on coreutils, an essential package, have been removed from boca-common and boca-submission-tools. This has also cleared the project from the Lintian error `depends-on-essential-package-without-using-version`.
* Add required field Standards-VersionDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | The Standards-Version is a mandatory field and its absence violates the Debian Policy and generates an error on lintian (required-field). Also check the lintian recommended documentation in case of a package that has been detected by the `required-field` rule/tag: * Debian Policy Manual section 5.3 * Debian Policy Manual section 5.5 * Debian Policy Manual section 5.6.11
* Use debhelper to find missing dependenciesDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | The project already used debhelper, but it did not use the automatic dependency and shared library finder. Adding the expansion varibles `${misc:Depends}` and ${shlibs:Depends}` solves this problem and the error found by lintian's static analysis (missing-dependency-on-libc).
* Fix descriptions' syntaxDavi Antônio da Silva Santos2023-03-041
| | | | | The debian/control file had problems with the syntax of the descriptions: they had extra spaces, leading to parse errors.
* Correct data and remove dh_make boilerplateDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | The debian/copyright contained boilerplate data from the automatically generated example made by dh_make. It was removed as such situation is considered an error by Lintian (copyright-contains-dh_make-todo-boilerplate). The upstream name field has been corrected, as well as copyright fields concerning the source location and general copyright information.
* Update and change package type to '3.0 (quilt)'Davi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | The package type was upgraded from the implicit '1.0 (native)' to the explicitly defined in debian/source/format '3.0 (quilt)'. The 3.0 format enables various improvements, including xz compression. The quilt format is used for regular (non-native) debian packages, and requires an upstream tarball in the directory above the git repository. The upstream tarball contains only the source code, which means that the presence of the .git and the debian directories is not recommended. For build instructions, please check: * https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html * https://wiki.debian.org/Packaging/Intro
* Drop build dependency on build-essentialDavi Antônio da Silva Santos2023-03-041
| | | | | | The build dependency on build-essential was unnecessary, as this dependency is presumed for building debian packages and is already included on buildd machines.
* Move project to the new debhelper dependencyDavi Antônio da Silva Santos2023-03-042
| | | | | | | | | | | | | | The debian/compat file is not recommended to configure debhelper as a build dependency. Therefore, the aformenetioned package has been deleted and replaced with the debhelper-compat (= 13) dependency stated in the debian/control file. The recommended debhelper level for Ubuntu Jammy (22.04 LTS) is 13. This required a version bump from the older level, 10. For more information, please check: * https://nthykier.wordpress.com/2019/01/04/debhelper-compat-12-is-now-released/ * https://manpages.ubuntu.com/manpages/jammy/en/man7/debhelper.7.html
* fast forward old changesBruno Ribas2022-05-202
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* d/changelog: bumpBruno Ribas2020-11-161
|
* d/boca-db.postinst: Remove chmod for boca-dumpBruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* d/rules install-scripts, in order to install boca-dumpBruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* 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/changelog: bumpBruno Cesar Ribas2018-10-241
| | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* d/changelog: bumpBruno Cesar Ribas2018-10-191
| | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* fix file permissioncassio2018-09-041
|
* d/changelog: bumpBruno Cesar Ribas2018-08-291
| | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* d/changelog: BumpBruno Cesar Ribas2018-08-291
| | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* d/changelog: BumpBruno Cesar Ribas2018-08-291
| | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* Merge remote-tracking branch 'origin/develc' into develBruno Cesar Ribas2018-08-294
|\
| * chmods in the postinstcassio2018-08-294
| |
| * trashing outputcassio2018-08-291
| |
| * forcing chmod no postinstallcassio2018-08-291
| |
* | d/changelog: BumpBruno Cesar Ribas2018-08-271
| | | | | | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* | boca-submission-tools depends on logkeysBruno Cesar Ribas2018-08-271
|/ | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* Merge branch 'devel' into develcCassio de Campos2018-08-2412
|\
| * d/boca-{common,db}.postinst: Avoid asking same question on upgradeBruno Cesar Ribas2018-08-242
| | | | | | | | | | | | | | From now on the user must remove lines containing 'bdserver' or 'bdcreated in /etc/boca.conf in order to modify the DB password and the DB hostname. Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * d/boca-db.{postinst,templates}: New postinstBruno Cesar Ribas2018-08-232
| | | | | | | | | | | | | | This postinst will prompt the user for a DB password and will configure postgresql accordingly Signed-off-by: Bruno Cesar 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-common.{postinst,templates}: Adds new postinstBruno Cesar Ribas2018-08-232
| | | | | | | | | | | | This version will prompt user for a DB hostname and password Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * d/control: Adds boca-submission-tools packageBruno Cesar Ribas2018-08-231
| | | | | | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * debconf, makepasswd, coreutils, sharutils are now pre-depends of boca-commonBruno Cesar Ribas2018-08-231
| | | | | | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * boca-common now holds all /var/www/boca filesBruno Cesar Ribas2018-08-231
| | | | | | | | | | | | | | Files are too tightened to be separated for now. In a future release we will work to make things more independent. Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * d/control: Swap php and php-fpm dependency orderBruno Cesar Ribas2018-08-221
| | | | | | | | | | | | This is done in order to avoid installation of libapache2-mod-php7.2. 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-autojudge.postinst: Adds suid to safeexecBruno Cesar Ribas2018-08-221
| | | | | | | | 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>
| * d/rules: Add bocadb and boca-common filesBruno Cesar Ribas2018-08-221
| | | | | | | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * d/control: Remove php-mcrypt dependencyBruno Cesar Ribas2018-08-221
| | | | | | | | | | | | php-mcrypt is deprecated and another cryptographic library should be used. Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
| * Creating multiple packages for bocaBruno Cesar Ribas2018-08-226
| | | | | | | | | | | | | | | | | | | | | | 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>
* | improvements of scripts and fixes about urlscassiopc2018-08-231
|/