| 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 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]
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| | |
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
This is important to comply with the new Ubuntu 20.04LTS
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
|
| |
|
|
| |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| |
|
|
| |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| |/
|
|
| |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| | |
This postinst will prompt the user for a DB password and will configure
postgresql accordingly
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
This is a security measure to avoid DB password in multiple files
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
This version will prompt user for a DB hostname and password
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| | |
This is done in order to avoid installation of libapache2-mod-php7.2.
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
safeexec is now part of boca-autojudge package
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| | |
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
php-mcrypt is deprecated and another cryptographic library should be used.
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |/ |
|
| |
|
|
| |
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
|