aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFiles
* 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]
* Populate dbgsym packages with debug symbolsDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | Generate debug symbols by adding the `-g` flag to the `gcc` command and populate the dbgsym packages generated by the tooling with the required debug symbols. This fixes the following Lintian warnings: * boca-autojudge-dbgsym: debug-file-with-no-debug-symbols * boca-submission-tools-dbgsym: debug-file-with-no-debug-symbols
* 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
* Add vim .swp files to .gitignoreDavi Antônio da Silva Santos2023-03-041
| | | | Do not track Vim .swp files.
* fast forward old changesBruno Ribas2022-05-206
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* Merge branch 'devel' of github.com:cassiopc/boca into develBruno Ribas2022-05-201
|\
| * Merge pull request #17 from wuerges/develBruno Cesar Ribas2021-07-301
| |\ | | | | | | Since PHP 7, the function get_magic_quotes_gpc() was deprecated and
| | * Since PHP 7, the function get_magic_quotes_gpc() was deprecated andEmilio Wuerges2021-07-301
| | | | | | | | | | | | | | | | | | always returned false. Thus, the code removed by the commit is unreachable. In PHP8 the function was removed.
* | | temporary saltBruno Ribas2022-05-201
|/ /
* | d/changelog: bumpBruno Ribas2020-11-161
| |
* | Normal judges may check all submissions but cannot change the veredictBruno Ribas2020-11-163
| | | | | | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* | judge/runchief.php: chief knows the teamsBruno Ribas2020-11-161
| | | | | | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* | team/problem.php updatedBruno Ribas2020-11-161
| | | | | | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* | $ugly salt to fix download problem on multiloginBruno Ribas2020-11-163
| | | | | | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* | staff/run.php: updatedBruno Ribas2020-11-161
| |
* | staff/report/score.php: addedBruno Ribas2020-11-161
| |
* | admin/report/webcast.php: Optimization and new optionBruno Ribas2020-11-161
| |
* | Merge pull request #16 from wuerges/develBruno Cesar Ribas2020-11-093
|\| | | | | split css for score
| * split css for scoreEmilio Wuerges2020-11-093
|/
* team/problem.php updatedBruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* staff/run.php: update from 2019Bruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* /score/header.php: uptade from 2018Bruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* judge/{claredit,header,runchief}.php updates from 2019Bruno Ribas2020-11-053
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* admin/{claredit,header,run}.php updates from 2018 and 2019Bruno Ribas2020-11-053
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* admin/report/{clar,header,score}.php updates from 2018 and 2019Bruno Ribas2020-11-053
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* admin/report/s4ris.php: update to use with webcast.sepBruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* admin/report/webcast.php: Stream via webcast.sepBruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* scoretable.php: Fixes from 2018Bruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* scorelower.php: Updates to frozenBruno Ribas2020-11-051
| | | | | | merge from 2018 Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* optionlower.php: Prevent teams to update their infoBruno Ribas2020-11-051
| | | | | | Merge from 2018 Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* logexternal.php: Merge from 2018Bruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* globals.php: More checks on multiloginBruno Ribas2020-11-051
| | | | | | | | | These modifications make things easier to check when there are Multilogins and MultiIPS (common under CGNAT). Modification from 2018, merged now. Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* getcode.php: Define a SITE variable in the scriptBruno Ribas2020-11-051
| | | | | | | This modification makes things easier to check in which site the remote machine was registered. This modification was made in 2018 and merged now. Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* 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>
* Merge remote-tracking branch 'origin/master' into develBruno Ribas2020-10-301
|\
| * fix if of zip as reported ('or' but was 'and')cassiopc2019-05-281
| |
* | Merge branch 'develc' into develBruno Cesar Ribas2019-05-256
|\ \ | |/ |/| | | Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>