| Commit message (Collapse) | Author | Age | Files |
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
The tools safeexec and boca-submit-run-root-wrapper are now built with
optimisations (gcc optimisation level 2).
|
| |
|
|
|
|
|
|
|
|
| |
Replace redundant recipe for tools/safeexec rule with automatic
variables:
* `$^` expands to the names of all rule's prerequistes
* `$@` expands to the name of the rule's target
Further information is available in
https://www.gnu.org/software/make/manual/make.html.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
| |
The debian/control file had problems with the syntax of the
descriptions: they had extra spaces, leading to parse errors.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
The build dependency on build-essential was unnecessary, as this
dependency is presumed for building debian packages and is already
included on buildd machines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Do not track Vim .swp files.
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |\ |
|
| | |\
| | |
| | | |
Since PHP 7, the function get_magic_quotes_gpc() was deprecated and
|
| | | |
| | |
| | |
| | |
| | |
| | | |
always returned false. Thus, the code removed by the commit is
unreachable.
In PHP8 the function was removed.
|
| |/ / |
|
| | | |
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| | | |
|
| | | |
|
| | | |
|
| |\|
| |
| | |
split css for score
|
| |/ |
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
|
|
| |
merge from 2018
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
|
|
| |
Merge from 2018
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|